Next: 2.3 Result of the
Up: 2 Starting Point and
Previous: 2.1 An SNMP Agent
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:
- Every SNMP group becomes an object class; the scalar data types
contained therein are transformed into attributes of the object
class. The SNMPv2 data types are mapped to their IDL counterparts,
e.g. Integer32 becomes long, DisplayString and
IpAddress are mapped to a sequence of octets.
- SNMP tables become object classes, too. Each table entry
represents in the OMG model an instance of an object class which is
described by an IDL interface. The following example shows the
application of this rule: If three hard disks are contained in a
system, they are represented in the MIB through the existence of a
table storageTable with three rows. On the other hand, a
CORBA-compliant system would create three instances of an object
class StorageDevice.
- Variables specifying table columns become attributes of the
corresponding object class.
- SNMP traps are transformed into CORBA events which rely on the
Object Event Service [9].
Figure 3:
Generated object model in OMT notation (partial view)
|
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: 2.3 Result of the
Up: 2 Starting Point and
Previous: 2.1 An SNMP Agent
Copyright Munich Network Management Team