NSX-T Data Center REST API
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+