transport_line_protection

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This model describes configuration and operational state data for optical line protection elements, deployed as part of a transport line system. An Automatic Protection Switch (APS) is typically installed in the same device as the amplifiers and wave-router, however an APS can also be a standalone device. In both scenarios, it serves the same purpose of providing protection using two dark fiber pairs to ensure the amplifiers can still receive a signal if one of the two fiber pairs is broken.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APSPATHS

type APSPATHS struct {
}

func (APSPATHS) String

func (id APSPATHS) String() string

type Aps

type Aps struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Enclosing container for list of automatic protection switch modules.
	ApsModules Aps_ApsModules
}

Aps Top level grouping for automatic protection switch data

func (*Aps) GetEntityData

func (aps *Aps) GetEntityData() *types.CommonEntityData

type Aps_ApsModules

type Aps_ApsModules struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// List of automatic protection switch modules present in the device. The type
	// is slice of Aps_ApsModules_ApsModule.
	ApsModule []*Aps_ApsModules_ApsModule
}

Aps_ApsModules Enclosing container for list of automatic protection switch modules

func (*Aps_ApsModules) GetEntityData

func (apsModules *Aps_ApsModules) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule

type Aps_ApsModules_ApsModule struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Reference to the config name list key. The type is
	// string. Refers to
	// transport_line_protection.Aps_ApsModules_ApsModule_Config_Name
	Name interface{}

	// Configuration data for an automatic protection switch module.
	Config Aps_ApsModules_ApsModule_Config

	// Operational state data for an automatic protection switch module.
	State Aps_ApsModules_ApsModule_State

	// Top level grouping for automatic protection switch ports.
	Ports Aps_ApsModules_ApsModule_Ports
}

Aps_ApsModules_ApsModule List of automatic protection switch modules present in the device

func (*Aps_ApsModules_ApsModule) GetEntityData

func (apsModule *Aps_ApsModules_ApsModule) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule_Config

type Aps_ApsModules_ApsModule_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Reference to the component name (in the platform model) corresponding to
	// this automatic protection switch module in the device. The type is string.
	// Refers to platform.Components_Component_Name
	Name interface{}

	// Revertive behavior of the module. If True, then automatically revert after
	// protection switch once the fault is restored. The type is bool.
	Revertive interface{}

	// The threshold at which the primary line port will switch to the opposite
	// line port in increments of 0.01 dBm. If the hardware supports only one
	// switch threshold for primary and and secondary ports then it is recommended
	// to set both primary-switch-threshold and secondary-switch-threshold to the
	// same value to be explicit. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	PrimarySwitchThreshold interface{}

	// The delta in 0.01 dB between the primary-switch-threshold and the signal
	// received before initiating a reversion in order to prevent toggling between
	// ports when an input signal is very close to threshold. If the hardware
	// supports only one switch hysteresis for primary and secondary ports then it
	// is recommended to set both primary-switch-threshold and
	// secondary-switch-threshold to the same value to be explicit. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dB.
	PrimarySwitchHysteresis interface{}

	// The threshold at which the secondary line port will switch to the opposite
	// line port in increments of 0.01 dBm. If the hardware supports only one
	// switch threshold for primary and and secondary ports then it is recommended
	// to set both primary-switch-threshold and secondary-switch-threshold to the
	// same value to be explicit. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	SecondarySwitchThreshold interface{}

	// The delta in 0.01 dB between the secondary-switch-threshold and the signal
	// received before initiating a reversion in order to prevent toggling between
	// ports when an input signal is very close to threshold. If the hardware
	// supports only one switch hysteresis for primary and secondary ports then it
	// is recommended to set both primary-switch-threshold and
	// secondary-switch-threshold to the same value to be explicit. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dB.
	SecondarySwitchHysteresis interface{}
}

Aps_ApsModules_ApsModule_Config Configuration data for an automatic protection switch module

