# HG changeset patch
# User Richard Maciel <richardm(a)br.ibm.com>
# Date 1229118320 7200
# Node ID 04d2277875705735e0c4c76f7235f525b29bdea8
# Parent 35c891ed2c4cbf11005859c6d784d19a47c7e8f5
Added association SAPAvailableForElement (ComputerSystem <-> KVMRedirectionSAP)
* Created SAPAvailableForElement.{mof,registration} files
* Changed Makefile.am to properly handle mof and registration files
Signed-off-by: Richard Maciel <richardm(a)br.ibm.com>
diff -r 35c891ed2c4c -r 04d227787570 Makefile.am
--- a/Makefile.am Tue Dec 02 18:07:02 2008 -0200
+++ b/Makefile.am Fri Dec 12 19:45:20 2008 -0200
@@ -53,7 +53,8 @@
schema/GraphicsPool.mof \
schema/InputPool.mof \
schema/HostedAccessPoint.mof \
- schema/ServiceAccessBySAP.mof
+ schema/ServiceAccessBySAP.mof \
+ schema/SAPAvailableForElement.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -75,7 +76,8 @@
schema/RegisteredProfile.mof \
schema/ComputerSystem.mof \
schema/ElementConformsToProfile.mof \
- schema/HostedAccessPoint.mof
+ schema/HostedAccessPoint.mof \
+ schema/SAPAvailableForElement.mof
REGS = \
schema/ComputerSystem.registration \
@@ -125,7 +127,8 @@
schema/GraphicsPool.registration \
schema/InputPool.registration \
schema/HostedAccessPoint.registration \
- schema/ServiceAccessBySAP.registration
+ schema/ServiceAccessBySAP.registration \
+ schema/SAPAvailableForElement.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
@@ -138,7 +141,8 @@
schema/HostedService.registration \
schema/HostedDependency.registration \
schema/ElementConformsToProfile.registration \
- schema/HostedAccessPoint.registration
+ schema/HostedAccessPoint.registration \
+ schema/SAPAvailableForElement.registration
pkgdata_DATA = $(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS)
pkgdata_SCRIPTS = provider-register.sh
diff -r 35c891ed2c4c -r 04d227787570 schema/SAPAvailableForElement.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/SAPAvailableForElement.mof Fri Dec 12 19:45:20 2008 -0200
@@ -0,0 +1,22 @@
+// Copyright IBM Corp. 2007
+
+[Association,
+ Provider("cmpi::Virt_SAPAvailableForElement")
+]
+class Xen_SAPAvailableForElement : CIM_SAPAvailableForElement
+{
+};
+
+[Association,
+ Provider("cmpi::Virt_SAPAvailableForElement")
+]
+class KVM_SAPAvailableForElement : CIM_SAPAvailableForElement
+{
+};
+
+[Association,
+ Provider("cmpi::Virt_SAPAvailableForElement")
+]
+class LXC_SAPAvailableForElement : CIM_SAPAvailableForElement
+{
+};
diff -r 35c891ed2c4c -r 04d227787570 schema/SAPAvailableForElement.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/SAPAvailableForElement.registration Fri Dec 12 19:45:20 2008 -0200
@@ -0,0 +1,8 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_SAPAvailableForElement root/virt Virt_SAPAvailableForElement
Virt_SAPAvailableForElement association
+KVM_SAPAvailableForElement root/virt Virt_SAPAvailableForElement
Virt_SAPAvailableForElement association
+LXC_SAPAvailableForElement root/virt Virt_SAPAvailableForElement
Virt_SAPAvailableForElement association
+Xen_SAPAvailableForElement root/cimv2 Virt_SAPAvailableForElement
Virt_SAPAvailableForElement association
+KVM_SAPAvailableForElement root/cimv2 Virt_SAPAvailableForElement
Virt_SAPAvailableForElement association
+LXC_SAPAvailableForElement root/cimv2 Virt_SAPAvailableForElement
Virt_SAPAvailableForElement association