summaryrefslogtreecommitdiff
path: root/MIBS/allied/AT-EPSR-MIB
blob: 5716abc662efd4874d1b017477cfca1a8a1517f7 (plain)
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
-- ============================================================================
-- AT-ESPR.MIB, Allied Telesis enterprise MIB: Ethernet Protection Switching Ring
--
-- Copied from ATR-ESPR.MIB of pre 2.9.1 release
--
-- Copyright (c) 2006 by Allied Telesis, Inc.
-- All rights reserved.
-- 
-- ============================================================================

AT-EPSR-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    NOTIFICATION-TYPE
        FROM SNMPv2-SMI
    
    TEXTUAL-CONVENTION,
    DisplayString
        FROM SNMPv2-TC
    
    InterfaceIndex
    	FROM IF-MIB
	
	modules,
	DisplayStringUnsized
		FROM AT-SMI-MIB
;

epsr MODULE-IDENTITY
    LAST-UPDATED "200611221212Z"
    ORGANIZATION "Allied Telesis, Inc"
	CONTACT-INFO
	    "http://www.alliedtelesis.com"
	DESCRIPTION
	    "Convert epsrEventVariables into a table entry, so variable of mutiple 
	     EPSR domains can be obtained."
    REVISION "200611221212Z"

	DESCRIPTION
	    "This MIB file contains definitions of managed objects for 
	    the code module responsible for handling EPSR on Allied Telesis 
	    switches."
    REVISION "200602161619Z"

DESCRIPTION
	"Initial Revision"
::= { modules 136 }


-- ---------------------------------------------------------- --
-- Textual Conventions
-- ---------------------------------------------------------- --

EpsrNodeState ::= TEXTUAL-CONVENTION
STATUS       current
DESCRIPTION
    "Defines the node states that can be passed around
     in EPSR Node Traps."
SYNTAX INTEGER
        {
            idle         (0),
            complete     (1),
            failed       (2),
            linksUp      (3),
            linksDown    (4),
            preForward   (5),
            unknown      (6)
        }

EpsrInterfaceState ::= TEXTUAL-CONVENTION
STATUS       current
DESCRIPTION
    "Defines the interface states that can be passed around
     in EPSR Node Traps."
SYNTAX INTEGER
        {
            unknown  (0),
            blocked  (1),
            forward  (2)
        }

-- ---------------------------------------------------------- --
-- EPSR specific trap definitions
-- ---------------------------------------------------------- --

epsrEvents    OBJECT IDENTIFIER ::= { epsr 1 }

epsrNodeTrap      NOTIFICATION-TYPE
	 OBJECTS {
                epsrNodeTrapType,
                epsrDomainName,
                epsrFromState,
                epsrToState,
                epsrControlVlanId,
                epsrPrimaryIfIndex,
                epsrPrimaryIfState,
                epsrSecondaryIfIndex,
                epsrSecondaryIfState
             }
     STATUS  current
     DESCRIPTION
         "EPSR Master/Transit node state transition trap."
	 ::= { epsrEvents 1 }

-- ---------------------------------------------------------- --
-- EPSR Event Variables Object IDs
-- ---------------------------------------------------------- --

epsrEventVariablesTable OBJECT-TYPE
	SYNTAX SEQUENCE OF EpsrEventVariablesEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
		"This table contains rows of epsrEventVariablesEntry."
		::= { epsr 2 }

epsrEventVariablesEntry OBJECT-TYPE
	SYNTAX EpsrEventVariablesEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
		"An entry in the ATL enterprise epsrEventVariablesTable."
	INDEX { epsrDomainName }
		::= { epsrEventVariablesTable 1 }

EpsrEventVariablesEntry ::=
	SEQUENCE {
		epsrNodeTrapType		INTEGER (0..2),
		epsrDomainName			DisplayStringUnsized(SIZE(1..15)),
		epsrFromState 			EpsrNodeState,
		epsrToState				EpsrNodeState,
		epsrControlVlanId		INTEGER,
		epsrPrimaryIfIndex		InterfaceIndex,
		epsrPrimaryIfState		EpsrInterfaceState,
		epsrSecondaryIfIndex	InterfaceIndex,
		epsrSecondaryIfState	EpsrInterfaceState
	}


epsrNodeTrapType OBJECT-TYPE
		SYNTAX  INTEGER
        {
            unknown          (0),
            masterNodeTrap   (1),
            transitNodeTrap  (2)
        }
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"This is the trap type of the EPSR node trap (master/transit)."
 	::= { epsrEventVariablesEntry 1 }


epsrDomainName OBJECT-TYPE
		SYNTAX  DisplayStringUnsized (SIZE(1..15))
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"Assigned name of the EPSR domain."
 	::= { epsrEventVariablesEntry 2 }

epsrFromState OBJECT-TYPE
		SYNTAX  EpsrNodeState
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"Defined state that an EPSR domain is transitioning from."
		::= { epsrEventVariablesEntry 3 }

epsrToState OBJECT-TYPE
		SYNTAX  EpsrNodeState
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"Defined state that an EPSR domain is transitioning to."
		::= { epsrEventVariablesEntry 4 }

epsrControlVlanId OBJECT-TYPE 
	SYNTAX  INTEGER
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"VLAN identifier for the control VLAN."
		::= { epsrEventVariablesEntry 5 }

epsrPrimaryIfIndex OBJECT-TYPE
		SYNTAX  InterfaceIndex
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"IfIndex of the primary interface."
		::= { epsrEventVariablesEntry 6 }

epsrPrimaryIfState OBJECT-TYPE
		SYNTAX  EpsrInterfaceState
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"Defined current state of the primary interface."
		::= { epsrEventVariablesEntry 7 }

epsrSecondaryIfIndex OBJECT-TYPE
		SYNTAX  InterfaceIndex
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"IfIndex of the secondary interface."
		::= { epsrEventVariablesEntry 8 }

epsrSecondaryIfState OBJECT-TYPE
		SYNTAX  EpsrInterfaceState
		MAX-ACCESS  read-only
		STATUS  current
		DESCRIPTION
   		"Defined current state of the secondary interface."
		::= { epsrEventVariablesEntry 9 }

END