mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-15 18:12:35 +01:00
cloudstack-890 and cloudstack 815
This commit is contained in:
parent
cdae53a289
commit
00cd9d5d6f
127
docs/en-US/add-remove-nic.xml
Normal file
127
docs/en-US/add-remove-nic.xml
Normal file
@ -0,0 +1,127 @@
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
|
||||
%BOOK_ENTITIES;
|
||||
]>
|
||||
<!-- Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<section id="add-remove-nic">
|
||||
<title>Reconfiguring Physical Networks in VMs</title>
|
||||
<para>&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. </para>
|
||||
<para>This feature is supported on XenServer and KVM hypervisors.</para>
|
||||
<para>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.</para>
|
||||
<section id="addnic">
|
||||
<title>addNicToVirtualMachine</title>
|
||||
<para>The addNicToVirtualMachine API adds a new NIC to the specified VM on a selected
|
||||
network.</para>
|
||||
<informaltable>
|
||||
<tgroup cols="3" align="left" colsep="1" rowsep="1">
|
||||
<thead>
|
||||
<row>
|
||||
<entry><para>parameter</para></entry>
|
||||
<entry><para>description</para></entry>
|
||||
<entry><para>Value</para></entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><para>virtualmachineid</para></entry>
|
||||
<entry><para>The unique ID of the VM to which the NIC is to be added. </para></entry>
|
||||
<entry><para>true</para></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><para>networkid</para></entry>
|
||||
<entry><para>The unique ID of the network the NIC that you add should apply
|
||||
to.</para></entry>
|
||||
<entry><para>true</para></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><para>ipaddress</para></entry>
|
||||
<entry><para>The IP address of the VM on the network.</para></entry>
|
||||
<entry><para>false</para></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<para>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.</para>
|
||||
</section>
|
||||
<section id="removenic">
|
||||
<title>removeNicFromVirtualMachine</title>
|
||||
<para>The removeNicFromVirtualMachine API removes a NIC from the specified VM on a selected
|
||||
network.</para>
|
||||
<informaltable>
|
||||
<tgroup cols="3" align="left" colsep="1" rowsep="1">
|
||||
<thead>
|
||||
<row>
|
||||
<entry><para>parameter</para></entry>
|
||||
<entry><para>description</para></entry>
|
||||
<entry><para>Value</para></entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><para>virtualmachineid</para></entry>
|
||||
<entry><para>The unique ID of the VM from which the NIC is to be removed.
|
||||
</para></entry>
|
||||
<entry><para>true</para></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><para>nicid</para></entry>
|
||||
<entry><para>The unique ID of the NIC that you want to remove.</para></entry>
|
||||
<entry><para>true</para></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<para>Removing the default NIC is not allowed.</para>
|
||||
</section>
|
||||
<section id="defaultnic">
|
||||
<title>updateDefaultNicForVirtualMachine</title>
|
||||
<para>The updateDefaultNicForVirtualMachine API updates the specified NIC to be the default one
|
||||
for a selected VM.</para>
|
||||
<informaltable>
|
||||
<tgroup cols="3" align="left" colsep="1" rowsep="1">
|
||||
<thead>
|
||||
<row>
|
||||
<entry><para>parameter</para></entry>
|
||||
<entry><para>description</para></entry>
|
||||
<entry><para>Value</para></entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><para>virtualmachineid</para></entry>
|
||||
<entry><para>The unique ID of the VM for which you want to specify the default NIC.
|
||||
</para></entry>
|
||||
<entry><para>true</para></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><para>nicid</para></entry>
|
||||
<entry><para>The unique ID of the NIC that you want to set as the default
|
||||
one.</para></entry>
|
||||
<entry><para>true</para></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</section>
|
||||
</section>
|
||||
@ -37,5 +37,33 @@
|
||||
<listitem>
|
||||
<para>addBaremetalHost (Adds a new host.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>addNicToVirtualMachine (Adds a new NIC to the specified VM on a selected
|
||||
network.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>removeNicFromVirtualMachine (Removes the specified NIC from a selected VM.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>updateDefaultNicForVirtualMachine (Updates the specified NIC to be the default one for a
|
||||
selected VM.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>addRegion (Registers a Region into another Region.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>updateRegion (Updates Region details: ID, Name, Endpoint, User API Key, and User Secret
|
||||
Key.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>removeRegion (Removes a Region from current Region.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>listRegions (Get all the Regions. They can be filtered by using the ID or Name.)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>getUser (This API can only be used by the Admin. Get user details by using the API Key.)
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
API usage.</para>
|
||||
<section id="whats-new-in-api-4.1">
|
||||
<title>What's New in the API for 4.1</title>
|
||||
<xi:include href="add-remove-nic.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
<xi:include href="vmx-settings-dev.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
<xi:include href="reset-ssh-key-dev.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
<xi:include href="changed-apicommands-4.1.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user