System Administration >
Lifecycle Management
>
Migration
>
Setup
NSX-V setup details
Provide setup details of NSX-V to be migrated.
Request:
Method:
PUT
URI Path(s):
/api/v1/migration/setup
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MigrationSetupInfo
+
MigrationSetupInfo
(
schema
)
Name
Description
Type
Notes
destination_nsx
Destination NSX API endpoint
IP address or hostname of the destination NSX API endpoint.
DestinationNsxApiEndpoint
migration_mode
Migration mode
Migration mode can be VMC_V2T, ONPREMISE_V2T, ONPREMISE_VSPHERE2T
string
Enum: VMC_V2T, ONPREMISE_V2T, ONPREMISE_VSPHERE2T
Default: "ONPREMISE_V2T"
source_nsx
List of source NSX managers
List of source NSX manager endpoints.
array of
SourceNsxApiEndpoint
Example Request:
PUT https://<nsx-mgr>/api/v1/migration/setup { "nsxv_list" : [ {"ip": "192.168.x.y", "auth_token": "XYZ"}, {"ip": "192.168.x.z", "auth_token": "PQR"} ], "migration_mode" : "ONPREMISE_V2T" }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
MigrationSetupInfo
+
MigrationSetupInfo
(
schema
)
Name
Description
Type
Notes
destination_nsx
Destination NSX API endpoint
IP address or hostname of the destination NSX API endpoint.
DestinationNsxApiEndpoint
migration_mode
Migration mode
Migration mode can be VMC_V2T, ONPREMISE_V2T, ONPREMISE_VSPHERE2T
string
Enum: VMC_V2T, ONPREMISE_V2T, ONPREMISE_VSPHERE2T
Default: "ONPREMISE_V2T"
source_nsx
List of source NSX managers
List of source NSX manager endpoints.
array of
SourceNsxApiEndpoint
Example Response:
{ "nsxv_list" : [ {"ip": "192.168.x.y"}, {"ip": "192.168.x.z"} ], "migration_mode" : "ONPREMISE_V2T" }
Required Permissions:
crud
Feature:
utilities_upgrade
Additional Errors:
401 Unauthorized
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable