-- -- OSID SMI -- -- The management structure for OSID definitions. Much of this is ripped from -- the SNMP SMI. -- -- $Id: osid-smi.txt,v 1.1 2005/09/08 18:58:44 tom Exp $ -- OSID-SMI DEFINITIONS ::= BEGIN -- -- OID path -- org OBJECT IDENTIFIER ::= { iso 3 } dod OBJECT IDENTIFIER ::= { org 6 } internet OBJECT IDENTIFIER ::= { dod 1 } private OBJECT IDENTIFIER ::= { internet 4 } enterprises OBJECT IDENTIFIER ::= { private 1 } ontapSolutions OBJECT IDENTIFIER ::= { enterprises 22316 } ontapProjects OBJECT IDENTIFIER ::= { ontapSolutions 1 } osid OBJECT IDENTIFIER ::= { ontapProjects 1 } osidModules OBJECT IDENTIFIER ::= { osid 1 } -- -- OSID modules. -- -- mibOSIDType contains objects describing OSID Types -- mibOSIDAttr contains objects describing OSID Properties -- mibOSIDContext contains objects describing OsidContext properties -- mibOSIDType OBJECT IDENTIFIER ::= { osidModules 1 } mibOSIDAttr OBJECT IDENTIFIER ::= { osidModules 2 } mibOSIDContext OBJECT IDENTIFIER ::= { osidModules 3 } -- -- Base Types -- Boolean ::= BOOLEAN Integer ::= INTEGER ObjectIdentifier ::= OBJECT IDENTIFIER OctetString ::= OCTET STRING -- -- MODULE-IDENTITY macro -- -- Describes the convention used to describe a MIB module -- MODULE-IDENTITY MACRO ::= BEGIN TYPE NOTATION ::= "LAST-UPDATED" value(Update ExtUTCTime) "ORGANIZATION" Text "CONTACT-INFO" Text "DESCRIPTION" Text RevisionPart VALUE NOTATION ::= value(VALUE OBJECT IDENTIFIER) RevisionPart ::= Revisions | empty Revisions ::= Revision | Revisions Revision Revision ::= "REVISION" value(Update ExtUTCTime) "DESCRIPTION" Text -- a character string as defined in section 3.1.1 Text ::= value(IA5String) END -- -- OBJECT-TYPE macro -- -- Describes the convention used to describe an object. -- OBJECT-TYPE MACRO ::= BEGIN TYPE NOTATION ::= "SYNTAX" Syntax UnitsPart "MAX-ACCESS" Access "STATUS" Status "DESCRIPTION" Text ReferPart IndexPart DefValPart VALUE NOTATION ::= value(VALUE ObjectName) Syntax ::= type | "BITS" "{" NamedBits "}" NamedBits ::= NamedBit | NamedBits "," NamedBit NamedBit ::= identifier "(" number ")" -- number is nonnegative UnitsPart ::= "UNITS" Text | empty Access ::= "not-accessible" | "accessible-for-notify" | "read-only" | "read-write" | "read-create" Status ::= "current" | "deprecated" | "obsolete" ReferPart ::= "REFERENCE" Text | empty IndexPart ::= "INDEX" "{" IndexTypes "}" | "AUGMENTS" "{" Entry "}" | empty IndexTypes ::= IndexType | IndexTypes "," IndexType IndexType ::= "IMPLIED" Index | Index Index ::= value(ObjectName) Entry ::= value(ObjectName) DefValPart ::= "DEFVAL" "{" Defvalue "}" | empty Defvalue ::= value(ObjectSyntax) | "{" BitsValue "}" BitsValue ::= BitNames | empty BitNames ::= BitName | BitNames "," BitName BitName ::= identifier -- a character string as defined in section 3.1.1 Text ::= value(IA5String) END -- -- TEXTUAL-CONVENTION macro -- -- Describes the convention used to create higher level types -- (which really boil down to one of the base ASN.1 types). -- This is useful for tightening the specification around -- one of the base types. -- TEXTUAL-CONVENTION MACRO ::= BEGIN TYPE NOTATION ::= DisplayPart "STATUS" Status "DESCRIPTION" Text ReferPart "SYNTAX" Syntax VALUE NOTATION ::= value(VALUE Syntax) -- adapted ASN.1 DisplayPart ::= "DISPLAY-HINT" Text | empty Status ::= "current" | "deprecated" | "obsolete" ReferPart ::= "REFERENCE" Text | empty Text ::= value(IA5String) Syntax ::= type | "BITS" "{" NamedBits "}" NamedBits ::= NamedBit | NamedBits "," NamedBit NamedBit ::= identifier "(" number ")" -- number is nonnegative END -- -- Textual conventions -- DisplayString ::= TEXTUAL-CONVENTION DISPLAY-HINT "255a" STATUS current DESCRIPTION "Represents textual information taken from the NVT ASCII character set, as defined in pages 4, 10-11 of RFC 854." SYNTAX OctetString Id ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents an OSID Id." SYNTAX OctetString TimeInterval ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A period of time, measured in units of 0.001 seconds." SYNTAX Integer (0..18446744073709551615) TimeStamp ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A date-time specification. yy-MM-dd hh:mm:ss:ms +/-Z BC/AD" SYNTAX DisplayString (SIZE(36)) Url ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents a URL." SYNTAX DisplayString Year ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents a year on the gregorian calendar. BC numbers are negative." SYNTAX Integer END