1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
-- *****************************************************************
-- Port MIB
-- *****************************************************************
SL-PORT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
NOTIFICATION-TYPE, TimeTicks FROM SNMPv2-SMI
DisplayString, TruthValue,
TimeStamp, DateAndTime, RowStatus FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
InterfaceIndex FROM IF-MIB
slMain FROM SL-MAIN-MIB;
slPort MODULE-IDENTITY
LAST-UPDATED "200101180000Z"
ORGANIZATION "PacketLight Networks Ltd."
CONTACT-INFO
"Omri_Viner@PacketLight.com"
DESCRIPTION
"This MIB module describes the Leds."
::= { slMain 14 }
LedColor ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The LED color."
SYNTAX INTEGER {
off(1),
red(2),
yellow(3),
green(4)
}
LedMode ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The LED mode."
SYNTAX INTEGER {
stable(1),
fastBlinking(2),
slowBlinking(3)
}
slPortConfig OBJECT IDENTIFIER ::= { slPort 1 }
slPortNotification OBJECT IDENTIFIER ::= { slPort 2 }
--
--
-- The Port Config Table
--
--
slPortConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF SlPortConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table describe the state of the LEDs."
::= { slPortConfig 1 }
slPortConfigEntry OBJECT-TYPE
SYNTAX SlPortConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the table correspond to a port of the node."
INDEX { slPortConfigIndex }
::= { slPortConfigTable 1 }
SlPortConfigEntry ::=
SEQUENCE {
slPortConfigIndex INTEGER,
slPortConfigLedColor LedColor,
slPortConfigLedMode LedMode,
slPortConfigChangeType INTEGER,
slPortConfigAlarmMask TruthValue,
slPortConfigLabel DisplayString
}
slPortConfigIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Slot Index of the LED. The Slot number for
the Shelf led is 0."
::= { slPortConfigEntry 1 }
slPortConfigLedColor OBJECT-TYPE
SYNTAX LedColor
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The LED color of the port."
::= { slPortConfigEntry 2 }
slPortConfigLedMode OBJECT-TYPE
SYNTAX LedMode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The LED mode of the port."
::= { slPortConfigEntry 3 }
slPortConfigChangeType OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to change the type of the port.
The type value is one of the IANA types.
Changing port type should remove all the information related to this port.
Such as, ifTable entry, PM info, GFP and VCG entries, current alarms, ..."
::= { slPortConfigEntry 4 }
slPortConfigAlarmMask OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to mask the alarms of the port."
::= { slPortConfigEntry 5 }
slPortConfigLabel OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object is the shadow of ifAlias. When the ifAlias
of the primary interface of this port is changed,
the value of this object should be changed to the same value."
::= { slPortConfigEntry 6 }
--
--
slPortConfigLastChange OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at last time a slPortConfigTable table
was changed."
::= { slPortConfig 2 }
--
--
-- Notifications
--
--
slPortConfigChanged NOTIFICATION-TYPE
OBJECTS { slPortConfigIndex,
slPortConfigLedColor,
slPortConfigLedMode,
slPortConfigChangeType,
slPortConfigAlarmMask,
slPortConfigLabel }
STATUS current
DESCRIPTION
"An slPortConfigChanged notification is sent
when the state of one of the port is changed."
::= { slPortNotification 1 }
slPortConfigChangedType NOTIFICATION-TYPE
OBJECTS { slPortConfigIndex,
slPortConfigChangeType }
STATUS current
DESCRIPTION
"An slPortConfigChangedType notification is sent
when the type of one of a port is changed."
::= { slPortNotification 2 }
slPortConfigChangedMask NOTIFICATION-TYPE
OBJECTS { slPortConfigIndex,
slPortConfigAlarmMask }
STATUS current
DESCRIPTION
"An slPortConfigChangedMask notification is sent
when the mask of one of the port is changed."
::= { slPortNotification 3 }
slPortConfigChangedLabel NOTIFICATION-TYPE
OBJECTS { slPortConfigIndex,
slPortConfigLabel }
STATUS current
DESCRIPTION
"An slPortConfigChangedLabel notification is sent when the
corresponding object slPortConfigLabel is changed."
::= { slPortNotification 4 }
slPortConfigChangedApsEnabled NOTIFICATION-TYPE
OBJECTS { slPortConfigIndex }
STATUS current
DESCRIPTION
"An slPortConfigChangedLabel notification is sent when the
corresponding object slPortConfigApsEnable is changed."
::= { slPortNotification 5 }
END
|