📄 wet_schema.mof
字号:
[Key, Description ("The 'collected' Collection.") ] WET_CollectionOfMSEs REF CollectionInCollection;}; // ================================================================= // PhysicalElement// ================================================================== [Abstract, Description ( "Subclasses of WET_PhysicalElement define any component of a " "System that has a distinct physical identity. Instances of " "this class can be defined in terms of labels that can be " "physically attached to the object. All Processes, Files, " "and LogicalDevices are considered not to be Physical" "Elements. For example, it is not possible to attach a " "label to a modem. It is only possible to attach a label to " "the card that implements the modem. The same card could " "also implement a LAN adapter. These are tangible Managed " "System Elements (usually actual hardware items) that have a " "physical manifestation of some sort. A Managed System " "Element is not necessarily a discrete component. For " "example, it is possible for a single Card (which is a type " "of Physical Element) to host more than one Logical Device. " "The card would be represented by a single Physical Element " "associated with multiple Logical Devices.") ] class WET_PhysicalElement : WET_ManagedSystemElement { [Key, MaxLen (256), Description ( "An arbitrary string that uniquely identifies the Physical" "Element and serves as the Element's key. The Tag property " "can contain information such as asset tag or serial number " "data. The key for PhysicalElement is placed very high in the " "object hierarchy in order to independently identify the " "hardware/entity, regardless of physical placement in or on " "Cabinets, Adapters, etc. For example, a hotswappable or " "removeable component may be taken from its containing " "(scoping) Package and be temporarily unused. The object " "still continues to exist - and may even be inserted into a " "different scoping container. Therefore, the key for Physical" "Element is an arbitrary string and is defined independently " "of any placement or location-oriented hierarchy.") ] string Tag; [Key, MaxLen (256), Description ( "CreationClassName indicates the name of the class or the " "subclass used in the creation of an instance. When used " "with the other key properties of this class, this property " "allows all instances of this class and its subclasses to " "be uniquely identified.") ] string CreationClassName; [MaxLen (256), Description ( "The name of the organization responsible for producing the " "PhysicalElement. This may be the entity from whom the Element " "is purchased, but this is not necessarily true. The latter " "information is contained in the Vendor property of " "WET_Product.") ] string Manufacturer; [MaxLen (64), Description ( "The name by which the PhysicalElement is generally known.") ] string Model; [MaxLen (64), Description ( "The stock keeping unit number for this PhysicalElement.") ] string SKU; [MaxLen (64), Description ( "A manufacturer-allocated number used to identify the Physical" "Element.") ] string SerialNumber; [MaxLen (64), Description ( "A string indicating the version of the PhysicalElement.") ] string Version; [MaxLen (256), Description ( "The part number assigned by the organization responsible for " "producing or manufacturing the PhysicalElement.") ] string PartNumber; [Description ( "OtherIdentifyingInfo captures additional data, beyond that of " "Tag information, that could be used to identify a Physical" "Element. One example is bar code data associated with an " "Element that also has an asset tag. Note that if only bar " "code data is available and is unique/able to be used as an " "Element key, this property would be NULL and the bar code " "data used as the class key, in the Tag property.") ] string OtherIdentifyingInfo; [Description ( "Boolean indicating that the PhysicalElement is powered on " "(TRUE), or is currently off (FALSE).") ] boolean PoweredOn; [Description ( "Date that this PhysicalElement was manufactured.") ] datetime ManufactureDate;}; // ==================================================================// LogicalElement// ================================================================== [Abstract, Description ( "WET_LogicalElement is a base class for all the components of " "a System that represent abstract system components, such " "as Files, Processes, or system capabilities in the form " "of Logical Devices.") ] class WET_LogicalElement : WET_ManagedSystemElement {}; // ==================================================================// LogicalIdentity// ================================================================== [Association, Abstract, Description ( "WET_LogicalIdentity is an abstract and generic association, " "indicating that two LogicalElements represent different " "aspects of the same underlying entity. This relationship " "conveys what could be defined with multiple inheritance. It " "is restricted to the 'logical' aspects of a ManagedSystem" "Element. In most scenarios, the Identity relationship is " "determined by the equivalence of Keys or some other " "identifying properties of the related Elements. The " "association should only be used in well understood scenarios. " "This is why the association is abstract - allowing more " "concrete definition and clarification in subclasses. One of " "the scenarios where this relationship is reasonable is to " "represent that a Device is both a 'bus' entity and a " "'functional' entity. For example, a Device could be both a " "USB (bus) and a Keyboard (functional) entity.") ]class WET_LogicalIdentity { [Key, Description ( "SystemElement represents one aspect of the Logical" "Element.") ] WET_LogicalElement ref SystemElement; [Key, Description ( "SameElement represents an alternate aspect of the " "System entity.") ] WET_LogicalElement ref SameElement;};// ==================================================================// System// ================================================================== [Abstract, Description ( "A WET_System is a LogicalElement that aggregates an " "enumerable set of Managed System Elements. The aggregation " "operates as a functional whole. Within any particular " "subclass of System, there is a well-defined list of " "Managed System Element classes whose instances must be " "aggregated.") ] class WET_System : WET_LogicalElement { [Key, MaxLen (256), Description ( "CreationClassName indicates the name of the class or the " "subclass used in the creation of an instance. When used " "with the other key properties of this class, this property " "allows all instances of this class and its subclasses to " "be uniquely identified.") ] string CreationClassName; [Key, MaxLen (256), Override ("Name"), Description ( "The inherited Name serves as key of a System instance in " "an enterprise environment.") ] string Name; [MaxLen (64), Description ( "The System object and its derivatives are Top Level Objects " "of CIM. They provide the scope for numerous components. " "Having unique System keys is required. A heuristic can be " "defined in individual System subclasses to attempt to always " "generate the same System Name Key. The NameFormat property " "identifies how the System name was generated, using " "the subclass' heuristic.") ] string NameFormat; [MaxLen (64), Description ( "The name of the primary system owner."), MappingStrings {"MIF.DMTF|General Information|001.4"} ] string PrimaryOwnerName; [MaxLen (256), Description ( "A string that provides information on how the primary system " "owner can be reached (e.g. phone number, email address, " "...)."), MappingStrings {"MIF.DMTF|General Information|001.3"} ] string PrimaryOwnerContact; [Description ( "An array (bag) of strings that specify the roles this System " "plays in the IT-environment. Subclasses of System may " "override this property to define explicit Roles values. " "Alternately, a Working Group may describe the heuristics, " "conventions and guidelines for specifying Roles. For " "example, for an instance of a networking system, the Roles " "property might contain the string, 'Switch' or 'Bridge'.") ] string Roles[];};// ===================================================================// ComputerSystem// =================================================================== [Abstract, Description ( "A class derived from System that is a special collection of " "ManagedSystemElements. This collection provides " "compute capabilities and serves as aggregation point to " "associate one or more of the following elements: FileSystem, " "OperatingSystem, Processor and Memory (Volatile and/or " "NonVolatile Storage).") ] class WET_ComputerSystem : WET_System { [Override ("NameFormat"), Description ( "The ComputerSystem object and its derivatives are Top Level " "Objects of CIM. They provide the scope for numerous " "components. Having unique System keys is required. " "A heuristic is defined to create the ComputerSystem Name " "to attempt to always generate the same Name, independent of " "discovery protocol. This prevents inventory and management " "problems where the same asset or entity is discovered " "multiple times, but can not be resolved to a single object. " "Use of the heuristic is optional, but recommended.\n\n" "The NameFormat property identifies how the ComputerSystem " "Name is generated, using a heuristic. The heuristic is " "outlined, in detail, in the CIM V2 System Model spec. " "It assumes that the documented rules are traversed in order, " "to determine and assign a Name. The NameFormat Values " "list defines the precedence order for assigning the Computer" "System Name. Several rules do map to the same Value.\n\n" "Note that the ComputerSystem Name calculated using the " "heuristic is the System's key value. Other names can be " "assigned and used for the ComputerSystem, that better suit " "a business, using Aliases."), ValueMap {"Other", "IP", "Dial", "HID", "NWA", "HWA", "X25", "ISDN", "IPX", "DCC", "ICD", "E.164", "SNA", "OID/OSI"} ] string NameFormat; [MaxLen (256), ArrayType ("Indexed"), Description ( "OtherIdentifyingInfo captures additional data, beyond " "System Name information, that could be used to identify " "a ComputerSystem. One example would be to hold the " "Fibre Channel World-Wide Name (WWN) of a node. Note that " "if only the Fibre Channel name is available and is " "unique (able to be used as the System key), then this " "property would be NULL and the WWN would become the " "System key, its data placed in the Name property."), ModelCorrespondence { "WET_ComputerSystem.IdentifyingDescriptions"} ] string OtherIdentifyingInfo[]; [ArrayType ("Indexed"), Description ( "An array of free-form strings providing explanations " "and details behind the entries in the OtherIdentifying" "Info array. Note, each entry of this array is related " "to the entry in OtherIdentifyingInfo that is located at " "the same index."), ModelCorrespondence { "WET_ComputerSystem.OtherIdentifyingInfo"} ] string IdentifyingDescriptions[]; [Description ( "Enumeration indicating whether the ComputerSystem is " "a special-purpose System (ie, dedicated to a particular " "use), versus being 'general purpose'. For example, one " "could specify that the System is dedicated to \"Print\" " "(value=11) or acts as a \"Hub\" (value=8)."), Values {"Not Dedicated", "Unknown", "Other", "Storage", "Router", "Switch", "Layer 3 Switch", "Central Office Switch", "Hub", "Access Server", "Firewall", "Print", "I/O", "Web Caching", "Management"} ] uint16 Dedicated[];}; // ===================================================================// LogicalDevice
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -