# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182619 -3600
# Node ID d4e7585a3f53a347b655f74ff9948d2cec5e6aa0
# Parent fdba4d9de9660421b2cb1749951404ed5aa8bdaa
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(a)linux.vnet.ibm.com>
diff -r fdba4d9de966 -r d4e7585a3f53 schema/ElementConformsToProfile.mof
--- a/schema/ElementConformsToProfile.mof Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementConformsToProfile.mof Thu Dec 20 21:30:19 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 fdba4d9de966 -r d4e7585a3f53 schema/ElementConformsToProfile.registration
--- a/schema/ElementConformsToProfile.registration Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementConformsToProfile.registration Thu Dec 20 21:30:19 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 fdba4d9de966 -r d4e7585a3f53 src/Virt_ElementConformsToProfile.c
--- a/src/Virt_ElementConformsToProfile.c Thu Dec 20 21:30:19 2007 +0100
+++ b/src/Virt_ElementConformsToProfile.c Thu Dec 20 21:30:19 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