From beeb8c2d85909f4e04f84ab18b554fee0be1482c Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Fri, 26 Jul 2013 10:46:56 +0200 Subject: power: various improvements * class versions in the mof file * profile registration * selinux wrapper --- mof/60_LMI_PowerManagement.mof | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'mof/60_LMI_PowerManagement.mof') 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 */ -[ 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.") ] -- cgit