Config

Leafs

Enum Classes

class RoutingPolicy.PolicyDefinitions.PolicyDefinition.Statements.Statement.Conditions.BgpConditions.Config

Bases: Entity

Class Hierarchy : RoutingPolicy PolicyDefinitions PolicyDefinition Statements Statement Conditions BgpConditions Config

This class represents configuration data.

Configuration data for BGP-specific policy conditions

med_eq

Condition to check if the received MED value is equal to the specified value

type: int

range: 0..4294967295

origin_eq

Condition to check if the route origin is equal to the specified value

type: BgpOriginAttrType

next_hop_in

List of next hop addresses to check for in the route update

type: union of the below types:

type: list of str

pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$

type: list of str

pattern: ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$
afi_safi_in

List of address families which the NLRI may be within

type: one of the below values:

local_pref_eq

Condition to check if the local pref attribute is equal to the specified value

type: int

range: 0..4294967295

route_type

Condition to check the route type in the route update

type: RouteType