Skip to content
Snippets Groups Projects
Commit 18fe90f4 authored by Taya Snijder's avatar Taya Snijder
Browse files

added test mib

parent f25422d9
Branches
Tags
1 merge request!288Resolve L2SS-446 "Extend snmp client to support mib files"
...@@ -64,4 +64,4 @@ if __name__ == "__main__": ...@@ -64,4 +64,4 @@ if __name__ == "__main__":
source = args.source source = args.source
mib_compile(["IF-MIB"], src=source, dst=destination) mib_compile(["TEST-MIB"], src=source, dst=destination)
TEST-MIB DEFINITIONS ::= BEGIN
--
-- A simple MIB objects for testing
--
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, org FROM SNMPv2-SMI
;
testMib MODULE-IDENTITY
LAST-UPDATED "202004060000Z"
ORGANIZATION "astron"
CONTACT-INFO "astron"
DESCRIPTION "Test mib"
::= { org 2 }
--
-- top level structure
--
TestVal OBJECT IDENTIFIER ::= { testMib 1 }
--
-- Example scalars
--
testValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is simply a test value."
DEFVAL { 1 }
::= { TestVal 1 }
END
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment