Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for monitoring transceivers in a Network Element. Copyright (c) 2017-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type TransceiverOperData
- type TransceiverOperData_Transceiver
- type TransceiverOperData_Transceiver_InputPower
- type TransceiverOperData_Transceiver_LaserBiasCurrent
- type TransceiverOperData_Transceiver_OutputPower
- type TransceiverOperData_Transceiver_XcvrPhysicalChannel
- type TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower
- type TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent
- type TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower
- type XcvrOtnCode
- type XcvrSonetCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransceiverOperData ¶
type TransceiverOperData struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of transceiver instance, keyed by name. The type is slice of // TransceiverOperData_Transceiver. Transceiver []*TransceiverOperData_Transceiver }
TransceiverOperData Top-level container for transceiver operational data
func (*TransceiverOperData) GetEntityData ¶
func (transceiverOperData *TransceiverOperData) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver ¶
type TransceiverOperData_Transceiver struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Port name. The type is string. Name interface{} // Turns power on/off to the transceiver. The type is bool. Enabled interface{} // Transceiver is present on the port. The type is bool. Present interface{} // Indicates the type of optical transceiver used on this port. The type is // string. Identifier interface{} // Connector type used on this port. The type is string. Connector interface{} // Ethernet PMD (physical medium dependent sublayer) that the transceiver // supports. The SFF/QSFP MSAs have registers for this and CFP MSA has // similar. The type is string. EthernetPmd interface{} // Full name of transceiver vendor. The type is string. Vendor interface{} // Transceiver vendor's part number. The type is string. VendorPart interface{} // Transceiver vendor's revision number. The type is string. VendorRev interface{} // Transceiver serial number. The type is string. SerialNo interface{} // Indicates if a fault condition exists in the transceiver. The type is bool. FaultCondition interface{} // Representation of the transceiver date. The type is string. Date interface{} // SONET/SDH application code supported by the port. The type is // XcvrSonetCode. Sonet interface{} // OTN application code supported by the port. The type is XcvrOtnCode. Otn interface{} // Internally measured temperature in degrees Celsius. The type is string with // range: -92233720368547758.08..92233720368547758.07. InternalTemp interface{} // The output optical power of overall transceiver(dBm). OutputPower TransceiverOperData_Transceiver_OutputPower // The input optical power of overall transceiver(dBm). InputPower TransceiverOperData_Transceiver_InputPower // The current applied by the system to the transmit laser to achieve the // output power(mA). LaserBiasCurrent TransceiverOperData_Transceiver_LaserBiasCurrent // List of physical channel for transceiver. The type is slice of // TransceiverOperData_Transceiver_XcvrPhysicalChannel. XcvrPhysicalChannel []*TransceiverOperData_Transceiver_XcvrPhysicalChannel }
TransceiverOperData_Transceiver List of transceiver instance, keyed by name
func (*TransceiverOperData_Transceiver) GetEntityData ¶
func (transceiver *TransceiverOperData_Transceiver) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_InputPower ¶
type TransceiverOperData_Transceiver_InputPower struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Instant value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Instant interface{} // Average value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Avg interface{} // Maximum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Max interface{} // Minimum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Min interface{} }
TransceiverOperData_Transceiver_InputPower The input optical power of overall transceiver(dBm)
func (*TransceiverOperData_Transceiver_InputPower) GetEntityData ¶
func (inputPower *TransceiverOperData_Transceiver_InputPower) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_LaserBiasCurrent ¶
type TransceiverOperData_Transceiver_LaserBiasCurrent struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Instant value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Instant interface{} // Average value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Avg interface{} // Maximum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Max interface{} // Minimum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Min interface{} }
TransceiverOperData_Transceiver_LaserBiasCurrent The current applied by the system to the transmit laser to achieve the output power(mA)
func (*TransceiverOperData_Transceiver_LaserBiasCurrent) GetEntityData ¶
func (laserBiasCurrent *TransceiverOperData_Transceiver_LaserBiasCurrent) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_OutputPower ¶
type TransceiverOperData_Transceiver_OutputPower struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Instant value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Instant interface{} // Average value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Avg interface{} // Maximum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Max interface{} // Minimum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Min interface{} }
TransceiverOperData_Transceiver_OutputPower The output optical power of overall transceiver(dBm)
func (*TransceiverOperData_Transceiver_OutputPower) GetEntityData ¶
func (outputPower *TransceiverOperData_Transceiver_OutputPower) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_XcvrPhysicalChannel ¶
type TransceiverOperData_Transceiver_XcvrPhysicalChannel struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Index of the physical channnel. The type is // interface{} with range: 0..65535. Index interface{} // Text description for the client physical channel. The type is string. Description interface{} // Enable (true) or disable (false) the transmit label for the channel. The // type is bool. TxLaser interface{} // Target output optical power level of the optical channel(dBm). The type is // string with range: -92233720368547758.08..92233720368547758.07. TargetOutputPower interface{} // The frequency in MHz of the individual physical channel. The type is // interface{} with range: 0..18446744073709551615. OutputFrequency interface{} // The output optical power of a physical channel(dBm). OutputPower TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower // The input optical power of a physical channel(dBm). InputPower TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower // The current applied by the system to the transmit laser to achieve the // output power(mA). LaserBiasCurrent TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent }
TransceiverOperData_Transceiver_XcvrPhysicalChannel List of physical channel for transceiver
func (*TransceiverOperData_Transceiver_XcvrPhysicalChannel) GetEntityData ¶
func (xcvrPhysicalChannel *TransceiverOperData_Transceiver_XcvrPhysicalChannel) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower ¶
type TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Instant value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Instant interface{} // Average value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Avg interface{} // Maximum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Max interface{} // Minimum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Min interface{} }
TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower The input optical power of a physical channel(dBm)
func (*TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower) GetEntityData ¶
func (inputPower *TransceiverOperData_Transceiver_XcvrPhysicalChannel_InputPower) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent ¶
type TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Instant value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Instant interface{} // Average value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Avg interface{} // Maximum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Max interface{} // Minimum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Min interface{} }
TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent The current applied by the system to the transmit laser to achieve the output power(mA)
func (*TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent) GetEntityData ¶
func (laserBiasCurrent *TransceiverOperData_Transceiver_XcvrPhysicalChannel_LaserBiasCurrent) GetEntityData() *types.CommonEntityData
type TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower ¶
type TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Instant value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Instant interface{} // Average value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Avg interface{} // Maximum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Max interface{} // Minimum value. The type is string with range: // -92233720368547758.08..92233720368547758.07. Min interface{} }
TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower The output optical power of a physical channel(dBm)
func (*TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower) GetEntityData ¶
func (outputPower *TransceiverOperData_Transceiver_XcvrPhysicalChannel_OutputPower) GetEntityData() *types.CommonEntityData
type XcvrOtnCode ¶
type XcvrOtnCode string
XcvrOtnCode represents OTN application code supported by the port
const ( XcvrOtnCode_p1l1_2d1 XcvrOtnCode = "p1l1-2d1" XcvrOtnCode_p1s1_2d2 XcvrOtnCode = "p1s1-2d2" XcvrOtnCode_p1l1_2d2 XcvrOtnCode = "p1l1-2d2" XcvrOtnCode_otn_undefined XcvrOtnCode = "otn-undefined" )
type XcvrSonetCode ¶
type XcvrSonetCode string
XcvrSonetCode represents SONET/SDH application code supported by the port
const ( XcvrSonetCode_oc_48_short_reach XcvrSonetCode = "oc-48-short-reach" XcvrSonetCode_oc_48_intermediate_reach XcvrSonetCode = "oc-48-intermediate-reach" XcvrSonetCode_oc_48_long_reach XcvrSonetCode = "oc-48-long-reach" XcvrSonetCode_sonet_sr_compliant XcvrSonetCode = "sonet-sr-compliant" XcvrSonetCode_sonet_lr_compliant XcvrSonetCode = "sonet-lr-compliant" XcvrSonetCode_oc_192_short_reach XcvrSonetCode = "oc-192-short-reach" XcvrSonetCode_escon_smf_1310_laser XcvrSonetCode = "escon-smf-1310-laser" XcvrSonetCode_escon_mmf_1310_led XcvrSonetCode = "escon-mmf-1310-led" XcvrSonetCode_unknown XcvrSonetCode = "unknown" )