支持 NSX-T Data Center 上的 vSphere Distributed Switch 的 NSX-T Data Center API 命令。
针对 vSphere Distributed Switch 进行的 API 更改
有关与 API 调用相关的详细信息,请参见NSX-T Data Center API 指南。
API | vSphere Distributed Switch (VDS) 上的 NSX-T Data Center | 针对 vSphere Distributed Switch 上的 NSX-T Data Center 进行的 API 命令更改 |
---|---|---|
为已发现的节点创建传输节点。 | /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", } |
|
虚拟机配置 | vim.vm.device.VirtualEthernetCard.DistributedVirtualPortBackingInfo |
注: 如果将 BackingType 设置为
OpaqueNetworkBackingInfo ,VNIC BackingType 将默认为
DistributedVirtualPortBackingInfo 。
|
VMkernel 网卡 | vim.dvs.DistributedVirtualPort |
|
物理网卡到上行链路的映射 | API: 属性: |
|
MTU | API: 属性: |
|
LAG |
API: 属性: |
|
NIOC | API: 属性: |
|
LLDP | API: 属性: |
|