Config

Leafs

class RoutingPolicy.PolicyDefinitions.PolicyDefinition.Statements.Statement.Actions.BgpActions.Config

Bases: Entity

Class Hierarchy : RoutingPolicy PolicyDefinitions PolicyDefinition Statements Statement Actions BgpActions Config

This class represents configuration data.

Configuration data for BGP-specific actions

set_route_origin

set the origin attribute to the specified value

type: BgpOriginAttrType

set_local_pref

set the local pref attribute on the route update

type: int

range: 0..4294967295

set_next_hop

set the next-hop attribute in the route update

type: union of the below types:

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

type: BgpNextHopType

set_med

set the med metric attribute in the route update

type: union of the below types:

type: int

range: 0..4294967295

type: str

pattern: ^[+-][0-9]+

type: BgpSetMedType