# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182620 -3600
# Node ID eab9a00f1fd87ccd79ffeaabfa19a062a5ce9516
# Parent 740a16ad1a14660da0aa1668ae2ef36f0ab2400a
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 740a16ad1a14 -r eab9a00f1fd8 schema/HostedResourcePool.mof
--- a/schema/HostedResourcePool.mof Thu Dec 20 21:30:20 2007 +0100
+++ b/schema/HostedResourcePool.mof Thu Dec 20 21:30:20 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 740a16ad1a14 -r eab9a00f1fd8 schema/HostedResourcePool.registration
--- a/schema/HostedResourcePool.registration Thu Dec 20 21:30:20 2007 +0100
+++ b/schema/HostedResourcePool.registration Thu Dec 20 21:30:20 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 740a16ad1a14 -r eab9a00f1fd8 src/Virt_HostedResourcePool.c
--- a/src/Virt_HostedResourcePool.c Thu Dec 20 21:30:20 2007 +0100
+++ b/src/Virt_HostedResourcePool.c Thu Dec 20 21:30:20 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: