NSX-T Data Center REST API
Update the Redistribution Configuration on a Logical Router (Deprecated)
Modifies existing route redistribution rules for the specified TIER0 logicalrouter.
Deprecated:
Please use below Policy APIs.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>
Request:
Method:
PUT
URI Path(s):
/api/v1/logical-routers/{logical-router-id}/routing/redistribution
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
RedistributionConfig+
Example Request:
PUT https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/redistribution { "resource_type": "RedistributionConfig", "display_name": "BGP route redistribution", "bgp_enabled": false, "_revision": 1 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
RedistributionConfig+