[Libvirt-cim] [PATCH 1 of 2] Added ServiceAccessBySAP association (ConsoleRedirectionService <-> KVMRedirectionSAP)

Richard Maciel richardm at br.ibm.com
Fri Dec 5 14:01:16 UTC 2008


# HG changeset patch
# User Richard Maciel <richardm at br.ibm.com>
# Date 1228248506 7200
# Node ID 6d1cd827e490a3fee0f4219972e1bebfc0b3ccfa
# Parent  21a9102b8eefde69aad9ec2dc0481db5f888ab96
Added ServiceAccessBySAP association (ConsoleRedirectionService <-> KVMRedirectionSAP)

* Created mof and registration files
* Changed Makefile to use newly created files

Changes for submission #2
* Removed registration for CIMV2 in ServiceAccessBySAP.registration file

Changes for submission #3
* Fixed indents in the Makefile.am

Signed-off-by: Richard Maciel <richardm at br.ibm.com>

diff -r 21a9102b8eef -r 6d1cd827e490 Makefile.am
--- a/Makefile.am	Thu Dec 04 20:15:50 2008 -0200
+++ b/Makefile.am	Tue Dec 02 18:08:26 2008 -0200
@@ -52,7 +52,8 @@
         schema/PointingDevice.mof \
         schema/GraphicsPool.mof \
         schema/InputPool.mof \
-        schema/HostedAccessPoint.mof
+        schema/HostedAccessPoint.mof \
+        schema/ServiceAccessBySAP.mof
 
 INTEROP_MOFS = \
 	schema/ComputerSystem.mof \
@@ -74,7 +75,7 @@
 	schema/RegisteredProfile.mof \
 	schema/ComputerSystem.mof \
 	schema/ElementConformsToProfile.mof \
-	schema/HostedAccessPoint.mof
+        schema/HostedAccessPoint.mof
 
 REGS = \
 	schema/ComputerSystem.registration \
@@ -123,7 +124,8 @@
         schema/PointingDevice.registration \
         schema/GraphicsPool.registration \
         schema/InputPool.registration \
-        schema/HostedAccessPoint.registration
+        schema/HostedAccessPoint.registration \
+        schema/ServiceAccessBySAP.registration
 
 INTEROP_REGS = \
 	schema/RegisteredProfile.registration \
@@ -136,7 +138,7 @@
 	schema/HostedService.registration \
 	schema/HostedDependency.registration \
 	schema/ElementConformsToProfile.registration \
-	schema/HostedAccessPoint.registration
+        schema/HostedAccessPoint.registration
 
 pkgdata_DATA = $(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS)
 pkgdata_SCRIPTS = provider-register.sh
diff -r 21a9102b8eef -r 6d1cd827e490 schema/ServiceAccessBySAP.mof
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ServiceAccessBySAP.mof	Tue Dec 02 18:08:26 2008 -0200
@@ -0,0 +1,22 @@
+// Copyright IBM Corp. 2007
+
+[Association,
+ Provider("cmpi::Virt_ServiceAccessBySAP")
+]
+class Xen_ServiceAccessBySAP : CIM_ServiceAccessBySAP
+{
+};
+
+[Association,
+ Provider("cmpi::Virt_ServiceAccessBySAP")
+]
+class KVM_ServiceAccessBySAP : CIM_ServiceAccessBySAP
+{
+};
+
+[Association,
+ Provider("cmpi::Virt_ServiceAccessBySAP")
+]
+class LXC_ServiceAccessBySAP : CIM_ServiceAccessBySAP
+{
+};
diff -r 21a9102b8eef -r 6d1cd827e490 schema/ServiceAccessBySAP.registration
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ServiceAccessBySAP.registration	Tue Dec 02 18:08:26 2008 -0200
@@ -0,0 +1,6 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_ServiceAccessBySAP root/virt Virt_ServiceAccessBySAP Virt_ServiceAccessBySAP association
+KVM_ServiceAccessBySAP root/virt Virt_ServiceAccessBySAP Virt_ServiceAccessBySAP association
+LXC_ServiceAccessBySAP root/virt Virt_ServiceAccessBySAP Virt_ServiceAccessBySAP association
+




More information about the Libvirt-cim mailing list