Policy#
Routing Policies → PPolicies
Documentation coming soon!
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
Policy
SPEC
Policy defines a set of rules and actions to manage network traffic or routing behavior, with statements that include matching conditions and actions, such as accepting or rejecting routes, or modifying route attributes like BGP parameters.
-
The name of the policy to configure on the device.
-
The default action to apply if no other actions are defined.
-
Actions related to the BGP protocol.
-
Clear the AS path to make it empty.
-
Replace the existing AS path with a new AS_SEQUENCE containing the listed AS numbers.
-
Set a new LOCAL_PREF value for matching BGP routes.
format: int32range: 0 to 4294967295 -
Set a new ORIGIN attribute for matching BGP routes.
enum: "egp", "igp", "incomplete"
-
Final disposition for the route.
enum: "Accept", "Reject", "NextPolicy", "NextStatement"
-
-
List of policy statements.
-
-
Actions for routes that match the policy statement.
-
Actions related to the BGP protocol.
-
Clear the AS path to make it empty.
-
Replace the existing AS path with a new AS_SEQUENCE containing the listed AS numbers.
-
Set a new LOCAL_PREF value for matching BGP routes.
format: int32range: 0 to 4294967295 -
Set a new ORIGIN attribute for matching BGP routes.
enum: "egp", "igp", "incomplete"
-
Final disposition for the route.
enum: "Accept", "Reject", "NextPolicy", "NextStatement"
-
-
Match conditions of the policy statement.
-
Configuration for BGP-specific policy match criteria.
-
AS Path match criteria.
-
A singular regular expression string to match against AS_PATH objects. Mutually exclusive with the ASPathSet reference.
-
Reference to an ASPathSet resource. Mutually exclusive with the ASPathExpression.
-
The matching criteria that applies to the members in the referenced set.
enum: "Any", "All", "Invert"
-
-
Match conditions for BGP communities.
-
Match conditions for EVPN route types.
-
-
Address families that the route belongs to.
-
Reference to a PrefixSet resource.
-
The route protocol type to match.
enum: "Aggregate", "ARP_ND", "BGP", +12 more
-
-
Name of the policy statement.
-
-
STATUS
PolicyStatus defines the observed state of Policy.