smilint output for ./RFC1318-MIB


Message Severities
SeverityCount
error3
Message Types
TypeCount
index-element-no-range (error)3

Messages:

RFC1318-MIB

   1: -- extracted from rfc1318.txt
   2: -- at Mon Nov 15 17:11:58 1999
   3: 
   4:                     RFC1318-MIB DEFINITIONS ::= BEGIN
   5: 
   6:                     IMPORTS
   7:                             Counter
   8:                                     FROM RFC1155-SMI
   9:                             transmission
  10:                                     FROM RFC1213-MIB
  11:                             OBJECT-TYPE
  12:                                     FROM RFC-1212;
  13: 
  14:             -- this is the MIB module for Parallel-printer-like
  15:             -- hardware devices
  16: 
  17:             para    OBJECT IDENTIFIER ::= { transmission 34 }
  18: 
  19:             -- the generic Parallel-printer-like group
  20: 
  21:             -- Implementation of this group is mandatory for all
  22:             -- systems that have Parallel-printer-like hardware
  23:             -- ports supporting higher level services such as
  24:             -- character streams
  25: 
  26:             paraNumber OBJECT-TYPE
  27:                 SYNTAX INTEGER
  28:                 ACCESS read-only
  29:                 STATUS mandatory
  30:                 DESCRIPTION
  31:                     "The number of ports (regardless of their current
  32:                     state) in the Parallel-printer-like port table."
  33:                 ::= { para 1 }
  34: 
  35: 
  36:             -- the Parallel-printer-like Port table
  37: 
  38:             paraPortTable OBJECT-TYPE
  39:                 SYNTAX SEQUENCE OF ParaPortEntry
  40:                 ACCESS not-accessible
  41:                 STATUS mandatory
  42:                 DESCRIPTION
  43:                     "A list of port entries.  The number of entries is
  44:                     given by the value of paraNumber."
  45:                 ::= { para 2 }
  46: 
  47:             paraPortEntry OBJECT-TYPE
  48:                 SYNTAX ParaPortEntry
  49:                 ACCESS not-accessible
  50:                 STATUS mandatory
  51:                 DESCRIPTION
  52:                     "Status and parameter values for a port."
  53:                 INDEX { paraPortIndex }
  54:                 ::= { paraPortTable 1 }
  55: 
  56:             ParaPortEntry ::=
  57:                 SEQUENCE {
  58:                     paraPortIndex
  59:                         INTEGER,
  60:                     paraPortType
  61:                         INTEGER,
  62:                     paraPortInSigNumber
  63:                         INTEGER,
  64:                     paraPortOutSigNumber
  65:                         INTEGER
  66:                 }
  67: 
  68:             paraPortIndex OBJECT-TYPE
  68: error - index element `paraPortIndex' of row `paraPortEntry' must have a range restriction
  69:                 SYNTAX INTEGER
  70:                 ACCESS read-only
  71:                 STATUS mandatory
  72:                 DESCRIPTION
  73:                     "A unique value for each port.  Its value ranges
  74:                     between 1 and the value of paraNumber.  By
  75:                     convention and if possible, hardware port numbers
  76:                     map directly to external connectors.  The value for
  77:                     each port must remain constant at least from one
  78:                     re-initialization of the network management agent to
  79:                     the next."
  80:                 ::= { paraPortEntry 1 }
  81: 
  82:             paraPortType OBJECT-TYPE
  83:                 SYNTAX INTEGER {
  84:                     other(1),
  85:                     centronics(2),
  86:                     dataproducts(3)
  87:                 }
  88:                 ACCESS read-only
  89:                 STATUS mandatory
  90:                 DESCRIPTION
  91:                     "The port's hardware type."
  92:                 ::= { paraPortEntry 2 }
  93: 
  94:             paraPortInSigNumber OBJECT-TYPE
  95:                 SYNTAX INTEGER
  96:                 ACCESS read-only
  97:                 STATUS mandatory
  98:                 DESCRIPTION
  99:                     "The number of input signals for the port in the
 100:                     input signal table (paraPortInSigTable).  The table
 101:                     contains entries only for those signals the software
 102:                     can detect."
 103:                 ::= { paraPortEntry 3 }
 104: 
 105:             paraPortOutSigNumber OBJECT-TYPE
 106:                 SYNTAX INTEGER
 107:                 ACCESS read-only
 108:                 STATUS mandatory
 109:                 DESCRIPTION
 110:                     "The number of output signals for the port in the
 111:                     output signal table (paraPortOutSigTable).  The
 112:                     table contains entries only for those signals the
 113:                     software can assert."
 114:                 ::= { paraPortEntry 4 }
 115: 
 116: 
 117:             -- the Input Signal table
 118: 
 119:             paraInSigTable OBJECT-TYPE
 120:                 SYNTAX SEQUENCE OF ParaInSigEntry
 121:                 ACCESS not-accessible
 122:                 STATUS mandatory
 123:                 DESCRIPTION
 124:                     "A list of port input control signal entries."
 125:                 ::= { para 3 }
 126: 
 127:             paraInSigEntry OBJECT-TYPE
 128:                 SYNTAX ParaInSigEntry
 129:                 ACCESS not-accessible
 130:                 STATUS mandatory
 131:                 DESCRIPTION
 132:                     "Input control signal status for a hardware port."
 133:                 INDEX { paraInSigPortIndex, paraInSigName }
 134:                 ::= { paraInSigTable 1 }
 135: 
 136:             ParaInSigEntry ::=
 137:                 SEQUENCE {
 138:                     paraInSigPortIndex
 139:                         INTEGER,
 140:                     paraInSigName
 141:                         INTEGER,
 142:                     paraInSigState
 143:                         INTEGER,
 144:                     paraInSigChanges
 145:                         Counter
 146:                 }
 147: 
 148:             paraInSigPortIndex OBJECT-TYPE
 148: error - index element `paraInSigPortIndex' of row `paraInSigEntry' must have a range restriction
 149:                 SYNTAX INTEGER
 150:                 ACCESS read-only
 151:                 STATUS mandatory
 152:                 DESCRIPTION
 153:                     "The value of paraPortIndex for the port to which
 154:                     this entry belongs."
 155:                 ::= { paraInSigEntry 1 }
 156: 
 157:             paraInSigName OBJECT-TYPE
 158:                 SYNTAX INTEGER { power(1), online(2), busy(3),
 159:                                  paperout(4), fault(5) }
 160:                 ACCESS read-only
 161:                 STATUS mandatory
 162:                 DESCRIPTION
 163:                     "Identification of a hardware signal."
 164:                 ::= { paraInSigEntry 2 }
 165: 
 166:             paraInSigState OBJECT-TYPE
 167:                 SYNTAX INTEGER { none(1), on(2), off(3) }
 168:                 ACCESS read-only
 169:                 STATUS mandatory
 170:                 DESCRIPTION
 171:                     "The current signal state."
 172:                 ::= { paraInSigEntry 3 }
 173: 
 174:             paraInSigChanges OBJECT-TYPE
 175:                 SYNTAX Counter
 176:                 ACCESS read-only
 177:                 STATUS mandatory
 178:                 DESCRIPTION
 179:                     "The number of times the signal has changed from
 180:                     'on' to 'off' or from 'off' to 'on'."
 181:                 ::= { paraInSigEntry 4 }
 182: 
 183: 
 184:             -- the Output Signal table
 185: 
 186:             paraOutSigTable OBJECT-TYPE
 187:                 SYNTAX SEQUENCE OF ParaOutSigEntry
 188:                 ACCESS not-accessible
 189:                 STATUS mandatory
 190:                 DESCRIPTION
 191:                     "A list of port output control signal entries."
 192:                 ::= { para 4 }
 193: 
 194:             paraOutSigEntry OBJECT-TYPE
 195:                 SYNTAX ParaOutSigEntry
 196:                 ACCESS not-accessible
 197:                 STATUS mandatory
 198:                 DESCRIPTION
 199:                     "Output control signal status for a hardware port."
 200:                 INDEX { paraOutSigPortIndex, paraOutSigName }
 201:                 ::= { paraOutSigTable 1 }
 202: 
 203:             ParaOutSigEntry ::=
 204:                 SEQUENCE {
 205:                     paraOutSigPortIndex
 206:                         INTEGER,
 207:                     paraOutSigName
 208:                         INTEGER,
 209:                     paraOutSigState
 210:                         INTEGER,
 211:                     paraOutSigChanges
 212:                         Counter
 213:                 }
 214: 
 215:             paraOutSigPortIndex OBJECT-TYPE
 215: error - index element `paraOutSigPortIndex' of row `paraOutSigEntry' must have a range restriction
 216:                 SYNTAX INTEGER
 217:                 ACCESS read-only
 218:                 STATUS mandatory
 219:                 DESCRIPTION
 220:                     "The value of paraPortIndex for the port to which
 221:                     this entry belongs."
 222:                 ::= { paraOutSigEntry 1 }
 223: 
 224:             paraOutSigName OBJECT-TYPE
 225:                 SYNTAX INTEGER { power(1), online(2), busy(3),
 226:                                  paperout(4), fault(5) }
 227:                 ACCESS read-only
 228:                 STATUS mandatory
 229:                 DESCRIPTION
 230:                     "Identification of a hardware signal."
 231:                 ::= { paraOutSigEntry 2 }
 232: 
 233:             paraOutSigState OBJECT-TYPE
 234:                 SYNTAX INTEGER { none(1), on(2), off(3) }
 235:                 ACCESS read-only
 236:                 STATUS mandatory
 237:                 DESCRIPTION
 238:                     "The current signal state."
 239:                 ::= { paraOutSigEntry 3 }
 240: 
 241:             paraOutSigChanges OBJECT-TYPE
 242:                 SYNTAX Counter
 243:                 ACCESS read-only
 244:                 STATUS mandatory
 245:                 DESCRIPTION
 246:                     "The number of times the signal has changed from
 247:                     'on' to 'off' or from 'off' to 'on'."
 248:                 ::= { paraOutSigEntry 4 }
 249: 
 250:             END