INTERNET DRAFT Expires February 5, 1994 ISO/CCITT and Internet Management Coexistence (IIMC): Translation of Internet MIBs to ISO/CCITT GDMO MIBs (IIMCIMIBTRANS) Draft 3 August 5, 1993 Lee LaBarre (Editor) The MITRE Corporation Burlington Road Bedford, MA 01730 cel@mbunix.mitre.org Status of this Memo This document provides information to the network and systems management community. This document is intended as a contribution to ongoing work in the area of multi-protocol management coexistence and interworking. This document is part of a package; see also [IIMCOMIBTRANS] [IIMCMIB-II] [IIMCPROXY] and [IIMCSEC]. Distribution of this document is unlimited. Comments should be sent to the Network Management Forum IIMC working group (iimc@thumper.bellcore.com). This document is an Internet Draft. Internet Drafts are working documents of the Internet Engineering Task Force (IETF), its Areas, and its Working Groups. Note that other groups may also distribute working documents as Internet Drafts. Internet Drafts are draft documents valid for a maximum of six months. Internet Drafts may be updated, replaced, or obsoleted by other documents at any time. It is not appropriate to use Internet Drafts as reference material or to cite them other than as a "working draft" or "work in progress." Please check the 1id-abstracts.txt listing contained in the internet-drafts Shadow Directories on ds.internic.net, nic.nordu.net, ftp.nisc.sri.com, munnari.oz.au to learn the current status of any Internet Draft. LaBarre Expires February 5, 1994 Page i Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Abstract This document is intended to facilitate the multi-protocol management coexistence and interworking for networks that are managed using the ISO/CCITT Common Management Information Protocol (CMIP) and networks that are managed using the Internet Simple Network Management Protocol (SNMP). This document contains translation and registration procedures that are applicable to translation of Internet MIBs, defined according to the Internet Structure of Management Information (SMI), into ISO/CCITT SMI-defined MIBs. This document also defines and registers generic management information that may be used with the translation procedures to facilitate interoperability. Table of Contents Status of this Memo ......................................i Abstract .................................................ii Table of Contents ........................................ii Revision History .........................................iv 1. Introduction ..........................................1 1.1 Problem Statement ...................................1 1.2 Overview of IIMC ....................................2 1.3 MIB Translation Procedures ..........................2 1.4 Native Management Model .............................3 1.5 Proxy Management Model ..............................4 1.6 Scope of this Document ..............................5 1.7 Terms and Conventions ...............................5 2. Registration and Naming Procedures ....................6 2.1 Registration Procedures ..............................6 2.1.1 Automated Registration Procedures ..................6 2.1.2 IIMC Explicit Registration Procedures ..............7 2.1.2.1 Object Classes and Attributes Registration .......8 2.1.2.2 Trap/Notification Registration ...................8 2.1.2.3 NAME BINDINGs Registration .......................9 2.1.2.4 Registration of ASN.1 Modules and IIMC Documents ................................................10 2.1.2.5 Naming Attribute Registration ....................11 2.2 Naming Procedures ....................................11 2.2.1 Naming Attributes ..................................12 2.2.2 ISO/CCITT-Internet Naming Tree .....................13 2.2.3 Distinguished Names ................................13 2.3 OID Translation ......................................14 2.3.1 OID/Name Translation ISO/CCITT to Internet ...............................16 2.3.2 OID/Name Translation Internet to ISO/CCITT ...............................17 2.4 Inheritance for Object Classes .......................18 2.5 Reference Labels for Derived Entities ................18 3. Internet to ISO/CCITT MIB Translation Procedures ......18 3.1 Pre-translation Procedures ...........................19 3.2 GDMO Translation Procedures ..........................21 LaBarre Expires February 5, 1994 Page ii Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 3.2.1 Translation of Groups ..............................22 3.2.2 Translation of Table Entry Objects .................24 3.2.3 Translation of Other OBJECT-TYPES ..................25 3.2.4 Translation of Notifications .......................29 3.2.5 Log Record for Internet Alarm ......................30 3.2.6 Translation of Internet Attribute Types ............30 3.3 Post-translation Procedures ..........................32 3.3.1 Post-translation of BEHAVIOUR Cause ................32 3.3.2 Creation of NAME BINDING Templates .................33 3.3.3 Attribute Property-label Changes ...................37 3.3.4 Post-processing of ASN.1 Module ....................37 3.3.5 Templates for Naming Attributes ....................37 3.3.6 Generation of MOCS .................................38 4. IIMCIMIBTRANS MIB .....................................39 -- 4.1 IMIBTRANS MIB GDMO Templates .....................39 -- 4.1.1 IMIBTRANS Managed Object Classes ...............39 -- 4.1.2 IMIBTRANS Attribute Types ......................41 -- 4.1.3 IMIBTRANS Attributes ...........................48 -- 4.1.4 IMIBTRANS Notifications ........................49 -- 4.2 IMIBTRANS ASN.1 Modules ..........................51 5. Compliance and Conformance ............................55 5.1 Compliance ...........................................55 5.2 Conformance ..........................................55 6. Acknowledgments .......................................56 References ...............................................57 Appendix A (Normative) Managed Object Conformance Statements (MOCS) ........59 LaBarre Expires February 5, 1994 Page iii Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Revision History Draft 0 - October 9, 1992 Initial draft of this document. Draft 1 - March 26, 1993 Previous draft of this document (replaced Draft 0). Draft 2 - May 26, 1993 Previous draft of this document (replaced Draft 1). Draft 3 - August 5, 1993 Current draft of this document (replaces Draft 2). This draft will undergo QA review and then be published as Issue 1.0. OID values and MOCS proformas will be added prior to publication. Major Changes Since Last Revision 1. Added unique naming attributes for all classes. 2. Removed translation of conceptual table classes. 3. Modified DELETEATT and DELETEVALUE keywords and corresponding attribute properties. 4. Added clauses on compliance and conformance. LaBarre Expires February 5, 1994 Page iv Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 1. Introduction This section provides an overview of ISO/CCITT and Internet Management Coexistence (IIMC) activities, insight into the problem being addressed by IIMC, and a brief introduction to the strategy adopted by IIMC: use of translated MIBs in either a proxy or native implementation. The section concludes by describing the scope of this document, and terms and conventions used by this document. 1.1 Problem Statement The need for enterprise network management has been addressed by development of network management standards within various communities, most notably the ISO/CCITT and Internet communities. - The ISO/CCITT community developed the Common Management Information Protocol (CMIP) [ISO9596-1], and related SMI documents [ISO10165-1,2,4]. - The Internet community developed the Simple Network Management Protocol (SNMP) [RFC1157], and its successor, SNMPv2 [RFC1448]. The Internet SMI is defined in [RFC1155] and [RFC1442]. These standards share a nearly common management model, but diverge due to differing management philosophies. Although functionally similar, the Internet and ISO/CCITT protocols and SMIs differ in terms of their complexity and specific operations. Business requirements for end-to-end enterprise management include the need to integrate the management of many different devices, potentially owned or administered by many independent organizations. This requires components to be accessed by ISO/CCITT management, Internet management, and proprietary management mechanisms in a manner which presents a unified view of the network, despite protocol and SMI differences. For example, many telecommunications and computer vendors, represented by organizations such as the Network Management Forum (NMF), and the U.S. government, as specified in the Government Network Management Profile (GNMP), have based their enterprise management model on the ISO/CCITT management model. These organizations are particularly interested in integrated management of devices that use the Internet management. This interest is primarily due to the widespread commercial implementation and use of such devices, especially devices that use the Internet TCP/IP protocol suite. LaBarre Expires February 5, 1994 Page 1 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 1.2 Overview of IIMC This document is part of a package of ISO/CCITT and Internet Management Coexistence (IIMC) drafts. Documents included in this package are: [IIMCIMIBTRANS] Translation of Internet MIBs to ISO/CCITT GDMO MIBs [IIMCOMIBTRANS] Translation of ISO/CCITT GDMO MIBs to Internet MIBs [IIMCMIB-II] Translation of Internet MIB-II (RFC1213) to ISO/CCITT GDMO MIB [IIMCPROXY] ISO/CCITT to Internet Management Proxy [IIMCSEC] ISO/CCITT to Internet Management Security These documents together comprise a package aimed at integrating ISO/CCITT-based and Internet-based management systems. These documents represent coexistence and interworking efforts underway within the IIMC working group, chartered under the auspices of the Network Management Forum Architecture Integration ISO/Internet (AIII) technical team. The IIMC intends to address the problem that end-to-end management requires an integrated, unified view of the managed network, despite differences in management protocol and information structure. Integrated management can be facilitated by the development of "proxy" mechanisms which translate between functionally equivalent service, protocol, and SMI differences to create this unified view. MIB translation procedures can be used to support proxy management, as well as to take advantage of existing MIB definition and avoid duplication of effort. In this way, commercial investment in both ISO/CCITT and Internet-based management technologies can be preserved through deployment of common methods and tools which support integration. This overall strategy was outlined in a joint publication developed by the NM Forum and X/Open entitled "ISO/CCITT and Internet Management: Coexistence and Interworking Strategy" [NMFTR107]. The documents included in the IIMC package are the next level of detailed specifications which implement several of the methodologies identified in the strategy. Additional specifications may be defined in the future. 1.3 MIB Translation Procedures The foundation of IIMC is provided by a pair of Management Information Base (MIB) translation procedures. LaBarre Expires February 5, 1994 Page 2 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 - [IIMCIMIBTRANS] specifies translation procedures for converting MIBs from Internet MIB macro format into ISO/CCITT GDMO template format. - [IIMCOMIBTRANS] specifies translation procedures for converting MIBs from ISO/CCITT GDMO template format into Internet MIB macro format. The IIMC approach is to specify direct translation procedures which yield a pair of functionally-equivalent MIBs, as shown in the following figure. +----------------+ +--------------------+ +----------- -----+ | Internet MIB | | MIB Translation | | GDMO MIB | | | | Procedures | | | | Format = | | Specified By | | Format = | | [RFC1212] & |---->| [IIMCIMIBTRANS] or |---->| [ISO10165- 1] & | | [RFC1442] |<----| [IIMCOMIBTRANS] |<----| [ISO10165- 4] | +----------------+ +--------------------+ +----------- -----+ MIBs translated by these procedures may be used to take advantage of existing MIB definitions when business needs require deployment in a different management environment. Translated MIBs may also be used to provide uniformity when multiple management environments are supported by a single system (e.g., dual stack managers). Finally, IIMC MIB translation procedures may be used to support service emulation by a proxy. 1.4 Native Management Model The basic model for ISO/CCITT and Internet management is illustrated in the following diagram. LaBarre Expires February 5, 1994 Page 3 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Manager Agent +-----------------------+ +----------------------+ |+---------------------+| |+-------------------+ | || Management || || Managed | | || Applications || || Resources | | |+---------------------+| |+-------------------+ | | | | | | | | | | | | | |+-----------+---------+| |+----------+---------+| || Manager | MIB || || Agent | MIB || |+-----------+---------+| |+----------+---------+| | | | | | | | | Management | | | Management | | | Services | | | Services | +-----------------------+ +----------------------+ | Management Protocol | | Management Protocol | +-----------------------+ +----------------------+ ^ ^ | | +------------------------------------+ Protocol Messages Within IIMC documents, this model is referred to as the "native" management model. MIBs translated using IIMC procedures can be used by "native" agent implementations. For example, an ISO/CCITT agent can make visible TCP/IP managed resources using the translated GDMO version of the Internet MIB-II [RFC1213] specified by [IIMCMIB-II]. Dual-stack managers or agents may also be implemented which support both the original MIB and the translated MIB generated using IIMC- specified procedures. 1.5 Proxy Management Model LaBarre Expires February 5, 1994 Page 4 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 The basic model for ISO/CCITT to Internet proxy management is illustrated in the following diagram. This proxy is specified by [IIMCPROXY]. A similar approach could also be taken to specify an Internet to ISO/CCITT proxy, although no such IIMC document is currently specified. Manager Proxy Agent +-----------------------+ +---------------------+ +-------- --------------+ |+---------------------+| |+------+ +----------+| |+------- ------------+ | || Management || || GDMO | | Internet || || Managed | | || Applications || || MIB | | MIB || || Resources | | |+---------------------+| |+------+ +----------+| |+------- ------------+ | | | | |+-------------------+| | | | | | | || Service || | | | | | | || Emulation || | | | | | | ||(scoping) || | | | | | | || (filtering) || | | | |+-----------+---------+| || (operations) || |+------- ---+---------+| || ISO/CCITT | GDMO || || (message || || Internet | Internet|| || Manager | MIB || || transformation)|| || Agent | MIB || |+-----------+---------+| |+-------------------+| |+------- ---+---------+| | | | | |CMIS | | | | | | | CMIS Services | | |Services | | | | SNMP "Services" | | | | | | | | | | | | | | | | SNMP| | | | | | | | | | "Services"| | | | | +-----------------------+ +---------------------+ +-------- --------------+ | CMIP | | CMIP | SNMP | | SNMP | +-----------------------+ +---------------------+ +-------- --------------+ ^ ^ ^ ^ LaBarre Expires February 5, 1994 Page 5 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 | | | | +---------------------+ +----------------- --+ CMIP Messages SNMP Messages This ISO/CCITT to Internet proxy provides emulation of CMIS services by mapping to the corresponding SNMP message(s) necessary to carry out the service request. The service emulation allows management of Internet objects by an ISO/CCITT manager. The left hand side of the proxy behaves like an ISO/CCITT agent, communicating with the ISO/CCITT manager using CMIP protocols. The right hand side of the proxy behaves like an Internet manager, communicating with the Internet agent using SNMP protocols. The proxy relies on the existence of a pair of directly- related MIB definitions, where the Internet MIB has been translated into ISO/CCITT GDMO using the procedures specified in [IIMCIMIBTRANS]. The proxy uses these MIB definitions and rules to provide run-time translation of management information carried in service requests and responses. The proxy is designed with a specified interface between the proxy and the underlying protocol stacks, and so deals primarily in terms of CMIS services and SNMP "services". The proxy emulates services such as CMIS scoping and filtering, processing of CMIP operations, and forwarding/logging of CMIS notifications by performing a mapping process which must be tailored for each protocol (for example, SNMPv1 and SNMPv2 are variants of the same protocol mapping process). 1.6 Scope of this Document A major reason for the rapid commercialization of devices manageable via the Internet management protocol is due to the speed with which the vendors in the Internet community have been able to develop MIBs based on the Internet SMI. To capitalize on this continuing Internet MIB development and their deployment in commercial devices, communities interested in integrated management via ISO/CCITT-Internet proxies require that procedures be defined for translation of Internet MIBs into ISO/CCITT GDMO MIBs, i.e., MIBs defined according to the ISO/CCITT SMI Guidelines for Definition of Managed Objects [ISO10165-4]. Communities interested in using ISO/CCITT management protocols to directly manage resources using the Internet defined MIB elements are also interested in MIB translation procedures. Such MIB translations may also minimize the independent development of ISO/CCITT GDMO MIBs for the same resources and thereby reduce the incompatibilities with the Internet MIBs. LaBarre Expires February 5, 1994 Page 6 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Translation procedures which may be automated to a high degree, and include unambiguous automated registration procedures, are of particular interest to the communities interested in using GDMO translations of Internet MIBs. This document (IIMCIMIBTRANS) defines such procedures. This document also defines generic SNMP trap to CMIS notification mappings, common naming conventions, and ASN.1 modules applicable to translated Internet MIBs. Many of the procedures defined in this document may be subject to automation. Comments are provided concerning possible aids to automation; however, it is not the intent of this document to provide fully automated translation algorithms. 1.7 Terms and Conventions This document assumes that the reader is familiar with the ISO/CCITT SMI and Internet SMI, and the terminology of each. The term SNMP will be used throughout the document to indicate either SNMPv1 or SNMPv2, unless a distinction needs to be made. Other conventions used during the translation process are described in Section 3.2. 2. Registration and Naming Procedures Registration and naming procedures are crucial to the unique identification of management information. Registration assures the uniqueness of management information element types, while naming provides a way of distinguishing instances of a type and locating them within the MIB. 2.1 Registration Procedures The registration authority for management definitions produced during the translation process shall be the Network Management Forum. WARNING: Object Identifiers produced during the translation process are only provisionally assigned. The object identifiers are not registered until approved by the registration authority. In cases of conflict with existing registered object identifiers, the registration authority will manually assign object identifiers. Registration procedures specify that changes in the syntax or semantics of registered entities require them to be registered as new entities. The process of converting Internet MIBs into the ISO/CCITT GDMO MIBs inevitably introduces subtle semantic changes in how data can be operated on, and changes in the content of the MIB element. For example, ISO/CCITT attributes that are converted from Internet Object Types acquire matching LaBarre Expires February 5, 1994 Page 7 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 rules for use in filtering operations. ISO/CCITT object classes that are created from Internet groups acquire semantics related to their inheritance of new attributes from the "top" managed object class. The end result is that all the new ISO/CCITT object classes, attributes, and notifications created during the translation process must be registered. In addition, name bindings for inserting object instances into the naming hierarchy must be registered. 2.1.1 Automated Registration Procedures Registration procedures are critical to the goals of automating the translation of Internet MIBs to ISO/CCITT GDMO format, and the efficient implementation of ISO/CCITT-Internet proxies. Registration involves assignment of an ASN.1 Object Identifier (OID) to the entity. Management entities defined according to the principles of the Internet SMI may be registered under the IAB's "internet" arc, or registered under an arc in another organization's proprietary registration subtree. Since OIDs can be guaranteed to be unique across organizations only within the context of the uppermost registration hierarchy, this document uses the entire OID to prevent ambiguity. The effect of the registration procedure specified in this document is to graft the entire OID to another part of the registration tree, without changing the OID structure. Registration is accomplished by the following procedure: a) determine the sequence of sub-identifiers of the OID assigned to the internet management entity, beginning at the root of the registration tree, and identify that sequence as , NOTE: Remember, the first part of the ASN.1 BER encoded OID must be translated into two sub-identifiers. b) determine the translated OID {} as: {} = { } where is the OID dedicated for ISO/CCITT- Internet automated registration procedures. This procedure preserves the unique identification of the entities within the Internet subtree, and entities identified by OIDs that are registered by other organizations. Internet defined groups and objects must be registered as ISO/CCITT object classes and attributes; and Internet traps must be registered for inclusion in as ISO/CCITT LaBarre Expires February 5, 1994 Page 8 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 notifications. This document allocates an arc in the registration hierarchy for use in automated registration of management elements defined according to IIMC procedures defined in this document. The arc is named "iimcAutoTrans". iimcAutoTrans OBJECT IDENTIFIER ::= {...TBD...} Editor's Note: [This TBD value to be provided prior to publication.] 2.1.2 IIMC Explicit Registration Procedures Automated registration procedures alone are not sufficient to support the translation process. ISO/CCITT management entities other than translated objects, attributes, and Internet traps, need to be explicitly registered. These entities include: - name bindings for object classes, - ASN.1 modules that may be referenced for inclusion in other ASN.1 modules of other documents, - documents to enable MIB elements and attribute types defined in one document to be referenced within other documents, - IIMC defined management elements, such as the generic notification defined in this document and the IIMC proxy MIB defined in [IIMCPROXY]. This document allocates an arc in the registration hierarchy for explicitly registering IIMC management entities. The arc is named "iimcManagement". This document assigns sub-arcs under the "iimcManagement" arc in the ASN.1 module in section 4.2. The following paragraphs describe IIMC registration procedures to facilitate automated translation and assure uniqueness of registered ASN.1 object identifiers for ISO/CCITT object classes and attributes derived from internet entities; and a registration procedure for their name bindings. 2.1.2.1 Object Classes and Attributes Registration Follow the procedure described in section 2.1.1 for OIDs associated with Internet groups, conceptual tables, conceptual table entries, and objects. 2.1.2.2 Trap/Notification Registration Internet traps/notifications and informRequests are not considered by the Internet SMI to be associated with any one object or group. The ISO/CCITT SMI, however, requires that a notification be emitted by a specific object instance. Therefore, determining which ISO/CCITT managed object class LaBarre Expires February 5, 1994 Page 9 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 should emit specific internet traps/notifications is problematic. This document defines a generic IIMC notification, internetAlarm (see 3.2.4 and 4.1.4) that is used to carry all Internet traps/notifications and informRequests. This notification is to be emitted according to the conditions described in section 3.2.4 either by the internetSystem managed object defined in [IIMCMIB-II] and derived from the internet system group defined in [RFC1213], or by the cmipsnmpProxyAgent managed object defined in [IIMCPROXY]. However, each Internet defined trap/notification and informRequest must be registered such that they may be differentiated within the IIMC generic notification. Internet traps/notifications are registered using the OID corresponding to the value of the Internet snmpTrapOID object defined in [RFC1450]. For SNMPv1 trap PDUs, the snmpTrapOID is derived as stated in the SNMPv1/SNMPv2 Coexistence document [RFC1452] 3.1.2(2). That definition is repeated below: "... if the value of the generic-trap field is 'enterpriseSpecific' then the value used is the concatenation of the enterprise field from the trap PDU with two additional sub-identifiers, '0', and the value of the specific-trap field." For notifications, informRequests, defined according to the SNMPv2 SMI, the registered OID is the value of the snmpTrapOID. The registered OID for the Internet trap/notification is then used as the value for the probableCause field of the IIMC generic notification, internetAlarm, as defined in section 3.2.4 and 4.1.4. 2.1.2.3 NAME BINDINGs Registration As described in section 2.2.2 , the ISO/CCITT SMI requires that managed object instances be bound into a naming hierarchy, or tree, for purposes of naming. ISO/CCITT NAME BINDING templates are used to register the manner in which such instances may be bound. These name bindings shall be registered. The Internet SMI does not include the concept of a naming tree and name binding. Thus, there exists no registered internet entity from which an OID for the ISO/CCITT NAME BINDING template can be derived. One solution is to use the object class OID to register name bindings under a special registration arc {iimcManagementNB}. The following procedure shall be followed for registration of a single name binding LaBarre Expires February 5, 1994 Page 10 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 for an object class to be inserted into the naming hierarchy, i.e., the subordinate object class: - Assign each new name binding an OID, using the following rules. Start with the OID for the subordinate object class, derived using the procedures in section 2.1.1. Within the class OID, extract the (c) portion of the OID. Prepend iimManagementNB to the (c) so that the OID for the name binding is of the form: {iimcManagementNB (c)} [WARNING: Object Identifiers for name bindings produced during the translation process are only provisionally assigned. The object identifiers are not registered until approved by the registration authority. In cases of conflict with existing registered name bindings that have different creation or deletion semantics, or behaviour characteristics, the registration authority will manually assign object identifiers to the name binding.] Note: in general multiple name bindings may be defined for an OSI object class. However the automated registration procedures defined in this document only provide for a single name binding. This facilitates the proxy translation process, especially for received traps/notifications and informRequests. 2.1.2.4 Registration of ASN.1 Modules and IIMC Documents Translated MIBs may contain definitions that can be referenced by other documents, e.g., attribute types defined in this document. An identifier and registered OID shall be given to each such IIMC document so that management elements defined therein may be referenced. Documents that contain translated MIBs derived from RFCs, unless manually assigned, shall be automatically assigned short document identifiers, i.e., a document alias, of the form: "iimcRFC" || [|| ]*, where is the internet number assigned to the RFC. If multiple RFCs are included in the translation, then the RFC numbers shall be concatenated in ascending sequence. Document aliases may be manually assigned by the registration authority. IIMC documents are registered under the {iimcManagementDoc} arc. Documents derived from MIBs defined in Internet RFCs are registered under the iimcManagementDocAuto arc by concatenating the RFC number onto that arc. If multiple RFCs are included in the translation, then the RFC numbers shall be concatenated to iimcManagementDocAuto in ascending sequence. LaBarre Expires February 5, 1994 Page 11 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Explicit registration of other documents within the IIMC sub- tree shall be under the iimcManagementDocMan arc. Documents that define translated MIBs contain syntax in ASN.1 modules that can be referenced by other documents. An identifier and registered OID shall be given to each such ASN.1 module in an IIMC document so that syntax defined therein may be referenced. ASN.1 modules in documents that contain translated MIBs derived from RFCs, unless manually assigned, shall be automatically assigned short module identifiers, i.e., a module alias, of the form: "IIMCRFC" || [|| ]* || "ASN1", where is the internet number assigned to the RFC. If multiple RFCs are included in the translation, then the RFC numbers shall be concatenated in ascending sequence. Module aliases may be manually assigned by the registration authority. ASN.1 modules defined in IIMC documents are registered under the {iimcManagementModule} arc. Modules derived for MIBs defined in Internet RFCs are registered under the iimcManagementModAuto arc by concatenating the RFC number onto that arc. If multiple RFCs are included in the translation, then the RFC numbers shall be concatenated to iimcManagementModAuto in ascending sequence. Explicit registration of other ASN.1 modules within the IIMC sub-tree shall be under the iimcManagementModMan arc. Translated MIBs defined according to the procedures described in this document shall be documented in the following format: - the OID of the document shall be specified first as OBJECT IDENTIFIER ::= {} where is the short document identifier derived as described previously, e.g., iimcIIMCIMIBTRANS, and is the OID assigned to the document using the procedures described in this clause, e.g., {iimcManagementDocMan 1}. - the order in which definitions shall appear is: - managed object classes - attribute types - attributes - ASN.1 Modules - all text that is not part of the GDMO template, or ASN.1 definitions shall be preceded by "--" to indicate that they are comments. This includes clause headers. LaBarre Expires February 5, 1994 Page 12 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 2.1.2.5 Naming Attribute Registration As described in 2.2.1, the conversion of Internet MIBs to ISO/CCITT MIBs requires that naming attributes be defined and registered for each ISO/CCITT object class derived from Internet management entities. Naming attributes shall be registered as {iimcManagementName (c)}, where (c) is the OID assigned to the Internet entity from which the associated ISO/CCITT object class is derived. 2.2 Naming Procedures ISO/CCITT objects are identified by specifying read-only attributes within the object class as naming attributes. The naming attribute is used to form the relative distinguished name of the object instance. The sequence of relative distinguished names that trace the path in the naming hierarchy from the root to the object forms a distinguished name that uniquely identifies the object instance. 2.2.1 Naming Attributes The conversion of Internet MIBs into ISO/CCITT GDMO MIBs requires that naming attributes be defined and registered for each ISO/CCITT object class derived from Internet management entities. This paper specifies conventions for naming attributes: their labeling, registration, and value definition, to facilitate automated generation of naming attributes for object classes derived from Internet MIBs. The convention for assigning labels to naming attributes shall be to append "Id" to the label of the object class with which they are associated. The convention for assigning registration OIDs to naming attributes is described in 2.1.2.2.5. The convention for assigning syntaxes to naming attributes for instance identification shall be as follows: The naming attribute value syntax shall be either an ASN.1 NULL syntax or an ASN.1 SEQUENCE identifying the Internet INDEX objects used to name the object class and their syntax. Managed objects for which only a single instance resides in the managed system, e.g., tcp, ip, shall use the ASN.1 NULL for their syntax. Managed object classes that may have LaBarre Expires February 5, 1994 Page 13 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 multiple instances, e.g., table entries, shall use as their syntax an ASN.1 SEQUENCE that contains syntaxes of the internet objects identified in the INDEX (or AUGMENTS) clause of the Internet Macro from which the object class is derived, as defined in [RFC1155] or [RFC1442]. The values of the indexing attributes shall be transferred using the ASN.1 syntax specified for the Internet objects. Syntax specifications for single instance naming attributes shall be of the form: || "Value" ::= NULL. Syntax specifications for multiple instance naming attributes shall be of the form: || "Value" ::= SEQUENCE { [1] [, [i]]*i } where - The label of the naming attribute which is derived by appending "Id" to the label of the object class for which the naming attribute is being defined, - The label of an Internet object which is listed in the INDEX clause of the Internet entity from which the ISO/CCITT object class is derived, - The syntax associated with the Internet object having the associated . The values of INDEX variables used in the naming attribute structure shall NOT follow the IMPLIED semantics defined in SNMPv2. For multiple instance object classes, the index variables shall be listed, and tagged, within the SEQUENCE in the order of their appearance in the INDEX clause of the associated OBJECT-TYPE macro from which the ISO/CCITT object class is derived. The ASN.1 tag [i], for i = 2 to the number of index variables, shall be assigned to the syntax for index variables 2 and above in their order of appearance. 2.2.2 ISO/CCITT-Internet Naming Tree The ISO/CCITT SMI requires that managed object instances (conventionally just called managed objects) be bound into a naming hierarchy, or tree, for purposes of naming. This hierarchy is often called the containment hierarchy. The binding must specify for each managed object class: the object LaBarre Expires February 5, 1994 Page 14 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 class which is superior to it in the containment hierarchy; and a naming attribute in the object class that is used to distinguish instances of the object class at a given level in the hierarchy. The name binding is specified after the object class has been defined. 2.2.3 Distinguished Names The distinguished name (DN) of a managed object consists of a sequence of relative distinguished names (RDN), one for each managed object on the naming path from the root to the managed object. Each relative distinguished name contains exactly one attribute, the "naming" attribute for the corresponding class, as specified by a NAME BINDING template. This DN is used as the CMIP ManagedObjectInstance or BaseObjectInstance parameter for identifying managed objects. For example, a distinguished name designating a particular routing table entry (of class ipRouteEntry) might be: { {systemId = "troi.mitre.org"} {ipId = NULL } {ipRouteEntryId = SEQUENCE { ipRouteDest {129.83.2.17} } } with appropriate ASN.1 tags, etc., included. Note: the beginning of the above example distinguished name is implementation dependent. For example, the naming attribute for the system object could have been chosen to be the systemTitle attribute instead of the systemId attribute, and the system object could have been bound to object classes other than root. 2.3 OID Translation The procedures required to translate between Internet registered OIDs and names, and ISO/CCITT registered attribute and class OIDs are described in this section. 2.3.1 OID/Name Translation ISO/CCITT to Internet The general procedure for deriving ISO/CCITT registered OIDs from Internet OIDs was explained in section 2.1, and the structure of the naming attribute value was explained in section 2.2. This paragraph explains how the information used in an ISO/CCITT case OID, attribute OID, and the naming attribute value may be used to create the identifier for naming Internet objects. LaBarre Expires February 5, 1994 Page 15 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 The following definitions apply: ((c) and (a) refer to class and attribute, respectively) From 2.1, {classOID} ::= {iimcAutoTrans (c)} and {attributeOID} ::= {iimcAutoTrans (a)} For example, examine the ipRouteEntry object class OID: ipRouteEntry ::= {iimcAutoTrans 1 3 6 1 2 1 4 21 1} where (c) ::= 1 3 6 1 2 1 4 21 1, and an attribute that belongs ipRouteEntry, ipRouteNextHop: ipRouteNextHop ::= {iimcAutoTrans 1 3 6 1 2 1 4 21 1 7} where (a) ::= 1 3 6 1 2 1 4 21 1 7. Note that the attribute (a) for ipRouteNextHop is equal to (c) for its associated object class, ipRouteEntry, with the sub-identifier (7) appended to it. Most of the time the relationship: (a) ::= (c) is true for translated MIB attributes. This property is useful for determining the object class and object instance with which an attribute may be associated during run-time translation of Internet object instances contained in SNMP response PDUs and traps/notifications. Note: when attributes that were not a part of the original Internet group, or table entry, are included in a translated object class, then this relationship is not valid. For example, derived attributes assigned to an object class because their inclusion was indicated by an SNMPv2 AUGMENTS clause, as discussed in section 3.1. From 2.2, the ISO/CCITT naming attribute value contains either an ASN.1 NULL value, or a list of index variables in an ASN.1 SEQUENCE with their values represented in their appropriate syntax. (the "( )" indicates "contents of"):" (naming attribute) ::= LaBarre Expires February 5, 1994 Page 16 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 where the is an ASN.1 NULL, or a SEQUENCE identifying the INDEX attributes used to name the object class, and their syntax. Managed objects for which only a single instance resides in the managed system, e.g., tcp, ip, shall use the ASN.1 NULL for their value. Managed object classes that may have multiple instances, e.g., table entries, shall use as their value an ASN.1 SEQUENCE that contains values of the attributes derived from internet objects identified in the INDEX (or AUGMENTS) clause of the Internet Macro from which the object class is derived, as defined in [RFC1155] or [RFC1442]. For example, the ISO/CCITT naming attribute value for the instance of ipRouteEntry specific to IP address "129.83.2.17" contains the ipDestination index variable as an IP address represented in an ASN.1 OCTET STRING of size 4 as specified in [RFC1242]. The Internet uses the following convention to uniquely identify an Internet object instance: {internet object name}::= {(a) } For example, the internet object name for ipRouteNextHop corresponding to IP address 129 83 2 17 is {1 3 6 1 2 1 4 21 1 7 129 83 2 17}, where (a) ::= 1 3 6 1 2 1 4 21 1 7, ::=129 83 2 17. Therefore, given the contents of the naming attribute for the ISO/CCITT object instance being accessed, the is extracted. Given the attributeOID for the attribute being operated upon, the (a) is extracted. The {internet object name} is then formed from the results, taking into account appropriate conversions from their ASN.1 representation. For example, assume that a CMIS request is issued specifying a distinguished name for an ipRouteEntry managed object as illustrated in section 2.2.3; and an attribute for ipRouteEntry, say ipRouteNextHop. The ipRouteNextHop attribute has been assigned the identifier {iimcAutoTrans 1 3 6 1 2 1 4 21 1 7} in the MIB defined in [IIMCMIB-II]. Therefore, the ipRouteNextHop attribute identifier would first have to be translated into the corresponding Internet identifier {1 3 6 1 2 1 4 21 1 7} by stripping off the iimcAutoTrans portion of the OID. Then, from the RDN value for the ipRouteEntry extract the value for the , i.e., the value for the ipRouteDest index "129 83 2 17". Finally the Internet identification for this piece of management information would be constructed according to [RFC1213] as {ipRouteNextHop 129 83 2 17}, or equivalently, {1 3 6 1 2 1 4 21 1 7 129 83 2 17}. The agent with which this LaBarre Expires February 5, 1994 Page 17 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 information resides is identified (see 2.2.3), by the RDN for the system managed object naming attribute, e.g., the "systemId", as "troi.mitre.org." 2.3.2 OID/Name Translation Internet to ISO/CCITT Internet to ISO/CCITT OID/name translation is only necessary when used during run-time proxy translation. At run-time internet identifiers are provided as internet object names in SNMP responses and traps/notifications. The internet object names are of the form described in section 2.3.1. Although actual translation is required only during run-time in proxy implementations, the translation properties, and information that may be obtained, must be understood in order to properly define the structure of the IIMC generic notification, internetAlarm, defined in section 3.2.4. Given the definitions shown in section 2.3.1, and knowledge of the IIMC naming hierarchy (name bindings), the ISO/CCITT {classOID},{attributeOID}, and distinguished name can be derived from Internet names and the Internet agent address. - The iimcAutoTrans OID is known. - Using knowledge of the internet name structure as described in section 2.3.1, and knowledge of valid (a) values known to the proxy, the (a) and may be extracted from the internet name. Note: The extraction process is not possible if the valid (a) value is not known to the proxy. The translation process cannot be performed. - The ISO/CCITT attribute OID is formed as: {iimcAutoTrans (a)} - the ISO/CCITT class OID may be determined in one of two ways: i) assume that the (a) contains the object class OID, (c), with which the attribute may be associated, as discussed in section 2.3.1. Then stripping off the final component of the OID will yield the (c). The object class OID is then formed as {iimcAutoTrans (c)}. However, see the note in section 2.3.1. ii) use a safer approach, and determine the class OID by looking up the ISO/CCITT object class OID to which the attribute identified as {iimcAutoTrans (a)} belongs. LaBarre Expires February 5, 1994 Page 18 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 - The naming attribute OID may be derived by extracting the from the class OID derived previously, and prepending it with the OID for iimcManagementName as described in 2.1.2.2.5. - The managed object instance value, the object's DN, may be determined as follows: a) the value of the naming attribute associated with the object class may be formed as: . b) the naming attribute value, and the naming attribute OID defined in section 2.2.1, are used to form the final RDN for the object's DN. The sequence of other RDNs for the DN are determined from knowledge of the naming hierarchy defined for proxy [IIMCPROXY], i.e., the IIMC proxy name bindings, and the Internet agent's address. Note: if the Internet agent's address cannot be determined, then it may not be possible to associate a notification with a specific agent. This may be a problem if multiple Internet agents are associated with the same network address. 2.4 Inheritance for Object Classes The "top" class defined by [ISO10165-2] is the ultimate superior in the ISO/CCITT inheritance hierarchy. The class "top" contains attributes which are inherited by all managed object classes that are defined using the ISO/CCITT SMI and GDMO templates. Not all attributes of "top" need to be instantiated in any single managed object. All objects shall instantiate the mandatory "objectClass", and "nameBindings" attributes. If conditional packages may apply, an object shall instantiate the "packages" attribute. 2.5 Reference Labels for Derived Entities The labels used to reference Internet entities (groups, objects, traps) shall be used to reference the corresponding templates for the derived ISO/CCITT entity (object class, attribute, notification). LaBarre Expires February 5, 1994 Page 19 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 3. Internet to ISO/CCITT MIB Translation Procedures The procedures for translating Internet SMI MIBs into ISO/CCITT SMI MIBs consist of pre-translation procedures, GDMO template translation procedures, and post-translation procedures. Many of the procedures are subject to automation; some are not. Comments are provided concerning possible aids to automation; however, it is not the intent of this document to provide fully automated translation algorithms. 3.1 Pre-translation Procedures Pre-translation procedures are outlined below. The rationale for steps (a) - (d) is that the ISO/CCITT object classes and associated attributes must be identified. The rationale for steps (e) - (f) is that all ASN.1 syntax references in templates must be an ASN.1 External type reference or External value reference, i.e., must reference a label that appears on the left side of an ASN.1 construct within some ASN.1 module that appears in the document that defines the derived MIB. Internet MIBs often reference basic ASN.1 constructs, such as INTEGER and OCTET STRING, which must be converted into an External type reference. Default values must reference an External value reference. (a) Identify Internet groups and OBJECT-TYPEs associated with each group. For SNMPv2 defined MIBs, the OBJECT-GROUP macro includes this information. For SNMPv1 defined MIBs, the group may be identified manually and then the members of the group identified by the fact that their OIDs contain the group object identifier. For SNMPv1 defined MIBs, procedure (c) must be followed. (b) Identify conceptual table OBJECT-TYPEs, conceptual table entry (row) OBJECT-TYPEs associated with each table, and columnar OBJECT-TYPEs associated with each conceptual table entry. Note: For SNMPv2 defined MIBs, the MAX-ACCESS clause of the conceptual table and entry OBJECT-TYPES macro will have a value of 'not-accessible', and the convention often used is to include the word "Table" or "Entry" in the macro label. Once a conceptual table has been identified, the corresponding conceptual entry OBJECT-TYPE macro can be identified via its registered object identifier through the convention of appending a 1 to the table object identifier. Alternatively, the conceptual table's SYNTAX clause may be examined to determine the label of the corresponding conceptual entry Macro. SNMPv1 defined MIBs are not so consistent in their use of "not-accessible"; however, the other conventions apply. Note: For SNMPv2 defined MIBs, tables may be defined with table entries that augment (SNMPv2 AUGMENT clause) entries for an existing table. The table entry object class for the LaBarre Expires February 5, 1994 Page 20 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 augmented table will be bound to the table entry object class that corresponds to the reference in the AUGMENTS clause. (c) For each group, the OBJECT-TYPEs not identified in procedure (b), and not having an ACCESS or MAX-ACCESS clause value of "not-accessible", are identified for translation into attributes of an ISO/CCITT object class associated with the group. The OBJECT-TYPEs that have an ACCESS or MAX-ACCESS clause of 'not-accessible', i.e. conceptual table and conceptual table entry objects, are not translated. Note: some groups may not have any OBJECT-TYPEs to translate into attributes. (d) For each conceptual table entry OBJECT-TYPE, the set (set1) of columnar OBJECT-TYPEs associated with the table entry are identified for translation into ISO/CCITT attributes of an ISO/CCITT object class associated with the entry. Another set (set2) of OBJECT-TYPES identified in the INDEX clause of the conceptual table entry OBJECT-TYPE are also identified for inclusion in the class. If the AUGMENTS clause is present, then the INDEX clause of the conceptual table entry OBJECT-TYPE pointed to by the AUGMENTS clause identifies the elements of (set2). The union of these two sets constitutes the set of ISO/CCITT attributes associated with the table entry object class. All OBJECT-TYPEs are translated, excluding those that have an ACCESS or MAX-ACCESS clause of 'not-accessible'. Note: The set of columnar OBJECT-TYPES associated with a table entry can be identified by the SYNTAX clause for the OBJECT- TYPE for the conceptual table entry. The SYNTAX clause is of the form: SEQUENCE OF where includes the label of an OBJECT-TYPE included in the conceptual table entry. (e) Create an ASN.1 module for use in the GDMO template translations. Create an IMPORTS clause for the module and include in it the syntax to be imported from other modules. This may be done by including the parameters for the IMPORTS clause encountered in the Internet module. (An alternative is to import the syntax for attribute types defined in this document from the IimcCommonDef module. However, not all of the syntax may be needed, and some necessary syntax may be omitted for attribute types defined in other MIBs.) When any Internet TEXTUAL-CONVENTIONS macros that may be present in the Internet module are translated according to the procedures of 3.2.6, the resulting ASN.1 syntax shall be included in the new ASN.1 module. TEXTUAL-CONVENTIONS macros shall be translated first so that these ASN.1 constructs may be used during the translation of OBJECT-TYPE macros. LaBarre Expires February 5, 1994 Page 21 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 For each OBJECT-TYPE that is to be translated into an ISO/CCITT attribute, check the value of the SYNTAX clause, and if it is not a syntax included in the IMPORTS clause of the new ASN.1 module, or defined using an SNMPv2 TEXTUAL- CONVENTION macro, then do one of the following: i) If the value is not an External type reference: create an External type reference for the value in the SYNTAX clause and put it into the ASN.1 module. The label for the External type reference shall be the attribute label with the first letter capitalized. ii) If the value is an External type reference put the External type reference syntax into the ASN.1 module. f) If a DEFVAL clause is present, create an External value reference which has the type indicated by the OBJECT- TYPE SYNTAX clause and is assigned the value of the DEFVAL clause. The label for the External value reference shall be the attribute label preceded by "c-" (lower case letter "c"). Place the External value reference into the ASN.1 module created in e). For example, the following would be a valid value references (assuming StorageType was declared in, or imported to, the same ASN.1 module): c-contextStorageType StorageType ::= nonVolatile c-xyz INTEGER ::= 100. g) If the ASN.1 module for the Internet MIB definition contains ASN.1 value assignments, then the syntax for those value assignments pertinent to the translation shall either be placed in the ASN.1 module created in (e) or imported into the module using an External value reference. Note: It is recommended that a syntax that is used more than once in the MIB to be translated be defined just once in the new ASN.1 module created in (e) and referenced repeatedly. Examples of such commonly referenced types are INTEGER, OCTET STRING, and OBJECT IDENTIFIER. 3.2 GDMO Translation Procedures Readers of this document are assumed to have familiarity with the GDMO templates and their format. The templates structures presented here should be considered definitive for MIBs defined according to the translation procedures defined in this document. The GDMO templates in this paragraph contain elements indicated by "< x >", where "x" is to be interpreted and the result substituted into the template. LaBarre Expires February 5, 1994 Page 22 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 The "||" symbol indicates concatenation of elements. Adjacent elements that are not concatenated shall be separated by at least one space. The "[ ]" symbols surrounding a construct indicate that it maybe present or absent in any particular instance of the template. The "[ ]*" symbols surrounding a construct indicate that it may be present or absent in any particular instance of the template an undefined number of times. An "|" symbol is used to indicate that a choice must be made between alternate constructs. The "!" symbol is used to delimit text strings in the templates. Other delimiters may be used, as specified by the GDMO. The delimiter may not be used in the text string unless it is "doubled", e.g.,"!!". Elements that are defined in one template are not repeated for other templates unless its interpretation has changed. The Internet SNMPv2 SMI also includes macros for specifying compliance with the MIBs. These macros are similar to ISO/CCITT managed object conformance statements (MOCS), and are not addressed here. 3.2.1 Translation of Groups Internet groups may be translated to ISO/CCITT managed object classes by filling in the following GDMO template: MANAGED OBJECT CLASS DERIVED FROM "Rec. X.721 | ISO/IEC 10165-2 : 1992" :top; CHARACTERIZED BY || "Pkg" PACKAGE [BEHAVIOUR || "PkgBehaviour" BEHAVIOUR DEFINED AS !!;;] ATTRIBUTES || "Id" GET ["," [DEFAULT VALUE ] [PERMITTED VALUES ] ]*;;; REGISTERED AS { iimcAutoTrans (c) }; The following definitions apply: - The label associated with the Internet LaBarre Expires February 5, 1994 Page 23 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 group. - Any textual description that is applicable to the resource modeled by this group, and the resource's management behaviour. Text in the SNMPv2 DESCRIPTION clause of the OBJECT-GROUP macro may be used. To facilitate parsing of BEHAVIOUR clauses for classes derived from groups, the following scannable structure shall be used (the [] indicate optional constructs, keywords must be in caps, keywords shall be excluded from the descriptive text): [BEGINPARSE [REFERENCE !!!!;] [DESCRIPTION !!!!;] ENDPARSE ] The scannable structure shall be the first text in the BEHAVIOUR clause. - The label of an Internet OBJECT-TYPE which is included in the group and does not represent a conceptual table, a conceptual table entry, or an OBJECT-TYPE included in a conceptual table entry. These become attributes of the object class. - The constraints on the attribute values expressed as an ASN.1 subtype that is valid for the attribute's syntax. This clause is present only when constraints are specified by the source MIB ASN.1 syntax, but are not specified in the syntax associated with the corresponding translated attribute. - The mapping of the ACCESS (or SNMPv2 MAX-ACCESS) clause value as defined below (multi-valued attributes are not permitted in the Internet SMI): OBJECT-TYPE ACCESS Clause Value ISO/CCITT read-only GET read-write GET-REPLACE write-only REPLACE read-create not applicable not-accessible not translated - The value of the DEFVAL clause in the form of an External value reference, i.e., LaBarre Expires February 5, 1994 Page 24 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 ., where the module-name is the name of an ASN.1 module within the document in which this object class is defined, and the value-name is the label assigned to the ASN.1 value definition contained in the DEFVAL clause. Where it is necessary to refer to the label of a definition contained in another document, this may be achieved by means of a local ASN.1 module which makes use of the ASN.1 IMPORTS mechanism to import the appropriate value definition. 3.2.2 Translation of Table Entry Objects Internet conceptual table entry objects may be translated to ISO/CCITT managed object classes by filling in the following GDMO template: MANAGED OBJECT CLASS DERIVED FROM "Rec. X.721 | ISO/IEC 10165-2 : 1992" :top; CHARACTERIZED BY || "Pkg" PACKAGE BEHAVIOUR || "PkgBehaviour" BEHAVIOUR DEFINED AS !!;; ATTRIBUTES || "Id" GET ["," [DEFAULT VALUE ] [PERMITTED VALUES ] ]*;;; REGISTERED AS {iimcAutoTrans (c) }; The following definitions apply: - The label of an Internet OBJECT- TYPE which represents a conceptual table entry. - The label of an Internet OBJECT- TYPE which represents an OBJECT-TYPE included in a conceptual table entry. These become attributes of the table entry managed object. - The mapping of the ACCESS (or SNMPv2 MAX-ACCESS) clause value as defined below (multi-valued attributes are not permitted in the Internet SMI): OBJECT-TYPE ACCESS Clause Value ISO/CCITT read-only GET read-write* GET-REPLACE write-only REPLACE LaBarre Expires February 5, 1994 Page 25 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 read-create* GET-REPLACE not-accessible not-translated * Some attributes that were derived from OBJECT-TYPEs with a read-create or read-write access clause will be changed to GET during post-translation processing of INDEX type attributes. See section 3.3.3. - To facilitate parsing of BEHAVIOUR clauses for classes derived from table entries, the following scannable structure shall be used (the [] indicate optional constructs, keywords must be in caps, keywords shall be excluded from the descriptive text): [BEGINPARSE [REFERENCE !!!!;] [DESCRIPTION !!!!;] INDEX [IMPLIED] || "." || [,[IMPLIED] || "." || ]*; [AUGMENTS ;] ENDPARSE] where, IMPLIED - the key word as encountered in the INDEX clause of SNMPv2 MIBs. The SNMPv2 semantics of IMPLIED are to be applied to the index variable that it precedes when translating from OSI names into Internet names. The values of INDEX variables, when used in the naming attribute structure, shall NOT follow the IMPLIED semantics defined in SNMPv2. - the label for the ASN.1 module that contains the Internet MIB definitions, - the Internet label assigned to the object that appears in the Internet macro INDEX clause for a table entry. The scannable structure shall be the first text in the BEHAVIOUR clause. 3.2.3 Translation of Other OBJECT-TYPES LaBarre Expires February 5, 1994 Page 26 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Other Internet OBJECT-TYPEs are translated into ISO/CCITT attributes by filling in the following GDMO template: ATTRIBUTE [[WITH ATTRIBUTE SYNTAX || "." || ;] | [DERIVED FROM ;]] [MATCHES FOR ;] [BEHAVIOUR || "Behaviour" BEHAVIOUR DEFINED AS !!;;] REGISTERED AS {iimcAutoTrans (a)}; The following definitions apply: - The label of the ASN.1 module that contains the ASN.1 syntax being referenced. The module must appear in the document that defines the translated MIB. ISO/CCITT have the concept of a generic "attribute type", which is a defined type that can be used in the definition of specific attributes. Attribute types have a defined syntax, generic semantics, and matching rules. For example, counter and gauge are attribute types. The SNMPv2 SMI has a similar concept embodied in the TEXTUAL- CONVENTIONS macro, which allows the definition of "Internet attribute types" with associated syntax and semantics. See section 3.2.6 for translation procedures associated with the TEXTUAL CONVENTIONS macro. Attributes of the defined SNMP types (e.g., Counter, IpAddress, Gauge, TimeTicks, Opaque, Counter32, Gauge32, Counter64, NsapAddress) shall inherit the semantics associated with the type - not just the syntax. As such, they could have been defined as Internet attribute types using a TEXTUAL CONVENTIONS macro. See 4.1.4 for the conversion of these types into ISO/CCITT attribute types. In addition, 4.1.4 contains ISO/CCITT attribute type definitions derived from [RFC1443]. Attribute templates derived from OBJECT-TYPE macros that specify these Internet attribute types in their SYNTAX clause shall contain the DERIVED FROM clause. Attribute templates derived from other ASN.1 types shall contain the WITH SYNTAX clause. - Translation of the SYNTAX clause into a valid type reference name using the ASN.1 External type reference notation as GDMO requires. LaBarre Expires February 5, 1994 Page 27 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 - The matching rules for use in CMIS filtering operations. Note: These rules also apply to External type references that reference the syntax type. These matching rules may be applied by automated mechanisms and then examined in the post-translation phase. Syntax Type Matching Rules INTEGER EQUALITY, ORDERING OCTET STRING EQUALITY, ORDERING, SUBSTRINGS BIT STRING EQUALITY OBJECT IDENTIFIER* EQUALITY, ORDERING NULL EQUALITY * ORDERING, when applied to OBJECT IDENTIFIER, refers to the lexicographical ordering of the OIDs as used in [RFC1157] [RFC1448]. See 4.1.2 for the matching rules that are inherited from some ISO/CCITT attribute types derived from Internet attribute types. - Attributes of the defined SNMP/SNMPv2 types (e.g., Counter, IpAddress, Gauge, TimeTicks, Opaque, Counter32, Gauge32, Counter64, NsapAddress), and Internet attribute types defined using the SNMPv2 TEXTUAL CONVENTIONS macro, shall be treated as ISO/CCITT attribute types. Specific attributes are derived from these types. The following table indicates the translations required for Internet attribute types as defined either in this document or Internet documents. ISO/CCITT attribute types corresponding to the following Internet attribute types are defined in 4.1.2. LaBarre Expires February 5, 1994 Page 28 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 Syntax Type Substituted Value AutonomousType {iimcIIMCIMIBTRANS} :autonomousType Counter {iimcIIMCIMIBTRANS} :counter32 Counter32 {iimcIIMCIMIBTRANS} :counter32 Counter64 {iimcIIMCIMIBTRANS} :counter64 DisplayString {iimcIIMCIMIBTRANS} :displayString Gauge {iimcIIMCIMIBTRANS} :gauge32 Gauge32 {iimcIIMCIMIBTRANS} :gauge32 InstancePointer {iimcIIMCIMIBTRANS} :instancePointer IpAddress {iimcIIMCIMIBTRANS} :ipAddress MacAddress {iimcIIMCIMIBTRANS} :macAddress NetworkAddress {iimcIIMCIMIBTRANS} :ipAddress NsapAddress {iimcIIMCIMIBTRANS} :nsapAddress Opaque {iimcIIMCIMIBTRANS} :opaque PhysAddress {iimcIIMCIMIBTRANS} :physAddress RowStatus {iimcIIMCIMIBTRANS} :rowStatus TestAndIncrement {iimcIIMCIMIBTRANS} :testAndIncrement TimeInterval {iimcIIMCIMIBTRANS} :timeInterval TimeStamp {iimcIIMCIMIBTRANS} :timeStamp TimeTicks {iimcIIMCIMIBTRANS} :timeTicks TruthValue {iimcIIMCIMIBTRANS} :truthValue UInteger32 {iimcIIMCIMIBTRANS} :uInteger32 - To facilitate parsing of BEHAVIOUR clauses for attributes derived from Internet objects, the following scannable structure shall be used (the [] indicate optional constructs, keywords must be in caps, keywords shall be excluded from the descriptive text): [BEGINPARSE [REFERENCE !!!!;] [DESCRIPTION !!!!;] [UNITS !!!!;] [DEFVAL ;] ENDPARSE] The scannable structure shall be the first text in the BEHAVIOUR clause. LaBarre Expires February 5, 1994 Page 29 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 3.2.4 Translation of Notifications The Concise MIB Definitions [RFC1212] for SNMPv1 does not contain a macro for representing traps since, in SNMPv1, traps were considered part of the protocol and not part of the MIB. A subsequent attempt was made to correct this problem in [RFC1215] by defining a TRAP-TYPE macro. The SNMPv2 SMI [RFC1442] defines a NOTIFICATION macro and its mapping onto an SNMPv2 PDU. The document on SNMPv1/SNMPv2 Coexistence [RFC1452] defines a mapping between SNMPv1 trap PDUs and SNMPv2 notifications. Therefore, by inference, there exists a mapping of SNMP trap PDUs into an SNMPv2 NOTIFICATION macro. The ISO/CCITT SMI models notifications as being emitted by specific managed objects. As a consequence, notifications must be assigned to appropriate object classes at the time the object class is defined. New notifications cannot be added to an object class without changing the class's registration. The Internet SMI has no explicit concept of traps being associated with an object. Consequently, determining the IIMC derived managed object which is the source of a notification is not always possible. Therefore, this document defines a generic notification into which all Internet traps/notifications may be mapped. Internet Traps/Notifications may contain information related to multiple internet objects. Consequently, the generic notification may contain variables not affiliated with the same derived ISO/CCITT object class. This document requires that variables be placed into the generic notification even if they are not attributes of the object class from which the notification is emitted. The generic notification, "internetAlarm", shall be emitted by the internetSystem managed object as defined in [IIMCMIB-II] and derived from the internet system group defined in [RFC1213]. The notification shall be sent in the unconfirmed mode in the context that an Internet trap/notification would be sent, and in the confirmed mode in the context that an SNMPv2 InformRequest PDU would be sent. When generated within a proxy, the events that shall trigger the notification to be emitted are the receipt of an Internet trap/notification, or an SNMPv2 InformRequest PDU. In accordance with [ISO10165-1] the decision whether to send a notification in the confirmed or unconfirmed mode is a matter for the agent to determine based on the policies associated with the manager. The SNMPv2 InformRequest PDU shall cause the notification to be sent in the confirmed mode, with the response containing no LaBarre Expires February 5, 1994 Page 30 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 reply information, i.e., the CMIS service shall omit the event reply parameter. All SNMP traps/notifications shall cause the generic notification to be sent in the unconfirmed mode. In the case of proxy, an Internet trap/notification and SNMPv2 InformRequest PDU for which the agent address cannot be determined by the proxy shall cause the generic notification to be emitted by a different object than the internetSystem object, as defined in [IIMCPROXY]. The internetAlarm notification is defined in section 4.1.4. 3.2.5 Log Record for Internet Alarm If internetAlarms notifications and event reports are to be logged, then a corresponding log record object class must be defined. The internetAlarmRecord managed object class is defined in section 4.1.1. 3.2.6 Translation of Internet Attribute Types ISO/CCITT has the concept of a generic "attribute type", which is a defined type that can be used in the definition of specific attributes. Attribute types have a defined syntax, generic semantics, and matching rules. For example, counter and gauge are attribute types. The SNMPv2 SMI has a similar concept embodied in the TEXTUAL- CONVENTION macro, which allows the definition of "Internet attribute types" with associated syntax and semantics. Attributes of the defined SNMP types (e.g., Counter, IpAddress, Gauge, TimeTicks, Opaque, Counter32, Gauge32, Counter64, NsapAddress) should inherit the semantics associated with the type - not just the syntax. As such, they could have been defined as Internet attribute types using a TEXTUAL-CONVENTION macro. ISO/CCITT attribute types are defined using the ATTRIBUTE template, without the REGISTERED AS clause. LaBarre Expires February 5, 1994 Page 31 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 ATTRIBUTE [[WITH ATTRIBUTE SYNTAX || "." || ;] | [DERIVED FROM ;]] [MATCHES FOR ;] [BEHAVIOUR || "Behaviour" BEHAVIOUR DEFINED AS !!;;] The following definitions apply: - The label associated with the TEXTUAL-CONVENTION macro, or with the generic type that could have been defined using that macro. - To facilitate parsing of BEHAVIOUR clauses for attributes derived from internet objects, the following scannable structure shall be used (the [] indicate optional constructs, keywords must be in caps, keywords shall be excluded from the descriptive text): [BEGINPARSE [REFERENCE !!!!;] [DESCRIPTION !!!!;] [UNITS !!!!;] [DISPLAY-HINT !!!!; ENDPARSE] The scannable structure shall be the first text in the BEHAVIOUR clause. Attribute templates derived from OBJECT-TYPE macros that specify Internet attribute types in their SYNTAX clause shall specify the corresponding ISO/CCITT attribute types in their DERIVED FROM clause. Note: In many cases, an SNMP SMI MIB will define a new ASN.1 type which is repeatedly referenced by a large number of OBJECT-TYPE macros. In this case, it would be useful to define a new generic attribute type once and then use DERIVED FROM wherever the type is used. Furthermore, if the new ASN.1 type is actually a refinement of one of the defined SNMP types (for LaBarre Expires February 5, 1994 Page 32 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 example, a refinement of DisplayString), it is desirable that the behaviour associated with the defined SNMP type gets carried over into the translated MIB. To accomplish this, such cases could use the DERIVED FROM clause when defining new generic attribute types. For example, the ASN.1 syntax: DateAndTime ::= DisplayString (SIZE (14)) -- comments provide additional semantics could be represented as a new generic attribute type: dateAndTime ATTRIBUTE DERIVED FROM {iimcManagementDocMan 1}:displayString; BEHAVIOUR dateAndTimeBehaviour BEHAVIOUR DEFINED AS !!;; Constraints on the attribute value range, e.g., (SIZE(14)) from the example, may either be included in the syntax definition, if one is specified, or textually in the descriptive text. This avoids the problem of always having to specify a PERMITTED VALUES clause in the class template to constrain the values, or value range, of an attribute derived from a generic attribute type. The latter use of PERMITTED VALUES is recommended only for special cases where additional special constraints are to be applied. 3.3 Post-translation Procedures Post-translation procedures generally include manual checking of the BEHAVIOUR clause text for proper behaviour definitions, the addition of information concerning variables for creation and deletion in the case of NAME BINDING templates, and the creation of name bindings for placing the derived ISO/CCITT objects into the containment hierarchy. Also, ATTRIBUTE templates must be created for the naming attributes assigned to the derived ISO/CCITT object classes. Post-translation of the property-label is required for attributes derived from Internet objects used in conceptual table entry creation and deletion. Post-translation may also be required for the ASN.1 module created during the translation process. 3.3.1 Post-translation of BEHAVIOUR Cause The SNMP and SNMPv2 text descriptions often contain SNMP/SNMPv2 protocol, or SMI, relevant information that is inappropriate for an ISO/CCITT object class or attribute; such text shall be removed or properly modified. For BEHAVIOUR clauses in NAME BINDING templates, the behaviour of the object relative to creation and deletion, and any constraints that pertain, shall be explained, especially if LaBarre Expires February 5, 1994 Page 33 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 the action causes an effect on the resource, e.g., deletion of a transport connection object may cause the transport connection to be terminated. The scannable structures within the BEHAVIOUR shall be checked for completeness and missing fields filled in. 3.3.2 Creation of NAME BINDING Templates The ISO/CCITT name bindings for object classes to be bound into the naming hierarchy described in section 2.2.2 are created by filling in the GDMO template defined below. || "NB" NAME BINDING SUBORDINATE OBJECT CLASS AND SUBCLASSES; NAMED BY SUPERIOR OBJECT CLASS AND SUBCLASSES; WITH ATTRIBUTE {iimcIIMCIMIBTRANS}: || "Id"; BEHAVIOUR || "Behaviour" BEHAVIOUR DEFINED AS !!;; [CREATE WITH-AUTOMATIC-INSTANCE-NAMING, WITH-REFERENCE-OBJECT;] [DELETE DELETES-CONTAINED-OBJECTS;] REGISTERED AS { }; - the combination of the subordinate and superior managed object class reference labels separated by a hyphen. An example of the resulting label is: ip-systemNB. - the reference label of the superior object class in the naming hierarchy. Table entry object classes, derived from conceptual table entries, have the object class derived from the group in which they are contained as their superior. One way to determine the group is to use the structure of the OID for the table entry object class, i.e., it contains the internet specific portion of the OID for the group. However, table entry object classes derived from OBJECT- TYPES that contain an AUGMENTS clause have the table entry object class derived from the OBJECT-TYPE referenced in the AUGMENTS clause as their superior. - If required, the behaviour clause shall describe any conditions, beyond the superior versus subordinate relationship, concerning the creation or deletion of the object relative to the existence of other objects, or attribute values in other objects. LaBarre Expires February 5, 1994 Page 34 Draft Translation of Internet MIBs to ISO/CCITT MIBs 8/5/93 To facilitate parsing of BEHAVIOUR clauses for name bindings, the following scannable structure shall be used (the [] indicate optional constructs, keywords must be in caps, keywords shall be excluded from the descriptive text): [BEGINPARSE [REFERENCE !!!!;] [DESCRIPTION !!!!;] [INDEX [IMPLIED] || "." || [,[IMPLIED] || "." || ]*;] [AUGMENTS ;] [DELETEATT