Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93D809AB0 for ; Wed, 6 Mar 2013 18:00:07 +0000 (UTC) Received: (qmail 59868 invoked by uid 500); 6 Mar 2013 18:00:04 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 59842 invoked by uid 500); 6 Mar 2013 18:00:04 -0000 Mailing-List: contact cloudstack-commits-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-commits@incubator.apache.org Received: (qmail 59808 invoked by uid 99); 6 Mar 2013 18:00:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 18:00:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B538C830B53; Wed, 6 Mar 2013 18:00:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bfederle@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [16/29] git commit: refs/heads/ui-multiple-nics - cloudstack-890 and cloudstack 815 Message-Id: <20130306180004.B538C830B53@tyr.zones.apache.org> Date: Wed, 6 Mar 2013 18:00:03 +0000 (UTC) cloudstack-890 and cloudstack 815 Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/00cd9d5d Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/00cd9d5d Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/00cd9d5d Branch: refs/heads/ui-multiple-nics Commit: 00cd9d5d6fd0901dc00b9f685897ef8e8736453e Parents: cdae53a Author: Radhika PC Authored: Tue Mar 5 16:00:13 2013 +0530 Committer: Radhika PC Committed: Wed Mar 6 10:48:19 2013 +0530 ---------------------------------------------------------------------- docs/en-US/add-remove-nic.xml | 127 ++++++++++++++++++++++++++++ docs/en-US/added-API-commands-4-1.xml | 28 ++++++ docs/en-US/whats-new.xml | 1 + 3 files changed, 156 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/00cd9d5d/docs/en-US/add-remove-nic.xml ---------------------------------------------------------------------- diff --git a/docs/en-US/add-remove-nic.xml b/docs/en-US/add-remove-nic.xml new file mode 100644 index 0000000..15dc66c --- /dev/null +++ b/docs/en-US/add-remove-nic.xml @@ -0,0 +1,127 @@ + + +%BOOK_ENTITIES; +]> + +
+ Reconfiguring Physical Networks in VMs + &PRODUCT; provides you the ability to move VMs between networks and reconfigure a VM's + network. You can remove a VM from a physical network and add to a new physical network. You can + also change the default physical network of a virtual machine. With this functionality, hybrid + or traditional server loads can be accommodated with ease. + This feature is supported on XenServer and KVM hypervisors. + The following APIs have been added to support this feature. These API calls can function + only while the VM is in running or stopped state. +
+ addNicToVirtualMachine + The addNicToVirtualMachine API adds a new NIC to the specified VM on a selected + network. + + + + + parameter + description + Value + + + + + virtualmachineid + The unique ID of the VM to which the NIC is to be added. + true + + + networkid + The unique ID of the network the NIC that you add should apply + to. + true + + + ipaddress + The IP address of the VM on the network. + false + + + + + The network and VM must reside in the same zone. Two VMs with the same name cannot reside + in the same network. Therefore, adding a second VM that duplicates a name on a network will + fail. +
+
+ removeNicFromVirtualMachine + The removeNicFromVirtualMachine API removes a NIC from the specified VM on a selected + network. + + + + + parameter + description + Value + + + + + virtualmachineid + The unique ID of the VM from which the NIC is to be removed. + + true + + + nicid + The unique ID of the NIC that you want to remove. + true + + + + + Removing the default NIC is not allowed. +
+
+ updateDefaultNicForVirtualMachine + The updateDefaultNicForVirtualMachine API updates the specified NIC to be the default one + for a selected VM. + + + + + parameter + description + Value + + + + + virtualmachineid + The unique ID of the VM for which you want to specify the default NIC. + + true + + + nicid + The unique ID of the NIC that you want to set as the default + one. + true + + + + +
+
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/00cd9d5d/docs/en-US/added-API-commands-4-1.xml ---------------------------------------------------------------------- diff --git a/docs/en-US/added-API-commands-4-1.xml b/docs/en-US/added-API-commands-4-1.xml index f635e9d..aa5529e 100644 --- a/docs/en-US/added-API-commands-4-1.xml +++ b/docs/en-US/added-API-commands-4-1.xml @@ -37,5 +37,33 @@ addBaremetalHost (Adds a new host.) + + addNicToVirtualMachine (Adds a new NIC to the specified VM on a selected + network.) + + + removeNicFromVirtualMachine (Removes the specified NIC from a selected VM.) + + + updateDefaultNicForVirtualMachine (Updates the specified NIC to be the default one for a + selected VM.) + + + addRegion (Registers a Region into another Region.) + + + updateRegion (Updates Region details: ID, Name, Endpoint, User API Key, and User Secret + Key.) + + + removeRegion (Removes a Region from current Region.) + + + listRegions (Get all the Regions. They can be filtered by using the ID or Name.) + + + getUser (This API can only be used by the Admin. Get user details by using the API Key.) + + http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/00cd9d5d/docs/en-US/whats-new.xml ---------------------------------------------------------------------- diff --git a/docs/en-US/whats-new.xml b/docs/en-US/whats-new.xml index 29ae1f6..761d7a2 100644 --- a/docs/en-US/whats-new.xml +++ b/docs/en-US/whats-new.xml @@ -24,6 +24,7 @@ API usage.
What's New in the API for 4.1 +