State¶
Leafs
-
class
NetworkInstances.NetworkInstance.SegmentRouting.Srgbs.Srgb.
State
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
SegmentRouting
Srgbs
Srgb
State
This class represents state data.
State parameters relating to the SRGB.
-
local_id
¶ Unique identifier for the segment routing global block on the local system
type: str
config: False
-
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
config: False
-
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
config: False
-
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])))config: False
-
size
¶ The total number of SRGB entries that are available within the SRGB
type: int
range: 0..4294967295config: False
-
used
¶ The total number of SRGB entries that have already been alocated by protocols referencing the SRGB
type: int
range: 0..4294967295config: False
-