next up previous
Next: 2.3 Result of the Up: 2 Starting Point and Previous: 2.1 An SNMP Agent

2.2 Algorithm for the Transformation of SNMP MIBs into OMG IDL

  The mapping of existing management information bases to the CORBA object model implies the development of algorithms for translating the MIB specification languages. Our scenario requires an algorithm for mapping the ASN.1 template language used for Internet MIB specifications into the OMG Interface Definition Language (IDL). Such an algorithm ([7], [14]) has been developed by the Joint Inter-Domain Management Task Force (JIDM). The complexity of bridging the different information models may be illustrated as follows: Internet MIBs define the properties of an agent in terms of scalar variables, groups and tables and have no notion of object-oriented concepts like inheritance or polymorphism. In contrast, CORBA agents are defined based on object classes and their associated attributes, methods and relationships. The transformation of SNMPv2 data types, macros and traps into the CORBA mechanisms is described below:


  
Figure 3: Generated object model in OMT notation (partial view)
\begin{figure}

\includegraphics [width=0.65\textwidth]{objektmodell1.eps}\end{figure}

Although the JIDM algorithm is a powerful tool, it is necessary in our case to perform some adjustments because management semantics are often defined in the Internet information model in an implicit way: In the Internet management architecture, actions on managed objects are performed by assigning a certain value to so-called "pushbutton" variables because the SNMPv2 management protocol has no action protocol data unit. The CORBA analogon is to call a method of the managed object.
The translation algorithm is unable to perform this mapping because "pushbutton" variables cannot be distinguished from regular variables on a syntactic level.


next up previous
Next: 2.3 Result of the Up: 2 Starting Point and Previous: 2.1 An SNMP Agent
Copyright Munich Network Management Team