summaryrefslogtreecommitdiff
path: root/MIBS/adva/OS-COMMON-TC-MIB
blob: cb157d02ed2185389625e56fe433ad92137918f7 (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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
OS-COMMON-TC-MIB DEFINITIONS ::= BEGIN

-- *****************************************************************************
-- TEXTUAL-CONVENTIONs MIB for all os... MIBs
-- *****************************************************************************

IMPORTS
    MODULE-IDENTITY, enterprises, Integer32, Unsigned32
        FROM SNMPv2-SMI         -- RFC 2578
    TEXTUAL-CONVENTION
        FROM SNMPv2-TC;         -- RFC 2579

osCommonTcMib MODULE-IDENTITY
    LAST-UPDATED "201801020000Z" -- 02 Jan. 2018
    ORGANIZATION "MRV Communications, Inc."
    CONTACT-INFO
        "Alex Ruzin
         ADVA Optical Networking SE
         Email:  ARuzin@advaoptical.com"
    DESCRIPTION
       "This MIB module defines the textual conventions used 
        throughout the all os... and nb...  MIB modules.
        Copyright 2018 ADVA Optical Networking SE.
        All rights reserved."   

    REVISION    "201801020000Z" -- 02 Jan. 2018
    DESCRIPTION
       "Initial Version."
    ::= { oaOptiSwitch 6400 }

-- ************************************************************
-- MIB place Definition
-- ************************************************************
nbase                  OBJECT IDENTIFIER ::= { enterprises 629 }
oaccess                OBJECT IDENTIFIER ::= { enterprises 6926 }
nbSwitchG1             OBJECT IDENTIFIER ::= { nbase 1 }
adva                   OBJECT IDENTIFIER ::= { nbase 2544 }
nbSwitchG1Il           OBJECT IDENTIFIER ::= { nbSwitchG1 50}
oaOptiSwitch           OBJECT IDENTIFIER ::= { oaccess 2 }

-- ************************************************************
-- Textual converions
-- ************************************************************

OsCfmMepIdOrZero ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS       current
    DESCRIPTION
       "Maintenance association End Point Identifier (MEPID): A small
        integer, unique over a given Maintenance Association,
        identifying a specific MEP.
 
        The special value 0 is allowed to indicate special cases, for
        example that no MEPID is configured.

        Whenever an object is defined with this SYNTAX, then the
        DESCRIPTION clause of such an object MUST specify what the
        special value of 0 means.
        
        This object is different from Dot1agCfmMepIdOrZero that its upper limit 
        is 4K instead of  8K."

    REFERENCE
       "802.1ag clause 19.2.1"
    SYNTAX      Unsigned32 (0 | 1..4095)


EntityName ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "255a"
    STATUS       current
    DESCRIPTION "An octet string containing administrative
                 information in human-readable form.
                 Represents textual information taken from the NVT ASCII
                 character set, as defined in pages 4, 10-11 of RFC 854.
                 Additional restrictions are:
                 - NUL, LF, CR, BEL, BS, HT, VT and FF are prohibited   
                 - SP (White space) and '?' (Question mark) are strictly forbidden."
    SYNTAX       OCTET STRING (SIZE (1..30))

EntityNameOrNone ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "255a"
    STATUS       current
    DESCRIPTION "Extends EntityName wth empty value."
    SYNTAX       OCTET STRING (SIZE (0..30))

BwAccountStatus ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
      "Status of accounting for a service/flow.
      An agent always returns value enabled(3) or value
      disabled(4) as a response on GET operation. For SET
      operation all 3 values are valid."
    SYNTAX       INTEGER { 
                   unknown     (1),
                   clear       (2),
                   enabled     (3),
                   disabled    (4)
                 }

EntryValidator ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
      "Admin Status for controlling of the entry."
    SYNTAX       INTEGER { 
                   unknown    (1),
                   nothing    (2),
                   delete     (3),
                   create     (4)
                 }

ProfileStatus ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
      "Status of a profile, reported it's being busy: the profile is busy, it there is at least one
      service, using it."
    SYNTAX       INTEGER { 
                   unknown          (1),
                   busy             (5),
                   free             (6),
                   underProcessing  (9)
                 }

PortIndex         ::= TEXTUAL-CONVENTION
   DISPLAY-HINT "d"
   STATUS       current
   DESCRIPTION
      "A unique value, greater than zero, for each Port or
       in the managed system.
       The value for each Port must remain
       constant at least from one re-initialization of the entity's
       network management system to the next re-initialization.
       Actual limit is SNMP object osPortCfgMaxNumberOfPort.
       All Ports with PortIndex greater or equal osPortCfgBaseTrunkPortIndex are Ethernet Channels."
   SYNTAX       Unsigned32 (1..2147483647)

PortIndexOrNone   ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS       current
    DESCRIPTION
      "See PortIndex, it is his extension for a case of <None>."
    SYNTAX       Integer32 (0|1..2147483647)

CfmMDLevel        ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS      current
    DESCRIPTION
       "Is an extension of Dot1agCfmMDLevel - value -1 means undefined.
        Integer identifying the Maintenance Domain Level (MD Level).
        Higher numbers correspond to higher Maintenance Domains,
        those with the greatest physical reach, with the highest
        values for customers' CFM PDUs.  Lower numbers correspond
        to lower Maintenance Domains, those with more limited
        physical reach, with the lowest values for CFM PDUs
        protecting single bridges or physical links.
        The value '-1' means, that MD Level is undefined."
    REFERENCE
       "802.1ag clauses 18.3, 21.4.1"
    SYNTAX      Integer32 (-1|0..7)


CoS ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS       current
    DESCRIPTION
       "The value of Class of Service (also referred to as of service level).
       While in devices it also defines an egress queue, the upper limit may
       be greater then 7. Actual upper limit may be read in osEthMaxSlValue."
    SYNTAX           Unsigned32 (1..4294967295)

ServFlowId ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "d"
    STATUS           current
    DESCRIPTION
       "The value 0 means, that this entry corresponds to the service, not to to any flow."
    SYNTAX           Unsigned32 (0|1..4294967295)

PortList ::= TEXTUAL-CONVENTION
    -- DISPLAY-HINT "1x"
    STATUS       current
    DESCRIPTION
        "Each octet within this value specifies a set of eight
        ports, with the first octet specifying ports 1 through
        8, the second octet specifying ports 9 through 16, etc.
        Within each octet, the most significant bit represents
        the lowest numbered port, and the least significant bit
        represents the highest numbered port.  Thus, each port
        of the bridge is represented by a single bit within the
        value of this object.  If that bit has a value of '1',
        then that port is included in the set of ports; the port
        is not included if its bit has a value of '0'."
    REFERENCE
      "Q-BRIDGE-MIB DEFINITIONS."
    SYNTAX      OCTET STRING (SIZE(0..32))

TagList ::= TEXTUAL-CONVENTION
    -- DISPLAY-HINT "1x"
    STATUS      current
    DESCRIPTION
        "Each octet within this value specifies a set of eight
        tags, with the first octet specifying tags 1 through
        8, the second octet specifying tags 9 through 16, etc.
        Within each octet, the most significant bit represents
        the lowest numbered tag, and the least significant bit
        represents the highest numbered tag.  Thus, each tag
        is represented by a single bit within the
        value of this object.  If that bit has a value of '1',
        then that tag is included in the set of tags; the tag
        is not included if its bit has a value of '0'."
    SYNTAX      OCTET STRING (SIZE(0..512))

MepList ::= TEXTUAL-CONVENTION
    -- DISPLAY-HINT "1x"
    STATUS      current
    DESCRIPTION
        "Each octet within this value specifies a set of eight
        remote MEPs, with the first octet specifying remote
        MEP IDs 1 through 8, the second octet specifying remote
        MEP IDs 9 through 16, etc.
        Within each octet, the most significant bit represents
        the lowest numbered remote MEP Id, and the least significant bit
        represents the highest numbered remote MEP Id.  Thus, each remote MEP Id
        is represented by a single bit within the
        value of this object.  If that bit has a value of '1',
        then that remote MEP Id is included in the list; the remote MEP Id
        is not included if its bit has a value of '0'."
    SYNTAX      OCTET STRING (SIZE(0..512))

ServiceType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
       "Type of the service per node.
         portBasedUni(2) - port based UNI (epl, ep-lan)
         vlanBasedUni(3) - vlan based UNI (evpl, evp-lan)
         legacyEpLan (4) - for backward conpatibility, see below
         legacyEvpLan(5) - for backward conpatibility, see below
         vlanBasedINni(8) - vlan based internal NNI (former aggregation)
         portBasedINni(9) - port based internal NNI
         vlanBasedENni(8) - vlan based external NNI
         portBasedENni(9) - port based external NNI
        
       There is at least one difference between internal NNI and external NNI: if a service
       does not contain MEP and contains only MIP, then MA does not have c-ports in
       an internal NNI."
    REFERENCE
      "MEF 6.1, Clauses 7.1 - 7.6."
    SYNTAX           INTEGER {
                       unknown     (1),
                       portBasedUni(2),
                       vlanBasedUni(3),
                       legacyEpLan (4),
                       legacyEvpLan(5),
                       vlanBasedINni(8),
                       portBasedINni(9),
                       vlanBasedENni(10),
                       portBasedENni(11)
                    }

StartTimeType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
       "This enumeration data type indicates the type of start
        time to indicate when a performance metric is 
        initiated.

        The valid enumerated values associated with this type are:

        none(1)       The PM is never started
        immediate(2)  The PM is to begin immediately
        relative(3)   The PM is to begin a relative time from the current time
        fixed(4)      The PM is to begin at the given UTC time/date"
    REFERENCE
       "[SOAM-PM] R2"
    SYNTAX      INTEGER {
                  none(1),
                  immediate(2),
                  relative(3),
                  fixed(4)
                }

RespType        ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
       "Indicates the type of the responer:
        - regular(1):    The test was run against regular loopback device.
        - generic(2):    The test was run against generic loopback device."

    REFERENCE
       "RFC 2544, Clause 26."
    SYNTAX      INTEGER {
                  unknown      (0),
                  regular      (1),
                  generic      (2)
                }


END