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

Update a specific BGP Neighbor on a Logical Router

Update a specific BGP Neighbor on a Logical Router

Request:

Method:
PUT
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/bgp/neighbors/<id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
BgpNeighbor+

Example Request:

PUT https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/bgp/neighbors/640912b0-4820-46f0-b7c2-7a9e2cb57505 { "_revision": 1, "hold_down_timer": 40, "neighbor_address": "10.30.1.1", "keep_alive_timer": 100, "source_addresses": ["192.168.0.1"], "remote_as_num": "64510", "address_families": [ { "type" : "IPV4_UNICAST", "enabled" : true, } ], "display_name": "neighbor A", "description": "to_neighbor_A", }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
BgpNeighbor+

Example Response:

{ "id": "640912b0-4820-46f0-b7c2-7a9e2cb57505", "resource_type": "BgpNeighbor", "hold_down_timer": 40, "neighbor_address": "10.30.1.1", "keep_alive_timer": 100, "source_addresses": ["192.168.0.1"], "remote_as_num": "64510", "address_families": [ { "type" : "IPV4_UNICAST", "enabled" : true, } ], "display_name": "neighbor A", "description": "to_neighbor_A", "_last_modified_user": "admin", "_last_modified_time": 1433949148014, "_create_time": 1433949148014, "_create_user": "admin", "_revision": 2 }

Required Permissions:

crud

Feature:

routing_routers

Additional Errors: