Enabling local policy
Local policy allows you to manipulate service configuration and media location data (that has been provided either via the external policy API, or has been retrieved from Pexip Infinity's own database) by running a jinja2 script against that data.
Local policy has a more limited scope than external policy in what it can control, but it is easier to implement and runs locally on each Conferencing Node.
Configuring policy profiles for local policy
You can configure Pexip Infinity to use both external and local policy depending on your requirements. When both external and local policy are enabled, external policy is applied first to retrieve the configuration data from the external system, and then local policy is applied to that retrieved data (which can then conditionally modify that data). The flow chart (below) shows Pexip Infinity's standard processing logic when policy profiles are used and highlights where local policy is applied.
To configure Pexip Infinity to use local policy:
- Go to .
and then configure that profile:
- Select Apply local policy for the types of configuration data (currently service configuration and media location data types only) that you want to modify via local policy.
In the Script text box, enter the jinja2 script that you want to execute against that data, and save your changes.
See Writing local policy scripts for full information about how to construct your jinja2 scripts.
- Go to .
- Select each location in turn and specify the Policy profile that the Conferencing Nodes in that location should use when making policy decisions.
For more information on configuring policy profiles and how to combine external policy with local policy, see Configuring policy profiles.