Annotation of 43BSDReno/contrib/isode-beta/snmp/smi.my, revision 1.1.1.1

1.1       root        1: -- smi.my - Internet-standard SMI definitions
                      2: 
                      3: -- $Header: /f/osi/snmp/RCS/smi.my,v 7.11 90/06/20 21:38:27 mrose Exp $
                      4: --
                      5: -- Contributed by NYSERNet Inc.  This work was partially supported by the
                      6: -- U.S. Defense Advanced Research Projects Agency and the Rome Air Development
                      7: -- Center of the U.S. Air Force Systems Command under contract number
                      8: -- F30602-88-C-0016.
                      9: --
                     10: --
                     11: -- $Log:       smi.my,v $
                     12: -- Revision 7.11  90/06/20  21:38:27  mrose
                     13: -- update
                     14: -- 
                     15: -- Revision 7.10  90/06/13  17:58:39  mrose
                     16: -- defaultView
                     17: -- 
                     18: -- Revision 7.9  90/06/12  09:21:02  mrose
                     19: -- DisplaySTring
                     20: -- 
                     21: -- Revision 7.8  90/06/12  09:20:34  mrose
                     22: -- deprecated
                     23: -- 
                     24: -- Revision 7.7  90/05/21  17:07:23  mrose
                     25: -- OBJECT-TYPE
                     26: -- 
                     27: -- Revision 7.6  90/05/13  18:15:44  mrose
                     28: -- update
                     29: -- 
                     30: -- Revision 7.5  90/05/13  15:54:34  mrose
                     31: -- update
                     32: -- 
                     33: -- Revision 7.4  90/05/12  17:02:07  mrose
                     34: -- sync
                     35: -- 
                     36: -- Revision 7.3  90/05/08  08:55:27  mrose
                     37: -- touch-up
                     38: -- 
                     39: -- Revision 7.2  90/02/27  18:49:49  mrose
                     40: -- unix stuff
                     41: -- 
                     42: -- Revision 7.1  90/02/19  10:44:52  mrose
                     43: -- update
                     44: -- 
                     45: -- Revision 7.0  89/11/23  22:23:23  mrose
                     46: -- Release 6.0
                     47: -- 
                     48: 
                     49: --
                     50: --                               NOTICE
                     51: --
                     52: --    Acquisition, use, and distribution of this module and related
                     53: --    materials are subject to the restrictions of a license agreement.
                     54: --    Consult the Preface in the User's Manual for the full terms of
                     55: --    this agreement.
                     56: --
                     57: --
                     58: 
                     59: 
                     60: RFC1155-SMI DEFINITIONS ::= BEGIN
                     61: 
                     62: EXPORTS -- EVERYTHING
                     63:        internet, directory, mgmt,
                     64:        experimental, private, enterprises,
                     65:        OBJECT-TYPE, ObjectName, ObjectSyntax, SimpleSyntax,
                     66:        ApplicationSyntax, NetworkAddress, IpAddress,
                     67:        Counter, Gauge, TimeTicks, Opaque;
                     68: 
                     69: -- the path to the root
                     70: 
                     71: internet      OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }
                     72: 
                     73: directory     OBJECT IDENTIFIER ::= { internet 1 }
                     74: 
                     75: mgmt          OBJECT IDENTIFIER ::= { internet 2 }
                     76: 
                     77: experimental  OBJECT IDENTIFIER ::= { internet 3 }
                     78: 
                     79: private       OBJECT IDENTIFIER ::= { internet 4 }
                     80: enterprises   OBJECT IDENTIFIER ::= { private 1 }
                     81: 
                     82: 
                     83: -- BSD UNIX-specific stuff
                     84: 
                     85: unix         OBJECT IDENTIFIER ::= { enterprises 4 }
                     86: 
                     87: 
                     88: -- the agents group
                     89: 
                     90: agents OBJECT IDENTIFIER ::=   { unix 1 }
                     91: 
                     92: -- original "4BSD/ISODE SNMP"  { agents 1 }
                     93: 
                     94: -- versions of the "4BSD/ISODE SNMP" agent are now under { agents 2 }
                     95: fourBSD-isode OBJECT IDENTIFIER ::={ agents 2 }
                     96: -- fourBSD-isode.1:    add SMUX
                     97: -- fourBSD-isode.2:    add views
                     98: 
                     99: 
                    100: -- the SMUX peer group
                    101: 
                    102: peers  OBJECT IDENTIFIER ::=   { unix 3 }
                    103: 
                    104: -- versions of the unixd program are under { peers 1 }
                    105: unixd  OBJECT IDENTIFIER ::=   { peers 1}
                    106: -- the current version is unixd.1
                    107: 
                    108: 
                    109: -- definition of object types
                    110: 
                    111: -- OBJECT-TYPE MACRO ::=
                    112: -- BEGIN
                    113: --     TYPE NOTATION ::= "SYNTAX" type (TYPE ObjectSyntax)
                    114: --                   "ACCESS" Access
                    115: --                   "STATUS" Status
                    116: --     VALUE NOTATION ::= value (VALUE ObjectName)
                    117: -- 
                    118: --     Access ::= "read-only"
                    119: --                 | "read-write"
                    120: --                 | "write-only"
                    121: --                 | "not-accessible"
                    122: --     Status ::= "mandatory"
                    123: --                 | "optional"
                    124: --                 | "obsolete"
                    125: --                 | "deprecated"
                    126: -- END
                    127: 
                    128: 
                    129: -- names of objects in the MIB
                    130: 
                    131: ObjectName ::=
                    132:     OBJECT IDENTIFIER
                    133: 
                    134: -- syntax of objects in the MIB
                    135: 
                    136: ObjectSyntax ::=
                    137:     CHOICE {
                    138:         simple
                    139:             SimpleSyntax,
                    140: 
                    141: -- note that simple SEQUENCEs are not directly
                    142: -- mentioned here to keep things simple (i.e.,
                    143: -- prevent mis-use).  However, application-wide 
                    144: -- types which are IMPLICITly encoded simple
                    145: -- SEQUENCEs may appear in the following CHOICE
                    146: 
                    147:         application-wide
                    148:             ApplicationSyntax
                    149:     }
                    150:     
                    151: SimpleSyntax ::=
                    152:     CHOICE {
                    153:         number
                    154:             INTEGER,
                    155:     
                    156:         string
                    157:             OCTET STRING,
                    158:     
                    159:         object
                    160:             OBJECT IDENTIFIER,
                    161:     
                    162:         empty
                    163:             NULL
                    164:     }
                    165: 
                    166: ApplicationSyntax ::=
                    167:     CHOICE {
                    168:         address
                    169:             NetworkAddress,
                    170:     
                    171:        counter
                    172:            Counter,
                    173: 
                    174:        gauge
                    175:            Gauge,
                    176: 
                    177:        ticks
                    178:            TimeTicks,
                    179: 
                    180:         arbitrary
                    181:             Opaque
                    182: 
                    183: -- other application-wide types, as they are
                    184: -- defined, will be added here
                    185:     }
                    186: 
                    187: 
                    188: -- application-wide types
                    189: 
                    190: NetworkAddress ::=
                    191:     CHOICE {
                    192:         internet
                    193:             IpAddress
                    194:     }
                    195:     
                    196: IpAddress ::=
                    197:     [APPLICATION 0]            -- in network-byte order
                    198:         IMPLICIT OCTET STRING (SIZE (4))
                    199:     
                    200: Counter ::=
                    201:     [APPLICATION 1]
                    202:        IMPLICIT INTEGER (0..4294967295)
                    203: 
                    204: Gauge ::=
                    205:     [APPLICATION 2]
                    206:        IMPLICIT INTEGER (0..4294967295)
                    207: 
                    208: TimeTicks ::=
                    209:     [APPLICATION 3]
                    210:        IMPLICIT INTEGER (0..4294967295)
                    211: 
                    212: Opaque ::=
                    213:     [APPLICATION 4]             -- arbitrary ASN.1 value,
                    214:         IMPLICIT OCTET STRING   --   "double-wrapped"
                    215: 
                    216: DisplayString ::=
                    217:        OCTET STRING
                    218: 
                    219: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.