Policy > Networking > Networking Profiles > BFD Profiles

Create or update a BfdProfile

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

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/bfd-profiles/<bfd-profile-id>
/policy/api/v1/global-infra/bfd-profiles/<bfd-profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
BfdProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/bfd-profiles/config2 { "interval": 500, "multiple": 3 }

Successful Response:

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

Example Response:

{ "interval": 500, "multiple": 3, "resource_type": "BfdProfile", "id": "config2", "display_name": "config2", "path": "/infra/bfd-profiles/config2", "relative_path": "config2", "parent_path": "/infra", "unique_id": "94e10261-d7e7-4655-b0a8-e0feb7afe13a", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1579245303690, "_last_modified_user": "admin", "_last_modified_time": 1579245303690, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_profiles

Additional Errors: