vnic-list


List of virtual network adapters to be added on the host, by the host operating system network adapter.

The following table contains the definition for the child elements of vnic-list. 

Child elements -vnic-list

Element

Definition

Required

<portgroup>

Specifies the name of port group to which virtual NIC connects

No

<dhcp>

Specifies the flag to indicate whether DHCP is enabled

Valid values: true, false
If this property is set to true, the ipAddress and the subnetMask strings cannot be set explicitly.

No

<ip-address>

Specifies the IP address currently used by the network adapter

All IP addresses are specified using IPv4 dot notation.

Example: "192.168.0.1". Subnet addresses and netmasks are specified using the same notation.

Note

When DHCP is enabled, this property reflects the current IP configuration and cannot be set. When DHCP is not enabled, this property can be set explicitly.

No

<subnet-mask>

Specifies the subnet mask

When DHCP is not enabled, this property can be set explicitly. When DHCP is enabled, this property reflects the current IP configuration and cannot be set.

Conditional

<mac>

Specifies the media access control (MAC) address of the virtual network adapter

No

The following figure shows the sample for vnic-list.

XML Sample for vnic-list

<vnic-list>
     <vnic>
     <portgroup></portgroup>
     <spec>
     <ip>
     <dhcp></dhcp>
     <ip-address></ip-address>
     <subnet-mask></subnet-mask>
     </ip>
     <mac></mac>
     </spec>
     </vnic>
     ...
</vnic-list>


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*