vnic

vnic
vnic

NSX Edge vnic configuration details.

JSON Example
{
    "addressGroups": {
        "addressGroups": [
            {
                "subnetPrefixLength": "string",
                "secondaryAddresses": {
                    "ipAddress": [
                        "string"
                    ],
                    "type": "string"
                },
                "primaryAddress": "string",
                "subnetMask": "string"
            }
        ]
    },
    "isConnected": false,
    "index": 0,
    "inShapingPolicy": {
        "averageBandwidth": 0,
        "inherited": false,
        "burstSize": 0,
        "peakBandwidth": 0,
        "enabled": false
    },
    "label": "string",
    "fenceParameters": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "enableSendRedirects": false,
    "type": "string",
    "mtu": 0,
    "enableProxyArp": false,
    "enableBridgeMode": false,
    "macAddresses": [
        {
            "edgeVmHaIndex": 0,
            "value": "string"
        }
    ],
    "name": "string",
    "subInterfaces": {
        "subInterfaces": [
            {
                "logicalSwitchId": "string",
                "addressGroups": {
                    "addressGroups": [
                        {
                            "subnetPrefixLength": "string",
                            "secondaryAddresses": {
                                "ipAddress": [
                                    "string"
                                ],
                                "type": "string"
                            },
                            "primaryAddress": "string",
                            "subnetMask": "string"
                        }
                    ]
                },
                "logicalSwitchName": "string",
                "vlanId": 0,
                "tunnelId": 0,
                "isConnected": false,
                "name": "string",
                "index": 0,
                "enableSendRedirects": false,
                "label": "string",
                "mtu": 0
            }
        ]
    },
    "portgroupName": "string",
    "portgroupId": "string",
    "outShapingPolicy": {
        "averageBandwidth": 0,
        "inherited": false,
        "burstSize": 0,
        "peakBandwidth": 0,
        "enabled": false
    }
}
addressGroups
Optional

addressGroups

boolean
isConnected
Optional

Value is true if the vnic is connected to a logical switch, standard portgroup or distributed portgroup.

integer As int32 As int32
index
Required

Index of the vnic. Min value is 0 and max value is 9.

inShapingPolicy
Optional

inShapingPolicy

string
label
Optional

Interface label of format vNic_{vnicIndex} provided by NSX Manager. Read only.

fenceParameters
Optional

fenceParameters

boolean
enableSendRedirects
Optional

Value is true if send redirects is enabled. Enable ICMP redirect to convey routing information to hosts.

string
type
Optional

Type of the vnic. Values are uplink, internal, trunk. At least one internal interface must be configured for NSX Edge HA to work.

integer As int32 As int32
mtu
Optional

MTU of the interface, with default as 1500. Min is 68, Max is 9000. Optional.

boolean
enableProxyArp
Optional

Value is true if proxy arp is enabled. Enable proxy ARP if you want to allow the NSX Edge of type 'gatewayServices' to answer ARP requests intended for other machines.

boolean
enableBridgeMode
Optional

Value is true if bridge mode is enabled.

array of MacAddress
macAddresses
Optional

Distinct MAC addresses configured for the vnic. Optional.

string
name
Optional

Name of the interface. Optional.

subInterfaces
Optional

subInterfaces

string
portgroupName
Optional

Name of the port group or logical switch.

string
portgroupId
Optional

Value are port group ID (standard portgroup or distributed portgroup) or virtual wire ID (logical switch). Logical switch cannot be used for a TRUNK vnic. Portgroup cannot be shared among vnics/LIFs. Required when isConnected is specified as true. Example 'network-17' (standard portgroup), 'dvportgroup-34' (distributed portgroup) or 'virtualwire-2' (logical switch).

outShapingPolicy
Optional

outShapingPolicy