DvsSpec

DvsSpec
DvsSpec

Spec contains parameters for DVS

JSON Example
{
    "dvsName": "VdsName",
    "vmnics": [
        "string"
    ],
    "networks": [
        "MANAGEMENT"
    ],
    "niocSpecs": [
        {
            "trafficType": "MANAGEMENT",
            "value": "string"
        }
    ],
    "mtu": 9000,
    "isUsedByNsxt": true,
    "nsxtSwitchConfig": {
        "transportZones": [
            {
                "name": "string",
                "transportType": "One among: VLAN, OVERLAY"
            }
        ],
        "hostSwitchOperationalMode": "One among: STANDARD, ENS, ENS_INTERRUPT"
    },
    "vmnicsToUplinks": [
        {
            "id": "vmnic0",
            "uplink": "uplink1"
        }
    ],
    "nsxTeamings": [
        {
            "policy": "One among: FAILOVER_ORDER, LOADBALANCE_SRCID, LOADBALANCE_SRC_MAC",
            "activeUplinks": [
                "string"
            ],
            "standByUplinks": [
                "string"
            ]
        }
    ]
}
string
dvsName
Optional

vSphere Distributed Switch Name. It will be auto-generated if blank

array of string
vmnics
Optional

Vmnics to be attached to the DVS. This property is deprecated in favor of vmnicsToUplinks fields

array of string
networks
Optional

Types of networks in this Distributed vSphere Switch. One among: VSAN, VMOTION, MANAGEMENT, VM_MANAGEMENT or any custom network types defined in networkSpecs

array of NiocSpec
niocSpecs
Optional

List of Network IO Control Specification for networks

integer As int32 As int32
mtu
Optional
Constraints: minimum: 1500 maximum: 9000

Distributed vSphere Switch MTU (default value is 9000)

boolean
isUsedByNsxt
Optional

Flag indicating whether the Distributed vSphere Switch is used by NSX. This property is deprecated in favor of nsxtSwitchConfig field

nsxtSwitchConfig
Optional

This specification contains the configurations to be associated with the vSphere Distributed Switch managed by NSX

vmnicsToUplinks
Optional

List of vmnic to uplink mapping

nsxTeamings
Optional
Constraints: minItems: 0 maxItems: 1

The teaming policies to be associated with the uplink profile in NSX

Property Of