HostPortGroup

HostPortGroup
HostPortGroup

This data object type is used to describe port groups.

Port groups are used to group virtual network adapters on a virtual switch, associating them with networks and network policies.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": "string",
    "port": [
        {
            "_typeName": "string",
            "key": "string",
            "mac": [
                "string"
            ],
            "type": "string"
        }
    ],
    "vswitch": {
        "_typeName": "string",
        "name": "string",
        "key": "string",
        "numPorts": 0,
        "numPortsAvailable": 0,
        "mtu": 0,
        "portgroup": [
            "HostPortGroup Object"
        ],
        "pnic": [
            {
                "_typeName": "string",
                "key": "string",
                "device": "string",
                "pci": "string",
                "driver": "string",
                "driverVersion": "string",
                "firmwareVersion": "string",
                "linkSpeed": {
                    "_typeName": "string",
                    "speedMb": 0,
                    "duplex": false
                },
                "validLinkSpecification": [
                    {
                        "_typeName": "string",
                        "speedMb": 0,
                        "duplex": false
                    }
                ],
                "spec": {
                    "_typeName": "string",
                    "ip": {
                        "_typeName": "string",
                        "dhcp": false,
                        "ipAddress": "string",
                        "subnetMask": "string",
                        "ipV6Config": {
                            "_typeName": "string",
                            "ipV6Address": [
                                {
                                    "_typeName": "string",
                                    "ipAddress": "string",
                                    "prefixLength": 0,
                                    "origin": "string",
                                    "dadState": "string",
                                    "lifetime": "string",
                                    "operation": "string"
                                }
                            ],
                            "autoConfigurationEnabled": false,
                            "dhcpV6Enabled": false
                        }
                    },
                    "linkSpeed": {
                        "_typeName": "string",
                        "speedMb": 0,
                        "duplex": false
                    },
                    "enableEnhancedNetworkingStack": false,
                    "ensInterruptEnabled": false
                },
                "wakeOnLanSupported": false,
                "mac": "string",
                "fcoeConfiguration": {
                    "_typeName": "string",
                    "priorityClass": 0,
                    "sourceMac": "string",
                    "vlanRange": [
                        {
                            "_typeName": "string",
                            "vlanLow": 0,
                            "vlanHigh": 0
                        }
                    ],
                    "capabilities": {
                        "_typeName": "string",
                        "priorityClass": false,
                        "sourceMacAddress": false,
                        "vlanRange": false
                    },
                    "fcoeActive": false
                },
                "vmDirectPathGen2Supported": false,
                "vmDirectPathGen2SupportedMode": "string",
                "resourcePoolSchedulerAllowed": false,
                "resourcePoolSchedulerDisallowedReason": [
                    "string"
                ],
                "autoNegotiateSupported": false,
                "enhancedNetworkingStackSupported": false,
                "ensInterruptSupported": false,
                "rdmaDevice": {
                    "_typeName": "string",
                    "key": "string",
                    "device": "string",
                    "driver": "string",
                    "description": "string",
                    "backing": {
                        "_typeName": "string"
                    },
                    "connectionInfo": {
                        "_typeName": "string",
                        "state": "string",
                        "mtu": 0,
                        "speedInMbps": 0
                    },
                    "capability": {
                        "_typeName": "string",
                        "roceV1Capable": false,
                        "roceV2Capable": false,
                        "iWarpCapable": false
                    }
                },
                "dpuId": "string"
            }
        ],
        "spec": {
            "_typeName": "string",
            "numPorts": 0,
            "bridge": {
                "_typeName": "string"
            },
            "policy": {
                "_typeName": "string",
                "security": {
                    "_typeName": "string",
                    "allowPromiscuous": false,
                    "macChanges": false,
                    "forgedTransmits": false
                },
                "nicTeaming": {
                    "_typeName": "string",
                    "policy": "string",
                    "reversePolicy": false,
                    "notifySwitches": false,
                    "rollingOrder": false,
                    "failureCriteria": {
                        "_typeName": "string",
                        "checkSpeed": "string",
                        "speed": 0,
                        "checkDuplex": false,
                        "fullDuplex": false,
                        "checkErrorPercent": false,
                        "percentage": 0,
                        "checkBeacon": false
                    },
                    "nicOrder": {
                        "_typeName": "string",
                        "activeNic": [
                            "string"
                        ],
                        "standbyNic": [
                            "string"
                        ]
                    }
                },
                "offloadPolicy": {
                    "_typeName": "string",
                    "csumOffload": false,
                    "tcpSegmentation": false,
                    "zeroCopyXmit": false
                },
                "shapingPolicy": {
                    "_typeName": "string",
                    "enabled": false,
                    "averageBandwidth": 0,
                    "peakBandwidth": 0,
                    "burstSize": 0
                }
            },
            "mtu": 0
        }
    },
    "computedPolicy": {
        "_typeName": "string",
        "security": {
            "_typeName": "string",
            "allowPromiscuous": false,
            "macChanges": false,
            "forgedTransmits": false
        },
        "nicTeaming": {
            "_typeName": "string",
            "policy": "string",
            "reversePolicy": false,
            "notifySwitches": false,
            "rollingOrder": false,
            "failureCriteria": {
                "_typeName": "string",
                "checkSpeed": "string",
                "speed": 0,
                "checkDuplex": false,
                "fullDuplex": false,
                "checkErrorPercent": false,
                "percentage": 0,
                "checkBeacon": false
            },
            "nicOrder": {
                "_typeName": "string",
                "activeNic": [
                    "string"
                ],
                "standbyNic": [
                    "string"
                ]
            }
        },
        "offloadPolicy": {
            "_typeName": "string",
            "csumOffload": false,
            "tcpSegmentation": false,
            "zeroCopyXmit": false
        },
        "shapingPolicy": {
            "_typeName": "string",
            "enabled": false,
            "averageBandwidth": 0,
            "peakBandwidth": 0,
            "burstSize": 0
        }
    },
    "spec": {
        "_typeName": "string",
        "name": "string",
        "vlanId": 0,
        "vswitchName": "string",
        "policy": {
            "_typeName": "string",
            "security": {
                "_typeName": "string",
                "allowPromiscuous": false,
                "macChanges": false,
                "forgedTransmits": false
            },
            "nicTeaming": {
                "_typeName": "string",
                "policy": "string",
                "reversePolicy": false,
                "notifySwitches": false,
                "rollingOrder": false,
                "failureCriteria": {
                    "_typeName": "string",
                    "checkSpeed": "string",
                    "speed": 0,
                    "checkDuplex": false,
                    "fullDuplex": false,
                    "checkErrorPercent": false,
                    "percentage": 0,
                    "checkBeacon": false
                },
                "nicOrder": {
                    "_typeName": "string",
                    "activeNic": [
                        "string"
                    ],
                    "standbyNic": [
                        "string"
                    ]
                }
            },
            "offloadPolicy": {
                "_typeName": "string",
                "csumOffload": false,
                "tcpSegmentation": false,
                "zeroCopyXmit": false
            },
            "shapingPolicy": {
                "_typeName": "string",
                "enabled": false,
                "averageBandwidth": 0,
                "peakBandwidth": 0,
                "burstSize": 0
            }
        }
    }
}
string
key
Optional

The linkable identifier.

port
Optional

The ports that currently exist and are used on this port group.

vswitch
Optional

The virtual switch is a software entity to which multiple virtual network adapters can connect to create a virtual network.

It can also be bridged to a physical network.

computedPolicy
Required

This data object type describes network policies that can be configured for both virtual switches and port groups.

The policy settings on the port group can inherit policy settings from their containing virtual switch. These policy settings are inherited if the settings on the port group are not set. Since every policy setting on a port group is optional, every individual policy setting can be inherited.

By contrast, if a host is capable of implementing a policy setting, every virtual switch has some value assigned to the policy setting. In this case, although all of the policy settings are optional, they always have some value either by inheritance or by direct setting.

Policy settings are organized into policy groups such as SecurityPolicy. Policy groups are optional since it is possible that a host may not implement such policies. If a host does not support a policy group, the policy group is not set on both the virtual switches and the port groups.

See also HostNetCapabilities.

spec
Required

This data object type describes the PortGroup specification representing the properties on a PortGroup that can be configured.