summaryrefslogtreecommitdiffstats
path: root/src/power
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2012-08-28 15:01:56 +0200
committerRadek Novacek <rnovacek@redhat.com>2012-08-29 10:19:29 +0200
commita84a46269b1e4147e31a3233fe3feb0879c268ba (patch)
treebe41553466e839f91d13f77b493135787eec5032 /src/power
parent0d8159df016b24d217d218fee53c7ece7eebb67a (diff)
downloadopenlmi-providers-a84a46269b1e4147e31a3233fe3feb0879c268ba.tar.gz
openlmi-providers-a84a46269b1e4147e31a3233fe3feb0879c268ba.tar.xz
openlmi-providers-a84a46269b1e4147e31a3233fe3feb0879c268ba.zip
Define methods from experimental schema
Add missing methods to fix undefined references. All of the methods return NOT_SUPPORTED error
Diffstat (limited to 'src/power')
-rw-r--r--src/power/LMI_ConcreteJobProvider.c14
-rw-r--r--src/power/LMI_PowerManagementCapabilitiesProvider.c15
-rw-r--r--src/power/LMI_PowerManagementServiceProvider.c16
3 files changed, 45 insertions, 0 deletions
diff --git a/src/power/LMI_ConcreteJobProvider.c b/src/power/LMI_ConcreteJobProvider.c
index 7677ef4..b6ffd23 100644
--- a/src/power/LMI_ConcreteJobProvider.c
+++ b/src/power/LMI_ConcreteJobProvider.c
@@ -215,6 +215,20 @@ KUint32 LMI_ConcreteJob_GetError(
return result;
}
+KUint32 LMI_ConcreteJob_GetErrors(
+ const CMPIBroker* cb,
+ CMPIMethodMI* mi,
+ const CMPIContext* context,
+ const LMI_ConcreteJobRef* self,
+ KStringA* Errors,
+ CMPIStatus* status)
+{
+ KUint32 result = KUINT32_INIT;
+
+ KSetStatus(status, ERR_NOT_SUPPORTED);
+ return result;
+}
+
KONKRET_REGISTRATION(
"root/cimv2",
"LMI_ConcreteJob",
diff --git a/src/power/LMI_PowerManagementCapabilitiesProvider.c b/src/power/LMI_PowerManagementCapabilitiesProvider.c
index d97c144..2d138d6 100644
--- a/src/power/LMI_PowerManagementCapabilitiesProvider.c
+++ b/src/power/LMI_PowerManagementCapabilitiesProvider.c
@@ -172,6 +172,21 @@ CMMethodMIStub(
_cb,
LMI_PowerManagementCapabilitiesInitializeMethod(&mi))
+KUint16 LMI_PowerManagementCapabilities_CreateGoalSettings(
+ const CMPIBroker* cb,
+ CMPIMethodMI* mi,
+ const CMPIContext* context,
+ const LMI_PowerManagementCapabilitiesRef* self,
+ const KStringA* TemplateGoalSettings,
+ KStringA* SupportedGoalSettings,
+ CMPIStatus* status)
+{
+ KUint16 result = KUINT16_INIT;
+
+ KSetStatus(status, ERR_NOT_SUPPORTED);
+ return result;
+}
+
KONKRET_REGISTRATION(
"root/cimv2",
"LMI_PowerManagementCapabilities",
diff --git a/src/power/LMI_PowerManagementServiceProvider.c b/src/power/LMI_PowerManagementServiceProvider.c
index d3857cb..65721bc 100644
--- a/src/power/LMI_PowerManagementServiceProvider.c
+++ b/src/power/LMI_PowerManagementServiceProvider.c
@@ -224,6 +224,22 @@ KUint32 LMI_PowerManagementService_StopService(
return result;
}
+KUint32 LMI_PowerManagementService_ChangeAffectedElementsAssignedSequence(
+ const CMPIBroker* cb,
+ CMPIMethodMI* mi,
+ const CMPIContext* context,
+ const LMI_PowerManagementServiceRef* self,
+ const KRefA* ManagedElements,
+ const KUint16A* AssignedSequence,
+ KRef* Job,
+ CMPIStatus* status)
+{
+ KUint32 result = KUINT32_INIT;
+
+ KSetStatus(status, ERR_NOT_SUPPORTED);
+ return result;
+}
+
KUint32 LMI_PowerManagementService_SetPowerState(
const CMPIBroker* cb,
CMPIMethodMI* mi,