# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182620 -3600
# Node ID 1ca174e0f16ec42e34ba605c5108d0e484072265
# Parent d4e7585a3f53a347b655f74ff9948d2cec5e6aa0
ElementSettingData: OpenWbem support
- rename provider from ElementSettingDataProvider to ElementSettingData
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r d4e7585a3f53 -r 1ca174e0f16e schema/ElementSettingData.mof
--- a/schema/ElementSettingData.mof Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementSettingData.mof Thu Dec 20 21:30:20 2007 +0100
@@ -1,11 +1,15 @@
// Copyright IBM Corp. 2007
-[Association]
+[Association,
+ Provider("cmpi::Virt_ElementSettingData")
+]
class Xen_ElementSettingData : CIM_ElementSettingData
{
};
-[Association]
+[Association,
+ Provider("cmpi::Virt_ElementSettingData")
+]
class KVM_ElementSettingData : CIM_ElementSettingData
{
};
diff -r d4e7585a3f53 -r 1ca174e0f16e schema/ElementSettingData.registration
--- a/schema/ElementSettingData.registration Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementSettingData.registration Thu Dec 20 21:30:20 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ElementSettingData root/virt Virt_ElementSettingDataProvider Virt_ElementSettingData
association
-KVM_ElementSettingData root/virt Virt_ElementSettingDataProvider Virt_ElementSettingData
association
+Xen_ElementSettingData root/virt Virt_ElementSettingData Virt_ElementSettingData
association
+KVM_ElementSettingData root/virt Virt_ElementSettingData Virt_ElementSettingData
association
diff -r d4e7585a3f53 -r 1ca174e0f16e src/Virt_ElementSettingData.c
--- a/src/Virt_ElementSettingData.c Thu Dec 20 21:30:19 2007 +0100
+++ b/src/Virt_ElementSettingData.c Thu Dec 20 21:30:20 2007 +0100
@@ -216,7 +216,11 @@ static struct std_assoc *handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_ElementSettingDataProvider, _BROKER, libvirt_cim_init(),
handlers);
+STDA_AssocMIStub(,
+ Virt_ElementSettingData,
+ _BROKER,
+ libvirt_cim_init(),
+ handlers);
/*
* Local Variables: