VMware VCLOUD API 1.0 - API Programming Manual page 206

Table of Contents

Advertisement

vCloud API Programming Guide
The vCloud API NetworkConnectionSection is a read‐only section that lists the network connections 
and IP addresses that a vApp has acquired or been assigned at deployment. This section is present only 
in a deployed vApp that has a network connection.
The OVF Item element, one of many that apply to the Envelope's VirtualHardwareSection, specifies 
that the virtual machine's NIC (resource type 10) is connected to Internet. It also specifies many other 
details about the device. For more information about DMTF resource types, visit http://www.dmtf.org.
Example A-2. Network Information in an OVF Envelope
<Envelope ...
...
<NetworkSection>
<ovf:Info>The list of logical networks</ovf:Info>
<Network ovf:name="Internet"/>
</NetworkSection>
<NetworkConfigSection>
<ovf:Info>Configuration parameters for logical networks</ovf:Info>
<NetworkConfig networkName="Internet">
<Features>
</Features>
</NetworkConfig>
</NetworkConfigSection>
<NetworkConnectionSection>
<NetworkConnection network="Internet">
<IPAddress>192.168.1.100</IPAddress>
</NetworkConnection>
</NetworkConnectionSection>
...
<VirtualSystem>
<VirtualHardwareSection>
...
<Item>
</Item>
...
</VirtualSystem>
<VirtualHardwareSection>
</Envelope>
206
<Dhcp>true</Dhcp>
<Nat></Nat>
<Firewall></Firewall>
...
<rasd:Connection>Internet</rasd:Connection>
<rasd:Description>PCNet32 ethernet adapter on "Internet"
network</rasd:Description>
<rasd:ElementName>Network Adapter 1</rasd:ElementName>
...
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents