NSX-T Data Center REST API
Re allocate edge node placement of TIER1 service routers (Removed in 9.0)
API to re allocate edge node placement for TIER1 logical router. You canre-allocate service routers of TIER1 in same edge cluster or different edge
cluster. You can also place edge nodes manually and provide maximum two
indices for HA mode ACTIVE_STANDBY. To re-allocate on new edge cluster you
must have existing edge cluster for TIER1 logical router. This will be
disruptive operation and all existing statistics of logical router will be
remove.
This API also supports manual allocation or rebalancing allocation on edge nodes for l2 forwarders of global segments connected to stretched T1 distributed routers.
Manual allocation or rebalancing is only supported within the same edge-cluster where the current l2 forwarder's edge nodes exist.
This API operation will cause a brief disruption and inter-site traffic will get affected for the given Tier-1.
The API does not support changing the edge-cluster for l2 forwarders.
Deprecated:
In policy there will be no equivalent API but it will be achieved automatically when you will change edge cluster or will remove edge nodes from tier1 locale service
Request:
Method:
POST
URI Path(s):
/api/v1/logical-routers/{logical-router-id}?action=reallocate
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ServiceRouterAllocationConfig+
Example Request:
POST https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c?action=reallocate { "edge_cluster_id": "a9dc562c-effd-4225-883d-3f7d2c887c6b" }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalRouter+