Un ejemplo de
POST https://<manager-ip>/api/v1/transport-nodes/<transport-node-id>?action=redeploy
{
"node_id": "9f34c0ea-4aac-4b7f-a02c-62f306f96649",
"host_switch_spec": {
"host_switches": [
{
"host_switch_name": "nsxvswitch_overlay",
"host_switch_id": "c0a4a83e-c8b8-4324-a4d7-dbbc07b30b53",
"host_switch_type": "NVDS",
"host_switch_mode": "STANDARD",
"host_switch_profile_ids": [
{
"key": "UplinkHostSwitchProfile",
"value": "f9a2a2fa-b49d-498f-abaf-2fdc81917716"
},
{
"key": "LldpHostSwitchProfile",
"value": "9e0b4d2d-d155-4b4b-8947-fbfe5b79f7cb"
}
],
"pnics": [
{
"device_name": "fp-eth0",
"uplink_name": "uplink1"
}
],
"is_migrate_pnics": false,
"ip_assignment_spec": {
"ip_pool_id": "647d9b0d-0143-4903-91f5-930d9ab011e8",
"resource_type": "StaticIpPoolSpec"
},
"cpu_config": [],
"transport_zone_endpoints": [
{
"transport_zone_id": "0b33b078-6438-4d9b-a1ec-33211fd36822",
"transport_zone_profile_ids": [
{
"resource_type": "BfdHealthMonitoringProfile",
"profile_id": "52035bb3-ab02-4a08-9884-18631312e50a"
}
]
},
{
"transport_zone_id": "a0133574-48de-4e3a-9407-7db1a68bae41",
"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",
"node_deployment_info": {
"deployment_type": "VIRTUAL_MACHINE",
"deployment_config": {
"vm_deployment_config": {
"vc_id": "cc82da39-b119-4869-a7fe-a54621cb4d3d",
"compute_id": "domain-c9",
"storage_id": "datastore-14",
"host_id": "host-12",
"compute_folder_id": "group-v5",
"management_network_id": "network-16",
"hostname": "EdgeSmallFactor",
"data_network_ids": [
"5638c577-e142-4a50-aed3-a7079dc3b08c",
"5638c577-e142-4a50-aed3-a7079dc3b08c",
"5638c577-e142-4a50-aed3-a7079dc3b08c"
],
"search_domains": [
"eng.vmware.com",
"vmware.com"
],
"enable_ssh": true,
"allow_ssh_root_login": true,
"reservation_info": {
"memory_reservation": {
"reservation_percentage": 100
},
"cpu_reservation": {
"reservation_in_shares": "HIGH_PRIORITY",
"reservation_in_mhz": 0
}
},
"resource_allocation": {
"cpu_count": 4,
"memory_allocation_in_mb": 8192
},
"placement_type": "VsphereDeploymentConfig"
},
"form_factor": "MEDIUM",
"node_user_settings": {
"cli_username": "admin",
"root_password":"Admin!23Admin",
"cli_password":"Admin!23Admin"
}
},
"node_settings": {
"hostname": "EdgeSmallFactor",
"search_domains": [
"eng.vmware.com",
"vmware.com"
],
"enable_ssh": true,
"allow_ssh_root_login": true
},
"resource_type": "EdgeNode",
"id": "9f34c0ea-4aac-4b7f-a02c-62f306f96649",
"display_name": "Edge_TN2",
"description": "EN",
"external_id": "9f34c0ea-4aac-4b7f-a02c-62f306f96649",
"ip_addresses": [
"10.170.94.240"
],
"_create_user": "admin",
"_create_time": 1600106319056,
"_last_modified_user": "admin",
"_last_modified_time": 1600106907312,
"_system_owned": false,
"_protection": "NOT_PROTECTED",
"_revision": 2
},
"is_overridden": false,
"failure_domain_id": "4fc1e3b0-1cd4-4339-86c8-f76baddbaafb",
"resource_type": "TransportNode",
"id": "9f34c0ea-4aac-4b7f-a02c-62f306f96649",
"display_name": "Edge_TN2",
"_create_user": "admin",
"_create_time": 1600106319399,
"_last_modified_user": "admin",
"_last_modified_time": 1600106907401,
"_system_owned": false,
"_protection": "NOT_PROTECTED",
"_revision": 1
}