NET-SNMP-TC.txt 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. NET-SNMP-TC DEFINITIONS ::= BEGIN
  2. --
  3. -- Textual conventions and enumerations for the Net-SNMP project
  4. --
  5. IMPORTS
  6. netSnmpModuleIDs, netSnmpAgentOIDs, netSnmpDomains FROM NET-SNMP-MIB
  7. MODULE-IDENTITY, Opaque FROM SNMPv2-SMI
  8. TEXTUAL-CONVENTION FROM SNMPv2-TC;
  9. netSnmpTCs MODULE-IDENTITY
  10. LAST-UPDATED "200510140000Z"
  11. ORGANIZATION "www.net-snmp.org"
  12. CONTACT-INFO
  13. "postal: Wes Hardaker
  14. P.O. Box 382
  15. Davis CA 95617
  16. email: net-snmp-coders@lists.sourceforge.net"
  17. DESCRIPTION
  18. "Textual conventions and enumerations for the Net-SNMP project"
  19. REVISION "200202120000Z"
  20. DESCRIPTION
  21. "First draft"
  22. ::= { netSnmpModuleIDs 1}
  23. -- =====================
  24. --
  25. -- Textual Conventions
  26. --
  27. -- =====================
  28. --
  29. -- Define the Float Textual Convention
  30. -- This definition was written by David Perkins.
  31. --
  32. Float ::= TEXTUAL-CONVENTION
  33. STATUS current
  34. DESCRIPTION
  35. "A single precision floating-point number. The semantics
  36. and encoding are identical for type 'single' defined in
  37. IEEE Standard for Binary Floating-Point,
  38. ANSI/IEEE Std 754-1985.
  39. The value is restricted to the BER serialization of
  40. the following ASN.1 type:
  41. FLOATTYPE ::= [120] IMPLICIT FloatType
  42. (note: the value 120 is the sum of '30'h and '48'h)
  43. The BER serialization of the length for values of
  44. this type must use the definite length, short
  45. encoding form.
  46. For example, the BER serialization of value 123
  47. of type FLOATTYPE is '9f780442f60000'h. (The tag
  48. is '9f78'h; the length is '04'h; and the value is
  49. '42f60000'h.) The BER serialization of value
  50. '9f780442f60000'h of data type Opaque is
  51. '44079f780442f60000'h. (The tag is '44'h; the length
  52. is '07'h; and the value is '9f780442f60000'h.)"
  53. SYNTAX Opaque (SIZE (7))
  54. -- =====================
  55. --
  56. -- Enumerations
  57. --
  58. -- =====================
  59. --
  60. -- System Object ID values
  61. --
  62. -- XXX - do we want to distinguish between O/S versions ?
  63. -- (as is currently done with HP-UX)
  64. --
  65. hpux9 OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 1 }
  66. sunos4 OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 2 }
  67. solaris OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 3 }
  68. osf OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 4 }
  69. ultrix OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 5 }
  70. hpux10 OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 6 }
  71. netbsd OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 7 }
  72. freebsd OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 8 }
  73. irix OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 9 }
  74. linux OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 10 }
  75. bsdi OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 11 }
  76. openbsd OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 12 }
  77. win32 OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 13 } -- unlucky
  78. hpux11 OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 14 }
  79. aix OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 15 }
  80. macosx OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 16 }
  81. dragonfly OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 17 }
  82. unknown OBJECT IDENTIFIER ::= { netSnmpAgentOIDs 255 }
  83. --
  84. -- Transport Domains
  85. --
  86. -- Object identifiers for the non-standard transports that UCD/Net-SNMP
  87. -- supports. Note that snmpTCPDomain is the subject of Internet Draft
  88. -- draft-irtf-nmrg-snmp-tcp-06.txt, which defines the OID
  89. -- .iso.org.dod.internet.experimental.nmrg.nmrgSnmpDomains.snmpTCPDomain
  90. -- (.1.3.6.1.3.91.1.1) for the SNMP over TCP over IPv4 transport domain.
  91. -- This draft (or its successor) is available from the Network Management
  92. -- Research Group web page at http://www.ibr.cs.tu-bs.de/projects/nmrg/
  93. --
  94. -- The NMRG OID for snmpTCPDomain is currently used by the code, but in case
  95. -- this is thought to be a Bad Idea, we define a private transport domain here
  96. -- that we could use instead. The Unix domain, AAL5 PVC domain and
  97. -- the IPv6 domains are also defined privately here (for now).
  98. netSnmpTCPDomain OBJECT IDENTIFIER ::= { netSnmpDomains 1 } -- obsolete
  99. netSnmpUnixDomain OBJECT IDENTIFIER ::= { netSnmpDomains 2 } -- obsolete
  100. netSnmpAAL5PVCDomain OBJECT IDENTIFIER ::= { netSnmpDomains 3 }
  101. netSnmpUDPIPv6Domain OBJECT IDENTIFIER ::= { netSnmpDomains 4 } -- obsolete
  102. netSnmpTCPIPv6Domain OBJECT IDENTIFIER ::= { netSnmpDomains 5 } -- obsolete
  103. netSnmpCallbackDomain OBJECT IDENTIFIER ::= { netSnmpDomains 6 }
  104. netSnmpAliasDomain OBJECT IDENTIFIER ::= { netSnmpDomains 7 }
  105. netSnmpDTLSUDPDomain OBJECT IDENTIFIER ::= { netSnmpDomains 8 }
  106. netSnmpDTLSSCTPDomain OBJECT IDENTIFIER ::= { netSnmpDomains 9 }
  107. netSnmpTLSTCPDomain OBJECT IDENTIFIER ::= { netSnmpDomains 10 }
  108. END