Policy > Networking > Connectivity > Tier-0 Gateways > EVPN Setting > EVPN Configuration

Create or Update evpn configuration

Create or update evpn configuration.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/evpn
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
EvpnConfig+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-0s/test/evpn { "encapsulation_method": { "vni_pool_path": "/infra/vni-pools/pool2" } }

Successful Response:

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

Example Response:

{ "mode": "INLINE", "encapsulation_method": { "vni_pool_path": "/infra/vni-pools/pool2", "marked_for_delete": false, "_protection": "NOT_PROTECTED" }, "resource_type": "EvpnConfig", "id": "evpn", "display_name": "evpn", "path": "/infra/tier-0s/test/evpn", "relative_path": "evpn", "parent_path": "/infra/tier-0s/test", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1558043549178, "_last_modified_user": "admin", "_last_modified_time": 1558725230261, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: