vCloud API custom attributes extend several elements in the ovf and rasd XML namespaces. You can use these attributes to provide additional detail about virtual NIC and hard disk controller devices, or to specify the guest operating system type.

With the exception of osType, custom attributes are scoped to ovf:Item elements based on the elements' RASD resource type. The osType attribute applies to the ovf:OperatingSystemSection element. All of the elements to which these custom attributes apply are contained in the VirtualHardwareSection of a Vm.

vCloud API Custom Attributes for OVF and RASD Elements

Element Name

RASD Resource Type

Attribute Name

Attribute Type

Description

rasd:Connection

10 (Network adapters)

ipAddressingMode

xs:string

IP addressing mode to use for this connection. One of NONE, MANUAL, DHCP, POOL.

rasd:Connection

10 (Network adapters)

ipAddress

xs:string

If ipAddressingMode="MANUAL", set the IP address here

rasd:Connection

10 (Network adapters)

primaryNetworkConnection

xs:boolean

True if this is the primary network connection of the virtual machine

rasd:HostResource

17 (Hard disks)

capacity

xs:string

Hard disk capacity in megabytes. See Retrieve or Modify the Hard Disk Configuration of a Virtual Machine

rasd:HostResource

17 (Hard disks)

busType

xs:string

read-only

rasd:HostResource

17 (Hard disks)

busSubType

xs:string

read-only

ovf:OperatingSystemSection

N/A

osType

xs:string

Internal VMware identifier for the guest operating system. See https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html

For more information about OVF and RASD (CIM_ResourceAllocationSettingData) elements, see the OVF specification, available at http://www.dmtf.org/standards/published_documents/DSP0243_1.0.0.pdf.