# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198064141 -3600
# Node ID b508d48c1a8559ae9eed9278a4f9cfc02bf09a3b
# Parent 209814f0021e473055e0355f8078511f3de6beb7
HostedDependency: OpenWbem support
- rename provider from HostedDependencyProvider to HostedDependency
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 209814f0021e -r b508d48c1a85 schema/HostedDependency.mof
--- a/schema/HostedDependency.mof Wed Dec 19 12:35:40 2007 +0100
+++ b/schema/HostedDependency.mof Wed Dec 19 12:35:41 2007 +0100
@@ -3,7 +3,8 @@
[Association,
Description (
"HostedDependency defines a ManagedElement in the context of "
- "another ManagedElement in which it resides.")
+ "another ManagedElement in which it resides."),
+ Provider("cmpi::Virt_HostedDependency")
]
class Xen_HostedDependency : CIM_HostedDependency
{
@@ -12,7 +13,8 @@ class Xen_HostedDependency : CIM_HostedD
[Association,
Description (
"HostedDependency defines a ManagedElement in the context of "
- "another ManagedElement in which it resides.")
+ "another ManagedElement in which it resides."),
+ Provider("cmpi::Virt_HostedDependency")
]
class KVM_HostedDependency : CIM_HostedDependency
{
diff -r 209814f0021e -r b508d48c1a85 schema/HostedDependency.registration
--- a/schema/HostedDependency.registration Wed Dec 19 12:35:40 2007 +0100
+++ b/schema/HostedDependency.registration Wed Dec 19 12:35:41 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_HostedDependency root/virt Virt_HostedDependencyProvider Virt_HostedDependency
association
-KVM_HostedDependency root/virt Virt_HostedDependencyProvider Virt_HostedDependency
association
+Xen_HostedDependency root/virt Virt_HostedDependency Virt_HostedDependency association
+KVM_HostedDependency root/virt Virt_HostedDependency Virt_HostedDependency association
diff -r 209814f0021e -r b508d48c1a85 src/Virt_HostedDependency.c
--- a/src/Virt_HostedDependency.c Wed Dec 19 12:35:40 2007 +0100
+++ b/src/Virt_HostedDependency.c Wed Dec 19 12:35:41 2007 +0100
@@ -134,7 +134,11 @@ static struct std_assoc *handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_HostedDependencyProvider, _BROKER, libvirt_cim_init(),
handlers);
+STDA_AssocMIStub(,
+ Virt_HostedDependency,
+ _BROKER,
+ libvirt_cim_init(),
+ handlers);
/*
* Local Variables: