[Libvirt-cim] [PATCH 10 of 29] ElementConformsToProfile: OpenWbem support

Heidi Eckhart heidieck at linux.vnet.ibm.com
Wed Dec 19 12:20:01 UTC 2007


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1198065441 -3600
# Node ID 361f6304b75b1bbf48d1fd8c3454f64e63bdf880
# Parent  d91ee8dda3100227e829fb8ab510253cf4c39497
ElementConformsToProfile: OpenWbem support

- rename provider from ElementConformsToProfileProvider to ElementConformsToProfile
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r d91ee8dda310 -r 361f6304b75b schema/ElementConformsToProfile.mof
--- a/schema/ElementConformsToProfile.mof	Wed Dec 19 12:55:06 2007 +0100
+++ b/schema/ElementConformsToProfile.mof	Wed Dec 19 12:57:21 2007 +0100
@@ -2,7 +2,8 @@
 
 [Association,
  Description (
-        "A class to associate a ManagedElement with its RegisteredProfile.")
+        "A class to associate a ManagedElement with its RegisteredProfile."),
+ Provider("cmpi::Virt_ElementConformsToProfile")
 ]
 class Xen_ElementConformsToProfile : CIM_ElementConformsToProfile
 {
@@ -14,7 +15,8 @@ class Xen_ElementConformsToProfile : CIM
 
 [Association,
  Description (
-        "A class to associate a ManagedElement with its RegisteredProfile.")
+        "A class to associate a ManagedElement with its RegisteredProfile."),
+ Provider("cmpi::Virt_ElementConformsToProfile")
 ]
 class KVM_ElementConformsToProfile : CIM_ElementConformsToProfile
 {
diff -r d91ee8dda310 -r 361f6304b75b schema/ElementConformsToProfile.registration
--- a/schema/ElementConformsToProfile.registration	Wed Dec 19 12:55:06 2007 +0100
+++ b/schema/ElementConformsToProfile.registration	Wed Dec 19 12:57:21 2007 +0100
@@ -1,6 +1,6 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-#Xen_ElementConformsToProfile root/virt Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile  association
-Xen_ElementConformsToProfile root/interop Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile  association
-#KVM_ElementConformsToProfile root/virt Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile  association
-KVM_ElementConformsToProfile root/interop Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile  association
+#Xen_ElementConformsToProfile root/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile  association
+Xen_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile  association
+#KVM_ElementConformsToProfile root/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile  association
+KVM_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile  association
diff -r d91ee8dda310 -r 361f6304b75b src/Virt_ElementConformsToProfile.c
--- a/src/Virt_ElementConformsToProfile.c	Wed Dec 19 12:55:06 2007 +0100
+++ b/src/Virt_ElementConformsToProfile.c	Wed Dec 19 12:57:21 2007 +0100
@@ -244,7 +244,11 @@ struct std_assoc *assoc_handlers[] = {
         NULL
 };
 
-STDA_AssocMIStub(, Virt_ElementConformsToProfileProvider, _BROKER, libvirt_cim_init(), assoc_handlers);
+STDA_AssocMIStub(,
+                 Virt_ElementConformsToProfile,
+                 _BROKER, 
+                 libvirt_cim_init(), 
+                 assoc_handlers);
 /*
  * Local Variables:
  * mode: C




More information about the Libvirt-cim mailing list