ether_wis

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

The objects in this MIB module are used in conjunction with objects in the SONET-MIB and the MAU-MIB to manage the Ethernet WAN Interface Sublayer (WIS).

The following reference is used throughout this MIB module:

[IEEE 802.3 Std] refers to:

IEEE Std 802.3, 2000 Edition: 'IEEE Standard for
Information technology - Telecommunications and
information exchange between systems - Local and
metropolitan area networks - Specific requirements -
Part 3: Carrier sense multiple access with collision
detection (CSMA/CD) access method and physical layer
specifications', as amended by IEEE Std 802.3ae-2002,
'IEEE Standard for Carrier Sense Multiple Access with
Collision Detection (CSMA/CD) Access Method and
Physical Layer Specifications - Media Access Control
(MAC) Parameters, Physical Layer and Management
Parameters for 10 Gb/s Operation', 30 August 2002.

Of particular interest are Clause 50, 'WAN Interface Sublayer (WIS), type 10GBASE-W', Clause 30, '10Mb/s, 100Mb/s, 1000Mb/s, and 10Gb/s MAC Control, and Link Aggregation Management', and Clause 45, 'Management Data Input/Output (MDIO) Interface'.

Copyright (C) The Internet Society (2003). This version of this MIB module is part of RFC 3637; see the RFC itself for full legal notices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ETHERWIS

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

	// The table for Ethernet WIS devices.
	EtherWisDeviceTable ETHERWIS_EtherWisDeviceTable

	// The table for the current state of Ethernet WIS sections.
	EtherWisSectionCurrentTable ETHERWIS_EtherWisSectionCurrentTable

	// The table for the current state of Ethernet WIS paths.
	EtherWisPathCurrentTable ETHERWIS_EtherWisPathCurrentTable

	// The table for the current far-end state of Ethernet WIS paths.
	EtherWisFarEndPathCurrentTable ETHERWIS_EtherWisFarEndPathCurrentTable
}

ETHERWIS

func (*ETHERWIS) GetEntityData

func (eTHERWIS *ETHERWIS) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisDeviceTable

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

	// An entry in the Ethernet WIS device table.  For each instance of this
	// object there MUST be a corresponding instance of sonetMediumEntry. The type
	// is slice of ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry.
	EtherWisDeviceEntry []*ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry
}

ETHERWIS_EtherWisDeviceTable The table for Ethernet WIS devices

func (*ETHERWIS_EtherWisDeviceTable) GetEntityData

func (etherWisDeviceTable *ETHERWIS_EtherWisDeviceTable) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry

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

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
	IfIndex interface{}

	// This variable controls the transmit test pattern mode. The value none(1)
	// puts the the WIS transmit path into the normal operating mode.  The value
	// squareWave(2) puts the WIS transmit path into the square wave test pattern
	// mode described in [IEEE 802.3 Std.] subclause 50.3.8.1. The value prbs31(3)
	// puts the WIS transmit path into the PRBS31 test pattern mode described in
	// [IEEE 802.3 Std.] subclause 50.3.8.2.  The value mixedFrequency(4) puts the
	// WIS transmit path into the mixed frequency test pattern mode described in
	// [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a
	// value other than none(1) when the corresponding instance of ifAdminStatus
	// has the value up(1) MUST be rejected with the error inconsistentValue, and
	// any attempt to set the corresponding instance of ifAdminStatus to the value
	// up(1) when an instance of this object has a value other than none(1) MUST
	// be rejected with the error inconsistentValue. The type is
	// EtherWisDeviceTxTestPatternMode.
	EtherWisDeviceTxTestPatternMode interface{}

	// This variable controls the receive test pattern mode. The value none(1)
	// puts the the WIS receive path into the normal operating mode.  The value
	// prbs31(3) puts the WIS receive path into the PRBS31 test pattern mode
	// described in [IEEE 802.3 Std.] subclause 50.3.8.2.  The value
	// mixedFrequency(4) puts the WIS receive path into the mixed frequency test
	// pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3.  Any
	// attempt to set this object to a value other than none(1) when the
	// corresponding instance of ifAdminStatus has the value up(1) MUST be
	// rejected with the error inconsistentValue, and any attempt to set the
	// corresponding instance of ifAdminStatus to the value up(1) when an instance
	// of this object has a value other than none(1) MUST be rejected with the
	// error inconsistentValue. The type is EtherWisDeviceRxTestPatternMode.
	EtherWisDeviceRxTestPatternMode interface{}

	// This object counts the number of errors detected when the WIS receive path
	// is operating in the PRBS31 test pattern mode.  It is reset to zero when the
	// WIS receive path initially enters that mode, and it increments each time
	// the PRBS pattern checker detects an error as described in [IEEE 802.3 Std.]
	// subclause 50.3.8.2 unless its value is 65535, in which case it remains
	// unchanged.  This object is writeable so that it may be reset upon explicit
	// request of a command generator application while the WIS receive path
	// continues to operate in PRBS31 test pattern mode. The type is interface{}
	// with range: 0..65535.
	EtherWisDeviceRxTestPatternErrors interface{}
}

ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry An entry in the Ethernet WIS device table. For each instance of this object there MUST be a corresponding instance of sonetMediumEntry.

