DvsSpec

DvsSpec
DvsSpec

Spec contains parameters for DVS

JSON Example
{
    "dvsName": "VdsName",
    "networks": [
        "MANAGEMENT"
    ],
    "mtu": 9000,
    "nsxtSwitchConfig": {
        "transportZones": [
            {
                "name": "string",
                "transportType": "One among: VLAN, OVERLAY"
            }
        ],
        "hostSwitchOperationalMode": "One among: STANDARD, ENS, ENS_INTERRUPT",
        "ipAssignmentType": "string"
    },
    "vmnicsToUplinks": [
        {
            "id": "vmnic0",
            "uplink": "uplink1"
        }
    ],
    "nsxTeamings": [
        {
            "policy": "One among: FAILOVER_ORDER, LOADBALANCE_SRCID, LOADBALANCE_SRC_MAC",
            "activeUplinks": [
                "string"
            ],
            "standByUplinks": [
                "string"
            ]
        }
    ],
    "lagSpecs": [
        {
            "name": "string",
            "uplinksCount": 0,
            "lacpMode": "One among:ACTIVE, PASSIVE",
            "loadBalancingMode": "One among:SOURCE_MAC, DESTINATION_MAC, SOURCE_AND_DESTINATION_MAC, DESTINATION_IP_AND_VLAN, SOURCE_IP_AND_VLAN, SOURCE_AND_DESTINATION_IP_AND_VLAN, DESTINATION_TCP_UDP_PORT, SOURCE_TCP_UDP_PORT, SOURCE_AND_DESTINATION_TCP_UDP_PORT, DESTINATION_IP_AND_TCP_UDP_PORT, SOURCE_IP_AND_TCP_UDP_PORT, SOURCE_AND_DESTINATION_IP_AND_TCP_UDP_PORT, DESTINATION_IP_AND_TCP_UDP_PORT_AND_VLAN, SOURCE_IP_AND_TCP_UDP_PORT_AND_VLAN, SOURCE_AND_DESTINATION_IP_AND_TCP_UDP_PORT_AND_VLAN, DESTINATION_IP, SOURCE_IP, SOURCE_AND_DESTINATION_IP, VLAN, SOURCE_PORT_ID",
            "lacpTimeoutMode": "One among:SLOW, FAST"
        }
    ]
}
string
dvsName
Optional

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

array of string
networks
Optional

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

integer As int32 As int32
mtu
Optional
Constraints: minimum: 1280 maximum: 9190

Distributed vSphere Switch MTU (default value is 9000)

nsxtSwitchConfig
Optional

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

vmnicsToUplinks
Required

List of vmnic to uplink mapping

array of TeamingSpec
nsxTeamings
Optional
Constraints: minItems: 0 maxItems: 1

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

array of LagSpec
lagSpecs
Optional

List of LAGs to be associated with the vSphere Distributed Switch