smilint output for ./RS-232-MIB


Message Severities
SeverityCount
minor error1
change recommended2
warning10
Message Types
TypeCount
group-unref (warning)1
hyphen-in-label (change recommended)2
import-unused (warning)1
index-element-accessible (warning)7
integer-misuse (warning)1
revision-missing (minor error)1

Messages:

RS-232-MIB

   1: -- extracted from rfc1659.txt
   2: -- at Mon Nov 15 17:11:52 1999
   3: 
   4:    RS-232-MIB DEFINITIONS ::= BEGIN
   5: 
   6:    IMPORTS
   7:        MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
   7: warning - warning: identifier `NOTIFICATION-TYPE' imported from module `SNMPv2-SMI' is never used
   8:        Counter32, Integer32
   9:            FROM SNMPv2-SMI
  10:        InterfaceIndex
  11:            FROM IF-MIB
  12:        transmission
  13:            FROM RFC1213-MIB
  14:        MODULE-COMPLIANCE, OBJECT-GROUP
  15:            FROM SNMPv2-CONF;
  16: 
  17: 
  18:    rs232 MODULE-IDENTITY
  19:        LAST-UPDATED "9405261700Z"
  20:        ORGANIZATION "IETF Character MIB Working Group"
  21:        CONTACT-INFO
  22:                "        Bob Stewart
  23:                 Postal: Xyplex, Inc.
  24:                         295 Foster Street
  25:                         Littleton, MA 01460
  26: 
  27:                    Tel: 508-952-4816
  28:                    Fax: 508-952-4887
  29:                 E-mail: rlstewart@eng.xyplex.com"
  30:        DESCRIPTION
  31:                "The MIB module for RS-232-like hardware devices."
  32:        ::= { transmission 33 }
  32: minor error - revision for last update is missing
  33: 
  34: 
  35:    -- Generic RS-232-like information
...
  57: 
  58:    rs232PortEntry OBJECT-TYPE
  58: warning - warning: index element `rs232PortIndex' of row `rs232PortEntry' should be not-accessible in SMIv2 MIB
  59:        SYNTAX Rs232PortEntry
  60:        MAX-ACCESS not-accessible
  61:        STATUS current
  62:        DESCRIPTION
  63:            "Status and parameter values for a port."
  64:        INDEX { rs232PortIndex }
  65:        ::= { rs232PortTable 1 }
  66: 
  67:    Rs232PortEntry ::=
  68:        SEQUENCE {
  69:            rs232PortIndex
  70:                InterfaceIndex,
  71:            rs232PortType
  72:                INTEGER,
  73:            rs232PortInSigNumber
  74:                Integer32,
  75:            rs232PortOutSigNumber
  76:                Integer32,
  77:            rs232PortInSpeed
  78:                Integer32,
  79:            rs232PortOutSpeed
  80:                Integer32,
  81:            rs232PortInFlowType
  82:                INTEGER,
  83:            rs232PortOutFlowType
  84:                INTEGER
  85:        }
...
 183: 
 184:    rs232AsyncPortEntry OBJECT-TYPE
 184: warning - warning: index element `rs232AsyncPortIndex' of row `rs232AsyncPortEntry' should be not-accessible in SMIv2 MIB
 185:        SYNTAX Rs232AsyncPortEntry
 186:        MAX-ACCESS not-accessible
 187:        STATUS current
 188:        DESCRIPTION
 189:            "Status and parameter values for an asynchronous
 190:            port."
 191:        INDEX { rs232AsyncPortIndex }
 192:        ::= { rs232AsyncPortTable 1 }
 193: 
 194:    Rs232AsyncPortEntry ::=
 195:        SEQUENCE {
 196:            rs232AsyncPortIndex
 197:                InterfaceIndex,
 198:            rs232AsyncPortBits
 199:                INTEGER,
 200:            rs232AsyncPortStopBits
 201:                INTEGER,
 202:            rs232AsyncPortParity
 203:                INTEGER,
 204:            rs232AsyncPortAutobaud
 205:                INTEGER,
 206:            rs232AsyncPortParityErrs
 207:                Counter32,
 208:            rs232AsyncPortFramingErrs
 209:                Counter32,
 210:            rs232AsyncPortOverrunErrs
 211:                Counter32
 212: 
 213:        }
...
 223: 
 224:    rs232AsyncPortBits OBJECT-TYPE
 225:        SYNTAX INTEGER (5..8)
 225: warning - warning: use Integer32 instead of INTEGER in SMIv2
 226:        MAX-ACCESS read-write
 227:        STATUS current
 228:        DESCRIPTION
 229:            "The port's number of bits in a character."
 230:        ::= { rs232AsyncPortEntry 2 }
