Config¶
Leafs
-
class
RoutingPolicy.PolicyDefinitions.PolicyDefinition.Statements.Statement.Actions.BgpActions.SetAsPathPrepend.
Config
¶ Bases:
Entity
Class Hierarchy:
RoutingPolicy
PolicyDefinitions
PolicyDefinition
Statements
Statement
Actions
BgpActions
SetAsPathPrepend
Config
This class represents configuration data.
Configuration data for the AS path prepend action
-
repeat_n
¶ Number of times to prepend the value specified in the asn leaf to the AS path. If no value is specified by the asn leaf, the local AS number of the system is used. The value should be between 1 and the maximum supported by the implementation
type: int
range: 1..255
-
asn
¶ The AS number to prepend to the AS path. If this leaf is not specified and repeat-n is set, then the local AS number will be used for prepending
type: int
range: 0..4294967295
-