Config

Leafs

class TerminalDevice.LogicalChannels.Channel.Config

Bases: Entity

Class Hierarchy : TerminalDevice LogicalChannels Channel Config

This class represents configuration data.

Configuration data for logical channels

index

Index of the current logical channel

type: int

range: 0..4294967295

description

Description of the logical channel

type: str

admin_state

Sets the admin state of the logical channel

type: AdminStateType

rate_class

Rounded bit rate of the tributary signal. Exact bit rate will be refined by protocol selection

type: one of the below values: TRIBRATE1G

trib_protocol

Protocol framing of the tributary signal. If this LogicalChannel is directly connected to a Client-Port or Optical-Channel, this is the protocol of the associated port. If the LogicalChannel is connected to other LogicalChannels, the TributaryProtocol of the LogicalChannels will define a specific mapping/demapping or multiplexing/demultiplexing function. Not all protocols are valid, depending on the value of trib-rate-class. The expectation is that the NMS will validate that a correct combination of rate class and protocol are specfied. Basic combinations are: rate class: 1G protocols: 1GE rate class: 2.5G protocols: OC48, STM16 rate class: 10G protocols: 10GE LAN, 10GE WAN, OC192, STM64, OTU2, OTU2e, OTU1e, ODU2, ODU2e, ODU1e rate class: 40G protocols: 40GE, OC768, STM256, OTU3, ODU3 rate class: 100G protocols: 100GE, 100G MLG, OTU4, OTUCn, ODU4

type: one of the below values: PROT1GE

logical_channel_type

The type / stage of the logical element determines the configuration and operational state parameters (PMs) available for the logical element

type: one of the below values: PROTETHERNET

loopback_mode

Sets the loopback type on the logical channel. Setting the mode to something besides NONE activates the loopback in the specified mode

type: LoopbackModeType