smilint output for ./PW-GEN-IP-DRAFT-00-MIB


Message Severities
SeverityCount
error2
warning4
Message Types
TypeCount
bad-identifier-case (error)1
import-unused (warning)4
object-identifier-not-prefix (error)1

Messages:

PW-GEN-IP-DRAFT-00-MIB

   1: -- extracted from draft-nadeau-l2tpext-pw-l2tpv3-mib-01.txt
   2: -- at Sat Jun 30 06:08:28 2007
   3: 
   4:   PW-GEN-IP-DRAFT-00-MIB DEFINITIONS ::= BEGIN
   5: 
   6:   IMPORTS  
   7:      MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, transmission  
   8:         FROM SNMPv2-SMI                   -- [RFC2578] 
   9: 
  10:      MODULE-COMPLIANCE, OBJECT-GROUP  
  11:         FROM SNMPv2-CONF                  -- [RFC2580]  
  12: 
  13:      StorageType, RowStatus  
  13: warning - warning: identifier `StorageType' imported from module `SNMPv2-TC' is never used
  13: warning -
warning: identifier `RowStatus' imported from module `SNMPv2-TC' is never used
  14:         FROM SNMPv2-TC                    -- [RFC2579] 
  15: 
  16:      InterfaceIndexOrZero  
  16: warning - warning: identifier `InterfaceIndexOrZero' imported from module `IF-MIB' is never used
  17:         FROM IF-MIB                       -- [RFC2863] 
  18: 
  19:      SnmpAdminString
  19: warning - warning: identifier `SnmpAdminString' imported from module `SNMP-FRAMEWORK-MIB' is never used
  20:         FROM SNMP-FRAMEWORK-MIB
  21: 
  22:      InetAddress, InetAddressType
  23:         FROM INET-ADDRESS-MIB              -- [RFC4001]
  24: 
  25:      pwIndex                               -- [RFCxxxx] 
  26:   -- RFC Editor: Please replace XXXX with RFC number & remove this 
  27:   -- note.  
  28:         FROM PW-STD-MIB  
  29: 
  30:   ;  
  31: 
  32:   pwGenIpDraft00MIB MODULE-IDENTITY  
  33:      LAST-UPDATED "200702011200Z"  -- 01 Feb 2007 12:00:00 GMT
  34:      ORGANIZATION    "IETF L2TP Working Group"
  35:      CONTACT-INFO
  36:                "Layer Two Tunneling Protocol Extensions WG
  37:                 Working Group Area:        Internet
  38:                 Working Group Name:        l2tpext
  39:                 General Discussion:        l2tp@l2tp.net"
  40: 
  41:      DESCRIPTION  
  42:          "This MIB module complements the PW-STD-MIB module for PW   
  43:           operation over IP.  
  44: 
  45:          Copyright (C) The Internet Society (2006).  This version  
  46:          of this MIB module is part of RFC yyyy;  see the RFC  
  47:          itself for full legal notices.  
  48:          -- RFC Ed.: replace yyyy with actual RFC number & remove  
  49:          -- this note  
  50:          "        
  51:      -- Revision history.  
  52:       REVISION       "200702011200Z"  -- 01 Feb 2007 12:00:00 GMT
  53:       DESCRIPTION  
  54:           " First published as RFCWXYZ. "  
  55:   -- RFC Editor: Please replace WXYZ with correct # and remove this 
  56:   -- note 
  57: 
  58:     ::= { transmission XXX } 
  58: error - `XXX' should start with a lower case letter
  58: error - Object identifier element `XXX' name only allowed as first element
  59:   -- RFC Editor: To be assigned by IANA. Please replace XXX 
  60:   -- with the assigned value and remove this note. 
  61: 
  62:   -- Top-level components of this MIB.  
  63: 
  64:                      
  65: 
  66:    -- Notifications  
  67:    pwGenIpNotifications OBJECT IDENTIFIER   
  68:                                  ::= { pwGenIpDraft00MIB 0 }  
  69: 
  70:   -- Tables, Scalars  
  71:   pwGenIpObjects       OBJECT IDENTIFIER  
  72:                                 ::= { pwGenIpDraft00MIB 1 }  
  73:   -- Conformance  
  74:   pwGenIpConformance   OBJECT IDENTIFIER   
  75:                                 ::= { pwGenIpDraft00MIB 2 }  
  76: 
  77:    
  78:   -- PW IP table  
  79: 
  80:   pwGenIpTable   OBJECT-TYPE  
  81:      SYNTAX        SEQUENCE OF PwGenIpEntry  
  82:      MAX-ACCESS    not-accessible  
  83:      STATUS        current  
  84:      DESCRIPTION  
  85:          "This table contains the Pseudo wire objects for 
  86:           Generic IP PSN type."
  87:      ::= { pwGenIpObjects 2 }  
  88: 
  89: pwGenIpEntry   OBJECT-TYPE  
  90:      SYNTAX        PwGenIpEntry  
  91:      MAX-ACCESS    not-accessible  
  92:      STATUS        current  
  93:      DESCRIPTION  
  94:           "A row in this table represents Generic parameters 
  95:            specific to pseudo wire (PW) over IP PSN . 
  96: 
  97:            A row MUST be created automatically by the local agent 
  98:            for every entry in the pwTable if the pwPsnType is   
  99:            udpOverIp. Each entry is indexed by pwIndex, which uniquely
 100: 
 101:            identifies a singular PW.
 102:           "  
 103:      INDEX  { pwIndex }  
 104: 
 105:         ::= { pwGenIpTable 1 }  
 106: 
 107:   PwGenIpEntry ::= SEQUENCE {  
 108:         pwGenSourceIpAddressType        InetAddressType,
 109:         pwGenSourceIpAddress            InetAddress,
 110:         pwGenIpTos                      Unsigned32,
 111:         pwGenIpTosDropPrecedence        Unsigned32
 112:      }  
 113: 
 114: 
 115:   pwGenSourceIpAddressType OBJECT-TYPE
 116:      SYNTAX InetAddressType
 117:      MAX-ACCESS read-write
 118:      STATUS current
 119:      DESCRIPTION
 120:          "This object indicates the type of IP address stored in
 121:           pwGenSourceIpAddress."
 122:      ::= { pwGenIpEntry 1  }
 123: 
 124: 
 125:   pwGenSourceIpAddress OBJECT-TYPE
 126:      SYNTAX InetAddress
 127:      MAX-ACCESS read-write
 128:      STATUS current
 129:      DESCRIPTION
 130:          "This object indicates source IP Address for PW having 
 131:           pwPsnType= udpOverIp (3)"
 132:      ::= { pwGenIpEntry 2  }
 133: 
 134:   pwGenIpTos OBJECT-TYPE
 135:      SYNTAX Unsigned32 
 136:      MAX-ACCESS read-write
 137:      STATUS current
 138:      DESCRIPTION
 139:          "This object indicates TOS field value for PW having 
 140:           pwPsnType= udpOverIp (3), IP precedence (bits 0-2 in IP 
 141:           TOS byte),DSCP (bits 0-5 in IP TOS byte)."
 142:      ::= { pwGenIpEntry 3  }
 143: 
 144:    pwGenIpTosDropPrecedence   OBJECT-TYPE
 145:        SYNTAX Unsigned32 
 146:        MAX-ACCESS read-write
 147:        STATUS current
 148:        DESCRIPTION
 149:            "In implementations that support two level of drop
 150:             precedence marking, this object defines the DSCP 
 151:             or TOS field to be used for packets with higher drop 
 152:             precedence compared to packets marked with pwGenIpTos, 
 153:             otherwise this object should return the the value equal 
 154:             to pwGenIpTos ."
 155: 
 156:       ::= { pwGenIpEntry 4 }
 157: 
 158:   -- End of PW IP table  
 159: 
 160: 
 161: 
 162:   -- conformance information  
 163: 
 164:   pwGenIpGroups      OBJECT IDENTIFIER ::= { pwGenIpConformance 1 }  
 165:   pwGenIpCompliances OBJECT IDENTIFIER ::= { pwGenIpConformance 2 }  
 166: 
 167:   -- Compliance requirement for fully compliant implementations.  
 168: 
 169:   pwGenIpModuleFullCompliance MODULE-COMPLIANCE  
 170:       STATUS  current  
 171:       DESCRIPTION  
 172:               "The compliance statement for agents that provide full  
 173:                support for PW-IP MIB Module. Such devices can  
 174:                then be monitored and also be configured using  
 175:                this MIB module."  
 176: 
 177:      MODULE  -- this module  
 178:      MANDATORY-GROUPS { pwGenIpGroup
 179:                        }  
 180: 
 181:       ::= { pwGenIpCompliances 1 }  
 182: 
 183:   -- Compliance requirement for Read Only compliant implementations.  
 184: 
 185:   pwGenIpModuleReadOnlyCompliance MODULE-COMPLIANCE  
 186:       STATUS  current  
 187:       DESCRIPTION  
 188:               "The compliance statement for agents that provide read  
 189:                only support for PW-IP MIB Module. Such devices can  
 190:                then be monitored but cannot be configured using this  
 191:                MIB module."  
 192: 
 193:                      
 194: 
 195:      MODULE  -- this module  
 196:      MANDATORY-GROUPS { pwGenIpGroup 
 197:                        }  
 198: 
 199: 
 200:       ::= { pwGenIpCompliances 2 }  
 201: 
 202:   -- Units of conformance.  
 203: 
 204:   pwGenIpGroup OBJECT-GROUP   
 205:      OBJECTS {  
 206:         pwGenSourceIpAddressType,
 207:         pwGenSourceIpAddress,
 208:         pwGenIpTos,
 209:         pwGenIpTosDropPrecedence
 210:             }  
 211:      STATUS  current  
 212:      DESCRIPTION  
 213:          "Collection of objects needed for PW over IP PSN   
 214:           configuration."  
 215:      ::= { pwGenIpGroups 1 }  
 216: 
 217:                      
 218: END
 219: 
 220: -- 
 221: --    Copyright (C) The IETF Trust (2007).
 222: -- 
 223: --    This document is subject to the rights, licenses and restrictions
 224: --    contained in BCP 78, and except as set forth therein, the authors
 225: --    retain all their rights.
 226: -- 
 227: --    This document and the information contained herein are provided on an
 228: --    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE  
 229: --    REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE
 230: --    IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL
 231: --    WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
 232: --    WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE
 233: --    ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS
 234: --    FOR A PARTICULAR PURPOSE.
 235: -- 
 236: -- 
 237: -- 12 Intellectual Property Notice 
 238: --    
 239: --    The IETF takes no position regarding the validity or scope of any
 240: --    Intellectual Property Rights or other rights that might be claimed to
 241: --    pertain to the implementation or use of the technology described in
 242: --    this document or the extent to which any license under such rights
 243: --    might or might not be available; nor does it represent that it has
 244: --    made any independent effort to identify any such rights. Information
 245: --    on the procedures with respect to rights in RFC documents can be
 246: --    found in BCP 78 and BCP 79.
 247: --    Copies of IPR disclosures made to the IETF Secretariat and any
 248: --    assurances of licenses to be made available, or the result of an
 249: --    attempt made to obtain a general license or permission for the use 
 250: --    of such proprietary rights by implementers or users of this
 251: --    specification can be obtained from the IETF on-line IPR repository
 252: --    at http://www.ietf.org/ipr.
 253: -- 
 254: --    The IETF invites any interested party to bring to its attention any
 255: --    copyrights, patents or patent applications, or other proprietary
 256: --    rights that may cover technology that may be required to implement
 257: --    this standard. Please address the information to the IETF at ietf-
 258: --    ipr@ietf.org.
 259: -- 
 260: -- Disclaimer of Validity
 261: -- 
 262: --    This document and the information contained herein are provided
 263: --    on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE
 264: --    REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE
 265: --    IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL
 266: --    WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
 267: --    WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE
 268: --    ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS
 269: --    FOR A PARTICULAR PURPOSE.
 270: