# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198065561 -3600
# Node ID d65646ef8cc468fa8e320543edfd54d4907a4e6f
# Parent 361f6304b75b1bbf48d1fd8c3454f64e63bdf880
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 361f6304b75b -r d65646ef8cc4 schema/ElementSettingData.mof
--- a/schema/ElementSettingData.mof Wed Dec 19 12:57:21 2007 +0100
+++ b/schema/ElementSettingData.mof Wed Dec 19 12:59:21 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 361f6304b75b -r d65646ef8cc4 schema/ElementSettingData.registration
--- a/schema/ElementSettingData.registration Wed Dec 19 12:57:21 2007 +0100
+++ b/schema/ElementSettingData.registration Wed Dec 19 12:59:21 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 361f6304b75b -r d65646ef8cc4 src/Virt_ElementSettingData.c
--- a/src/Virt_ElementSettingData.c Wed Dec 19 12:57:21 2007 +0100
+++ b/src/Virt_ElementSettingData.c Wed Dec 19 12:59:21 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: