Dell PowerVault ML6000 Dell PowerVault ML6000 SMI-S Reference Guide - Page 9

Understanding MOF

Page 9 highlights

After you have defined the NetworkDevice class, you can define a class for just switches. Since a switch is a special type of NetworkDevice, you can use the object-oriented concept of inheritance to define your Switch class. You can define the Switch class as a child of the NetworkDevice class, meaning that the Switch class automatically has the properties and methods of its parent class. From there, you can add properties and methods unique to a switch. CIM defines a special type of class called an association class. An association class represents relationships between two or more classes. For example, you can define an association class to show the relationship between a NetworkDevice class and an OperatingSystem class. If there is a many-to-one or many-to-many relationship, the association class is considered an aggregation. UML draws a visual representation of the classes that describe a product or technology. UML contains many visual elements, and only a subset of elements have been described here. For a full explanation of UML, go to http://www.uml.org. Understanding MOF CIM is described in the DMTF's Managed Object Format (MOF), a language based on the Object Management Group's Interface Definition Language (IDL). The MOF syntax describes object-oriented class and instance definitions in textual form, with the goals of human readability and parsing by a compiler. The main components of a MOF specification are: • Textual descriptions of element qualifiers (meta-data about classes, properties, methods, etc.) • Comments and compiler directives • The specific class and instance definitions that convey the semantics of the CIM schema These MOF files are an extension to the standard CIM schema version 2.9. For information about the standard CIM schema version 2.9 MOF files, go to the DMTF website at the following URL: http://www.dmtf.org. To view copies of the Dell Managed Object Format (MOF) file for the ML6000 library, see MOF Files on page 17. Dell PowerVault ML6000 SMI-S Reference Guide 5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94

Dell PowerVault ML6000 SMI-S Reference Guide
5
After you have defined the
NetworkDevice
class, you can define a class for just switches. Since a switch
is a special type of
NetworkDevice
, you can use the object-oriented concept of inheritance to define your
Switch
class. You can define the
Switch
class as a child of the
NetworkDevice
class, meaning that the
Switch
class automatically has the properties and methods of its parent class. From there, you can add
properties and methods unique to a switch.
CIM defines a special type of class called an
association class
. An association class represents
relationships between two or more classes. For example, you can define an association class to show the
relationship between a
NetworkDevice
class and an
OperatingSystem
class. If there is a many-to-one
or many-to-many relationship, the association class is considered an aggregation.
UML draws a visual representation of the classes that describe a product or technology. UML contains many
visual elements, and only a subset of elements have been described here. For a full explanation of UML,
go to
.
Understanding MOF
CIM is described in the DMTF's Managed Object Format (MOF), a language based on the Object
Management Group's Interface Definition Language (IDL). The MOF syntax describes object-oriented class
and instance definitions in textual form, with the goals of human readability and parsing by a compiler.
The main components of a MOF specification are:
Textual descriptions of element qualifiers (meta-data about classes, properties, methods, etc.)
Comments and compiler directives
The specific class and instance definitions that convey the semantics of the CIM schema
These MOF files are an extension to the standard CIM schema version 2.9.
For information about the standard CIM schema version 2.9 MOF files, go to the DMTF website at the
following URL:
. To view copies of the Dell Managed Object Format (MOF) file for the
ML6000 library, see
MOF Files
on page 17.