[Libvirt-cim] [PATCH 04 of 29] HostedDependency: OpenWbem support

Heidi Eckhart heidieck at linux.vnet.ibm.com
Thu Dec 20 19:34:24 UTC 2007


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1198182618 -3600
# Node ID def7d71ec42294a074768f38845a0449520a4e41
# Parent  4de9b4472c5357a0bd51a26b96e19079e7e7913b
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 at linux.vnet.ibm.com>

diff -r 4de9b4472c53 -r def7d71ec422 schema/HostedDependency.mof
--- a/schema/HostedDependency.mof	Thu Dec 20 21:30:17 2007 +0100
+++ b/schema/HostedDependency.mof	Thu Dec 20 21:30:18 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 4de9b4472c53 -r def7d71ec422 schema/HostedDependency.registration
--- a/schema/HostedDependency.registration	Thu Dec 20 21:30:17 2007 +0100
+++ b/schema/HostedDependency.registration	Thu Dec 20 21:30:18 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 4de9b4472c53 -r def7d71ec422 src/Virt_HostedDependency.c
--- a/src/Virt_HostedDependency.c	Thu Dec 20 21:30:17 2007 +0100
+++ b/src/Virt_HostedDependency.c	Thu Dec 20 21:30:18 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:




More information about the Libvirt-cim mailing list