Config

Leafs

class NetworkInstances.NetworkInstance.SegmentRouting.Srgbs.Srgb.Config

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance SegmentRouting Srgbs Srgb Config

This class represents configuration data.

Configuration parameters relating to the SRGB.

local_id

Unique identifier for the segment routing global block on the local system

type: str

dataplane_type

The dataplane being used to instantiate the SRGB. When MPLS is specified the set of MPLS label blocks that are defined in the mpls-label-blocks list are used to make up the SRGB. When IPv6 is specified, the set of IPv6 prefixes specified in the ipv6-prefixes list are used

type: SrDataplaneType

mpls_label_blocks

A list of refences to the label blocks that are used to make up the SRGB

type: list of str

refers to: local_id

ipv6_prefixes

A list of IPv6 prefixes which are to be used for segment routing using the IPv6 dataplane

type: list of str

pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))