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 | No |
<ip-address> | Specifies the IP address currently used by the network adapter | No |
<subnet-mask> | Specifies the subnet mask | 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>
<portgroup></portgroup>
<spec>
<ip>
<dhcp></dhcp>
<ip-address></ip-address>
<subnet-mask></subnet-mask>
</ip>
<mac></mac>
</spec>
</vnic>
...
</vnic-list>