...
 306: 
 307:    rs232SyncPortEntry OBJECT-TYPE
 307: warning - warning: index element `rs232SyncPortIndex' of row `rs232SyncPortEntry' should be not-accessible in SMIv2 MIB
 308:        SYNTAX Rs232SyncPortEntry
 309:        MAX-ACCESS not-accessible
 310:        STATUS current
 311:        DESCRIPTION
 312:            "Status and parameter values for a synchronous
 313:            port."
 314:        INDEX { rs232SyncPortIndex }
 315:        ::= { rs232SyncPortTable 1 }
 316: 
 317:    Rs232SyncPortEntry ::=
 318:        SEQUENCE {
 319:            rs232SyncPortIndex
 320:                InterfaceIndex,
 321:            rs232SyncPortClockSource
 322:                INTEGER,
 323:            rs232SyncPortFrameCheckErrs
 324:                Counter32,
 325:            rs232SyncPortTransmitUnderrunErrs
 326:                Counter32,
 327:            rs232SyncPortReceiveOverrunErrs
 328:                Counter32,
 329:            rs232SyncPortInterruptedFrames
 330:                Counter32,
 331:            rs232SyncPortAbortedFrames
 332:                Counter32,
 333:            rs232SyncPortRole
 334:                INTEGER,
 335:            rs232SyncPortEncoding
 336:                INTEGER,
 337:            rs232SyncPortRTSControl
 338:                INTEGER,
 339:            rs232SyncPortRTSCTSDelay
 340:                Integer32,
 341:            rs232SyncPortMode
 342:                INTEGER,
 343:            rs232SyncPortIdlePattern
 344:                INTEGER,
 345:            rs232SyncPortMinFlags
 346:                Integer32
 347:        }
...
 490: 
 491:    rs232SyncPortMode OBJECT-TYPE
 492:        SYNTAX INTEGER  { fdx(1), hdx(2), simplex-receive(3),
 492: change recommended - warning: named number `simplex-receive' must not include a hyphen in SMIv2
 493:                          simplex-send(4) }
 493: change recommended - warning: named number `simplex-send' must not include a hyphen in SMIv2
 494:        MAX-ACCESS read-write
 495:        STATUS current
 496:        DESCRIPTION
 497:            "The mode of operation of the port with respect to the
 498:             direction and simultaneity of data transfer.
 499:               fdx              when frames on the data link can be
 500:                                transmitted and received at the same
 501:                                time
 502: 
 503:               hdx              when frames can either be received
 504:                                from the data link or transmitted
 505:                                onto the data link but not at the
 506:                                same time.
 507: 
 508:               simplex-receive  when frames can only be received on
 509:                                this data link.
 510: 
 511:               simplex-send     when frames can only be sent on this
 512:                                data link."
 513:        DEFVAL { fdx }
 514:        ::= { rs232SyncPortEntry 12 }
...
 548: 
 549:    rs232InSigEntry OBJECT-TYPE
 549: warning - warning: index element `rs232InSigPortIndex' of row `rs232InSigEntry' should be not-accessible in SMIv2 MIB
 549: warning - warning: index element `rs232InSigName' of row `rs232InSigEntry' should be not-accessible in SMIv2 MIB
 550:        SYNTAX Rs232InSigEntry
 551:        MAX-ACCESS not-accessible
 552:        STATUS current
 553:        DESCRIPTION
 554:            "Input control signal status for a hardware port."
 555:        INDEX { rs232InSigPortIndex, rs232InSigName }
 556:        ::= { rs232InSigTable 1 }
 557: 
 558:    Rs232InSigEntry ::=
 559:        SEQUENCE {
 560:            rs232InSigPortIndex
 561:                InterfaceIndex,
 562:            rs232InSigName
 563:                INTEGER,
 564:            rs232InSigState
 565:                INTEGER,
 566:            rs232InSigChanges
 567:                Counter32
 568:        }
...
 633: 
 634:    rs232OutSigEntry OBJECT-TYPE
 634: warning - warning: index element `rs232OutSigPortIndex' of row `rs232OutSigEntry' should be not-accessible in SMIv2 MIB
 634: warning - warning: index element `rs232OutSigName' of row `rs232OutSigEntry' should be not-accessible in SMIv2 MIB
 635:        SYNTAX Rs232OutSigEntry
 636:        MAX-ACCESS not-accessible
 637:        STATUS current
 638:        DESCRIPTION
 639:            "Output control signal status for a hardware port."
 640:        INDEX { rs232OutSigPortIndex, rs232OutSigName }
 641:        ::= { rs232OutSigTable 1 }
 642: 
 643:    Rs232OutSigEntry ::=
 644:        SEQUENCE {
 645:            rs232OutSigPortIndex
 646:                InterfaceIndex,
 647:            rs232OutSigName
 648:                INTEGER,
 649:            rs232OutSigState
 650:                INTEGER,
 651:            rs232OutSigChanges
 652:                Counter32
 653:        }
...
 779: 
 780:    rs232SyncSDLCGroup OBJECT-GROUP
 780: warning - warning: current group `rs232SyncSDLCGroup' is not referenced in this module
 781:        OBJECTS { rs232SyncPortRole,
 782:                  rs232SyncPortEncoding,
 783:                  rs232SyncPortRTSControl,
 784:                  rs232SyncPortRTSCTSDelay,
 785:                  rs232SyncPortMode,
 786:                  rs232SyncPortIdlePattern,
 787:                  rs232SyncPortMinFlags }
 788:        STATUS  current
 789:        DESCRIPTION
 790:                "A collection of objects providing information
 791:                 applicable to synchronous RS-232-like interfaces
 792:                 running SDLC."
 793:        ::= { rs232Groups 4 }
 794: 
 795:    END