# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182619 -3600
# Node ID a5d96949d5736e72957adb8eaa511e4b8d4d7aee
# Parent 9379cc0f82c0c0e78a80c1cb721486928b93af66
ElementAllocatedFromPool: OpenWbem support
- rename provider from ElementAllocatedFromPoolProvider to ElementAllocatedFromPool
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 9379cc0f82c0 -r a5d96949d573 schema/ElementAllocatedFromPool.mof
--- a/schema/ElementAllocatedFromPool.mof Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementAllocatedFromPool.mof Thu Dec 20 21:30:19 2007 +0100
@@ -1,11 +1,15 @@
// Copyright IBM Corp. 2007
-[Association]
+[Association,
+ Provider("cmpi::Virt_ElementAllocatedFromPool")
+]
class Xen_ElementAllocatedFromPool : CIM_ElementAllocatedFromPool
{
};
-[Association]
+[Association,
+ Provider("cmpi::Virt_ElementAllocatedFromPool")
+]
class KVM_ElementAllocatedFromPool : CIM_ElementAllocatedFromPool
{
};
diff -r 9379cc0f82c0 -r a5d96949d573 schema/ElementAllocatedFromPool.registration
--- a/schema/ElementAllocatedFromPool.registration Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementAllocatedFromPool.registration Thu Dec 20 21:30:19 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ElementAllocatedFromPool root/virt Virt_ElementAllocatedFromPoolProvider
Virt_ElementAllocatedFromPool association
-KVM_ElementAllocatedFromPool root/virt Virt_ElementAllocatedFromPoolProvider
Virt_ElementAllocatedFromPool association
+Xen_ElementAllocatedFromPool root/virt Virt_ElementAllocatedFromPool
Virt_ElementAllocatedFromPool association
+KVM_ElementAllocatedFromPool root/virt Virt_ElementAllocatedFromPool
Virt_ElementAllocatedFromPool association
diff -r 9379cc0f82c0 -r a5d96949d573 src/Virt_ElementAllocatedFromPool.c
--- a/src/Virt_ElementAllocatedFromPool.c Thu Dec 20 21:30:19 2007 +0100
+++ b/src/Virt_ElementAllocatedFromPool.c Thu Dec 20 21:30:19 2007 +0100
@@ -311,7 +311,11 @@ static struct std_assoc *handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_ElementAllocatedFromPoolProvider, _BROKER, libvirt_cim_init(),
handlers);
+STDA_AssocMIStub(,
+ Virt_ElementAllocatedFromPool,
+ _BROKER,
+ libvirt_cim_init(),
+ handlers);
/*
* Local Variables: