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])(%[\p{N}\p{L}]+)?

type: list of str

pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?

afi_safi_in

List of address families which the NLRI may be within

type: one of the below values: list of

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