NSX-T Data Center API commands to support vSphere Distributed Switch on NSX-T Data Center.
API Changes for vSphere Distributed Switch
For detailed information related to API calls, see the NSX-T Data Center API Guide.
| API | NSX-T on vSphere Distributed Switch (VDS) | Changes in API Commands for NSX-T on vSphere Distributed Switch |
|---|---|---|
| Create a Transport node for a Discovered node. | /api/v1/fabric/discovered-nodes/<external-id/discovered-node-id>?action=create_transport_node{
"node_id":
"d7ef478b-752c-400a-b5f0-207c04567e5d", "host_switch_spec": {
"host_switches": [
{
"host_switch_name": "vds-1",
"host_switch_id":
"50 2b 92 54 e0 80 d8 d1-ee ab 8d a6 7b fd f9 4b",
"host_switch_type": "VDS",
"host_switch_mode": "STANDARD",
"host_switch_profile_ids": [
{
"key": "UplinkHostSwitchProfile",
"value":
"159353ae-c572-4aca-9469-9582480a7467"
} ],
"pnics": [],
"uplinks": [
{
"vds_uplink_name": "Uplink 2",
"uplink_name": "nsxuplink1"
} ],
"is_migrate_pnics": false,
"ip_assignment_spec": {
"resource_type": "AssignedByDhcp"
},
"cpu_config": [],
"transport_zone_endpoints": [
{
"transport_zone_id":
"06ba5326-67ac-4f2c-9953-a8c5d326b51e",
"transport_zone_profile_ids": [
{
"resource_type": "BfdHealthMonitoringProfile",
"profile_id":
"52035bb3-ab02-4a08-9884-18631312e50a"
} ] } ],
"vmk_install_migration": [],
"pnics_uninstall_migration": [],
"vmk_uninstall_migration": [],
"not_ready": false
}
],
"resource_type": "StandardHostSwitchSpec"
},
"transport_zone_endpoints": [],
"maintenance_mode": "DISABLED",
"is_overridden": false,
"resource_type": "TransportNode",
"display_name": "TestTN",
} |
|
| VM configuration | vim.vm.device.VirtualEthernetCard.DistributedVirtualPortBackingInfo |
Note: The VNIC BackingType defaults to
DistributedVirtualPortBackingInfo when the BackingType is set to
OpaqueNetworkBackingInfo.
|
| VMkernel NIC | vim.dvs.DistributedVirtualPort |
|
| Physical NIC to Uplink Mapping | API: Property: |
|
| MTU | API: Property: |
|
| LAG |
API: Property: |
|
| NIOC | API: Property: |
|
| LLDP | API: Property: |
|