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}
/policy/api/v1/global-infra/sites/{site-id}/enforcement-points/{enforcement-point-id}/edge-bridge-profiles/{profile-id}
/policy/api/v1/global-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/05e58fcb-8575-4b20-9c49-3f09a0d70572/edge-nodes/0" ], "ha_mode": "ACTIVE_STANDBY", "failover_mode": "PREEMPTIVE", }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
L2BridgeEndpointProfile+