func (*Aps_ApsModules_ApsModule_Config) GetEntityData

func (config *Aps_ApsModules_ApsModule_Config) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule_Ports

type Aps_ApsModules_ApsModule_Ports struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Container for information related to the line primary input port.
	LinePrimaryIn Aps_ApsModules_ApsModule_Ports_LinePrimaryIn

	// Container for information related to the line primary output port.
	LinePrimaryOut Aps_ApsModules_ApsModule_Ports_LinePrimaryOut

	// Container for information related to the line secondary input port.
	LineSecondaryIn Aps_ApsModules_ApsModule_Ports_LineSecondaryIn

	// Container for information related to the line secondary output port.
	LineSecondaryOut Aps_ApsModules_ApsModule_Ports_LineSecondaryOut

	// Container for information related to the line common input port.
	CommonIn Aps_ApsModules_ApsModule_Ports_CommonIn

	// Container for information related to the line common output port.
	CommonOutput Aps_ApsModules_ApsModule_Ports_CommonOutput
}

Aps_ApsModules_ApsModule_Ports Top level grouping for automatic protection switch ports

func (*Aps_ApsModules_ApsModule_Ports) GetEntityData

func (ports *Aps_ApsModules_ApsModule_Ports) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule_Ports_CommonIn

type Aps_ApsModules_ApsModule_Ports_CommonIn struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configuration data for the line common input port.
	Config Aps_ApsModules_ApsModule_Ports_CommonIn_Config

	// State data for the line common input port.
	State Aps_ApsModules_ApsModule_Ports_CommonIn_State
}

Aps_ApsModules_ApsModule_Ports_CommonIn Container for information related to the line common input port

func (*Aps_ApsModules_ApsModule_Ports_CommonIn) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonIn_Config

type Aps_ApsModules_ApsModule_Ports_CommonIn_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This leaf contains the configured, desired state of the port. Disabling the
	// port turns off alarm reporting for the port. The type is bool. The default
	// value is true.
	Enabled interface{}

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}
}

Aps_ApsModules_ApsModule_Ports_CommonIn_Config Configuration data for the line common input port

func (*Aps_ApsModules_ApsModule_Ports_CommonIn_Config) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonIn_State

type Aps_ApsModules_ApsModule_Ports_CommonIn_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This leaf contains the configured, desired state of the port. Disabling the
	// port turns off alarm reporting for the port. The type is bool. The default
	// value is true.
	Enabled interface{}

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}

	// The attenuation of the variable optical attenuator associated with the port
	// in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	Attenuation interface{}

	// The optical input power of this port in units of 0.01dBm. Optical input
	// power represents the signal traversing from an external destination into
	// the module. The power is measured before any attenuation. If avg/min/max
	// statistics are not supported, the target is expected to just supply the
	// instant value.
	OpticalPower Aps_ApsModules_ApsModule_Ports_CommonIn_State_OpticalPower
}

Aps_ApsModules_ApsModule_Ports_CommonIn_State State data for the line common input port

func (*Aps_ApsModules_ApsModule_Ports_CommonIn_State) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonIn_State_OpticalPower

type Aps_ApsModules_ApsModule_Ports_CommonIn_State_OpticalPower struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The instantaneous value of the statistic. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	Instant interface{}

	// The arithmetic mean value of the statistic over the sampling period. The
	// type is string with range: -92233720368547758.08..92233720368547758.07.
	// Units are dBm.
	Avg interface{}

	// The minimum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Min interface{}

	// The maximum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Max interface{}
}

Aps_ApsModules_ApsModule_Ports_CommonIn_State_OpticalPower The optical input power of this port in units of 0.01dBm. Optical input power represents the signal traversing from an external destination into the module. The power is measured before any attenuation. If avg/min/max statistics are not supported, the target is expected to just supply the instant value

func (*Aps_ApsModules_ApsModule_Ports_CommonIn_State_OpticalPower) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonOutput

