Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F648EF27 for ; Thu, 17 Jan 2013 06:54:24 +0000 (UTC) Received: (qmail 85004 invoked by uid 500); 17 Jan 2013 06:54:23 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 84904 invoked by uid 500); 17 Jan 2013 06:54:23 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 84875 invoked by uid 99); 17 Jan 2013 06:54:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 06:54:22 +0000 Date: Thu, 17 Jan 2013 06:54:22 +0000 (UTC) From: "Radhika Nair (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-997) Improve documentation of assignVirtualMachine API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Radhika Nair created CLOUDSTACK-997: --------------------------------------- Summary: Improve documentation of assignVirtualMachine API Key: CLOUDSTACK-997 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-997 Project: CloudStack Issue Type: Improvement Security Level: Public (Anyone can view this level - this is the default.) Components: Doc Affects Versions: 4.0.0 Reporter: Radhika Nair Priority: Minor Fix For: 4.1.0 (Requested by Abhinandan Prateek) Add more info about this API, as it is not well understood and users contact the engineers to ask for explanation. assignVirtualMachine: To assign a VM from one account to another (admin API). Example Usage: http://127.0.0.1:8096/client/api?command=assignVirtualMachine&domainid=2&account=rest&virtualMachineId=15&networkids=204&response=json The command allows you to assign a VM from one account to another under same domain. Right now this feature is available for Basic zones with security groups and Advance zones with guest networks. The VM is restricted to move between accounts under same domain. Params: virtualMachineId: The vm id under consideration domainId, account: The domina id and account name of the new owner. networkIds: The network id list of the new networks in which the moved VM will participate. In case no network ids are provided the VM will be part of the default network for that zone. In case there is no network yet created for the new account the default network will be created. securitygroupids: The security group list is required if you are moving a VM in a basic networked zone. The new security group will be part of VM after the move. In case no security groups are provided the VM is part of the default security group. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira