Software Secure Workload
Activity Configure

Get Policy Enforcement Status for an External Orchestrator

This endpoint returns policy enforcement status for an external orchestrator belonging to the given VRF. This API is available to API keys with external_integration capability.

GET /openapi/v1/tnp_policy_status/{vrfID}/{orchestratorID}

Parameters: The request URL contains the following parameters

Name

Type

Description

vrfID

integer

VRF ID for the root scope.

orchestratorID

string

External orchestrator ID.

Response object: Returns a list of network policies with the Status as ENFORCED or FAILED or IGNORED.

Sample python code


  vrf_id = 676767
  orchestrator_id = '5ee3c991497d4f3b00f1ee07'
  restclient.get('/tnp_policy_status/%d/%s' % (vrf_id, orchestrator_id))