type Aps_ApsModules_ApsModule_Ports_CommonOutput struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configuration data for the line common output port.
	Config Aps_ApsModules_ApsModule_Ports_CommonOutput_Config

	// State data for the line common output port.
	State Aps_ApsModules_ApsModule_Ports_CommonOutput_State
}

Aps_ApsModules_ApsModule_Ports_CommonOutput Container for information related to the line common output port

func (*Aps_ApsModules_ApsModule_Ports_CommonOutput) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonOutput_Config

type Aps_ApsModules_ApsModule_Ports_CommonOutput_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}
}

Aps_ApsModules_ApsModule_Ports_CommonOutput_Config Configuration data for the line common output port

func (*Aps_ApsModules_ApsModule_Ports_CommonOutput_Config) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonOutput_State

type Aps_ApsModules_ApsModule_Ports_CommonOutput_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}

	// The attenuation of the variable optical attenuator associated with the port
	// in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	Attenuation interface{}

	// The optical output power of this port in units of 0.01dBm. Optical output
	// power represents the signal traversing from the module to an external
	// destination. The power is measured after any attenuation. If avg/min/max
	// statistics are not supported, the target is expected to just supply the
	// instant value.
	OpticalPower Aps_ApsModules_ApsModule_Ports_CommonOutput_State_OpticalPower
}

Aps_ApsModules_ApsModule_Ports_CommonOutput_State State data for the line common output port

func (*Aps_ApsModules_ApsModule_Ports_CommonOutput_State) GetEntityData

type Aps_ApsModules_ApsModule_Ports_CommonOutput_State_OpticalPower

type Aps_ApsModules_ApsModule_Ports_CommonOutput_State_OpticalPower struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The instantaneous value of the statistic. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	Instant interface{}

	// The arithmetic mean value of the statistic over the sampling period. The
	// type is string with range: -92233720368547758.08..92233720368547758.07.
	// Units are dBm.
	Avg interface{}

	// The minimum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Min interface{}

	// The maximum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Max interface{}
}

Aps_ApsModules_ApsModule_Ports_CommonOutput_State_OpticalPower The optical output power of this port in units of 0.01dBm. Optical output power represents the signal traversing from the module to an external destination. The power is measured after any attenuation. If avg/min/max statistics are not supported, the target is expected to just supply the instant value

func (*Aps_ApsModules_ApsModule_Ports_CommonOutput_State_OpticalPower) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configuration data for the line primary input port.
	Config Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_Config

	// State data for the line primary input port.
	State Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryIn Container for information related to the line primary input port

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryIn) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_Config

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This leaf contains the configured, desired state of the port. Disabling the
	// port turns off alarm reporting for the port. The type is bool. The default
	// value is true.
	Enabled interface{}

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_Config Configuration data for the line primary input port

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_Config) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This leaf contains the configured, desired state of the port. Disabling the
	// port turns off alarm reporting for the port. The type is bool. The default
	// value is true.
	Enabled interface{}

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}

	// The attenuation of the variable optical attenuator associated with the port
	// in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	Attenuation interface{}

	// The optical input power of this port in units of 0.01dBm. Optical input
	// power represents the signal traversing from an external destination into
	// the module. The power is measured before any attenuation. If avg/min/max
	// statistics are not supported, the target is expected to just supply the
	// instant value.
	OpticalPower Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State_OpticalPower
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State State data for the line primary input port

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State_OpticalPower

type Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State_OpticalPower struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The instantaneous value of the statistic. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	Instant interface{}

	// The arithmetic mean value of the statistic over the sampling period. The
	// type is string with range: -92233720368547758.08..92233720368547758.07.
	// Units are dBm.
	Avg interface{}

	// The minimum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Min interface{}

	// The maximum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Max interface{}
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State_OpticalPower The optical input power of this port in units of 0.01dBm. Optical input power represents the signal traversing from an external destination into the module. The power is measured before any attenuation. If avg/min/max statistics are not supported, the target is expected to just supply the instant value

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryIn_State_OpticalPower) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configuration data for the line primary output port.
	Config Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_Config

	// State data for the line primary output port.
	State Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryOut Container for information related to the line primary output port

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryOut) GetEntityData