func (*ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry) GetEntityData

func (etherWisDeviceEntry *ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode

type ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode string

ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode represents none(1) MUST be rejected with the error inconsistentValue.

const (
	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode_none ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode = "none"

	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode_prbs31 ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode = "prbs31"

	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode_mixedFrequency ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceRxTestPatternMode = "mixedFrequency"
)

type ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode

type ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode string

ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode represents MUST be rejected with the error inconsistentValue.

const (
	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode_none ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode = "none"

	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode_squareWave ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode = "squareWave"

	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode_prbs31 ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode = "prbs31"

	ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode_mixedFrequency ETHERWIS_EtherWisDeviceTable_EtherWisDeviceEntry_EtherWisDeviceTxTestPatternMode = "mixedFrequency"
)

type ETHERWIS_EtherWisFarEndPathCurrentTable

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

	// An entry in the etherWisFarEndPathCurrentTable.  For each instance of this
	// object there MUST be a corresponding instance of
	// sonetFarEndPathCurrentEntry. The type is slice of
	// ETHERWIS_EtherWisFarEndPathCurrentTable_EtherWisFarEndPathCurrentEntry.
	EtherWisFarEndPathCurrentEntry []*ETHERWIS_EtherWisFarEndPathCurrentTable_EtherWisFarEndPathCurrentEntry
}

ETHERWIS_EtherWisFarEndPathCurrentTable The table for the current far-end state of Ethernet WIS paths.

func (*ETHERWIS_EtherWisFarEndPathCurrentTable) GetEntityData

func (etherWisFarEndPathCurrentTable *ETHERWIS_EtherWisFarEndPathCurrentTable) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisFarEndPathCurrentTable_EtherWisFarEndPathCurrentEntry

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

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
	IfIndex interface{}

	// This variable indicates the current status at the far end of the path using
	// a bit map that can indicate multiple defects at once.  The bit positions
	// are assigned as follows:  etherWisFarEndPayloadDefect(0)    A far end
	// payload defect (i.e., far end    PLM-P or LCD-P) is currently being
	// signaled    in G1 bits 5-7.  etherWisFarEndServerDefect(1)    A far end
	// server defect (i.e., far end    LOP-P or AIS-P) is currently being signaled
	// in G1 bits 5-7.  Note:  when this bit is set,    sonetPathSTSRDI MUST be
	// set in the corresponding    instance of sonetPathCurrentStatus. The type is
	// map[string]bool.
	EtherWisFarEndPathCurrentStatus interface{}
}

ETHERWIS_EtherWisFarEndPathCurrentTable_EtherWisFarEndPathCurrentEntry An entry in the etherWisFarEndPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetFarEndPathCurrentEntry.

func (*ETHERWIS_EtherWisFarEndPathCurrentTable_EtherWisFarEndPathCurrentEntry) GetEntityData

type ETHERWIS_EtherWisPathCurrentTable

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

	// An entry in the etherWisPathCurrentTable.  For each instance of this object
	// there MUST be a corresponding instance of sonetPathCurrentEntry. The type
	// is slice of ETHERWIS_EtherWisPathCurrentTable_EtherWisPathCurrentEntry.
	EtherWisPathCurrentEntry []*ETHERWIS_EtherWisPathCurrentTable_EtherWisPathCurrentEntry
}

ETHERWIS_EtherWisPathCurrentTable The table for the current state of Ethernet WIS paths.

func (*ETHERWIS_EtherWisPathCurrentTable) GetEntityData

