| 1 |
-- file: sit-nt.mib |
| 2 |
-- |
| 3 |
|
| 4 |
SIT-NT DEFINITIONS ::= BEGIN |
| 5 |
|
| 6 |
IMPORTS |
| 7 |
MODULE-IDENTITY, OBJECT-TYPE, Opaque, enterprises |
| 8 |
FROM SNMPv2-SMI |
| 9 |
TEXTUAL-CONVENTION, DisplayString |
| 10 |
FROM SNMPv2-TC |
| 11 |
OBJECT-GROUP, MODULE-COMPLIANCE |
| 12 |
FROM SNMPv2-CONF; |
| 13 |
|
| 14 |
|
| 15 |
sitNtModule MODULE-IDENTITY |
| 16 |
LAST-UPDATED "9805060000Z" |
| 17 |
ORGANIZATION "SNMPinfo" |
| 18 |
CONTACT-INFO |
| 19 |
"Email: [email protected]" |
| 20 |
DESCRIPTION |
| 21 |
"This module defines objects to test out |
| 22 |
the following new types: |
| 23 |
Unsigned64 |
| 24 |
Int64 |
| 25 |
Float |
| 26 |
Double" |
| 27 |
::= { sitModules 3 } |
| 28 |
|
| 29 |
|
| 30 |
siRoot OBJECT IDENTIFIER ::= { enterprises 1194 } |
| 31 |
sitRoot OBJECT IDENTIFIER ::= { siRoot 2 } |
| 32 |
sitReg OBJECT IDENTIFIER ::= { sitRoot 1 } |
| 33 |
sitModules OBJECT IDENTIFIER ::= { sitReg 1 } |
| 34 |
sitItems OBJECT IDENTIFIER ::= { sitRoot 2 } |
| 35 |
|
| 36 |
-- root for items in the Counter MIB module |
| 37 |
sitNtMIB OBJECT IDENTIFIER ::= { sitItems 2 } |
| 38 |
|
| 39 |
-- conformance area containing group and compliance specifications |
| 40 |
sitNtConfs OBJECT IDENTIFIER ::= { sitNtMIB 1 } |
| 41 |
sitNtGroups OBJECT IDENTIFIER ::= { sitNtConfs 1 } |
| 42 |
sitNtCompls OBJECT IDENTIFIER ::= { sitNtConfs 2 } |
| 43 |
|
| 44 |
-- sub-tree for objects, and for each functional area |
| 45 |
sitNtObjs OBJECT IDENTIFIER ::= { sitNtMIB 2 } |
| 46 |
sitNtTest1Objs OBJECT IDENTIFIER ::= { sitNtObjs 1 } |
| 47 |
|
| 48 |
-- sub-tree for events |
| 49 |
sitNtEvents OBJECT IDENTIFIER ::= { sitNtMIB 3 } |
| 50 |
sitNtEventsV2 OBJECT IDENTIFIER ::= { sitNtEvents 0 } |
| 51 |
|
| 52 |
-- Some TCs for the Types |
| 53 |
Integer64 ::= TEXTUAL-CONVENTION |
| 54 |
STATUS current |
| 55 |
DESCRIPTION |
| 56 |
"A 64-bit signed integer. The value is restricted to |
| 57 |
the BER serialization of the following ASN.1 type: |
| 58 |
I64TYPE ::= [122] IMPLICIT I64Type |
| 59 |
(note: the value 122 is the sum of '30'h and '4a'h) |
| 60 |
The BER serialization of the length for values of |
| 61 |
this type must use the definite length, short |
| 62 |
encoding form. |
| 63 |
|
| 64 |
For example, the BER serialization of value 129 |
| 65 |
of type I64TYPE is '9f7a020081'h. (The tag is '9f7a'h; |
| 66 |
the length is '02'h; and the value is '0081'h.) The |
| 67 |
BER serialization of value '9f7a020081'h of data |
| 68 |
type Opaque is '44059f7a020081'h. (The tag is '44'h; |
| 69 |
the length is '05'h; and the value is '9f7a020081'h.) |
| 70 |
Also for example, the BER serialization of value -129 |
| 71 |
of type I64TYPE is '9f7a02ff7f'h. (The tag is '9f7a'h; |
| 72 |
the length is '02'h; and the value is 'ff7f'h.) The |
| 73 |
BER serialization of value '9f7a02ff7f'h of data |
| 74 |
type Opaque is '44059f7a02ff7f'h. (The tag is '44'h; |
| 75 |
the length is '05'h; and the value is '9f7a02ff7f'h.)" |
| 76 |
SYNTAX Opaque (SIZE(4..11)) |
| 77 |
|
| 78 |
Unsigned64 ::= TEXTUAL-CONVENTION |
| 79 |
STATUS current |
| 80 |
DESCRIPTION |
| 81 |
"A 64-bit unsigned signed integer. The value is |
| 82 |
restricted to the BER serialization of the following |
| 83 |
ASN.1 type: |
| 84 |
U64TYPE ::= [123] IMPLICIT U64Type |
| 85 |
(note: the value 123 is the sum of '30'h and '4b'h) |
| 86 |
The BER serialization of the length for values of |
| 87 |
this type must use the definite length, short |
| 88 |
encoding form. |
| 89 |
For example, the BER serialization of value 129 |
| 90 |
of type U64TYPE is '9f7b020081'h. (The tag is '9f7b'h; |
| 91 |
the length is '02'h; and the value is '0081'h.) The |
| 92 |
BER serialization of value '9f7b020081'h of data |
| 93 |
type Opaque is '44059f7b020081'h. (The tag is '44'h; |
| 94 |
the length is '05'h; and the value is '9f7b020081'h.)" |
| 95 |
SYNTAX Opaque (SIZE(4..12)) |
| 96 |
|
| 97 |
Float ::= TEXTUAL-CONVENTION |
| 98 |
STATUS current |
| 99 |
DESCRIPTION |
| 100 |
"A single precision floating-point number. The semantics |
| 101 |
and encoding are identical for type 'single' defined in |
| 102 |
IEEE Standard for Binary Floating-Point, |
| 103 |
ANSI/IEEE Std 754-1985. |
| 104 |
The value is restricted to the BER serialization of |
| 105 |
the following ASN.1 type: |
| 106 |
FLOATTYPE ::= [120] IMPLICIT FloatType |
| 107 |
(note: the value 120 is the sum of '30'h and '48'h) |
| 108 |
The BER serialization of the length for values of |
| 109 |
this type must use the definite length, short |
| 110 |
encoding form. |
| 111 |
|
| 112 |
For example, the BER serialization of value 123 |
| 113 |
of type FLOATTYPE is '9f780442f60000'h. (The tag |
| 114 |
is '9f78'h; the length is '04'h; and the value is |
| 115 |
'42f60000'h.) The BER serialization of value |
| 116 |
'9f780442f60000'h of data type Opaque is |
| 117 |
'44079f780442f60000'h. (The tag is '44'h; the length |
| 118 |
is '07'h; and the value is '9f780442f60000'h." |
| 119 |
SYNTAX Opaque (SIZE(7)) |
| 120 |
|
| 121 |
Double ::= TEXTUAL-CONVENTION |
| 122 |
STATUS current |
| 123 |
DESCRIPTION |
| 124 |
"A double precision floating-point number. The semantics |
| 125 |
and encoding are identical for type 'double' defined in |
| 126 |
IEEE Standard for Binary Floating-Point, |
| 127 |
ANSI/IEEE Std 754-1985. |
| 128 |
|
| 129 |
The value is restricted to the BER serialization of |
| 130 |
the following ASN.1 type: |
| 131 |
DOUBLETYPE ::= [121] IMPLICIT DoubleType |
| 132 |
(note: the value 121 is the sum of '30'h and '49'h) |
| 133 |
The BER serialization of the length for values of |
| 134 |
this type must use the definite length, short |
| 135 |
encoding form. |
| 136 |
|
| 137 |
For example, the BER serialization of value 123 |
| 138 |
of type DOUBLETYPE is '9f7908405ec00000000000'h. |
| 139 |
(The tag is '9f79'h; the length is '08'h; and the |
| 140 |
value is '405ec00000000000'h.) The BER serialization |
| 141 |
of value '9f7908405ec00000000000'h of data type Opaque |
| 142 |
is '440b9f7908405ec00000000000'h. (The tag is '44'h; |
| 143 |
the length is '07'h; and the value is |
| 144 |
'9f7908405ec00000000000'h.)" |
| 145 |
SYNTAX Opaque (SIZE(11)) |
| 146 |
|
| 147 |
-- the test objects |
| 148 |
|
| 149 |
sitNtI64 OBJECT-TYPE |
| 150 |
SYNTAX Integer64 |
| 151 |
MAX-ACCESS read-write |
| 152 |
STATUS current |
| 153 |
DESCRIPTION |
| 154 |
"A test object that is a 64-bit signed integer." |
| 155 |
::= { sitNtTest1Objs 1 } |
| 156 |
|
| 157 |
sitNtI64A OBJECT-TYPE |
| 158 |
SYNTAX DisplayString |
| 159 |
MAX-ACCESS read-only |
| 160 |
STATUS current |
| 161 |
DESCRIPTION |
| 162 |
"The value of object sitNtI64 in ASCII." |
| 163 |
::= { sitNtTest1Objs 2 } |
| 164 |
|
| 165 |
sitNtU64 OBJECT-TYPE |
| 166 |
SYNTAX Unsigned64 |
| 167 |
MAX-ACCESS read-write |
| 168 |
STATUS current |
| 169 |
DESCRIPTION |
| 170 |
"A test object that is a 64-bit unsigned integer." |
| 171 |
::= { sitNtTest1Objs 3 } |
| 172 |
|
| 173 |
sitNtU64A OBJECT-TYPE |
| 174 |
SYNTAX DisplayString |
| 175 |
MAX-ACCESS read-only |
| 176 |
STATUS current |
| 177 |
DESCRIPTION |
| 178 |
"The value of object sitNtU64 in ASCII." |
| 179 |
::= { sitNtTest1Objs 4 } |
| 180 |
|
| 181 |
sitNtFloat OBJECT-TYPE |
| 182 |
SYNTAX Float |
| 183 |
MAX-ACCESS read-write |
| 184 |
STATUS current |
| 185 |
DESCRIPTION |
| 186 |
"A test object that is a 'single' floating point number." |
| 187 |
::= { sitNtTest1Objs 5 } |
| 188 |
|
| 189 |
sitNtFloatA OBJECT-TYPE |
| 190 |
SYNTAX DisplayString |
| 191 |
MAX-ACCESS read-only |
| 192 |
STATUS current |
| 193 |
DESCRIPTION |
| 194 |
"The value of object sitNtFloat in ASCII." |
| 195 |
::= { sitNtTest1Objs 6 } |
| 196 |
|
| 197 |
sitNtDouble OBJECT-TYPE |
| 198 |
SYNTAX Double |
| 199 |
MAX-ACCESS read-write |
| 200 |
STATUS current |
| 201 |
DESCRIPTION |
| 202 |
"A test object that is a 'double' floating point number." |
| 203 |
::= { sitNtTest1Objs 7 } |
| 204 |
|
| 205 |
sitNtDoubleA OBJECT-TYPE |
| 206 |
SYNTAX DisplayString |
| 207 |
MAX-ACCESS read-only |
| 208 |
STATUS current |
| 209 |
DESCRIPTION |
| 210 |
"The value of object sitNtDouble in ASCII." |
| 211 |
::= { sitNtTest1Objs 8 } |
| 212 |
|
| 213 |
|
| 214 |
-- object and event groups |
| 215 |
sitNt1Group OBJECT-GROUP |
| 216 |
OBJECTS { sitNtI64, sitNtI64A, |
| 217 |
sitNtU64, sitNtU64A, |
| 218 |
sitNtFloat, sitNtFloatA, |
| 219 |
sitNtDouble, sitNtDoubleA } |
| 220 |
STATUS current |
| 221 |
DESCRIPTION |
| 222 |
"Objects for the first test." |
| 223 |
::= { sitNtGroups 1 } |
| 224 |
|
| 225 |
-- compliance specifications |
| 226 |
sitNtComplV1 MODULE-COMPLIANCE |
| 227 |
STATUS current |
| 228 |
DESCRIPTION "All objects are required." |
| 229 |
MODULE -- this module |
| 230 |
MANDATORY-GROUPS { sitNt1Group } |
| 231 |
::= { sitNtCompls 1 } |
| 232 |
|
| 233 |
END |