func (linePrimaryOut *Aps_ApsModules_ApsModule_Ports_LinePrimaryOut) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_Config

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_Config Configuration data for the line primary output port

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_Config) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}

	// The attenuation of the variable optical attenuator associated with the port
	// in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	Attenuation interface{}

	// The optical output power of this port in units of 0.01dBm. Optical output
	// power represents the signal traversing from the module to an external
	// destination. The power is measured after any attenuation. If avg/min/max
	// statistics are not supported, the target is expected to just supply the
	// instant value.
	OpticalPower Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State_OpticalPower
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State State data for the line primary output port

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State_OpticalPower

type Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State_OpticalPower struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The instantaneous value of the statistic. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	Instant interface{}

	// The arithmetic mean value of the statistic over the sampling period. The
	// type is string with range: -92233720368547758.08..92233720368547758.07.
	// Units are dBm.
	Avg interface{}

	// The minimum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Min interface{}

	// The maximum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Max interface{}
}

Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State_OpticalPower The optical output power of this port in units of 0.01dBm. Optical output power represents the signal traversing from the module to an external destination. The power is measured after any attenuation. If avg/min/max statistics are not supported, the target is expected to just supply the instant value

func (*Aps_ApsModules_ApsModule_Ports_LinePrimaryOut_State_OpticalPower) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configuration data for the line secondary input port.
	Config Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_Config

	// State data for the line secondary input port.
	State Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryIn Container for information related to the line secondary input port

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryIn) GetEntityData

func (lineSecondaryIn *Aps_ApsModules_ApsModule_Ports_LineSecondaryIn) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_Config

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This leaf contains the configured, desired state of the port. Disabling the
	// port turns off alarm reporting for the port. The type is bool. The default
	// value is true.
	Enabled interface{}

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_Config Configuration data for the line secondary input port

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_Config) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This leaf contains the configured, desired state of the port. Disabling the
	// port turns off alarm reporting for the port. The type is bool. The default
	// value is true.
	Enabled interface{}

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}

	// The attenuation of the variable optical attenuator associated with the port
	// in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	Attenuation interface{}

	// The optical input power of this port in units of 0.01dBm. Optical input
	// power represents the signal traversing from an external destination into
	// the module. The power is measured before any attenuation. If avg/min/max
	// statistics are not supported, the target is expected to just supply the
	// instant value.
	OpticalPower Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State_OpticalPower
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State State data for the line secondary input port

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State_OpticalPower

type Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State_OpticalPower struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The instantaneous value of the statistic. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	Instant interface{}

	// The arithmetic mean value of the statistic over the sampling period. The
	// type is string with range: -92233720368547758.08..92233720368547758.07.
	// Units are dBm.
	Avg interface{}

	// The minimum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Min interface{}

	// The maximum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Max interface{}
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State_OpticalPower The optical input power of this port in units of 0.01dBm. Optical input power represents the signal traversing from an external destination into the module. The power is measured before any attenuation. If avg/min/max statistics are not supported, the target is expected to just supply the instant value

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryIn_State_OpticalPower) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configuration data for the line secondary output port.
	Config Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_Config

	// State data for the line secondary output port.
	State Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryOut Container for information related to the line secondary output port

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryOut) GetEntityData

