openconfig-routing-policy
type: Module
namespace: routing-policy
contact: OpenConfig working group netopenconfig@googlegroups.com
description: This module describes a YANG model for routing policy configuration. It is a limited subset of all of the policy configuration parameters available in the variety of vendor implementations, but supports widely used constructs for managing how routes are imported, exported, and modified across different routing protocols. This module is intended to be used in conjunction with routing protocol configuration models (e.g., BGP) defined in other modules. Route policy expression: Policies are expressed as a set of top-level policy definitions, each of which consists of a sequence of policy statements. Policy statements consist of simple condition-action tuples. Conditions may include mutiple match or comparison operations, and similarly actions may be multitude of changes to route attributes or a final disposition of accepting or rejecting the route. Route policy evaluation: Policy definitions are referenced in routing protocol configurations using import and export configuration statements. The arguments are members of an ordered list of named policy definitions which comprise a policy chain, and optionally, an explicit default policy action (i.e., reject or accept). Evaluation of each policy definition proceeds by evaluating its corresponding individual policy statements in order. When a condition statement in a policy statement is satisfied, the corresponding action statement is executed. If the action statement has either accept-route or reject-route actions, policy evaluation of the current policy definition stops, and no further policy definitions in the chain are evaluated. If the condition is not satisfied, then evaluation proceeds to the next policy statement. If none of the policy statement conditions are satisfied, then evaluation of the current policy definition stops, and the next policy definition in the chain is evaluated. When the end of the policy chain is reached, the default route disposition action is performed (i.e., reject-route unless an an alternat…
has revision: http://yang.eurecom.fr/module/openconfig-routing-policy/revision/2016-05-12
has revision: http://yang.eurecom.fr/module/openconfig-routing-policy/revision/2017-07-14
has revision: http://yang.eurecom.fr/module/openconfig-routing-policy/revision/2018-06-05
has revision: http://yang.eurecom.fr/module/openconfig-routing-policy/revision/2018-11-21
organization: OpenConfig working group
prefix: oc-rpol
has container: routing-policy
yang version: 1
has identity: ACCEPT
has identity: ACL COUNTER CAPABILITY
has identity: ACL IPV4
has identity: ACL IPV6
has identity: ACL L2
has identity: ACL MIXED
has identity: ACL TYPE
has identity: ADDRESS FAMILY
has identity: ADD PATHS
has identity: ADJACENCY SID
has identity: ADMINISTRATIVE RESET
has identity: ADMINISTRATIVE RESET 1
has identity: ADMINISTRATIVE SHUTDOWN
has identity: ADMINISTRATIVE SHUTDOWN 1
has identity: ADMIN DOWN
has identity: ADMIN UP
has identity: AFI SAFI TYPE
has identity: AFI SAFI TYPE 1
has identity: AFI TYPE
has identity: AGGREGATE ONLY
has identity: AREA ADDRESSES
has identity: ASN32
has identity: AS EXTERNAL LSA
has identity: AS PATH LONGER
has identity: ATTEMPT
has identity: ATTRIBUTE COMPARISON
has identity: ATTRIBUTE EQ
has identity: ATTRIBUTE FLAGS ERROR
has identity: ATTRIBUTE FLAGS ERROR 1
has identity: ATTRIBUTE GE
has identity: ATTRIBUTE LE
has identity: ATTRIBUTE LENGTH ERROR
has identity: ATTRIBUTE LENGTH ERROR 1
has identity: AUTHENTICATION
has identity: BAD BGP IDENTIFIER
has identity: BAD BGP IDENTIFIER 1
has identity: BAD MESSAGE LENGTH
has identity: BAD MESSAGE LENGTH 1
has identity: BAD MESSAGE TYPE
has identity: BAD MESSAGE TYPE 1
has identity: BAD PEER AS
has identity: BAD PEER AS 1
has identity: BGP
has identity: BGP CAPABILITY
has identity: BGP ERROR CODE
has identity: BGP ERROR CODE 1
has identity: BGP ERROR SUBCODE
has identity: BGP ERROR SUBCODE 1
has identity: BGP EVPN
has identity: BGP NOT SELECTED BESTPATH
has identity: BGP NOT SELECTED POLICY
has identity: BGP VPLS
has identity: BGP WELL KNOWN STD COMMUNITY
has identity: BROADCAST NETWORK
has identity: CEASE
has identity: CEASE 1
has identity: CEASE SUBCODE
has identity: CEASE SUBCODE 1
has identity: CHASSIS ID
has identity: CONNECTION NOT SYNCHRONIZED
has identity: CONNECTION NOT SYNCHRONIZED 1
has identity: CONNECTION REJECTED
has identity: CONNECTION REJECTED 1
has identity: CONN COLLISION RESOLUTION
has identity: CONN COLLISION RESOLUTION 1
has identity: C VLAN
has identity: DATA ENCODING METHOD