Get started with the openconfig-routing-policy model using PAN-OS openconfig plugin. Learn about routing policy behaviors and managing routing policies.
Review the deviation file before using the
openconfig-routing-policy model to familiarize yourself with supported paths.
Because the openconfig-routing-policy model has no implicit router, PAN-OS
uses a unique naming convention to enable the routing policies to apply to the correct
virtual router.
When using the openconfig-routing-policy model with PAN-OS:
To avoid conflicts, only use unique redistribution profiles for each routing
policy.
Avoid having unused redistribution profiles.
Defined-sets only belong to redistribution profiles.
Policy definitions map to the routing protocols in exports.
In the statements/actions/ospf container, this action affects the export action
link in OSPF, not the redistribution profile.
Conditional advertisements are not supported.
You cannot name rules with CIDR/IP.
In conditions, only 1 interface can be added per OSPF area per statement.
Statements and policy definitions refer to the same object, so a delete can only
happen at the policy-definition level.
Not every naming element in the naming convention is required for a successful
configuration.
The following are generally the steps followed to successfully configure a routing policy
with OpenConfig:
Define defined-sets which include neighbor-sets (host IPs) and prefix-sets
(network CIDR)
Define policy-definitions that include statements with conditions that reference
defined-sets, interfaces, and policy actions.
(Optional) Within the network-instances container of the routing policy, define
the 3 connections, source protocol, destination protocol, and IP version that
use the policy-definition defined in step 2.
Supported Tags
The following are a list of Protocol Tags available with v1.1’s
openconfig-routing-policy model.
ospf
bgp
bgpimporttag
bgpexporttag
OpenConfig Defined Sets
Under the openconfig-routing-policy/defined-sets container the following naming
schema directs the container to the appropriate router:
Virtual Router Name+ Protocol Tag + Object Name
The following code block shows an example of the naming conventions applied to do
defined sets.
Under the openconfig-routing-policy/policy-definitions container the following naming
schema applies to direct the container to the appropriate protocol:
Virutal Router Name+Protocol Tag+ Object Name
The policy statements are defined by the Object Name:
The following code block shows an example of defining policies using the naming
convention and previously defined neighbor sets.