smilint output for ./FRCI-MIB


Message Severities
SeverityCount
error1
minor error1
warning1
Message Types
TypeCount
index-element-no-size (minor error)1
index-exceeds-too-large (warning)1
object-identifier-not-prefix (error)1

Messages:

FRCI-MIB

   1: -- extracted from draft-steinberger-frsi-00.txt
   2: -- at Sat Jun 17 07:07:28 2000
   3: 
   4: FRCI-MIB DEFINITIONS ::= BEGIN
   5: 
   6: IMPORTS
   7:     MODULE-IDENTITY, OBJECT-TYPE,
   8:     mib-2                                   FROM SNMPv2-SMI
   9:     TEXTUAL-CONVENTION, RowStatus,
  10:     TimeStamp                               FROM SNMPv2-TC
  11:     MODULE-COMPLIANCE, OBJECT-GROUP         FROM SNMPv2-CONF
  12:     ifIndex, InterfaceIndex                 FROM IF-MIB;
  13: 
  14:     frciMIB MODULE-IDENTITY
  15:         LAST-UPDATED "200006161500Z" -- June 16, 2000
  16:         ORGANIZATION "IETF TBD Working Group"
  17:         CONTACT-INFO
  18:           "IETF TBD Working Group
  19: 
  20:            WG Charter:
  21:            WG-email:
  22:            Subscribe:
  23:            Email Archive:
  24: 
  25:            Chair:
  26:            Email:
  27: 
  28:            WG editor:  Robert Steinberger
  29:                        Paradyne Networks
  30:            Email:      rsteinberger@paradyne.com
  31: 
  32:            Co-author:  Orly Nicklass
  33:                        RAD Data Communications Ltd.
  34:            EMail:      Orly_n@rad.co.il"
  35:         DESCRIPTION
  36:             "The MIB module to allow insertion of selected circuit into
  37:              the ifTable."
  38:         REVISION "200006161500Z"
  39:         DESCRIPTION
  40:             "o  Original Draft"
  41:         ::= { mib-2 xxx } -- RFC editor - IANA assigns xxx
  41: error - Object identifier element `xxx' name only allowed as first element
  42: 
  43:     -- Textual Conventions
  44: 
  45:     FrciFlowDir ::= TEXTUAL-CONVENTION
  46:         STATUS  current
  47:         DESCRIPTION
  48:             "The direction of data flow thru a circuit.
  49: 
  50:                 transmit(1) - Only transmitted data
  51:                 receive(2)  - Only received data
  52:                 both(3)     - Both transmitted and received data."
  53:         SYNTAX  INTEGER {
  54:                   transmit(1),
  55:                   receive(2),
  56:                   both(3)
  57:                 }
  58: 
  59:     frciObjects      OBJECT IDENTIFIER ::= { frciMIB 1 }
  60:     frciCapabilities OBJECT IDENTIFIER ::= { frciMIB 2 }
  61:     frciConformance  OBJECT IDENTIFIER ::= { frciMIB 3 }
  62: 
  63:     -- The Frame Relay Circuit Interface Circuit Table
  64:     --
  65:     -- This table is used to define and display the frame relay
  66:     -- circuits that are added to the ifTable.  It maps circuits
  67:     -- to their respective ifIndex values.
  68: 
  69:     frciCircuitTable  OBJECT-TYPE
  70:         SYNTAX      SEQUENCE OF FrciCircuitEntry
  71:         MAX-ACCESS  not-accessible
  72:         STATUS      current
  73:         DESCRIPTION
  74:             "The Frame Relay Circuit Interface Circuit Table."
  75:         ::= { frciObjects 1 }
  76: 
  77:     frciCircuitEntry OBJECT-TYPE
  77: warning - warning: index of row `frciCircuitEntry' can exceed OID size limit by 7 subidentifier(s)
  78:         SYNTAX      FrciCircuitEntry
  79:         MAX-ACCESS  not-accessible
  80:         STATUS      current
  81:         DESCRIPTION
  82:             "An entry in the Frame Relay Circuit Interface
  83:              Circuit Table."
  84:         INDEX    { frciCircuitObject, frciCircuitFlow }
  85:         ::= { frciCircuitTable 1 }
  86: 
  87:     FrciCircuitEntry ::=
  88:         SEQUENCE {
  89:             --
  90:             -- Index Control Variables
  91:             --
  92:             frciCircuitObject      OBJECT IDENTIFIER,
  93:             frciCircuitFlow        FrciFlowDir,
  94:             frciCircuitStatus      RowStatus,
  95:             --
  96:             -- Data variables
  97:             --
  98:             frciCircuitIfIndex     InterfaceIndex,
  99:             frciCircuitCreateTime  TimeStamp
 100:         }
 101: 
 102:     frciCircuitObject OBJECT-TYPE
 102: minor error - index element `frciCircuitObject' of row `frciCircuitEntry' should but cannot have a size restriction
 103:         SYNTAX      OBJECT IDENTIFIER
 104:         MAX-ACCESS  not-accessible
 105:         STATUS      current
 106:         DESCRIPTION
 107:             "This value contains the object identifier that uniquely
 108:              describes the circuit that is to be added to this table.
 109:              The object identifier should be that of the first field
 110:              on the table that contains the circuit.  The index sub
 111:              identifiers should uniquely define the circuit.
 112: 
 113:              The purpose of this object identifier is to point a
 114:              network manager to the table in which the circuit was
 115:              created as well as define the circuit on which the
 116:              interface is defined.
 117: 
 118:              Valid tables for this object are the frCircuitTable from
 119:              the Frame Relay DTE MIB(FRAME-RELAY-DTE-MIB) or the
 120:              frPVCEndptTable from the Frame Relay Service MIB
 121:              (FRNETSERV-MIB).  However, it does not exclude enterprise
 122:              MIBs used for the same purpose."
 123:         ::= { frciCircuitEntry 1 }
 124: 
 125:     frciCircuitFlow OBJECT-TYPE
 126:         SYNTAX      FrciFlowDir
 127:         MAX-ACCESS  not-accessible
 128:         STATUS      current
 129:         DESCRIPTION
 130:             "The direction of data flow through the circuit for which
 131:              the virtual interface is defined. The following define
 132:              the information that the virtual interface will report.
 133: 
 134:                 transmit(1) - Only transmitted frames
 135:                 receive(2)  - Only received frames
 136:                 both(3)     - Both transmitted and received frames.
 137: 
 138:              The need to monitor directional flow depends on the
 139:              application for which the circuit is created.  For example,
 140:              Monitoring of protocols passed on a circuit using
 141:              RMON-II (RFC 2021) does not capture the direction the flow.
 142:              This is left to the circuit."
 143:         ::= { frciCircuitEntry 2 }
 144: 
 145:     frciCircuitStatus OBJECT-TYPE
 146:         SYNTAX      RowStatus
 147:         MAX-ACCESS  read-create
 148:         STATUS      current
 149:         DESCRIPTION
 150:             "The status of the current row.  This object is
 151:              used to add, delete, and disable rows in this
 152:              table.  When the status changes to active(1), a row
 153:              will also be added to the interface map table below
 154:              and a row will be added to the ifTable.  These rows
 155:              SHOULD not be removed until the status is changed
 156:              from active(1).  The value of ifIndex for the row that
 157:              is added to the ifTable is determined by the agent
 158:              and MUST follow the rules of the ifTable.  The value
 159:              of ifType for that interface will be <?need ifType?>.
 160: 
 161:              When this object is set to destroy(6), the associated
 162:              row in the interface map table will be removed and the
 163:              ifIndex will be removed from the ifTable.  Removing
 164:              the ifIndex MAY initiate a chain of events that causes
 165:              changes to other tables as well.
 166: 
 167:              The rows added to this table MUST have a valid object
 168:              identifier for frciCircuitObject.  This means that the
 169:              referenced object must exist and it must be in a table
 170:              that supports circuits.
 171: 
 172:              The object referenced by frciCircuitObject MUST exist
 173:              prior to transitioning a row to active(1).  If at any
 174:              point the object referenced by frciCircuitObject does not
 175:              exist or the row containing it is not in the active(1)
 176:              state, the status SHOULD report notReady(3).  The effects
 177:              transitioning from active(1) to notReady(3) are the same
 178:              as those caused by setting the status to destroy(6)."
 179:         ::= { frciCircuitEntry 3 }
 180: 
 181:     frciCircuitIfIndex OBJECT-TYPE
 182:         SYNTAX      InterfaceIndex
 183:         MAX-ACCESS  read-only
 184:         STATUS      current
 185:         DESCRIPTION
 186:             "The ifIndex that the agent assigns to this row."
 187:         ::= { frciCircuitEntry 4 }
 188: 
 189:     frciCircuitCreateTime OBJECT-TYPE
 190:         SYNTAX      TimeStamp
 191:         MAX-ACCESS  read-only
 192:         STATUS      current
 193:         DESCRIPTION
 194:             "This object returns the value of sysUpTime at the time
 195:              the value of frciCircuitStatus last transitioned to
 196:              active(1).  If frciCircuitStatus has never been active(1),
 197:              this object SHOULD return 0."
 198:         ::= { frciCircuitEntry 5 }
 199: 
 200:     -- The Frame Relay Circuit Interface Map Table
 201:     --
 202:     -- This table maps the ifIndex values that are assigned to
 203:     -- rows in the circuit table back to the objects that define
 204:     -- the circuits.
 205: 
 206:     frciIfMapTable  OBJECT-TYPE
 207:         SYNTAX      SEQUENCE OF FrciIfMapEntry
 208:         MAX-ACCESS  not-accessible
 209:         STATUS      current
 210:         DESCRIPTION
 211:             "The Frame Relay Circuit Interface Map Table."
 212:         ::= { frciObjects 2 }
 213: 
 214:     frciIfMapEntry OBJECT-TYPE
 215:         SYNTAX      FrciIfMapEntry
 216:         MAX-ACCESS  not-accessible
 217:         STATUS      current
 218:         DESCRIPTION
 219:             "An entry in the Frame Relay Circuit Interface
 220:              Map Table."
 221:         INDEX    { ifIndex }
 222:         ::= { frciIfMapTable 1 }
 223: 
 224:     FrciIfMapEntry ::=
 225:         SEQUENCE {
 226:             --
 227:             -- Mapped Object Variables
 228:             --
 229:             frciIfMapObject      OBJECT IDENTIFIER,
 230:             frciIfMapFlow        FrciFlowDir
 231:         }
 232: 
 233:     frciIfMapObject OBJECT-TYPE
 234:         SYNTAX      OBJECT IDENTIFIER
 235:         MAX-ACCESS  read-only
 236:         STATUS      current
 237:         DESCRIPTION
 238:             "This value contains the value of frciCircuitObject that
 239:              corresponds to the current ifIndex."
 240:         ::= { frciIfMapEntry 1 }
 241: 
 242:     frciIfMapFlow   OBJECT-TYPE
 243:         SYNTAX      FrciFlowDir
 244:         MAX-ACCESS  read-only
 245:         STATUS      current
 246:         DESCRIPTION
 247:             "The value contains the value of frciCircuitFlow that
 248:              corresponds to the current ifIndex."
 249:         ::= { frciIfMapEntry 2 }
 250: 
 251:     -- Conformance Information
 252: 
 253:     frciMIBGroups      OBJECT IDENTIFIER ::= { frciConformance 1 }
 254:     frciMIBCompliances OBJECT IDENTIFIER ::= { frciConformance 2 }
 255: 
 256:     --
 257:     -- Compliance Statements
 258:     --
 259: 
 260:     frciCompliance MODULE-COMPLIANCE
 261:         STATUS  current
 262:         DESCRIPTION
 263:             "The compliance statement for SNMPv2 entities
 264:              which support with Frame Relay Circuit Interfaces.
 265:              This group defines the minimum level of support
 266:              required for compliance."
 267:         MODULE -- this module
 268:             MANDATORY-GROUPS { frciCircuitGroup,
 269:                                frciIfMapGroup }
 270: 
 271:             OBJECT      frciCircuitStatus
 272:             SYNTAX      INTEGER { active(1) } -- subset of RowStatus
 273:             MIN-ACCESS  read-only
 274:             DESCRIPTION
 275:                "Write access is not required, and only one of the six
 276:                 enumerated values for the RowStatus textual convention
 277:                 need be supported, specifically: active(1)."
 278: 
 279:     ::= { frciMIBCompliances 1 }
 280: 
 281:     --
 282:     -- Units of Conformance
 283:     --
 284:     frciCircuitGroup  OBJECT-GROUP
 285:        OBJECTS {
 286:             frciCircuitStatus,
 287:             frciCircuitIfIndex,
 288:             frciCircuitCreateTime
 289:        }
 290:        STATUS  current
 291:        DESCRIPTION
 292:            "A collection of required objects providing
 293:             information from the circuit table."
 294:        ::= { frciMIBGroups 1 }
 295: 
 296:     frciIfMapGroup OBJECT-GROUP
 297:        OBJECTS {
 298:             frciIfMapObject,
 299:             frciIfMapFlow
 300:        }
 301:        STATUS  current
 302:        DESCRIPTION
 303:            "A collection of required objects providing
 304:             information from the interface map table."
 305:        ::= { frciMIBGroups 2 }
 306: END