From 98a672123c7872f6b9b75a9a2b6bb3aea504de6a Mon Sep 17 00:00:00 2001 From: David Leutgeb Date: Tue, 5 Dec 2023 12:25:34 +0100 Subject: Initial commit --- MIBS/RFC-1212 | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 MIBS/RFC-1212 (limited to 'MIBS/RFC-1212') diff --git a/MIBS/RFC-1212 b/MIBS/RFC-1212 new file mode 100644 index 0000000..5fe5d21 --- /dev/null +++ b/MIBS/RFC-1212 @@ -0,0 +1,79 @@ +-- file: RFC-1212.my +-- changes: +-- Removed IMPORTS. +-- Commented out OBJECT-TYPE macro definition and replaced +-- with SMIC directive to enable it. +-- dperkins@scruznet.com + + + +RFC-1212 DEFINITIONS ::= BEGIN + + -- Make builtin items known +-- SMI OBJECT-TYPE + + + -- OBJECT-TYPE MACRO ::= + -- BEGIN + -- TYPE NOTATION ::= + -- must conform to + -- RFC1155's ObjectSyntax + -- "SYNTAX" type(ObjectSyntax) + -- "ACCESS" Access + -- "STATUS" Status + -- DescrPart + -- ReferPart + -- IndexPart + -- DefValPart + -- VALUE NOTATION ::= value (VALUE ObjectName) + -- + -- Access ::= "read-only" + -- | "read-write" + -- | "write-only" + -- | "not-accessible" + -- Status ::= "mandatory" + -- | "optional" + -- | "obsolete" + -- | "deprecated" + -- + -- DescrPart ::= + -- "DESCRIPTION" value (description DisplayString) + -- | empty + -- + -- ReferPart ::= + -- "REFERENCE" value (reference DisplayString) + -- | empty + -- + -- IndexPart ::= + -- "INDEX" "{" IndexTypes "}" + -- | empty + -- IndexTypes ::= + -- IndexType | IndexTypes "," IndexType + -- IndexType ::= + -- if indexobject, use the SYNTAX + -- value of the correspondent + -- OBJECT-TYPE invocation + -- value (indexobject ObjectName) + -- otherwise use named SMI type + -- must conform to IndexSyntax below + -- | type (indextype) + -- + -- DefValPart ::= + -- "DEFVAL" "{" value (defvalue ObjectSyntax) "}" + -- | empty + -- END + -- + -- IndexSyntax ::= + -- CHOICE { + -- number + -- INTEGER (0..MAX), + -- string + -- OCTET STRING, + -- object + -- OBJECT IDENTIFIER, + -- address + -- NetworkAddress, + -- ipAddress + -- IpAddress + -- } +END -- cgit v1.2.3