aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-01-12 16:34:49 +0100
committerRaimo Niskanen <[email protected]>2017-01-13 14:57:58 +0100
commite66262ddd4de576fa5ac7571cb0d9ace23b3687b (patch)
tree285a94aed0c13ddcf8a3b870388dacf9554a2b1e /lib/snmp/test/snmp_test_data
parente42fbd3a94e4db36d6a4fd20129a811bf26daf8b (diff)
downloadotp-e66262ddd4de576fa5ac7571cb0d9ace23b3687b.tar.gz
otp-e66262ddd4de576fa5ac7571cb0d9ace23b3687b.tar.bz2
otp-e66262ddd4de576fa5ac7571cb0d9ace23b3687b.zip
Test enum refinement MIB
Diffstat (limited to 'lib/snmp/test/snmp_test_data')
-rw-r--r--lib/snmp/test/snmp_test_data/OTP14145-MIB.mib44
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib b/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib
new file mode 100644
index 0000000000..f29c65c4c2
--- /dev/null
+++ b/lib/snmp/test/snmp_test_data/OTP14145-MIB.mib
@@ -0,0 +1,44 @@
+OTP14145-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+ MODULE-IDENTITY, OBJECT-TYPE,
+ mib-2 FROM SNMPv2-SMI
+ InetAddressType, InetAddress FROM INET-ADDRESS-MIB
+ MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF;
+
+testMibId MODULE-IDENTITY
+ LAST-UPDATED "200608210000Z" -- 21 August 2006
+ ORGANIZATION "a"
+ CONTACT-INFO "a"
+ DESCRIPTION "a"
+ REVISION "200608210000Z" -- 21 August 2006
+ DESCRIPTION "a"
+ ::= { mib-2 67 }
+
+testObj OBJECT-TYPE
+ SYNTAX InetAddressType
+ -- SYNTAX InetAddress
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "a"
+ ::= { testMibId 2 }
+
+testObjId OBJECT IDENTIFIER ::= { testMibId 3 }
+
+testMibCompliance MODULE-COMPLIANCE
+ STATUS current
+ DESCRIPTION "a"
+ MODULE
+ OBJECT testObj
+ SYNTAX InetAddressType { ipv4(1), ipv6(2) }
+ -- SYNTAX InetAddress ( SIZE(4|16) )
+ DESCRIPTION "a"
+ ::= { testMibId 4 }
+
+testObjGroup OBJECT-GROUP
+ OBJECTS { testObj }
+ STATUS current
+ DESCRIPTION "a"
+ ::= { testObjId 1 }
+
+END