func (lineSecondaryOut *Aps_ApsModules_ApsModule_Ports_LineSecondaryOut) GetEntityData() *types.CommonEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_Config

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_Config Configuration data for the line secondary output port

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_Config) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Target attenuation of the variable optical attenuator associated with the
	// port in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	TargetAttenuation interface{}

	// The attenuation of the variable optical attenuator associated with the port
	// in increments of 0.01 dB. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dB.
	Attenuation interface{}

	// The optical output power of this port in units of 0.01dBm. Optical output
	// power represents the signal traversing from the module to an external
	// destination. The power is measured after any attenuation. If avg/min/max
	// statistics are not supported, the target is expected to just supply the
	// instant value.
	OpticalPower Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State_OpticalPower
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State State data for the line secondary output port

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State) GetEntityData

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State_OpticalPower

type Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State_OpticalPower struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The instantaneous value of the statistic. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	Instant interface{}

	// The arithmetic mean value of the statistic over the sampling period. The
	// type is string with range: -92233720368547758.08..92233720368547758.07.
	// Units are dBm.
	Avg interface{}

	// The minimum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Min interface{}

	// The maximum value of the statistic over the sampling period. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dBm.
	Max interface{}
}

Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State_OpticalPower The optical output power of this port in units of 0.01dBm. Optical output power represents the signal traversing from the module to an external destination. The power is measured after any attenuation. If avg/min/max statistics are not supported, the target is expected to just supply the instant value

func (*Aps_ApsModules_ApsModule_Ports_LineSecondaryOut_State_OpticalPower) GetEntityData

type Aps_ApsModules_ApsModule_State

type Aps_ApsModules_ApsModule_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Reference to the component name (in the platform model) corresponding to
	// this automatic protection switch module in the device. The type is string.
	// Refers to platform.Components_Component_Name
	Name interface{}

	// Revertive behavior of the module. If True, then automatically revert after
	// protection switch once the fault is restored. The type is bool.
	Revertive interface{}

	// The threshold at which the primary line port will switch to the opposite
	// line port in increments of 0.01 dBm. If the hardware supports only one
	// switch threshold for primary and and secondary ports then it is recommended
	// to set both primary-switch-threshold and secondary-switch-threshold to the
	// same value to be explicit. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	PrimarySwitchThreshold interface{}

	// The delta in 0.01 dB between the primary-switch-threshold and the signal
	// received before initiating a reversion in order to prevent toggling between
	// ports when an input signal is very close to threshold. If the hardware
	// supports only one switch hysteresis for primary and secondary ports then it
	// is recommended to set both primary-switch-threshold and
	// secondary-switch-threshold to the same value to be explicit. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dB.
	PrimarySwitchHysteresis interface{}

	// The threshold at which the secondary line port will switch to the opposite
	// line port in increments of 0.01 dBm. If the hardware supports only one
	// switch threshold for primary and and secondary ports then it is recommended
	// to set both primary-switch-threshold and secondary-switch-threshold to the
	// same value to be explicit. The type is string with range:
	// -92233720368547758.08..92233720368547758.07. Units are dBm.
	SecondarySwitchThreshold interface{}

	// The delta in 0.01 dB between the secondary-switch-threshold and the signal
	// received before initiating a reversion in order to prevent toggling between
	// ports when an input signal is very close to threshold. If the hardware
	// supports only one switch hysteresis for primary and secondary ports then it
	// is recommended to set both primary-switch-threshold and
	// secondary-switch-threshold to the same value to be explicit. The type is
	// string with range: -92233720368547758.08..92233720368547758.07. Units are
	// dB.
	SecondarySwitchHysteresis interface{}

	// Indicates which line path on the automatic protection switch is currently
	// the active path connected to the common port. The type is one of the
	// following: PRIMARYSECONDARY.
	ActivePath interface{}
}

Aps_ApsModules_ApsModule_State Operational state data for an automatic protection switch module

func (*Aps_ApsModules_ApsModule_State) GetEntityData

func (state *Aps_ApsModules_ApsModule_State) GetEntityData() *types.CommonEntityData

type PRIMARY

type PRIMARY struct {
}

func (PRIMARY) String

func (id PRIMARY) String() string

type SECONDARY

type SECONDARY struct {
}

func (SECONDARY) String

func (id SECONDARY) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL