NSX-T Data Center REST API
Update the BGP Configuration on a Logical Router (Deprecated)
Modifies the BGP configuration on a specified TIER0 logical router.Modifiable parameters include enabled, graceful_restart, as_number.
Deprecated:
Please use below Policy APIs.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp
Request:
Method:
              PUT
            URI Path(s):
              
              
                  
                  /api/v1/logical-routers/<logical-router-id>/routing/bgp
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    BgpConfig+
  Example Request:
PUT https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/bgp { "resource_type": "BgpConfig", "description": "Uplink to external", "id": "f2002b7e-e94b-4089-bef9-ef8e2a4fe2fb", "display_name": "Uplink to external", "as_num": "64520", "graceful_restart": true, "enabled": true, "ecmp": false, "_revision": 4 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    BgpConfig+
  