State

Leafs

class NetworkInstances.NetworkInstance.Protocols.Protocol.Bgp.Neighbors.Neighbor.ApplyPolicy.State

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Protocols Protocol Bgp Neighbors Neighbor ApplyPolicy State

This class represents state data.

Operational state for routing policy

import_policy

list of policy names in sequence to be applied on receiving a routing update in the current context, e.g., for the current peer group, neighbor, address family, etc

type: list of str

refers to: name

config: False

default_import_policy

explicitly set a default policy if no policy definition in the import policy chain is satisfied

type: DefaultPolicyType

config: False

default value: REJECT_ROUTE

export_policy

list of policy names in sequence to be applied on sending a routing update in the current context, e.g., for the current peer group, neighbor, address family, etc

type: list of str

refers to: name

config: False

default_export_policy

explicitly set a default policy if no policy definition in the export policy chain is satisfied

type: DefaultPolicyType

config: False

default value: REJECT_ROUTE