NetworkSpec

NetworkSpec
NetworkSpec

This specification contains cluster's network configuration.

JSON Example
{
    "vdsSpecs": [
        {
            "name": "string",
            "isUsedByNsxt": false,
            "nsxtSwitchConfig": {
                "transportZones": [
                    {
                        "name": "string",
                        "transportType": "One among: VLAN, OVERLAY"
                    }
                ],
                "hostSwitchOperationalMode": "One among: STANDARD, ENS, ENS_INTERRUPT"
            },
            "portGroupSpecs": [
                {
                    "name": "string",
                    "transportType": "One among: VSAN, VMOTION, MANAGEMENT, PUBLIC, NFS, VREALIZE, ISCSI, EDGE_INFRA_OVERLAY_UPLINK, VM_MANAGEMENT, VSAN_EXTERNAL",
                    "activeUplinks": [
                        "string"
                    ],
                    "standByUplinks": [
                        "string"
                    ],
                    "teamingPolicy": "One among:loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, loadbalance_loadbased"
                }
            ],
            "niocBandwidthAllocationSpecs": [
                {
                    "type": "string",
                    "niocTrafficResourceAllocation": {
                        "limit": 0,
                        "sharesInfo": {
                            "shares": 0,
                            "level": "One among: low, normal, high, custom"
                        },
                        "reservation": 0
                    }
                }
            ],
            "mtu": 0
        }
    ],
    "nsxClusterSpec": {
        "nsxTClusterSpec": {
            "geneveVlanId": 0,
            "ipAddressPoolSpec": {
                "name": "string",
                "description": "string",
                "ignoreUnavailableNsxtCluster": false,
                "subnets": [
                    {
                        "ipAddressPoolRanges": [
                            {
                                "start": "string",
                                "end": "string"
                            }
                        ],
                        "cidr": "string",
                        "gateway": "string"
                    }
                ]
            },
            "ipAddressPoolsSpec": [
                {
                    "name": "string",
                    "description": "string",
                    "ignoreUnavailableNsxtCluster": false,
                    "subnets": [
                        {
                            "ipAddressPoolRanges": [
                                {
                                    "start": "string",
                                    "end": "string"
                                }
                            ],
                            "cidr": "string",
                            "gateway": "string"
                        }
                    ]
                }
            ],
            "uplinkProfiles": [
                {
                    "name": "string",
                    "teamings": [
                        {
                            "policy": "One among: FAILOVER_ORDER, LOADBALANCE_SRCID, LOADBALANCE_SRC_MAC",
                            "activeUplinks": [
                                "string"
                            ],
                            "standByUplinks": [
                                "string"
                            ]
                        }
                    ],
                    "transportVlan": 0,
                    "supportedTeamingPolicies": {
                        "supportedTeamingPolicies": "string"
                    }
                }
            ]
        }
    },
    "networkProfiles": [
        {
            "name": "string",
            "description": "string",
            "isDefault": false,
            "nsxtHostSwitchConfigs": [
                {
                    "vdsName": "string",
                    "uplinkProfileName": "string",
                    "ipAddressPoolName": "string",
                    "vdsUplinkToNsxUplink": [
                        {
                            "vdsUplinkName": "string",
                            "nsxUplinkName": "string"
                        }
                    ]
                }
            ]
        }
    ]
}
array of VdsSpec
vdsSpecs
Optional

Distributed switches to add to the cluster

nsxClusterSpec
Optional

This specification contains NSX configuration for cluster

networkProfiles
Optional

The list of network profiles

Property Of