summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2013-07-26 10:46:56 +0200
committerRadek Novacek <rnovacek@redhat.com>2013-07-26 10:57:09 +0200
commitbeeb8c2d85909f4e04f84ab18b554fee0be1482c (patch)
tree0d7b259a1178fc3adca7e3cd070c6f3a98b977af /mof
parent632000a15e3dc204ad55b83970e21710aae40671 (diff)
downloadopenlmi-providers-beeb8c2d85909f4e04f84ab18b554fee0be1482c.tar.gz
openlmi-providers-beeb8c2d85909f4e04f84ab18b554fee0be1482c.tar.xz
openlmi-providers-beeb8c2d85909f4e04f84ab18b554fee0be1482c.zip
power: various improvements
* class versions in the mof file * profile registration * selinux wrapper
Diffstat (limited to 'mof')
-rw-r--r--mof/60_LMI_PowerManagement.mof19
1 files changed, 13 insertions, 6 deletions
diff --git a/mof/60_LMI_PowerManagement.mof b/mof/60_LMI_PowerManagement.mof
index 490ad03..e71ce1a 100644
--- a/mof/60_LMI_PowerManagement.mof
+++ b/mof/60_LMI_PowerManagement.mof
@@ -18,13 +18,15 @@
* Authors: Radek Novacek <rnovacek@redhat.com>
*/
-[ Provider("cmpi:cmpiLMI_PowerManagement") ]
+[ Provider("cmpi:cmpiLMI_PowerManagement"),
+ Version("0.1.0") ]
class LMI_PowerManagementService: CIM_PowerManagementService
{
};
[ Association,
- Provider("cmpi:cmpiLMI_PowerManagement") ]
+ Provider("cmpi:cmpiLMI_PowerManagement"),
+ Version("0.1.0") ]
class LMI_AssociatedPowerManagementService: CIM_AssociatedPowerManagementService
{
[ Override("ServiceProvided"), Max(1),
@@ -36,13 +38,15 @@ class LMI_AssociatedPowerManagementService: CIM_AssociatedPowerManagementService
CIM_ComputerSystem REF UserOfService;
};
-[ Provider("cmpi:cmpiLMI_PowerManagement") ]
+[ Provider("cmpi:cmpiLMI_PowerManagement"),
+ Version("0.1.0") ]
class LMI_PowerManagementCapabilities: CIM_PowerManagementCapabilities
{
};
[ Association,
- Provider("cmpi:cmpiLMI_PowerManagement") ]
+ Provider("cmpi:cmpiLMI_PowerManagement"),
+ Version("0.1.0") ]
class LMI_HostedPowerManagementService: CIM_HostedService
{
[ Override("Antecedent"), Min(1), Max(1),
@@ -54,12 +58,15 @@ class LMI_HostedPowerManagementService: CIM_HostedService
LMI_PowerManagementService REF Dependent;
};
-[ Provider("cmpi:cmpiLMI_PowerManagement") ]
+[ Provider("cmpi:cmpiLMI_PowerManagement"),
+ Version("0.1.0") ]
class LMI_PowerConcreteJob: CIM_ConcreteJob
{
};
-[ Provider("cmpi:cmpiLMI_PowerManagement"), Association ]
+[ Association,
+ Provider("cmpi:cmpiLMI_PowerManagement"),
+ Version("0.1.0") ]
class LMI_ElementCapabilities: CIM_ElementCapabilities
{
[ Key, Min(1), Description("The managed element.") ]