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..4294967295config: 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])$type: 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}|:))$type:
BgpNextHopType
config: False
-
set_med
¶ set the med metric attribute in the route update
type: union of the below types:
config: False
-