NSX-T Data Center REST API
Create or patch a route filter
Create or patch a route filter. This will create a mapping of projects to prefix lists. Prefix lists will beapplied to all T-1 under the specified projects.
This API is only available when using VMware NSX.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/infra/routing-config/project-route-filters/{route-filter-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ProjectRouteFilter+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/infra/routing-config/project-route-filters/route-filter-id { "projects_list": ["/orgs/org-1/projects/project-1"], "match_prefix_list" : ["/infra/routing-config/prefix-lists/list-1", "/infra/routing-config/prefix-lists/list-2"] }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a