Get Policy Enforcement Status for All External Orchestrators
This endpoint returns policy enforcement status for all external orchestrators belonging to the given VRF. This API is available to API keys with external_integration
capability.
GET /openapi/v1/tnp_policy_status/{vrfID}
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
vrfID |
integer |
VRF ID for the root scope. |
Response object: Returns a list of network policies with the Status as ENFORCED
or FAILED
or IGNORED
.
Sample python code
vrf_id = 676767
restclient.get('/tnp_policy_status/%d' % vrf_id)