os-cmpi-xen

view schema/dmtf/CIM_AllocationCapabilities.mof @ 121:4868ace2726b

Add initial consistence checks in test suite for Xen_MemoryPool, Xen_ProcessorPool and Xen_VirtualSystemManagementService.

Signed-off-by: Luke Szymanski <Lukasz.Szymanski@Unisys.com>
author Jim Fehlig <jfehlig@novell.com>
date Fri Jun 08 10:22:05 2007 -0600 (2007-06-08)
parents 86a324bd9116
children
line source
1 // Copyright (c) 2006 DMTF.  All rights reserved.
2 // This document is a DMTF System Virtualization, Partitioning and
3 // Clustering workgroup "Work in Progress" and is subject to change.
4 // This document was publically released on August 11, 2006.
5 // This document must not be used after February 10, 2007.
6 // ===================================================================
7 // CIM_AllocationCapabilities
8 // ===================================================================
9 [ Experimental,
10 Version ("2.14.0"),
11 Description (
12 "CIM_AllocationCapabilities extends the CIM_Capabilities class"
13 "for thepurposes of expressing the resource allocation"
14 "capabilities of the associated managed element for the allocation"
15 "of a specific Resource Type. This class describes the supported"
16 "types of allocations allowed, specific or general, the sharing"
17 "modes supported for the device, dedicated and or shared and the"
18 "system states where the addition or removal of the Resource Type is"
19 "allowed.") ]
20 class CIM_AllocationCapabilities : CIM_Capabilities {
22 [Description (
23 "The type of resource this allocation setting represents."),
24 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
25 "11", "12", "13", "14", "15", "16", "17", "18", "19",
26 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
27 "..", "0x8000..0xFFFF" },
28 Values { "Other", "Computer System", "Processor", "Memory",
29 "IDE Controller", "Parallel SCSI HBA", "FC HBA",
30 "iSCSI HBA", "IB HCA", "Ethernet Adapter",
31 "Other Network Adapter", "I/O Slot", "I/O Device",
32 "Floppy Drive", "CD Drive", "DVD drive", "Serial port",
33 "Parallel port", "USB Controller", "Graphics controller",
34 "Storage Extent", "Disk", "Tape", "Other storage device",
35 "IEEE 1394 Controller", "Partitionable Unit",
36 "Base Partitionable Unit", "Power Supply", "Cooling Device",
37 "DMTF reserved", "Vendor Reserved" },
38 ModelCorrespondence {
39 "CIM_AllocationCapabilities.OtherResourceType ",
40 "CIM_ResourceAllocationSettingData.ResourceType" }]
41 uint16 ResourceType;
43 [Description (
44 "A string that describes the resource type when a "
45 "well defined value is not available and ResourceType has "
46 "the value \"Other\"."),
47 ModelCorrespondence {
48 "CIM_ResourceAllocationSettingData.ResourceType" }]
49 string OtherResourceType;
51 [Description (
52 "A string describing an implementation specific "
53 "sub-type for this resource. For example, this may "
54 "be used to distinguish different models of the same "
55 "resource type.")]
56 string ResourceSubType;
58 [Description (
59 "Indicates whether requesting a specific resource is "
60 "supported"
61 "\"Specific\" -- request can include a request for specific "
62 "resource"
63 "\"General\" -- request does not include specific resource"
64 "\"Both\" -- both specific and general requests are supported."),
65 ValueMap {"0", "1", "2", "3", "4", "..", " 0x8000..0xFFFF "},
66 Values { "Unknown", "Other", "Specific", "General", "Both",
67 "DMTF reserved", "Vendor Reserved"}
68 ]
69 uint16 RequestTypesSupported;
71 [Description (
72 "Indicates how access to underlying resource is granted: "
73 "\"Dedicated\" -- exclusive access to underlying resource "
74 "\"Shared\" -- shared use of underlying resource. "
75 "Actual quantity is controlled by min, max size, weights, "
76 "etc."),
77 ValueMap {"0", "1", "2", "3", "..", "0x8000..0xFFFF"},
78 Values { "Unknown", "Other", "Dedicated", "Shared",
79 "DMTF reserved", "Vendor Reserved"}
80 ]
81 uint16 SharingMode;
83 [Description (
84 "Indicates the states that the System, to which "
85 "the resource will be associated via SystemDevice, may be in "
86 "when a new resource is created."),
87 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
88 "10", "11", "12", "..", "0x8000..0xFFFF" },
89 Values { "Unknown", "Other", "Enabled", "Disabled",
90 "Shutting Down", "Not Applicable", "Enabled but Offline",
91 "In Test", "Deferred", "Quiesce", "Starting",
92 "Paused", "Suspended",
93 "DMTF Reserved", "Vendor Reserved" },
94 ModelCorrespondence { "CIM_EnabledLogicalElement.EnabledState" }]
95 uint16 SupportedAddStates[];
97 [Description (
98 "Indicates the states that the System, to which "
99 "the resource is associated via SystemDevice, may be in when "
100 "a the resource is removed."),
101 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
102 "10","11" ,"12" ,"..", "0x8000..0xFFFF" },
103 Values { "Unknown", "Other", "Enabled", "Disabled",
104 "Shutting Down", "Not Applicable", "Enabled but Offline",
105 "In Test", "Deferred", "Quiesce", "Starting",
106 "Paused", "Suspended",
107 "DMTF Reserved", "Vendor Reserved" },
108 ModelCorrespondence { "CIM_EnabledLogicalElement.EnabledState" }]
109 uint16 SupportedRemoveStates[];
110 };