|
|
1.1 ! root 1: -- smi.my - Internet-standard SMI definitions ! 2: ! 3: -- $Header: /f/osi/others/mosy/RCS/smi.my,v 7.2 90/05/21 16:50:16 mrose Exp $ ! 4: -- ! 5: -- $Log: smi.my,v $ ! 6: -- Revision 7.2 90/05/21 16:50:16 mrose ! 7: -- OBJECT-TYPE ! 8: -- ! 9: -- Revision 7.1 90/05/12 17:21:24 mrose ! 10: -- update ! 11: -- ! 12: -- Revision 7.0 89/11/23 22:00:42 mrose ! 13: -- Release 6.0 ! 14: -- ! 15: ! 16: -- ! 17: -- NOTICE ! 18: -- ! 19: -- Acquisition, use, and distribution of this module and related ! 20: -- materials are subject to the restrictions of a license agreement. ! 21: -- Consult the Preface in the User's Manual for the full terms of ! 22: -- this agreement. ! 23: -- ! 24: -- ! 25: ! 26: ! 27: RFC1155-SMI DEFINITIONS ::= BEGIN ! 28: ! 29: EXPORTS -- EVERYTHING ! 30: internet, directory, mgmt, ! 31: experimental, private, enterprises, ! 32: OBJECT-TYPE, ObjectName, ObjectSyntax, SimpleSyntax, ! 33: ApplicationSyntax, NetworkAddress, IpAddress, ! 34: Counter, Gauge, TimeTicks, Opaque; ! 35: ! 36: -- the path to the root ! 37: ! 38: internet OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 } ! 39: ! 40: directory OBJECT IDENTIFIER ::= { internet 1 } ! 41: ! 42: mgmt OBJECT IDENTIFIER ::= { internet 2 } ! 43: ! 44: experimental OBJECT IDENTIFIER ::= { internet 3 } ! 45: ! 46: private OBJECT IDENTIFIER ::= { internet 4 } ! 47: enterprises OBJECT IDENTIFIER ::= { private 1 } ! 48: ! 49: ! 50: -- definition of object types ! 51: ! 52: -- OBJECT-TYPE MACRO ::= ! 53: -- BEGIN ! 54: -- TYPE NOTATION ::= "SYNTAX" type (TYPE ObjectSyntax) ! 55: -- "ACCESS" Access ! 56: -- "STATUS" Status ! 57: -- VALUE NOTATION ::= value (VALUE ObjectName) ! 58: -- ! 59: -- Access ::= "read-only" ! 60: -- | "read-write" ! 61: -- | "write-only" ! 62: -- | "not-accessible" ! 63: -- Status ::= "mandatory" ! 64: -- | "optional" ! 65: -- | "obsolete" ! 66: -- END ! 67: ! 68: ! 69: -- names of objects in the MIB ! 70: ! 71: ObjectName ::= ! 72: OBJECT IDENTIFIER ! 73: ! 74: -- syntax of objects in the MIB ! 75: ! 76: ObjectSyntax ::= ! 77: CHOICE { ! 78: simple ! 79: SimpleSyntax, ! 80: ! 81: -- note that simple SEQUENCEs are not directly ! 82: -- mentioned here to keep things simple (i.e., ! 83: -- prevent mis-use). However, application-wide ! 84: -- types which are IMPLICITly encoded simple ! 85: -- SEQUENCEs may appear in the following CHOICE ! 86: ! 87: application-wide ! 88: ApplicationSyntax ! 89: } ! 90: ! 91: SimpleSyntax ::= ! 92: CHOICE { ! 93: number ! 94: INTEGER, ! 95: ! 96: string ! 97: OCTET STRING, ! 98: ! 99: object ! 100: OBJECT IDENTIFIER, ! 101: ! 102: empty ! 103: NULL ! 104: } ! 105: ! 106: ApplicationSyntax ::= ! 107: CHOICE { ! 108: address ! 109: NetworkAddress, ! 110: ! 111: counter ! 112: Counter, ! 113: ! 114: gauge ! 115: Gauge, ! 116: ! 117: ticks ! 118: TimeTicks, ! 119: ! 120: arbitrary ! 121: Opaque ! 122: ! 123: -- other application-wide types, as they are ! 124: -- defined, will be added here ! 125: } ! 126: ! 127: ! 128: -- application-wide types ! 129: ! 130: NetworkAddress ::= ! 131: CHOICE { ! 132: internet ! 133: IpAddress ! 134: } ! 135: ! 136: IpAddress ::= ! 137: [APPLICATION 0] -- in network-byte order ! 138: IMPLICIT OCTET STRING (SIZE (4)) ! 139: ! 140: Counter ::= ! 141: [APPLICATION 1] ! 142: IMPLICIT INTEGER (0..4294967295) ! 143: ! 144: Gauge ::= ! 145: [APPLICATION 2] ! 146: IMPLICIT INTEGER (0..4294967295) ! 147: ! 148: TimeTicks ::= ! 149: [APPLICATION 3] ! 150: IMPLICIT INTEGER ! 151: ! 152: Opaque ::= ! 153: [APPLICATION 4] -- arbitrary ASN.1 value, ! 154: IMPLICIT OCTET STRING -- "double-wrapped" ! 155: ! 156: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.