State

Leafs

Enum Classes

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

Bases: Entity

Class Hierarchy : RoutingPolicy PolicyDefinitions PolicyDefinition Statements Statement Conditions BgpConditions State

This class represents state data.

Operational state 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

config: False

origin_eq

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

type: BgpOriginAttrType

config: False

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}]+)?

config: False

afi_safi_in

List of address families which the NLRI may be within

type: one of the below values: list of

config: False

local_pref_eq

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

type: int

range: 0..4294967295

config: False

route_type

Condition to check the route type in the route update

type: RouteType

config: False