System Administration >
Configuration
>
Fabric
>
Nodes
>
Transport Nodes
Set VDS configuration and create it in vCenter
(Deprecated)
Request:
Method:
POST
URI Path(s):
/api/v1/nvds-urt/topology-by-cluster/{precheck-id}?action=apply
Request Headers:
n/a
Query Parameters:
SetTargetVdsTopologyParameters
+
SetTargetVdsTopologyParameters
(
schema
)
Name
Description
Type
Notes
cluster_id
cluster identifier
string
use_recommended_topology_config
Flag to indicate if use recommended topology got from the latest precheck
boolean
Request Body:
UpgradeTopology
+
UpgradeTopology
(
schema
)
Name
Description
Type
Notes
topology
All resultant VDS mapping for a NVDS after the migration
array of
NvdsUpgradeTopology
Required
Example Request:
POST https://<nsx-mgr>/api/v1/nvds-urt/topology-by-cluster/6a584dd7-9688-4a43-a27b-72f657e1fb80?action=apply { "topology": [ { "nvds_id": "bb 23 24 9d e4 0a 4c 62-91 9b 77 66 55 29 4c 92", "nvds_name": "mynvds1", "compute_manager_topology": [ { "compute_manager_id": "ddb8efeb-581e-435a-93b7-f95da399d7e0", "dvswitch": [ { "data_center_id": "domain-c8:70dade9c-eaf2-462b-9005-7ecf14595c19", "vds_name": "recommended-vds-name-cluster1", "transport_node_id": ["674007b3-5671-4409-911f-1c191ef492f7"], "cluster_id": "3e0f3566-8ebf-41b7-821e-3bd70ce81fa4:domain-c8" } ] } ] } ] }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UpgradeTopology
+
UpgradeTopology
(
schema
)
Name
Description
Type
Notes
topology
All resultant VDS mapping for a NVDS after the migration
array of
NvdsUpgradeTopology
Required
Example Response:
{ "topology": [ { "nvds_id": "bb 23 24 9d e4 0a 4c 62-91 9b 77 66 55 29 4c 92", "nvds_name": "mynvds1", "compute_manager_topology": [ { "compute_manager_id": "ddb8efeb-581e-435a-93b7-f95da399d7e0", "dvswitch": [ { "data_center_id": "domain-c8:70dade9c-eaf2-462b-9005-7ecf14595c19", "vds_name": "recommended-vds-name-cluster1", "transport_node_id": ["674007b3-5671-4409-911f-1c191ef492f7"], "cluster_id": "3e0f3566-8ebf-41b7-821e-3bd70ce81fa4:domain-c8" } ] } ] } ] }
Required Permissions:
crud
Feature:
nodes_transport_nodes
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable