Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Static Routes BFD Peers

Create or update a StaticRouteBfdPeer

If a StaticRouteBfdPeer with the bfd-peer-id is not already present,
create a new StaticRouteBfdPeer. If it already exists, update the
StaticRouteBfdPeer. This operation will fully replace the object.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/static-routes/bfd-peers/{bfd-peer-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
StaticRouteBfdPeer+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-0s/t0/static-routes/bfd-peers/peer2 { "bfd_profile_path" : "/infra/bfd-profiles/config2", "peer_address" : "10.1.1.2" }

Successful Response:

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

Example Response:

{ "enabled": true, "peer_address": "10.1.1.2", "bfd_profile_path": "/infra/bfd-profiles/config2", "resource_type": "StaticRouteBfdPeer", "id": "peer2", "display_name": "peer2", "path": "/infra/tier-0s/pepsi/static-routes/bfd-peers/peer2", "relative_path": "peer2", "parent_path": "/infra/tier-0s/pepsi", "unique_id": "3ba5025a-49aa-402b-9c4b-e41088e5ed9e", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1579289979989, "_last_modified_user": "admin", "_last_modified_time": 1579289979989, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: