aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-02-05 13:06:56 +0100
committerMicael Karlberg <[email protected]>2013-02-05 13:06:56 +0100
commitc4425da5b7cf880b8ca76158e0bfecbf5202a333 (patch)
tree9c02dfdf06b5a4dc55a7dcb4cd9d8f56d418b40a /lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
parent01307e9ca4dec7e06645962562de476905749a84 (diff)
downloadotp-c4425da5b7cf880b8ca76158e0bfecbf5202a333.tar.gz
otp-c4425da5b7cf880b8ca76158e0bfecbf5202a333.tar.bz2
otp-c4425da5b7cf880b8ca76158e0bfecbf5202a333.zip
[snmp/compiler] Added test case for BITS import
Diffstat (limited to 'lib/snmp/test/snmp_test_data/OTP10799-MIB.mib')
-rw-r--r--lib/snmp/test/snmp_test_data/OTP10799-MIB.mib75
1 files changed, 75 insertions, 0 deletions
diff --git a/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib b/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
new file mode 100644
index 0000000000..f47bcfd7da
--- /dev/null
+++ b/lib/snmp/test/snmp_test_data/OTP10799-MIB.mib
@@ -0,0 +1,75 @@
+OTP10799-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+ MODULE-IDENTITY, OBJECT-TYPE, snmpModules, mib-2, BITS
+ FROM SNMPv2-SMI
+ MODULE-COMPLIANCE, OBJECT-GROUP
+ FROM SNMPv2-CONF
+ ;
+
+otp10799MIB MODULE-IDENTITY
+ LAST-UPDATED "1004210000Z"
+ ORGANIZATION ""
+ CONTACT-INFO
+ ""
+ DESCRIPTION
+ "Test mib for OTP-10799"
+ ::= { snmpModules 1 }
+
+
+-- Administrative assignments ****************************************
+
+otp10799MIBObjects OBJECT IDENTIFIER ::= { otp10799MIB 1 }
+otp10799MIBConformance OBJECT IDENTIFIER ::= { otp10799MIB 2 }
+
+--
+
+test OBJECT IDENTIFIER ::= { mib-2 16 }
+
+bits1 OBJECT-TYPE
+ SYNTAX BITS {
+ b0(0),
+ b1(1),
+ b2(2),
+ b3(3),
+ b4(4),
+ b5(5),
+ b6(6),
+ b7(7)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ ""
+ ::= { test 1 }
+
+-- Conformance Information *******************************************
+
+otp10799MIBCompliances OBJECT IDENTIFIER
+ ::= { otp10799MIBConformance 1 }
+otp10799MIBGroups OBJECT IDENTIFIER
+ ::= { otp10799MIBConformance 2 }
+
+-- Compliance statements
+
+otp10799MIBCompliance MODULE-COMPLIANCE
+ STATUS current
+ DESCRIPTION
+ "The compliance statement for SNMP engines which
+ implement the SNMP-COMMUNITY-MIB."
+
+ MODULE -- this module
+ MANDATORY-GROUPS { otp10799Group }
+
+ ::= { otp10799Compliances 1 }
+
+otp10799Group OBJECT-GROUP
+ OBJECTS {
+ bits1
+ }
+ STATUS current
+ DESCRIPTION
+ "A group."
+ ::= { otp10799MIBGroups 1 }
+
+END