Management Plane API > Networking > Logical Routing And Services > Routing Configuration

Update the Redistribution Configuration on a Logical Router

Modifies existing route redistribution rules for the specified TIER0 logical
router.

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+

Example Response:

{ "resource_type": "RedistributionConfig", "id": "5d007b29-70da-485e-be22-1c966d204607", "display_name": "BGP route redistribution", "bgp_enabled": false, "_last_modified_user": "admin", "_last_modified_time": 1457392490759, "_revision": 2 }

Required Permissions:

crud

Feature:

routing_routers

Additional Errors: