Config¶
Leafs
-
class
NetworkInstances.NetworkInstance.
Config
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
Config
This class represents configuration data.
Configuration parameters relating to a network
instance
-
name
¶ An operator-assigned unique name for the forwarding instance
type: str
-
type
¶ The type of network instance. The value of this leaf indicates the type of forwarding entries that should be supported by this network instance
type: one of the below values:
DEFAULTINSTANCE
-
enabled
¶ Whether the network instance should be configured to be active on the network element
type: bool
-
description
¶ A free-form string to be used by the network operator to describe the function of this network instance
type: str
-
router_id
¶ A identifier for the local network instance - typically used within associated routing protocols or signalling routing information in another network instance
type: str
pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])
-
route_distinguisher
¶ The route distinguisher that should be used for the local VRF or VSI instance when it is signalled via BGP
type: union of the below types:
type: str
pattern: ^(65[0-5][0-3][0-5]|[1-5][1-5][0-9][0-9][0-9]|[1-9]?[1-9]?[0-9][0-9]|[1-9]):(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-5]|[0-3][0-9]{9}|[1-9][0-9]{1,8}|[1-9])$type: str
pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(65[0-5][0-3][0-5]|[1-5][1-5][0-9][0-9][0-9]|[1-9]?[1-9]?[0-9][0-9]|[1-9])$type: str
pattern: ^(4[0-2][0-9][0-4][0-9][0-6][0-7][0-2][0-9][0-5]|[0-3][0-9]{9}|[1-9][0-9]{1,8}|[1-9]):(65[0-5][0-3][0-5]|[1-5]{2}[0-9]{3}|[1-9]{0,2}[0-9][0-9]|[1-9])$
-
enabled_address_families
¶ The address families that are to be enabled for this network instance
type: one of the below values: list of
-
mtu
¶ The maximum frame size which should be supported for this instance for Layer 2 frames
type: int
range: 0..65535
-