NetworkConnection

Element:
NetworkConnection
Type:
NetworkConnectionType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents a network connection.
Since:
0.9
Schema:
vApp.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<NetworkConnection xmlns="http://www.vmware.com/vcloud/v1.5" network="xs:string" needsCustomization="xs:boolean">
    <NetworkConnectionIndex> xs:int </NetworkConnectionIndex>
    <IpAddress> IpAddressType </IpAddress>
    <ExternalIpAddress> IpAddressType </ExternalIpAddress>
    <IsConnected> xs:boolean </IsConnected>
    <MACAddress> xs:string </MACAddress>
    <IpAddressAllocationMode> xs:string </IpAddressAllocationMode>
</NetworkConnection>

Attributes

Attribute Type Required Modifiable Since Description
network string Yes always 0.9 Name of the network to which this NIC is connected.
needsCustomization boolean No none 0.9 Flag to signify if the NIC needs customization.

Elements

Element Type Occurrence Modifiable Since Description
VCloudExtension VCloudExtensionType 0..* always 0.9 An optional extension element that can contain an arbitrary number of elements and attributes.
NetworkConnectionIndex int 1 always 0.9 Index of the NIC starting form 0 in a VM.
IpAddress IpAddressType 0..1 always 0.9 IP address associated to this NIC.
ExternalIpAddress IpAddressType 0..1 none 0.9 If the network that the NIC is connected to has NAT or port mapping, the external address is populated in this element
IsConnected boolean 1 always 0.9 If the VM is undeployed, this field specifies whether the connection should start in in connected state. Otherwise, it specifies the current state of the connection. Furthermore, on using this structure to update the VM's network connections state, this parameter can be used to either connect or disconnect a connection.
MACAddress string 0..1 always 0.9 MAC address associated with the NIC.
IpAddressAllocationMode string 1 always 0.9 IP address allocation mode for this connection. One of: POOL (A static IP address is allocated automatically from a pool of addresses.), DHCP (The IP address is obtained from a DHCP service.), MANUAL (The IP address is assigned manually in the IpAddress element.), NONE (No IP addressing mode specified.)