Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / tubs / TUBS-IBR-TNM-MIB
1 TUBS-IBR-TNM-MIB DEFINITIONS ::= BEGIN
2
3 -- @(#) $Id: TUBS-IBR-TNM-MIB 807 2000-02-12 11:52:35Z strauss $
4
5 IMPORTS
6     MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32, Unsigned32
7         FROM SNMPv2-SMI
8     TEXTUAL-CONVENTION, DisplayString, RowStatus, DateAndTime,
9     TruthValue, TimeStamp, TAddress
10         FROM SNMPv2-TC
11     ibr
12         FROM TUBS-SMI;
13
14 tnmMIB MODULE-IDENTITY
15     LAST-UPDATED "200002090000Z"
16     ORGANIZATION "TU Braunschweig"
17     CONTACT-INFO
18         "Juergen Schoenwaelder
19          TU Braunschweig
20          Bueltenweg 74/75
21          38106 Braunschweig
22          Germany
23
24          Tel: +49 531 391 3283
25          Fax: +49 531 391 5936
26          E-mail: schoenw@ibr.cs.tu-bs.de"
27     DESCRIPTION
28             "Experimental MIB modules for tnm based agents."
29     REVISION    "200002090000Z"
30     DESCRIPTION
31         "Updated IMPORTS and minor stylistic fixes."
32     REVISION    "9702141023Z"
33     DESCRIPTION
34         "Various cleanups to make the module conforming to SNMPv2 SMI."
35     REVISION    "9607152024Z"
36     DESCRIPTION
37         "The initial revision of this module."
38     ::= { ibr 1 }
39
40 -- the tnm group
41
42 tnmStatus OBJECT IDENTIFIER ::= { tnmMIB 1 }
43
44 tnmVersion OBJECT-TYPE
45     SYNTAX      DisplayString
46     MAX-ACCESS  read-only
47     STATUS      current
48     DESCRIPTION
49         "The version number of the tnm agent."
50     ::= { tnmStatus 1 }
51
52 tnmTclVersion OBJECT-TYPE
53    SYNTAX       DisplayString
54    MAX-ACCESS   read-only
55    STATUS       current
56    DESCRIPTION
57         "The version number of the running Tcl interpreter."
58    ::= { tnmStatus 2 }
59
60 tnmTclCmdCount OBJECT-TYPE
61     SYNTAX      Counter32
62     MAX-ACCESS  read-only
63     STATUS      current
64     DESCRIPTION 
65         "The nummber of Tcl statements evaluated so far."
66     ::= { tnmStatus 3 }
67
68 tnmDate OBJECT-TYPE
69     SYNTAX      DateAndTime
70     MAX-ACCESS  read-only
71     STATUS      current
72     DESCRIPTION 
73         "The current date."
74     ::= { tnmStatus 4 }
75
76 tnmTrapDst OBJECT-TYPE
77     SYNTAX      DisplayString
78     MAX-ACCESS  read-write
79     STATUS      current
80     DESCRIPTION
81         "The host name of the trap sink host."
82     ::= { tnmStatus 5 }
83
84 tnmTrapMsg OBJECT-TYPE
85     SYNTAX      DisplayString
86     MAX-ACCESS  read-only
87     STATUS      current
88     DESCRIPTION
89         "The description of the last trap create by this entity."
90     ::= { tnmStatus 6 }
91
92 -- the download mechanism
93
94 tnmDownload OBJECT IDENTIFIER ::= { tnmMIB 2 }
95
96 URL ::= TEXTUAL-CONVENTION
97     DISPLAY-HINT        "255a"
98     STATUS              current
99     DESCRIPTION
100         "A uniform ressource locator as defined in RFC 1738."
101     SYNTAX OCTET STRING (SIZE (0..255))
102
103 tnmHttpProxy OBJECT-TYPE
104     SYNTAX      DisplayString
105     MAX-ACCESS  read-write
106     STATUS      current
107     DESCRIPTION
108         "This variable specifies the proxy server. It must be of the
109          form <name>[:<port>] where <name> is either a domain name
110          or an IP address and <port> is the port number used to access
111          the proxy server. The default port number is 80."
112     ::= { tnmDownload 1 }
113
114 tnmHttpSource OBJECT-TYPE
115     SYNTAX      URL
116     MAX-ACCESS  read-write
117     STATUS      current
118     DESCRIPTION
119         "Setting this variable will make tnm to download
120          and source the document with the given URL. The agent
121          will try to retrieve the document and sets the variable
122          to the URL if this operations was successfull. 
123          Otherwise, the value will become an empty string."
124     ::= { tnmDownload 2 }
125
126 tnmHttpError OBJECT-TYPE
127     SYNTAX      DisplayString
128     MAX-ACCESS  read-only
129     STATUS      current
130     DESCRIPTION
131         "This variable contains an error string is an http
132          operation fails. An empty string signals that the
133          last operation completed successfully."
134     ::= { tnmDownload 3 }
135
136 -- the peer table
137
138 tnmPeers OBJECT IDENTIFIER ::= { tnmMIB 3 }
139
140 tnmPeerTable OBJECT-TYPE
141     SYNTAX      SEQUENCE OF TnmPeerEntry
142     MAX-ACCESS  not-accessible
143     STATUS      current
144     DESCRIPTION
145         "A (conceptual) table storing known tnm peers."
146     ::= { tnmPeers 1 }
147
148 tnmPeerEntry OBJECT-TYPE
149     SYNTAX      TnmPeerEntry
150     MAX-ACCESS  not-accessible
151     STATUS      current
152     DESCRIPTION
153         "An entry (conceptual row) in the peer table."
154     INDEX { tnmPeerTAddress }
155     ::= { tnmPeerTable 1 }
156
157 TnmPeerEntry ::= SEQUENCE {
158     tnmPeerTAddress     TAddress,
159     tnmPeerAuth         OCTET STRING,
160     tnmPeerState        INTEGER,
161     tnmPeerLastChecked  TimeStamp,
162     tnmPeerStatus       RowStatus
163 }
164
165 tnmPeerTAddress OBJECT-TYPE
166     SYNTAX      TAddress
167     MAX-ACCESS  read-create
168     STATUS      current
169     DESCRIPTION
170         "The address and port number of the peer agent."
171     ::= { tnmPeerEntry 1 }
172
173 tnmPeerAuth OBJECT-TYPE
174     SYNTAX      OCTET STRING
175     MAX-ACCESS  read-create
176     STATUS      current
177     DESCRIPTION
178         "The authentication information for this peer. This will
179          usually be a community string until we get the final SNMPv2
180          decisions about the security model."
181     ::= { tnmPeerEntry 2 }
182
183 tnmPeerState OBJECT-TYPE
184     SYNTAX      INTEGER { up(1), down(2) }
185     MAX-ACCESS  read-create
186     STATUS      current
187     DESCRIPTION
188         "The current status of the peer as returned by the last
189         status probe message."
190     ::= { tnmPeerEntry 3 }
191
192 tnmPeerLastChecked OBJECT-TYPE
193     SYNTAX      TimeStamp
194     MAX-ACCESS  read-create
195     STATUS      current
196     DESCRIPTION
197         "The value of sysUpTime when the status of the peer was
198          retrieved and written to tnmPeerState."
199     ::= { tnmPeerEntry 4 }
200
201 tnmPeerStatus OBJECT-TYPE
202     SYNTAX      RowStatus
203     MAX-ACCESS  read-create
204     STATUS      current
205     DESCRIPTION
206         "The status column used for creating, modifying,
207         and deleting instances of the columnar objects in
208         the tnm peer table."
209     DEFVAL  { active }
210     ::= { tnmPeerEntry 5 }
211
212 -- election section
213
214 tnmElection OBJECT IDENTIFIER ::= { tnmMIB 4 }
215
216 tnmElectionIndex OBJECT-TYPE
217     SYNTAX      Unsigned32
218     MAX-ACCESS  read-only
219     STATUS      current
220     DESCRIPTION
221         "The (hopefully) unique index of this peer used by the
222          bully election algorithm."
223     ::= { tnmElection 1 }
224
225 tnmElectionPanic OBJECT-TYPE
226     SYNTAX      TruthValue
227     MAX-ACCESS  read-only
228     STATUS      current
229     DESCRIPTION
230         "Reading this variable will start the panic algorithm
231          on this peer. (We should use an inform request here.)"
232     ::= { tnmElection 2 }
233
234 tnmElectionMaster OBJECT-TYPE
235     SYNTAX      TAddress
236     MAX-ACCESS  read-write
237     STATUS      current
238     DESCRIPTION
239         "This variable will be set by a new master appearing
240          on the scene. (We should use an inform request here.)"
241     ::= { tnmElection 3 }
242
243 -- the tnmEvalTable example adopted from RFC 1442
244
245 tnmEval OBJECT IDENTIFIER ::= { tnmMIB 5 }
246
247 tnmEvalSlot OBJECT-TYPE
248     SYNTAX      Integer32
249     MAX-ACCESS  read-only
250     STATUS      current
251     DESCRIPTION
252         "The index number of the first unassigned entry in
253          the evaluation table.  
254
255          A management station should create new entries in
256          the evaluation table using this algorithm: first,
257          issue a management protocol retrieval operation to
258          determine the value of evalSlot; and, second,
259          issue a management protocol set operation to
260          create an instance of the evalStatus object
261          setting its value to underCreation(1).  If this
262          latter operation succeeds, then the management
263          station may continue modifying the instances
264          corresponding to the newly created conceptual row,
265          without fear of collision with other management
266          stations."
267     ::= { tnmEval 1 }
268
269 tnmEvalTable OBJECT-TYPE
270     SYNTAX      SEQUENCE OF TnmEvalEntry
271     MAX-ACCESS  not-accessible
272     STATUS      current
273     DESCRIPTION
274         "The (conceptual) evaluation table."
275     ::= { tnmEval 2 }
276
277 tnmEvalEntry OBJECT-TYPE
278     SYNTAX      TnmEvalEntry
279     MAX-ACCESS  not-accessible
280     STATUS      current
281     DESCRIPTION
282         "An entry (conceptual row) in the evaluation table."
283     INDEX { tnmEvalIndex }
284     ::= { tnmEvalTable 1 }
285
286 TnmEvalEntry ::= SEQUENCE {
287     tnmEvalIndex        Integer32,
288     tnmEvalString       DisplayString,
289     tnmEvalValue        DisplayString,
290     tnmEvalStatus       RowStatus
291 }
292
293 tnmEvalIndex OBJECT-TYPE
294     SYNTAX      Integer32 (1..'7fffffff'h)
295     MAX-ACCESS  read-only
296     STATUS      current
297     DESCRIPTION
298         "The auxiliary variable used for identifying
299          instances of the columnar objects in the
300          evaluation table."
301     ::= { tnmEvalEntry 1 }
302
303 tnmEvalString OBJECT-TYPE
304     SYNTAX      DisplayString
305     MAX-ACCESS  read-create
306     STATUS      current
307     DESCRIPTION
308         "The string to evaluate."
309     ::= { tnmEvalEntry 2 }
310
311 tnmEvalValue OBJECT-TYPE
312     SYNTAX      DisplayString
313     MAX-ACCESS  read-only
314     STATUS      current
315     DESCRIPTION
316         "The value resturned by executing evalString."
317     ::= { tnmEvalEntry 3 }
318
319 tnmEvalStatus OBJECT-TYPE
320     SYNTAX      RowStatus
321     MAX-ACCESS  read-create
322     STATUS      current
323     DESCRIPTION
324         "The status column used for creating, modifying,
325          and deleting instances of the columnar objects in
326          the evaluation table."
327     DEFVAL  { active }
328     ::= { tnmEvalEntry 4 }
329
330 END