vnic
NSX Edge vnic configuration details.
{
"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
}
}
Value is true if the vnic is connected to a logical switch, standard portgroup or distributed portgroup.
Index of the vnic. Min value is 0 and max value is 9.
Interface label of format vNic_{vnicIndex} provided by NSX Manager. Read only.
Value is true if send redirects is enabled. Enable ICMP redirect to convey routing information to hosts.
Type of the vnic. Values are uplink, internal, trunk. At least one internal interface must be configured for NSX Edge HA to work.
MTU of the interface, with default as 1500. Min is 68, Max is 9000. 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.
Value is true if bridge mode is enabled.
Name of the interface. Optional.
Name of the port group or logical switch.
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).