# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198065811 -3600
# Node ID 6e52e38ce55e14a89dd459c373664206ebe67394
# Parent 75627bcb3851a1df2f938d5cc92af0f3570a519e
HostedResourcePool: OpenWbem support
- rename provider from HostedResourcePoolProvider to HostedResourcePoll
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 75627bcb3851 -r 6e52e38ce55e schema/HostedResourcePool.mof
--- a/schema/HostedResourcePool.mof Wed Dec 19 13:01:23 2007 +0100
+++ b/schema/HostedResourcePool.mof Wed Dec 19 13:03:31 2007 +0100
@@ -2,7 +2,8 @@
[Association,
Description (
- "Associates a host system to its resource pools")
+ "Associates a host system to its resource pools"),
+ Provider("cmpi::Virt_HostedResourcePool")
]
class Xen_HostedResourcePool : CIM_HostedResourcePool
{
@@ -10,7 +11,8 @@ class Xen_HostedResourcePool : CIM_Hoste
[Association,
Description (
- "Associates a host system to its resource pools")
+ "Associates a host system to its resource pools"),
+ Provider("cmpi::Virt_HostedResourcePool")
]
class KVM_HostedResourcePool : CIM_HostedResourcePool
{
diff -r 75627bcb3851 -r 6e52e38ce55e schema/HostedResourcePool.registration
--- a/schema/HostedResourcePool.registration Wed Dec 19 13:01:23 2007 +0100
+++ b/schema/HostedResourcePool.registration Wed Dec 19 13:03:31 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_HostedResourcePool root/virt Virt_HostedResourcePoolProvider Virt_HostedResourcePool
association
-KVM_HostedResourcePool root/virt Virt_HostedResourcePoolProvider Virt_HostedResourcePool
association
\ No newline at end of file
+Xen_HostedResourcePool root/virt Virt_HostedResourcePool Virt_HostedResourcePool
association
+KVM_HostedResourcePool root/virt Virt_HostedResourcePool Virt_HostedResourcePool
association
\ No newline at end of file
diff -r 75627bcb3851 -r 6e52e38ce55e src/Virt_HostedResourcePool.c
--- a/src/Virt_HostedResourcePool.c Wed Dec 19 13:01:23 2007 +0100
+++ b/src/Virt_HostedResourcePool.c Wed Dec 19 13:03:31 2007 +0100
@@ -155,7 +155,11 @@ struct std_assoc *assoc_handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_HostedResourcePoolProvider, _BROKER, libvirt_cim_init(),
assoc_handlers);
+STDA_AssocMIStub(,
+ Virt_HostedResourcePool,
+ _BROKER,
+ libvirt_cim_init(),
+ assoc_handlers);
/*
* Local Variables: