smilint output for ./PW-ENET-DRAFT03-MIB
Message Severities |
Severity | Count |
severe | 8 |
error | 3 |
minor error | 2 |
warning | 8 |
Message Types |
Type | Count |
bad-identifier-case (error) | 2 |
import-failed (error) | 1 |
internal-flushing (warning) | 8 |
internal-other (severe) | 8 |
scalar-not-creatable (minor error) | 2 |
Messages:
PW-ENET-DRAFT03-MIB
1: -- extracted from draft-ietf-pwe3-enet-mib-03.txt
2: -- at Wed Dec 24 06:16:16 2003
3:
4: PW-ENET-DRAFT03-MIB DEFINITIONS ::= BEGIN
5:
6: IMPORTS
7: OBJECT-TYPE, MODULE-IDENTITY, Counter64
8: FROM SNMPv2-SMI
9:
10: MODULE-COMPLIANCE, OBJECT-GROUP
11: FROM SNMPv2-CONF
12:
13: StorageType, RowStatus, TruthValue
14: FROM SNMPv2-TC
15:
16: InterfaceIndexOrZero
17: FROM IF-MIB
18:
19: pwVcIndex
20: FROM PW-DRAFT04-MIB
20: error -
identifier `pwVcIndex' cannot be imported from module `PW-DRAFT04-MIB'
21:
22: pwStdMIB, PwVcVlanCfg, PwVcFragSize
23: FROM PW-TC-DRAFT04-MIB;
24:
25: pwVcEnetMIB MODULE-IDENTITY
26: LAST-UPDATED "200312161200Z" -- 16 December 2003 12:00:00 GMT
27: ORGANIZATION "IETF PWE3 Working group"
28: CONTACT-INFO
29: "David Zelig
30: Postal: Corrigent Systems
31: 126, Yigal Alon St.
32: Tel-Aviv, ISRAEL
33: Ethernet Pseudo Wire (PW) December 2003
34: Management Information Base
35:
36:
37: Tel: +972-3-6945273
38: E-mail: davidz@corrigent.com
39:
40: Thomas D. Nadeau
41: Postal: Cisco Systems, Inc.
42: 250 Apollo Drive
43: Chelmsford, MA 01824
44: Tel: +1-978-497-3051
45: Email: tnadeau@cisco.com
46: "
47: DESCRIPTION
48: "This MIB describes a model for managing Ethernet
49: point-to-point pseudo wire services over a Packet
50: Switched Network (PSN)."
51:
52: -- Revision history.
53:
54: REVISION
55: "200312161200Z" -- 16 December 2003 12:00:00 GMT
56: DESCRIPTION
57: " Changes from as draft-pwe3-enet-mib-03.
58: 1) Module identity under the PW MIB tree.
59: "
60:
61: REVISION
62: "200307291200Z" -- 29 July 2003 12:00:00 GMT
63: DESCRIPTION
64: " Changes from as draft-pwe3-enet-mib-01.
65: 1) Added Control Word status and fragmentation status.
66: "
67:
68: REVISION
69: "200209221200Z" -- 22 September 2002 12:00:00 GMT
70: DESCRIPTION
71: " Submitted as draft-pwe3-enet-mib-00.
72: Changes from previous version:
73: 1) Alignment with draft-pwe3-ethernet-encap-00.txt:
74: removing 'rangeVLAN' mode and the associated objects.
75: 2) Relaxing requirement on value of pwVcEnetPortVlan in
76: port mode.
77: "
78:
79: REVISION
80: "200208201200Z" -- 20 August 2002 12:00:00 GMT
81: DESCRIPTION
82: "Changes from previous version:
83: 1) Add pwVcEnetVcIfIndex - Option for VC as ifIndex.
84: 2) Change counters to 64 bits.
85: 3) Add mode for adding/removing VLAN fields between PW and
86: CE bound interface.
87: 4) Referencing draft-martini instead of draft-so.
88: Ethernet Pseudo Wire (PW) December 2003
89: Management Information Base
90:
91:
92: 5) Editorial changes for some description clauses.
93: 6) MPLS PRI mapping table to be independent (not augmented).
94: 7) Adapt descriptions and rules of use to
95: dratf-ietf-pwe3-Ethernet-encap-00.
96: "
97: REVISION
98: "200202031200Z" -- 03 February 2002 12:00:00 GMT
99: DESCRIPTION
100: "initial revision as -00 draft"
101:
102: ::= { pwStdMIB 5 } -- To be assigned by IANA
103:
104:
105: pwVcEnetObjects OBJECT IDENTIFIER ::= { pwVcEnetMIB 1 }
106: pwVcEnetConformance OBJECT IDENTIFIER ::= { pwVcEnetMIB 2 }
107:
108: --
109: -- Ethernet PW table
110: --
111:
112: pwVcEnetTable OBJECT-TYPE
113: SYNTAX SEQUENCE OF PwVcEnetEntry
114: MAX-ACCESS not-accessible
115: STATUS current
116: DESCRIPTION
117: "This table contains the index to the Ethernet tables
118: associated with this ETH PW, the VLAN configuration and
119: VLAN mode."
120: ::= { pwVcEnetObjects 1 }
121:
122: pwVcEnetEntry OBJECT-TYPE
123: SYNTAX PwVcEnetEntry
124: MAX-ACCESS not-accessible
125: STATUS current
126: DESCRIPTION
127: "This table is indexed by the same index that was created
128: for the associated entry in the PW Table in the PW-STD-MIB.
129: The PwVcIndex and the pwVcEnetPwVlan are used as indexes
130: to allow multiple VLANs to exist on the same PW.
131:
132: An entry is created in this table by the agent for every
133: entry in the pwVc table with a VcType of 'ethernetVLAN',
134: 'ethernet' or 'ethernetVPLS'. Additional rows may be
135: created by the operator or the agent if multiple entries
136: are required for the same PW.
137:
138: This table provides Ethernet port mapping and VLAN
139: configuration for each Ethernet PW."
140:
141: INDEX { pwVcIndex, pwVcEnetPwVlan }
142: ::= { pwVcEnetTable 1 }
143: Ethernet Pseudo Wire (PW) December 2003
143: error -
`Ethernet' should start with a lower case letter
143: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting OBJECT
144: Management Information Base
145:
146:
147:
148: PwVcEnetEntry ::= SEQUENCE {
149: pwVcEnetPwVlan PwVcVlanCfg,
150: pwVcEnetVlanMode INTEGER,
151: pwVcEnetPortVlan PwVcVlanCfg,
152:
153: pwVcEnetPortIfIndex InterfaceIndexOrZero,
154: pwVcEnetVcIfIndex InterfaceIndexOrZero,
155:
156: pwVcEnetFragSize PwVcFragSize,
157: pwVcEnetCwStatus TruthValue,
158:
159: pwVcEnetRowStatus RowStatus,
160: pwVcEnetStorageType StorageType
161: }
161: warning -
warning: flushing recent incorrect declaration, see previous error(s)
162:
163: pwVcEnetPwVlan OBJECT-TYPE
164: SYNTAX PwVcVlanCfg
165: MAX-ACCESS not-accessible
166: STATUS current
167: DESCRIPTION
168: "This Object defines the VLAN on the PW. The value of 4097
169: is used if the object is not applicable, for example when
170: mapping all packets from an Ethernet port to this PW.
171: The value of 4096 is used to indicate untagged frames (at
172: least from the PW point of view), for example if
173: pwVcEnetVlanMode is equal 'removeVLAN' or when
174: pwVcEnetVlanMode equal 'noChange' and pwVcEnetPortVlan
175: is equal 4096."
176: ::= { pwVcEnetEntry 1 }
177:
178: pwVcEnetVlanMode OBJECT-TYPE
179: SYNTAX INTEGER {
180: other(0),
181: portBased(1),
182: noChange(2),
183: changeVlan(3),
184: addVlan(4),
185: removeVlan(5)
186: }
187: MAX-ACCESS read-create
188: STATUS current
189: DESCRIPTION
190: "Indicate the mode of VLAN handling between the port
191: associated to the PW and the PW encapsulation itself.
192:
193: - 'other' indicate operation that is not defined by
194: this MIB.
195:
196: - 'portBased' indicates that the forwarder will forward
197: packets between the port and the PW independent of their
198: Ethernet Pseudo Wire (PW) December 2003
199: Management Information Base
200:
201:
202: structure.
203:
204: - 'noChange' indicates that the PW contains the original
205: user VLAN, as specified in pwVcEnetPortVlan.
206:
207: - 'changeVlan' indicates that the VLAN field on the PW
208: may be different than the VLAN field on the user's
209: port.
210:
211: - 'removeVlan' indicates that the encapsulation on the
212: PW does not include the original VLAN field. Note
213: that PRI bits transparency is lost in this case.
214:
215: - 'addVlan' indicate that a VLAN field will be added
216: on the PSN bound direction. pwVcEnetPwVlan indicate
217: the value that will be added.
218:
219: - 'removeVlan', 'addVlan' and 'changeVlan' implementation
220: is not required.
221: "
222: DEFVAL { noChange }
223: ::= { pwVcEnetEntry 2 }
224:
225: pwVcEnetPortVlan OBJECT-TYPE
226: SYNTAX PwVcVlanCfg
227: MAX-ACCESS read-create
228: STATUS current
229: DESCRIPTION
230: "This object define the VLAN value on the physical port (or
231: VPLS virtual port) if a change is required to the VLAN value
232: between the PW and the physical/virtual port.
233:
234: The value of this object can be ignored if the whole traffic
235: from the port is forwarded to one PW independent of the
236: tagging on the port, but it is RECOMENDED that the value in
237: this case will be '4097' indicating not relevant.
238:
239: It MUST be equal to pwVcEnetPwVlan if 'noChange' mode
240: is used.
241:
242: The value 4096 indicate that no VLAN (i.e. untagged
243: frames) on the port are associated to this PW. This
244: allows the same behaviors as assigning 'Default VLAN'
245: to un-tagged frames.
246: "
247: DEFVAL { 4097 }
248: ::= { pwVcEnetEntry 3 }
249:
250: pwVcEnetVcIfIndex OBJECT-TYPE
251: SYNTAX InterfaceIndexOrZero
252: MAX-ACCESS read-create
253: Ethernet Pseudo Wire (PW) December 2003
253: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting STATUS
254: Management Information Base
255:
256:
257: STATUS current
258: DESCRIPTION
259: "It is sometimes convenient to model the PW as a
260: virtual interface in the ifTable. In these cases this
261: object hold the value of the ifIndex in the ifTable
262: representing this PW. A value of zero indicate no such
263: association or association is not yet known."
264:
265: ::= { pwVcEnetEntry 4 }
265: warning -
warning: flushing recent incorrect declaration, see previous error(s)
266:
267: pwVcEnetPortIfIndex OBJECT-TYPE
268: SYNTAX InterfaceIndexOrZero
269: MAX-ACCESS read-create
270: STATUS current
271: DESCRIPTION
272: "This object is used to specify the ifIndex of the ETHERNET
273: port associated with this PW for point-to-point Ethernet
274: service, or the ifIndex of the virtual interface of the VPLS
275: instance associated with the PW if the service is VPLS. Two
276: rows in this table can point to the same ifIndex only if:
277:
278: 1) It is required to support multiple COS on a MPLS PSN
279: for the same service (i.e.: a combination of ports and
280: VLANs) by the use of multiple PW, each with a different
281: COS.
282:
283: 2) There is no overlap of VLAN values specified in
284: pwVcEnetPortVlan that are associated with this port.
285:
286: A value of zero indicate that association to an ifIndex is
287: not yet known."
288:
289: ::= { pwVcEnetEntry 5 }
290:
291: pwVcEnetFragSize OBJECT-TYPE
292: SYNTAX PwVcFragSize
293: MAX-ACCESS read-only
294: STATUS current
295: DESCRIPTION
296: "This object represent the status of the frgamantation
297: negotiation (or manula configuration) for this PW. Value
298: of zero indicate no fragmantation.
299: If the value is not zero, recieved packets greater than
300: pwVcEnetFragSize should be fragmented to the specified
301: length.
302: "
303: ::= { pwVcEnetEntry 6 }
304:
305: pwVcEnetCwStatus OBJECT-TYPE
306: SYNTAX TruthValue
307: MAX-ACCESS read-only
308: Ethernet Pseudo Wire (PW) December 2003
308: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting STATUS
309: Management Information Base
310:
311:
312: STATUS current
313: DESCRIPTION
314: "This object represent the status of the control word
315: usage for this PW.
316: "
317: ::= { pwVcEnetEntry 7 }
317: warning -
warning: flushing recent incorrect declaration, see previous error(s)
318:
319: pwVcEnetRowStatus OBJECT-TYPE
320: SYNTAX RowStatus
321: MAX-ACCESS read-create
322: STATUS current
323: DESCRIPTION
324: "Enable creating, deleting and modifying this row."
325: ::= { pwVcEnetEntry 8 }
326:
327: pwVcEnetStorageType OBJECT-TYPE
328: SYNTAX StorageType
329: MAX-ACCESS read-create
330: STATUS current
331: DESCRIPTION
332: "Indicates the storage type of this row."
333: ::= { pwVcEnetEntry 9 }
334:
335:
336: --
337: -- Ethernet Primary Mapping Table
338: --
339:
340: pwVcEnetMplsPriMappingTable OBJECT-TYPE
341: SYNTAX SEQUENCE OF PwVcEnetMplsPriMappingTableEntry
342: MAX-ACCESS not-accessible
343: STATUS current
344: DESCRIPTION
345: "This table may be used for MPLS PSNs if there is a need
346: to hold multiple PW, each with different COS, for the same
347: user service (port + PW VLAN). Such a need may arise if the
348: MPLS network is capable of L-LSP or E-LSP without multiple
349: COS capabilities. Each row is indexed by the pwVcIndex
350: and indicate the PRI bits on the packet recieved from the
351: user port (or VPLS virtual port) that are
352: classified to this PW. Note that the EXP bit value of the
353: PW is configured in the PW-MPLS-STD-MIB."
354: ::= { pwVcEnetObjects 2 }
355:
356: pwVcEnetMplsPriMappingTableEntry OBJECT-TYPE
357: SYNTAX PwVcEnetMplsPriMappingTableEntry
358: MAX-ACCESS not-accessible
359: STATUS current
360: DESCRIPTION
361: "Each entry is created if special classification based on
362: the PRI bits is required for this PW."
363: Ethernet Pseudo Wire (PW) December 2003
363: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting COLON_COLON_EQUAL
364: Management Information Base
365:
366:
367:
368: INDEX { pwVcIndex }
368: warning -
warning: flushing recent incorrect declaration, see previous error(s)
369:
370: ::= { pwVcEnetMplsPriMappingTable 1 }
370: severe -
syntax error, unexpected COLON_COLON_EQUAL
370: warning -
warning: flushing recent incorrect declaration, see previous error(s)
371:
372: PwVcEnetMplsPriMappingTableEntry ::= SEQUENCE {
373: pwVcEnetMplsPriMapping BITS,
374: pwVcEnetMplsPriMappingRowStatus RowStatus,
375: pwVcEnetMplsPriMappingStorageType StorageType
376: }
377:
378: pwVcEnetMplsPriMapping OBJECT-TYPE
379: SYNTAX BITS {
380: pri000 (0),
381: pri001 (1),
382: pri010 (2),
383: pri011 (3),
384: pri100 (4),
385: pri101 (5),
386: pri110 (6),
387: pri111 (7),
388: untagged (8)
389: }
390: MAX-ACCESS read-create
391: STATUS current
392: DESCRIPTION
393: "This object defines the groups of user PRI mapped into
394: this PW. Each bit set indicates that this user priority
395: is assigned to this PW.
396:
397: The value 'untagged' is used to indicate that untagged
398: frames are also associated to this PW.
399:
400: This object allow the use of different PSN COS based on
401: user marking of PRI bits in MPLS PSN with L-LSP or
402: E-LSP without multiple COS support. In all other cases,
403: the default value MUST be used.
404:
405: It is REQUIRED that there is no overlap on this object
406: between rows serving the same service (port+ PW VLAN).
407:
408: In case of missing BIT configuration between rows to
409: the same service, incoming packets with PRI marking not
410: configured should be handled by the PW with the lowest
411: COS.
412: "
413: REFERENCE
414: "See appendix A of <draft-ietf-pwe3i-ethernet-encap>
415: for mapping rules of the PRI bits to PSN COS."
416:
417: ::= { pwVcEnetMplsPriMappingTableEntry 1 }
417: minor error -
scalar object must not have a `read-create' access value
418: Ethernet Pseudo Wire (PW) December 2003
418: error -
`Ethernet' should start with a lower case letter
418: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting OBJECT
419: Management Information Base
420:
421:
422:
423: pwVcEnetMplsPriMappingRowStatus OBJECT-TYPE
424: SYNTAX RowStatus
425: MAX-ACCESS read-create
426: STATUS current
427: DESCRIPTION
428: "Enable creating, deleting and modifying this row."
429: -- TBD: Need to specify exact interaction with other tables, and
430: -- when rows can/cannot be created/deleted/modified.
431: ::= { pwVcEnetMplsPriMappingTableEntry 2 }
431: warning -
warning: flushing recent incorrect declaration, see previous error(s)
432:
433: pwVcEnetMplsPriMappingStorageType OBJECT-TYPE
434: SYNTAX StorageType
435: MAX-ACCESS read-create
436: STATUS current
437: DESCRIPTION
438: "Indicates the storage type of this row."
439: ::= { pwVcEnetMplsPriMappingTableEntry 3 }
439: minor error -
scalar object must not have a `read-create' access value
440:
441:
442: --
443: -- Ethernet PW Statistics Table
444: --
445:
446: pwVcEnetStatsTable OBJECT-TYPE
447: SYNTAX SEQUENCE OF PwVcEnetStatsEntry
448: MAX-ACCESS not-accessible
449: STATUS current
450: DESCRIPTION
451: "This table contains statistical counters specific for
452: Ethernet PW."
453: ::= { pwVcEnetObjects 3 }
454:
455: pwVcEnetStatsEntry OBJECT-TYPE
456: SYNTAX PwVcEnetStatsEntry
457: MAX-ACCESS not-accessible
458: STATUS current
459: DESCRIPTION
460: "Each entry represents the statistics gathered for the
461: PW carrying the Ethernet packets since this PW was
462: first created in the pwVcEnetTable."
463: INDEX { pwVcIndex }
464: ::= { pwVcEnetStatsTable 1 }
465:
466: PwVcEnetStatsEntry ::= SEQUENCE {
467: pwVcEnetStatsIllegalVlan Counter64,
468: pwVcEnetStatsIllegalLength Counter64
469: }
470:
471: pwVcEnetStatsIllegalVlan OBJECT-TYPE
472: SYNTAX Counter64
473: Ethernet Pseudo Wire (PW) December 2003
473: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting STATUS
474: Management Information Base
475:
476:
477: MAX-ACCESS read-write
478: STATUS current
479: DESCRIPTION
480: "The number of packets received (from the PSN) on this PW with
481: an illegal VLAN field, missing VLAN field that was expected, or
482: A VLAN field when it was not expected. This counter is not
483: relevant if the PW type is 'ethernet' (i.e. raw mode), and
484: should be set to 0 by the agent to indicate this."
485: ::= { pwVcEnetStatsEntry 1 }
485: warning -
warning: flushing recent incorrect declaration, see previous error(s)
486:
487: pwVcEnetStatsIllegalLength OBJECT-TYPE
488: SYNTAX Counter64
489: MAX-ACCESS read-write
490: STATUS current
491: DESCRIPTION
492: "The number of packets that were received with an illegal
493: Ethernet packet length on this PW. An illegal length is defined
494: as being greater than the value in the advertised maximum MTU
495: supported, or shorter than the allowed Ethernet packet size."
496: ::= { pwVcEnetStatsEntry 2 }
497:
498: ---
499: --- Conformance description
500: --- In this version of the draft, only objects level conformance is
501: --- defined. More detailed conformance specifications is FFS.
502: ---
503:
504: pwVcEnetGroups OBJECT IDENTIFIER ::= { pwVcEnetConformance 1 }
505: pwVcEnetCompliances OBJECT IDENTIFIER ::= { pwVcEnetConformance 2 }
506:
507:
508: pwVcEnetModuleCompliance MODULE-COMPLIANCE
509: STATUS current
510: DESCRIPTION
511: "The compliance statement for agent that support
512: Ethernet PW."
513:
514: MODULE -- this module
515: MANDATORY-GROUPS { pwVcEnetGroup,
516: pwVcStatsGroup
517: }
518:
519: GROUP pwVcEnetMplsPriGroup
520: DESCRIPTION
521: "Collection of objects defining classification to
522: different PW based on the user's PRI bits mapping.
523: This group is optional, and should be implemented
524: only for MPLS PSN where only L-LSP or single OA
525: E-LSP, exists, and different PSN COS is required
526: based on the PRI mapping."
527: Ethernet Pseudo Wire (PW) December 2003
527: severe -
syntax error, unexpected UPPERCASE_IDENTIFIER, expecting COLON_COLON_EQUAL
528: Management Information Base
529:
530:
531: ::= { pwVcEnetCompliances 1 }
531: warning -
warning: flushing recent incorrect declaration, see previous error(s)
532:
533: -- Units of conformance.
534:
535: pwVcEnetGroup OBJECT-GROUP
536: OBJECTS {
537: pwVcEnetVlanMode,
538: pwVcEnetPortVlan,
539: pwVcEnetPortIfIndex,
540: pwVcEnetVcIfIndex,
541: pwVcEnetFragSize,
542: pwVcEnetCwStatus,
543: pwVcEnetRowStatus,
544: pwVcEnetStorageType
545: }
546: STATUS current
547: DESCRIPTION
548: "Collection of objects for basic Ethernet PW config."
549: ::= { pwVcEnetGroups 1 }
550:
551: pwVcStatsGroup OBJECT-GROUP
552: OBJECTS {
553: pwVcEnetStatsIllegalVlan,
554: pwVcEnetStatsIllegalLength
555: }
556: STATUS current
557: DESCRIPTION
558: "Collection of objects counting various PW level errors."
559: ::= { pwVcEnetGroups 2 }
560:
561: pwVcEnetMplsPriGroup OBJECT-GROUP
562: OBJECTS {
563: pwVcEnetMplsPriMapping,
564: pwVcEnetMplsPriMappingRowStatus,
565: pwVcEnetMplsPriMappingStorageType
566: }
567: STATUS current
568: DESCRIPTION
569: "Collection of objects defining classification to
570: different PW based on the user's PRI bits mapping.
571: This group is optional, and should be implemented
572: only for MPLS PSN where only L-LSP or single OA
573: E-LSP exists, and different PSN COS is required
574: based on the PRI mapping."
575: ::= { pwVcEnetGroups 3 }
576:
577: END
578:
579: --
580: -- Copyright (C) The Internet Society (2000). All Rights Reserved.
581: --
582: -- This document and translations of it may be copied and furnished to
583: -- others, and derivative works that comment on or otherwise explain it
584: -- or assist in its implementation may be prepared, copied, published
585: -- and distributed, in whole or in part, without restriction of any
586: -- kind, provided that the above copyright notice and this paragraph
587: -- are included on all such copies and derivative works. However, this
588: -- document itself may not be modified in any way, such as by removing
589: -- the copyright notice or references to the Internet Society or other
590: -- Internet organizations, except as needed for the purpose of
591: -- developing Internet standards in which case the procedures for
592: -- copyrights defined in the Internet Standards process must be
593: -- Management Information Base
594: --
595: --
596: -- followed, or as required to translate it into languages other than
597: -- English.
598: --
599: -- The limited permissions granted above are perpetual and will not be
600: -- revoked by the Internet Society or its successors or assigns. This
601: -- document and the information contained herein is provided on an "AS
602: -- IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK
603: -- FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
604: -- NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN
605: -- WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
606: -- MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
607: