Documentation ¶
Overview ¶
The MIB module for IEEE Token Ring entities.
Index ¶
- type Dot5ChipSetIBM16
- type Dot5ChipSetTItms380
- type Dot5ChipSetTItms380c16
- type Dot5TestFullDuplexLoopBack
- type Dot5TestInsertFunc
- type TOKENRINGMIB
- type TOKENRINGMIB_Dot5StatsTable
- type TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry
- type TOKENRINGMIB_Dot5Table
- type TOKENRINGMIB_Dot5Table_Dot5Entry
- type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate
- type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands
- type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus
- type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed
- type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState
- type TOKENRINGMIB_Dot5TimerTable
- type TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dot5ChipSetIBM16 ¶
type Dot5ChipSetIBM16 struct { }
func (Dot5ChipSetIBM16) String ¶
func (id Dot5ChipSetIBM16) String() string
type Dot5ChipSetTItms380 ¶
type Dot5ChipSetTItms380 struct { }
func (Dot5ChipSetTItms380) String ¶
func (id Dot5ChipSetTItms380) String() string
type Dot5ChipSetTItms380c16 ¶
type Dot5ChipSetTItms380c16 struct { }
func (Dot5ChipSetTItms380c16) String ¶
func (id Dot5ChipSetTItms380c16) String() string
type Dot5TestFullDuplexLoopBack ¶
type Dot5TestFullDuplexLoopBack struct { }
func (Dot5TestFullDuplexLoopBack) String ¶
func (id Dot5TestFullDuplexLoopBack) String() string
type Dot5TestInsertFunc ¶
type Dot5TestInsertFunc struct { }
func (Dot5TestInsertFunc) String ¶
func (id Dot5TestInsertFunc) String() string
type TOKENRINGMIB ¶
type TOKENRINGMIB struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // This table contains Token Ring interface parameters and state variables, // one entry per 802.5 interface. Dot5Table TOKENRINGMIB_Dot5Table // A table containing Token Ring statistics, one entry per 802.5 interface. // All the statistics are defined using the syntax Counter32 as 32-bit wrap // around counters. Thus, if an interface's hardware maintains these // statistics in 16-bit counters, then the agent must read the hardware's // counters frequently enough to prevent loss of significance, in order to // maintain 32-bit counters in software. Dot5StatsTable TOKENRINGMIB_Dot5StatsTable // This table contains Token Ring interface timer values, one entry per 802.5 // interface. Dot5TimerTable TOKENRINGMIB_Dot5TimerTable }
TOKENRINGMIB
func (*TOKENRINGMIB) GetEntityData ¶
func (tOKENRINGMIB *TOKENRINGMIB) GetEntityData() *types.CommonEntityData
type TOKENRINGMIB_Dot5StatsTable ¶
type TOKENRINGMIB_Dot5StatsTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry contains the 802.5 statistics for a particular interface. The type // is slice of TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry. Dot5StatsEntry []*TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry }
TOKENRINGMIB_Dot5StatsTable A table containing Token Ring statistics, one entry per 802.5 interface.
All the statistics are defined using
the syntax Counter32 as 32-bit wrap around counters. Thus, if an interface's hardware maintains these statistics in 16-bit counters, then the agent must read the hardware's counters frequently enough to prevent loss of significance, in order to maintain 32-bit counters in software.
func (*TOKENRINGMIB_Dot5StatsTable) GetEntityData ¶
func (dot5StatsTable *TOKENRINGMIB_Dot5StatsTable) GetEntityData() *types.CommonEntityData
type TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry ¶
type TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The value of this object identifies the 802.5 // interface for which this entry contains management information. The value // of this object for a particular interface has the same value as MIB-II's // ifIndex object for the same interface. The type is interface{} with range: // -2147483648..2147483647. Dot5StatsIfIndex interface{} // This counter is incremented when a frame or token is copied or repeated by // a station, the E bit is zero in the frame or token and one of the following // conditions exists: 1) there is a non-data bit (J or K bit) between the SD // and the ED of the frame or token, or 2) there is an FCS error in the frame. // The type is interface{} with range: 0..4294967295. Dot5StatsLineErrors interface{} // This counter is incremented when a station detects the absence of // transitions for five half-bit timers (burst-five error). The type is // interface{} with range: 0..4294967295. Dot5StatsBurstErrors interface{} // This counter is incremented when a station receives an AMP or SMP frame in // which A is equal to C is equal to 0, and then receives another SMP frame // with A is equal to C is equal to 0 without first receiving an AMP frame. It // denotes a station that cannot set the AC bits properly. The type is // interface{} with range: 0..4294967295. Dot5StatsACErrors interface{} // This counter is incremented when a station transmits an abort delimiter // while transmitting. The type is interface{} with range: 0..4294967295. Dot5StatsAbortTransErrors interface{} // This counter is incremented when a station recognizes an internal error. // The type is interface{} with range: 0..4294967295. Dot5StatsInternalErrors interface{} // This counter is incremented when a station is transmitting and its TRR // timer expires. This condition denotes a condition where a transmitting // station in strip mode does not receive the trailer of the frame before the // TRR timer goes off. The type is interface{} with range: 0..4294967295. Dot5StatsLostFrameErrors interface{} // This counter is incremented when a station recognizes a frame addressed to // its specific address, but has no available buffer space indicating that the // station is congested. The type is interface{} with range: 0..4294967295. Dot5StatsReceiveCongestions interface{} // This counter is incremented when a station recognizes a frame addressed to // its specific address and detects that the FS field A bits are set to 1 // indicating a possible line hit or duplicate address. The type is // interface{} with range: 0..4294967295. Dot5StatsFrameCopiedErrors interface{} // This counter is incremented when a station acting as the active monitor // recognizes an error condition that needs a token transmitted. The type is // interface{} with range: 0..4294967295. Dot5StatsTokenErrors interface{} // The number of Soft Errors the interface has detected. It directly // corresponds to the number of Report Error MAC frames that this interface // has transmitted. Soft Errors are those which are recoverable by the MAC // layer protocols. The type is interface{} with range: 0..4294967295. Dot5StatsSoftErrors interface{} // The number of times this interface has detected an immediately recoverable // fatal error. It denotes the number of times this interface is either // transmitting or receiving beacon MAC frames. The type is interface{} with // range: 0..4294967295. Dot5StatsHardErrors interface{} // The number of times this interface has detected the loss of signal // condition from the ring. The type is interface{} with range: 0..4294967295. Dot5StatsSignalLoss interface{} // The number of times this interface has transmitted a beacon frame. The type // is interface{} with range: 0..4294967295. Dot5StatsTransmitBeacons interface{} // The number of Claim Token MAC frames received or transmitted after the // interface has received a Ring Purge MAC frame. This counter signifies the // number of times the ring has been purged and is being recovered back into a // normal operating state. The type is interface{} with range: 0..4294967295. Dot5StatsRecoverys interface{} // The number of times the interface has detected an open or short circuit in // the lobe data path. The adapter will be closed and dot5RingState will // signify this condition. The type is interface{} with range: 0..4294967295. Dot5StatsLobeWires interface{} // The number of times the interface has received a Remove Ring Station MAC // frame request. When this frame is received the interface will enter the // close state and dot5RingState will signify this condition. The type is // interface{} with range: 0..4294967295. Dot5StatsRemoves interface{} // The number of times the interface has sensed that it is the only station on // the ring. This will happen if the interface is the first one up on a ring, // or if there is a hardware problem. The type is interface{} with range: // 0..4294967295. Dot5StatsSingles interface{} // The number of times the interface has detected that the frequency of the // incoming signal differs from the expected frequency by more than that // specified by the IEEE 802.5 standard. The type is interface{} with range: // 0..4294967295. Dot5StatsFreqErrors interface{} }
TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry An entry contains the 802.5 statistics for a particular interface.
func (*TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry) GetEntityData ¶
func (dot5StatsEntry *TOKENRINGMIB_Dot5StatsTable_Dot5StatsEntry) GetEntityData() *types.CommonEntityData
type TOKENRINGMIB_Dot5Table ¶
type TOKENRINGMIB_Dot5Table struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A list of Token Ring status and parameter values for an 802.5 interface. // The type is slice of TOKENRINGMIB_Dot5Table_Dot5Entry. Dot5Entry []*TOKENRINGMIB_Dot5Table_Dot5Entry }
TOKENRINGMIB_Dot5Table This table contains Token Ring interface parameters and state variables, one entry per 802.5 interface.
func (*TOKENRINGMIB_Dot5Table) GetEntityData ¶
func (dot5Table *TOKENRINGMIB_Dot5Table) GetEntityData() *types.CommonEntityData
type TOKENRINGMIB_Dot5Table_Dot5Entry ¶
type TOKENRINGMIB_Dot5Table_Dot5Entry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The value of this object identifies the 802.5 // interface for which this entry contains management information. The value // of this object for a particular interface has the same value as the ifIndex // object, defined in MIB-II for the same interface. The type is interface{} // with range: -2147483648..2147483647. Dot5IfIndex interface{} // When this object is set to the value of open(2), the station should go into // the open state. The progress and success of the open is given by the // values of the objects dot5RingState and dot5RingOpenStatus. When this // object is set to the value of reset(3), then the station should do a reset. // On a reset, all MIB counters should retain their values, if possible. Other // side affects are dependent on the hardware chip set. When this object // is set to the value of close(4), the station should go into the stopped // state by removing itself from the ring. Setting this object to a value // of noop(1) has no effect. When read, this object always has a value of // noop(1). The open(2) and close(4) values correspond to the up(1) and // down(2) values of MIB-II's ifAdminStatus and ifOperStatus, i.e., the // setting of ifAdminStatus and dot5Commands affects the values of both // dot5Commands and ifOperStatus. The type is Dot5Commands. Dot5Commands interface{} // The current interface status which can be used to diagnose fluctuating // problems that can occur on token rings, after a station has successfully // been added to the ring. Before an open is completed, this object has the // value for the 'no status' condition. The dot5RingState and // dot5RingOpenStatus objects provide for debugging problems when the station // can not even enter the ring. The object's value is a sum of values, one // for each currently applicable condition. The following values are defined // for various conditions: 0 = No Problems detected 32 = Ring // Recovery 64 = Single Station 256 = Remove Received 512 = // reserved 1024 = Auto-Removal Error 2048 = Lobe Wire Fault // 4096 = Transmit Beacon 8192 = Soft Error 16384 = Hard Error // 32768 = Signal Loss 131072 = no status, open not completed. The type is // interface{} with range: 0..262143. Dot5RingStatus interface{} // The current interface state with respect to entering or leaving the ring. // The type is Dot5RingState. Dot5RingState interface{} // This object indicates the success, or the reason for failure, of the // station's most recent attempt to enter the ring. The type is // Dot5RingOpenStatus. Dot5RingOpenStatus interface{} // The ring-speed at the next insertion into the ring. Note that this may or // may not be different to the current ring-speed which is given by MIB-II's // ifSpeed. For interfaces which do not support changing ring-speed, // dot5RingSpeed can only be set to its current value. When dot5RingSpeed has // the value unknown(1), the ring's actual ring-speed is to be used. The type // is Dot5RingSpeed. Dot5RingSpeed interface{} // The MAC-address of the up stream neighbor station in the ring. The type is // string with pattern: [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. Dot5UpStream interface{} // If this object has a value of true(1) then this interface will participate // in the active monitor selection process. If the value is false(2) then it // will not. Setting this object does not take effect until the next Active // Monitor election, and might not take effect until the next time the // interface is opened. The type is Dot5ActMonParticipate. Dot5ActMonParticipate interface{} // The bit mask of all Token Ring functional addresses for which this // interface will accept frames. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. Dot5Functional interface{} // The value of MIB-II's sysUpTime object at which the local system last // transmitted a Beacon frame on this interface. The type is interface{} with // range: 0..4294967295. Dot5LastBeaconSent interface{} }
TOKENRINGMIB_Dot5Table_Dot5Entry A list of Token Ring status and parameter values for an 802.5 interface.
func (*TOKENRINGMIB_Dot5Table_Dot5Entry) GetEntityData ¶
func (dot5Entry *TOKENRINGMIB_Dot5Table_Dot5Entry) GetEntityData() *types.CommonEntityData
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate ¶
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate string
TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate represents the interface is opened.
const ( TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate_true_ TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate = "true" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate_false_ TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5ActMonParticipate = "false" )
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands ¶
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands string
TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands represents dot5Commands and ifOperStatus.
const ( TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands_noop TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands = "noop" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands_open TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands = "open" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands_reset TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands = "reset" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands_close_ TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5Commands = "close" )
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus ¶
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus string
TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus represents recent attempt to enter the ring.
const ( TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_noOpen TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "noOpen" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_badParam TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "badParam" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_lobeFailed TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "lobeFailed" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_signalLoss TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "signalLoss" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_insertionTimeout TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "insertionTimeout" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_ringFailed TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "ringFailed" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_beaconing TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "beaconing" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_duplicateMAC TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "duplicateMAC" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_requestFailed TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "requestFailed" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_removeReceived TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "removeReceived" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus_open TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingOpenStatus = "open" )
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed ¶
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed string
TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed represents to be used.
const ( TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed_unknown TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed = "unknown" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed_oneMegabit TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed = "oneMegabit" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed_fourMegabit TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed = "fourMegabit" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed_sixteenMegabit TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingSpeed = "sixteenMegabit" )
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState ¶
type TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState string
TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState represents to entering or leaving the ring.
const ( TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState_opened TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState = "opened" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState_closed TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState = "closed" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState_opening TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState = "opening" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState_closing TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState = "closing" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState_openFailure TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState = "openFailure" TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState_ringFailure TOKENRINGMIB_Dot5Table_Dot5Entry_Dot5RingState = "ringFailure" )
type TOKENRINGMIB_Dot5TimerTable ¶
type TOKENRINGMIB_Dot5TimerTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A list of Token Ring timer values for an 802.5 interface. The type is slice // of TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry. Dot5TimerEntry []*TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry }
TOKENRINGMIB_Dot5TimerTable This table contains Token Ring interface timer values, one entry per 802.5 interface.
func (*TOKENRINGMIB_Dot5TimerTable) GetEntityData ¶
func (dot5TimerTable *TOKENRINGMIB_Dot5TimerTable) GetEntityData() *types.CommonEntityData
type TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry ¶
type TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The value of this object identifies the 802.5 // interface for which this entry contains timer values. The value of this // object for a particular interface has the same value as MIB-II's ifIndex // object for the same interface. The type is interface{} with range: // -2147483648..2147483647. Dot5TimerIfIndex interface{} // The time-out value used to ensure the interface will return to Repeat // State, in units of 100 micro-seconds. The value should be greater than the // maximum ring latency. The type is interface{} with range: // -2147483648..2147483647. Dot5TimerReturnRepeat interface{} // Maximum period of time a station is permitted to transmit frames after // capturing a token, in units of 100 micro-seconds. The type is interface{} // with range: -2147483648..2147483647. Dot5TimerHolding interface{} // The time-out value for enqueuing of an SMP PDU after reception of an AMP or // SMP frame in which the A and C bits were equal to 0, in units of 100 // micro-seconds. The type is interface{} with range: -2147483648..2147483647. Dot5TimerQueuePDU interface{} // The time-out value used by the active monitor to detect the absence of // valid transmissions, in units of 100 micro-seconds. The type is interface{} // with range: -2147483648..2147483647. Dot5TimerValidTransmit interface{} // The time-out value used to recover from various-related error situations. // If N is the maximum number of stations on the ring, the value of this timer // is normally: dot5TimerReturnRepeat + N*dot5TimerHolding. The type is // interface{} with range: -2147483648..2147483647. Dot5TimerNoToken interface{} // The time-out value used by the active monitor to stimulate the enqueuing of // an AMP PDU for transmission, in units of 100 micro-seconds. The type is // interface{} with range: -2147483648..2147483647. Dot5TimerActiveMon interface{} // The time-out value used by the stand-by monitors to ensure that there is an // active monitor on the ring and to detect a continuous stream of tokens, in // units of 100 micro-seconds. The type is interface{} with range: // -2147483648..2147483647. Dot5TimerStandbyMon interface{} // The time-out value which determines how often a station shall send a Report // Error MAC frame to report its error counters, in units of 100 // micro-seconds. The type is interface{} with range: -2147483648..2147483647. Dot5TimerErrorReport interface{} // The time-out value which determines how long a station shall remain in the // state of transmitting Beacon frames before entering the Bypass state, in // units of 100 micro-seconds. The type is interface{} with range: // -2147483648..2147483647. Dot5TimerBeaconTransmit interface{} // The time-out value which determines how long a station shall receive Beacon // frames from its downstream neighbor before entering the Bypass state, in // units of 100 micro-seconds. The type is interface{} with range: // -2147483648..2147483647. Dot5TimerBeaconReceive interface{} }
TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry A list of Token Ring timer values for an 802.5 interface.
func (*TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry) GetEntityData ¶
func (dot5TimerEntry *TOKENRINGMIB_Dot5TimerTable_Dot5TimerEntry) GetEntityData() *types.CommonEntityData