State

Leafs

class RoutingPolicy.PolicyDefinitions.PolicyDefinition.Statements.Statement.Actions.BgpActions.SetAsPathPrepend.State

Bases: Entity

Class Hierarchy: RoutingPolicy PolicyDefinitions PolicyDefinition Statements Statement Actions BgpActions SetAsPathPrepend State

This class represents state data.

Operational state 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

config: False

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

config: False