State

Leafs

class NetworkInstances.NetworkInstance.Protocols.Protocol.State

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Protocols Protocol State

This class represents state data.

State parameters relating to the routing protocol

instance

identifier

The protocol identifier for the instance

type: one of the below values: BGP

config: False

name

A unique name for the protocol instance

type: str

config: False

enabled

A boolean value indicating whether the local protocol instance is enabled

type: bool

config: False

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

config: False