aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-05-15 15:39:43 +0200
committerRaimo Niskanen <[email protected]>2018-06-11 14:35:13 +0200
commit03ca198787cc2ac787f96636f68b26eb4dcdee70 (patch)
tree2a35010defbfc246bba18c4d9a8684aa11739a9b /lib/snmp/test/snmp_test_data
parent7e92beb7a9de9243b626dce1eef388127d38750e (diff)
downloadotp-03ca198787cc2ac787f96636f68b26eb4dcdee70.tar.gz
otp-03ca198787cc2ac787f96636f68b26eb4dcdee70.tar.bz2
otp-03ca198787cc2ac787f96636f68b26eb4dcdee70.zip
Add test case
Diffstat (limited to 'lib/snmp/test/snmp_test_data')
-rw-r--r--lib/snmp/test/snmp_test_data/OTP14196-MIB.mib47
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib b/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib
new file mode 100644
index 0000000000..0b3c718a02
--- /dev/null
+++ b/lib/snmp/test/snmp_test_data/OTP14196-MIB.mib
@@ -0,0 +1,47 @@
+OTP14196-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+ MODULE-IDENTITY, OBJECT-TYPE, snmpModules, mib-2
+ FROM SNMPv2-SMI
+ TEXTUAL-CONVENTION
+ FROM SNMPv2-TC
+ OBJECT-GROUP
+ FROM SNMPv2-CONF
+ ;
+
+otp14196MIB MODULE-IDENTITY
+ LAST-UPDATED "1004210000Z"
+ ORGANIZATION ""
+ CONTACT-INFO
+ ""
+ DESCRIPTION
+ "Test mib for OTP-14196"
+ ::= { snmpModules 1 }
+
+testCompliances OBJECT IDENTIFIER ::= { otp14196MIB 1 }
+test OBJECT IDENTIFIER ::= { mib-2 15 }
+
+typeA OBJECT-TYPE
+ SYNTAX TypeAType
+ MAX-ACCESS accessible-for-notify
+ STATUS current
+ DESCRIPTION
+ "Test type for OTP-14196"
+ ::= { test 4711 }
+
+TypeAType ::= TEXTUAL-CONVENTION
+ STATUS current
+ DESCRIPTION
+ ""
+ SYNTAX INTEGER
+
+testGroups OBJECT IDENTIFIER ::= { testCompliances 1 }
+
+testGroupA OBJECT-GROUP
+ OBJECTS { typeA }
+ STATUS current
+ DESCRIPTION
+ ""
+ ::= { testGroups 17 }
+
+END