[Libvirt-cim] [PATCH 2 of 2] ECTP: enabled for multiple namespace registration

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Jan 22 11:39:00 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1201005493 -3600
# Node ID a1e219a2a4d04d008c128bf393368ac279f682c9
# Parent  946081cff94e6ef92587edbf7a712113db37a1a2
ECTP: enabled for multiple namespace registration

- register ElementConformsToProfile to root/virt namespace
- fixed root/interop namespace for ME to RP direction

Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 946081cff94e -r a1e219a2a4d0 Makefile.am
--- a/Makefile.am	Tue Jan 22 13:38:03 2008 +0100
+++ b/Makefile.am	Tue Jan 22 13:38:13 2008 +0100
@@ -76,7 +76,8 @@ REGS = \
 	schema/HostedService.registration \
 	schema/ElementSettingData.registration \
 	schema/VSMigrationCapabilities.registration \
-	schema/VSMigrationService.registration
+	schema/VSMigrationService.registration \
+	schema/ElementConformsToProfile.registration
 
 INTEROP_REGS = \
 	schema/RegisteredProfile.registration \
diff -r 946081cff94e -r a1e219a2a4d0 schema/ElementConformsToProfile.registration
--- a/schema/ElementConformsToProfile.registration	Tue Jan 22 13:38:03 2008 +0100
+++ b/schema/ElementConformsToProfile.registration	Tue Jan 22 13:38:13 2008 +0100
@@ -1,6 +1,6 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-#Xen_ElementConformsToProfile root/virt Virt_ElementConformsToProfile 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/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile  association
 KVM_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile  association
diff -r 946081cff94e -r a1e219a2a4d0 src/Virt_ElementConformsToProfile.c
--- a/src/Virt_ElementConformsToProfile.c	Tue Jan 22 13:38:03 2008 +0100
+++ b/src/Virt_ElementConformsToProfile.c	Tue Jan 22 13:38:13 2008 +0100
@@ -169,7 +169,7 @@ static CMPIStatus elem_to_prof(const CMP
                         continue;
 
                 instance = reg_prof_instance(_BROKER, 
-                                             "/root/interop", 
+                                             "root/interop", 
                                              NULL,
                                              conn,
                                              candidate);




More information about the Libvirt-cim mailing list