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