# HG changeset patch
# User Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
# Date 1256824836 7200
# Node ID cedaf9d6dceeea59f09371d262f4c15d9e12043f
# Parent a21bca13fac941c41ddb5ca1207be1f33e5f60d9
Add profile providers to the PG_InterOp namespace to fix the SLP issue
Signed-off-by: Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
diff -r a21bca13fac9 -r cedaf9d6dcee Makefile.am
--- a/Makefile.am Thu Oct 29 12:00:36 2009 -0200
+++ b/Makefile.am Thu Oct 29 12:00:36 2009 -0200
@@ -71,6 +71,11 @@
schema/ReferencedProfile.mof \
schema/AllocationCapabilities.mof
+PGINTEROP_MOFS = \
+ schema/RegisteredProfile.mof \
+ schema/ElementConformsToProfile.mof \
+ schema/ReferencedProfile.mof
+
CIMV2_MOFS = \
schema/HostedResourcePool.mof \
schema/ElementCapabilities.mof \
@@ -138,6 +143,11 @@
schema/ElementConformsToProfile.registration \
schema/ReferencedProfile.registration
+PGINTEROP_REGS = \
+ schema/RegisteredProfile.registration \
+ schema/ElementConformsToProfile.registration \
+ schema/ReferencedProfile.registration
+
CIMV2_REGS = \
schema/HostedResourcePool.registration \
schema/ElementCapabilities.registration \
@@ -178,6 +188,7 @@
sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(REGS) -m $(MOFS)
sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(INTEROP_REGS) -m
$(INTEROP_MOFS)
sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(CIMV2_REGS) -m
$(CIMV2_MOFS)
+ sh provider-register.sh -v -t @CIMSERVER@ -n root/PG_InterOp -r $(PGINTEROP_REGS) -m
$(PGINTEROP_MOFS)
virsh -v | grep -q '^0.3' && cp examples/diskpool.conf
$(DISK_POOL_CONFIG) || true
mkdir -p $(INFO_STORE)
@@ -185,6 +196,8 @@
sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(REGS) -m $(MOFS)
sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(INTEROP_REGS) -m
$(INTEROP_MOFS)
sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(CIMV2_REGS) -m
$(CIMV2_MOFS)
+ sh provider-register.sh -v -d -t @CIMSERVER@ -n root/PG_InterOp -r $(PGINTEROP_REGS) -m
$(PGINTEROP_MOFS)
+
rpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)