pg_processor20.mof

来自「Pegasus is an open-source implementation」· MOF 代码 · 共 637 行 · 第 1/3 页

MOF
637
字号
//%2006//////////////////////////////////////////////////////////////////////////// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation, The Open Group.// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; Symantec Corporation; The Open Group.//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to// deal in the Software without restriction, including without limitation the// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or// sell copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions:// // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.////==============================================================================// ===================================================================// Title:       PG_Processor MOF// Filename:    PG_Processor20.mof// Version:     2.5// Release:     0// Date:        2002/06/17// ==================================================================// Clipped from:////     - CIM_Core25.mof//		. CIM_ManagedElement//		. CIM_ManagedSystemElement//		. CIM_LogicalElement//// ==================================================================// ===================================================================// Copyright 1998-2003 Distributed Management Task Force, Inc. (DMTF).// All rights reserved.// DMTF is a not-for-profit association of industry members dedicated// to promoting enterprise and systems management and interoperability.// DMTF specifications and documents may be reproduced for uses// consistent with this purpose by members and non-members,// provided that correct attribution is given.// As DMTF specifications may be revised from time to time,// the particular version and release date should always be noted.// ===================================================================// ==================================================================// ManagedElement// ==================================================================    [Abstract, Description (     "ManagedElement is an abstract class that provides a common "       "superclass (or top of the inheritance tree) for the "     "non-association classes in the CIM Schema.")]class CIM_ManagedElement {        [MaxLen (64), Description (          "The Caption property is a short textual description (one-"            "line string) of the object.") ]      string Caption;        [Description (          "The Description property provides a textual description of "        "the object.") ]      string Description;    };     // ================================================================== //    ManagedSystemElement// ==================================================================   [Abstract, Description (     "CIM_ManagedSystemElement is the base class for the System "     "Element hierarchy. Membership Criteria: Any distinguishable "     "component of a System is a candidate for inclusion in this "     "class. Examples: software components, such as files; and "     "devices, such as disk drives and controllers, and physical "     "components such as chips and cards.") ] class CIM_ManagedSystemElement : CIM_ManagedElement {      [Description (        "A datetime value indicating when the object was installed. "        "A lack of a value does not indicate that the object is not "        "installed."),        MappingStrings {"MIF.DMTF|ComponentID|001.5"} ]    datetime InstallDate;      [MaxLen (256), Description (        "The Name property defines the label by which the object is "        "known. When subclassed, the Name property can be overridden "        "to be a Key property.") ]    string Name;      [MaxLen (10), Description (         "  A string indicating the current status of the object. "         "Various operational and non-operational statuses are "         "defined. Operational statuses are \"OK\", \"Degraded\", "         "\"Stressed\" and \"Pred Fail\". \"Stressed\" indicates that "         "the Element is functioning, but needs attention. Examples "         "of \"Stressed\" states are overload, overheated, etc. The "         "condition \"Pred Fail\" (failure predicted) indicates that "         "an Element is functioning properly but predicting a failure "         "in the near future. An example is a SMART-enabled hard "         "drive. \n"         "  Non-operational statuses can also be specified. These "         "are \"Error\", \"NonRecover\", \"Starting\", \"Stopping\", "         " \"Stopped\", "         "\"Service\", \"No Contact\" and \"Lost Comm\". \"NonRecover\" "         "indicates that a non-recoverable error has occurred. "         "\"Service\" describes an Element being configured, maintained, "         "cleaned, or otherwise administered. This status could apply "         "during mirror-resilvering of a disk, reload of a user "         "permissions list, or other administrative task. Not all such "         "work is on-line, yet the Element is neither \"OK\" nor in "         "one of the other states. \"No Contact\" indicates that the "         "current instance of the monitoring system has knowledge of "         "this Element but has never been able to establish "         "communications with it. \"Lost Comm\" indicates that "         "the ManagedSystemElement is known to exist and has been "         "contacted successfully in the past, but is currently unreachable."         "\"Stopped\" indicates that the ManagedSystemElement is known "         "to exist, it is not operational (i.e. it is unable to "         "provide service to users), but it has not failed. It has purposely "         "been made non-operational. The Element "         "may have never been \"OK\", the Element may have initiated its "         "own stop, or a management system may have initiated the stop."),        ValueMap {"OK", "Error", "Degraded", "Unknown", "Pred Fail",                  "Starting", "Stopping", "Service", "Stressed",                  "NonRecover", "No Contact", "Lost Comm", "Stopped"} ]    string Status; };// ==================================================================//    LogicalElement// ==================================================================   [Abstract, Description (     "CIM_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 CIM_LogicalElement : CIM_ManagedSystemElement {};     // ===================================================================//    LogicalDevice// ===================================================================   [Abstract, Description (     "An abstraction or emulation of a hardware entity, that may "     "or may not be Realized in physical hardware. Any "     "characteristics of a LogicalDevice that are used to manage "     "its operation or configuration are contained in, or "     "associated with, the LogicalDevice object. Examples of the "     "operational properties of a Printer would be paper sizes "     "supported, or detected errors. Examples of the configuration "     "properties of a Sensor Device would be threshold settings. "     "Various configurations could exist for a LogicalDevice. "     "These configurations could be contained in Setting objects "     "and associated with the LogicalDevice.") ] class CIM_LogicalDevice : CIM_LogicalElement {      [Propagated("CIM_System.CreationClassName"),        Key, MaxLen (256), Description (        "The scoping System's CreationClassName.") ]   string SystemCreationClassName;      [Propagated("CIM_System.Name"),       Key, MaxLen (256), Description (        "The scoping System's Name.") ]   string SystemName;      [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 (64), Description (        "An address or other identifying information to uniquely "        "name the LogicalDevice.") ]   string DeviceID;      [Description (        "Boolean indicating that the Device can be power managed "        "- ie, put into a power save state. This boolean does not "        "indicate that power management features are currently "        "enabled, or if enabled, what features are supported. "        "Refer to the PowerManagementCapabilities array for this "        "information. If this boolean is false, the integer value "        "1, for the string, \"Not Supported\", should be the only "        "entry in the PowerManagementCapabilities array.") ]       boolean PowerManagementSupported;      [Description(        "Indicates the specific power-related capabilities of a "        "LogicalDevice. The array values, 0=\"Unknown\", 1="        "\"Not Supported\" and 2=\"Disabled\" are self-explanatory. "        "The value, 3=\"Enabled\" indicates that the power management "        "features are currently enabled but the exact feature set "        "is unknown or the information is unavailable. "        "\"Power Saving Modes Entered Automatically\" (4) describes "        "that a Device can change its power state based on usage or "        "other criteria. \"Power State Settable\" (5) indicates that "        "the SetPowerState method is supported. \"Power Cycling "        "Supported\" (6) indicates that the SetPowerState method "        "can be invoked with the PowerState input variable set to 5 ("        "\"Power Cycle\"). \"Timed Power On Supported\" (7) indicates "        "that the SetPowerState method can be invoked with the Power"        "State input variable set to 5 (\"Power Cycle\") and the Time "        "parameter set to a specific date and time, or interval, "

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?