Config

Leafs

class NetworkInstances.NetworkInstance.Protocols.Protocol.Config

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Protocols Protocol Config

This class represents configuration data.

Configuration parameters relating to the routing

protocol instance

identifier

The protocol identifier for the instance

type: one of the below values: BGP

name

A unique name for the protocol instance

type: str

enabled

A boolean value indicating whether the local protocol instance is enabled

type: bool

default_metric

The default metric within the RIB for entries that are installed by this protocol instance. This value may be overridden by protocol specific configuration options. The lower the metric specified the more preferable the RIB entry is to be selected for use within the network instance. Where multiple entries have the same metric value then these equal cost paths should be treated according to the specified ECMP path selection behaviour for the instance

type: int

range: 0..4294967295