Management Plane API > Networking > Logical Routing And Services > BFD Peers

Update a static route BFD peer

Modifies the static route BFD peer.
Modifiable parameters includes peer IP, enable flag and configuration of the BFD peer.

Request:

Method:
PUT
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/static-routes/bfd-peers/<bfd-peer-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
StaticHopBfdPeer+

Example Request:

PUT https://<nsx-mgr>/api/v1/logical-routers/f962173f-ac03-4d08-8366-56a41779f61d/routing/static-routes/bfd-peers/723c1e3e-c82c-4243-bba0-2e1ef4815143 { "id": "ab6e173e-ac03-5d09-8888-46a41779f633", "peer_ip_address": "10.10.10.10", "enabled": true, "bfd_config": { "receive_interval": 1000, "transmit_interval": 1000, "declare_dead_multiple": 3 } }

Successful Response:

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

Example Response:

{ "id": "ab6e173e-ac03-5d09-8888-46a41779f633", "peer_ip_address": "10.10.10.10", "enabled": true, "bfd_config": { "receive_interval": 1000, "transmit_interval": 1000, "declare_dead_multiple": 3 }, "_revision": 43 }

Required Permissions:

crud

Feature:

routing_routers

Additional Errors: