~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to mibs/NET-SNMP-TC.txt

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

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