portgroup-list
Specifies the list of port groups configured on the host.
The following table contains the definitions of the child elements of portgroup-list:
Child elements of <portgroup-list>
Element | Definition | Required |
---|---|---|
<change-operation> | Specifies the change operation to apply to this configuration specification | No |
<spec> | Contains the elements that are required to be added, edited, or removed from the port group | No |
<name> | Specifies the name of the port group | No |
<vlan-id> | Specifies the VLAN ID for ports using this port group
| No |
<v-switch-name> | Identifies the virtual switch on which this port group is located | No |
<policy> | Contains the elements required for specifying various virtual port group polices | No |
<security> | Contains the following elements required for specifying the security policy:
| No |
<allow-promiscuous> | Indicates whether all traffic is seen on the port | No |
<mac-changes> | Indicates whether the Media Access Control (MAC) address can be changed | No |
<forged-transmits> | Indicates whether the virtual network adapter should be allowed to send network traffic with a different MAC address from that of the virtual network adapter | No |
<nic-teaming> | Contains the following elements required for specifying the network adapter teaming policy:
| No |
<policy> | Specifies the network adapter teaming, failover, and load-balancing policies
| Conditional; required only if the type of the network adapter bridge is BondBridge |
<reverse-policy> | Indicates whether the teaming policy is applied to inbound frames | No |
<notify-switches> | Indicates whether to notify the physical switch when a link fails | No |
<rolling-order> | Indicates whether to use a rolling policy when restoring links | No |
<failure-criteria> | Contains the elements that can be specified during link failures | No; required only if the type of the network adapter bridge is BondBridge |
<check-speed> | Specifies the configured speed type to use while detecting link failure
| No |
<speed> | Specifies the speed used to detect link failures | No |
<check-duplex> | Indicates whether to use the link duplex reported by the driver as link selection criteria
| Yes |
<full-duplex> | Specifies whether to use the link in duplex mode | No |
<check-error-percent> | Indicates whether to use link error percentage to detect failure
| No |
<percentage> | Specifies the link error percentage | No |
<check-beacon> | Indicates whether to enable beacon probing as a method to validate the link status of a physical network adapter | Conditional |
<nic-order> | Specifies the order for the active and standby network adapters that are used for load balancing; contains the following elements:
| No |
<active-nic-list> | Contains the list of active network adapters used for load balancing | No |
<active-nic> | Specifies the active network adapters used for load balancing | No |
<standby-nic-list> | Contains the list of standby network adapters used for load balancing | No |
<standby-nic> | Specifies the standby network adapters used for failover | No |
<offload-policy> | Specifies the policies that are used to optimize virtual machine network performance; contains the following elements:
| No |
<csum-offload> | Indicates whether checksum offloading is supported | No |
<tcp-segmentation> | Indicate whether TCP segmentation offloading (TSO) is supported | No |
<zero-copy-xmit> | Indicates whether zero copy transmits are supported | No |
<shaping-policy> | Specifies the traffic shaping policy; contains the following elements:
| No |
<enabled> | Indicates whether traffic shaping is enabled on the port | No |
<average-bandwidth> | Specifies the average bandwidth in bits per second, if shaping is enabled on the port | No |
<peak-bandwidth> | Specifies the peak bandwidth during bursts in bits per second, if traffic shaping is enabled on the port | No |
<burst-size> | Specifies the maximum burst size allowed in bytes, if shaping is enabled on the port | No |
The following figure shows the sample for portgroup-list:
XML Sample for portgroup-list
<portgroup>
<change-operation></change-operation>
<spec>
<name></name>
<vlan-id></vlan-id>
<vswitch-name></vswitch-name>
<policy>
<security>
<allow-promiscuous></allow-promiscuous>
<mac-changes></mac-changes>
<forged-transmits></forged-transmits>
</security>
<nic-teaming>
<policy></policy>
<reverse-policy></reverse-policy>
<notify-switches></notify-switches>
<rolling-order></rolling-order>
<failure-criteria>
<check-speed></check-speed>
<speed></speed>
<check-duplex></check-duplex>
<full-duplex></full-duplex>
<check-error-percent></check-error-percent>
<percentage></percentage>
<check-beacon></check-beacon>
</failure-criteria>
<nic-order>
<active-nic-list>
<active-nic></active-nic>
<active-nic></active-nic>
</active-nic-list>
<standby-nic-list>
<standby-nic></standby-nic>
<standby-nic></standby-nic>
</standby-nic-list>
</nic-order>
</nic-teaming>
<offload-policy>
<csum-offload></csum-offload>
<tcp-segmentation></tcp-segmentation>
<zero-copy-xmit></zero-copy-xmit>
</offload-policy>
<shaping-policy>
<enabled></enabled>
<average-bandwidth></average-bandwidth>
<peak-bandwidth></peak-bandwidth>
<burst-size></burst-size>
</shaping-policy>
</policy>
</spec>
</portgroup>
.
.
.
</portgroup-list>