func (etherWisPathCurrentTable *ETHERWIS_EtherWisPathCurrentTable) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisPathCurrentTable_EtherWisPathCurrentEntry

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

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
	IfIndex interface{}

	// This variable indicates the current status of the path payload with a bit
	// map that can indicate multiple defects at once.  The bit positions are
	// assigned as follows:  etherWisPathLOP(0)    This bit is set to indicate
	// that an    LOP-P (Loss of Pointer - Path) defect    is being experienced.
	// Note:  when this    bit is set, sonetPathSTSLOP MUST be set    in the
	// corresponding instance of    sonetPathCurrentStatus.  etherWisPathAIS(1)
	// This bit is set to indicate that an    AIS-P (Alarm Indication Signal -
	// Path)    defect is being experienced.  Note:  when    this bit is set,
	// sonetPathSTSAIS MUST be    set in the corresponding instance of
	// sonetPathCurrentStatus.  etherWisPathPLM(1)    This bit is set to indicate
	// that a    PLM-P (Payload Label Mismatch - Path)    defect is being
	// experienced.  Note:  when    this bit is set, sonetPathSignalLabelMismatch
	// MUST be set in the corresponding instance of    sonetPathCurrentStatus.
	// etherWisPathLCD(3)    This bit is set to indicate that an    LCD-P (Loss of
	// Codegroup Delination - Path)    defect is being experienced.  Since this
	// defect is detected by the PCS and not by    the path layer itself, there is
	// no    corresponding bit in sonetPathCurrentStatus. The type is
	// map[string]bool.
	EtherWisPathCurrentStatus interface{}

	// This is the 16-octet path trace message that is transmitted in the J1 byte.
	// The value SHOULD be '89'h followed by fifteen octets of '00'h (or some
	// cyclic shift thereof) when the path trace function is not used, and the
	// implementation SHOULD use that value (or a cyclic shift thereof) as a
	// default if no other value has been set. The type is string with length:
	// 16..16.
	EtherWisPathCurrentJ1Transmitted interface{}

	// This is the 16-octet path trace message that was most recently received in
	// the J1 byte. The type is string with length: 16..16.
	EtherWisPathCurrentJ1Received interface{}
}

ETHERWIS_EtherWisPathCurrentTable_EtherWisPathCurrentEntry An entry in the etherWisPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetPathCurrentEntry.

func (*ETHERWIS_EtherWisPathCurrentTable_EtherWisPathCurrentEntry) GetEntityData

func (etherWisPathCurrentEntry *ETHERWIS_EtherWisPathCurrentTable_EtherWisPathCurrentEntry) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisSectionCurrentTable

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

	// An entry in the etherWisSectionCurrentTable.  For each instance of this
	// object there MUST be a corresponding instance of sonetSectionCurrentEntry.
	// The type is slice of
	// ETHERWIS_EtherWisSectionCurrentTable_EtherWisSectionCurrentEntry.
	EtherWisSectionCurrentEntry []*ETHERWIS_EtherWisSectionCurrentTable_EtherWisSectionCurrentEntry
}

ETHERWIS_EtherWisSectionCurrentTable The table for the current state of Ethernet WIS sections.

func (*ETHERWIS_EtherWisSectionCurrentTable) GetEntityData

func (etherWisSectionCurrentTable *ETHERWIS_EtherWisSectionCurrentTable) GetEntityData() *types.CommonEntityData

type ETHERWIS_EtherWisSectionCurrentTable_EtherWisSectionCurrentEntry

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

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
	IfIndex interface{}

	// This is the 16-octet section trace message that is transmitted in the J0
	// byte.  The value SHOULD be '89'h followed by fifteen octets of '00'h (or
	// some cyclic shift thereof) when the section trace function is not used, and
	// the implementation SHOULD use that value (or a cyclic shift thereof) as a
	// default if no other value has been set. The type is string with length:
	// 16..16.
	EtherWisSectionCurrentJ0Transmitted interface{}

	// This is the 16-octet section trace message that was most recently received
	// in the J0 byte. The type is string with length: 16..16.
	EtherWisSectionCurrentJ0Received interface{}
}

ETHERWIS_EtherWisSectionCurrentTable_EtherWisSectionCurrentEntry An entry in the etherWisSectionCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetSectionCurrentEntry.

func (*ETHERWIS_EtherWisSectionCurrentTable_EtherWisSectionCurrentEntry) GetEntityData

func (etherWisSectionCurrentEntry *ETHERWIS_EtherWisSectionCurrentTable_EtherWisSectionCurrentEntry) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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