Config

Leafs

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

Bases: Entity

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

This class represents configuration data.

Policy configuration data.

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

default_import_policy

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

type: DefaultPolicyType

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

default_export_policy

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

type: DefaultPolicyType

default value: REJECT_ROUTE