57 lines
2.4 KiB
Plaintext
57 lines
2.4 KiB
Plaintext
// Copyright (c) 2009 DMTF. All rights reserved.
|
|
[Version ( "2.22.0" ),
|
|
UMLPackagePath ( "CIM::Core::Capabilities" ),
|
|
Description (
|
|
"EnabledLogicalElementCapabilities describes the capabilities "
|
|
"supported for changing the state of the associated "
|
|
"EnabledLogicalElement." )]
|
|
class CIM_EnabledLogicalElementCapabilities : CIM_Capabilities {
|
|
|
|
[Description (
|
|
"Boolean indicating whether the ElementName can be modified."
|
|
),
|
|
MappingStrings {
|
|
"FC-SWAPI.INCITS-T11|SWAPI_UNIT_CONFIG_CAPS_T|EditName" },
|
|
ModelCorrespondence { "CIM_ManagedElement.ElementName" }]
|
|
boolean ElementNameEditSupported;
|
|
|
|
[Description ( "Maximum supported ElementName length." ),
|
|
MaxValue ( 256 ),
|
|
MappingStrings {
|
|
"FC-SWAPI.INCITS-T11|SWAPI_UNIT_CONFIG_CAPS_T|MaxNameChars" },
|
|
ModelCorrespondence {
|
|
"CIM_FCSwitchCapabilities.ElementNameEditSupported",
|
|
"CIM_EnabledLogicalElementCapabilities.ElementNameMask" }]
|
|
uint16 MaxElementNameLen;
|
|
|
|
[Description (
|
|
"RequestedStatesSupported indicates the possible states "
|
|
"that can be requested when using the method "
|
|
"RequestStateChange on the EnabledLogicalElement." ),
|
|
ValueMap { "2", "3", "4", "6", "7", "8", "9", "10", "11" },
|
|
Values { "Enabled", "Disabled", "Shut Down", "Offline",
|
|
"Test", "Defer", "Quiesce", "Reboot", "Reset" },
|
|
ModelCorrespondence {
|
|
"CIM_EnabledLogicalElement.RequestStateChange" }]
|
|
uint16 RequestedStatesSupported[];
|
|
|
|
[Description (
|
|
"This string expresses the restrictions on "
|
|
"ElementName.The mask is expressed as a regular "
|
|
"expression.See DMTF standard ABNF with the Management "
|
|
"Profile Specification Usage Guide, appendix C for the "
|
|
"regular expression syntax permitted. \n"
|
|
"Since the ElementNameMask can describe the maximum "
|
|
"length of the ElementName,any length defined in the "
|
|
"regexp is in addition to the restriction defined in "
|
|
"MaxElementNameLen (causing the smaller value to be the "
|
|
"maximum length) The ElementName value satisfies the "
|
|
"restriction, if and only if it matches the regular "
|
|
"expression" ),
|
|
ModelCorrespondence {
|
|
"CIM_EnabledLogicalElementCapabilities.MaxElementNameLen" }]
|
|
string ElementNameMask;
|
|
|
|
|
|
};
|