Policy > Networking > Connectivity > Segments > Edge Bridge Profiles

Create or update L2 Bridge Endpoint Profile

API will create or update L2 bridge profile with ID profile-id.
L2 Bridge profile is only allowed under an enforcement-point with path
/infra/sites/default/enforcement-points/default.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcement-point-id>/edge-bridge-profiles/<profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
L2BridgeEndpointProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/edge-bridge-profiles/p1 { "edge_paths": [ "/infra/sites/default/enforcement-points/default/edge-clusters/8bb6901f-6484-4c83-9f7f-716899299303/edge-nodes/281271da-3823-11ea-9170-000c291a8262" ], "ha_mode": "ACTIVE_STANDBY", "failover_mode": "PREEMPTIVE", }

Successful Response:

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

Example Response:

{ "edge_paths": [ "/infra/sites/default/enforcement-points/default/edge-clusters/8bb6901f-6484-4c83-9f7f-716899299303/edge-nodes/281271da-3823-11ea-9170-000c291a8262" ], "ha_mode": "ACTIVE_STANDBY", "failover_mode": "PREEMPTIVE", "resource_type": "L2BridgeEndpointProfile", "id": "p1", "display_name": "p1", "path": "/infra/sites/default/enforcement-points/default/edge-bridge-profiles/p1", "relative_path": "p1", "parent_path": "/infra/sites/default/enforcement-points/default", "unique_id": "e2292681-5309-4954-8ad9-4ee89430d10d", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1579296574896, "_last_modified_user": "admin", "_last_modified_time": 1579296574896, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_profiles

Additional Errors: