State
Leafs
- class RoutingPolicy.PolicyDefinitions.PolicyDefinition.Statements.Statement.Actions.BgpActions.State
Bases:
Entity
Class Hierarchy :
RoutingPolicy
PolicyDefinitions
PolicyDefinition
Statements
Statement
Actions
BgpActions
State
This class represents state data.
Operational state data for BGP-specific actions
- set_route_origin
set the origin attribute to the specified value
type:
BgpOriginAttrType
config: False
- set_local_pref
set the local pref attribute on the route update
type: int
range: 0..4294967295
config: False
- 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
config: False
- set_med
set the med metric attribute in the route update
type: union of the below types:
config: False