# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198065181 -3600
# Node ID f621585dee1100d9f3f516c0e74cc982e570919d
# Parent 8d747cfb847e372b06300dc1abf0e0e2d9653518
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 8d747cfb847e -r f621585dee11 schema/ElementAllocatedFromPool.mof
--- a/schema/ElementAllocatedFromPool.mof Wed Dec 19 12:49:52 2007 +0100
+++ b/schema/ElementAllocatedFromPool.mof Wed Dec 19 12:53:01 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 8d747cfb847e -r f621585dee11 schema/ElementAllocatedFromPool.registration
--- a/schema/ElementAllocatedFromPool.registration Wed Dec 19 12:49:52 2007 +0100
+++ b/schema/ElementAllocatedFromPool.registration Wed Dec 19 12:53:01 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 8d747cfb847e -r f621585dee11 src/Virt_ElementAllocatedFromPool.c
--- a/src/Virt_ElementAllocatedFromPool.c Wed Dec 19 12:49:52 2007 +0100
+++ b/src/Virt_ElementAllocatedFromPool.c Wed Dec 19 12:53:01 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: