[Libvirt-cim] [PATCH 2 of 3] Added association HostedAccessPoint (HostSystem <-> KVMRedirectionSAP)

Richard Maciel richardm at br.ibm.com
Wed Dec 3 21:06:00 UTC 2008


# HG changeset patch
# User Richard Maciel <richardm at br.ibm.com>
# Date 1228337994 7200
# Node ID 7a9f4c0b781a65d5c1e4d1b70e5c380e64ce0ca7
# Parent  63fa1c7aece56430f1b2b15376dcdf8a114e26d2
Added association HostedAccessPoint (HostSystem <-> KVMRedirectionSAP)

* Added schema/HostedAccessPoint.mof (and .registration) to
create and register the new associations
* Changed Makefile.am to regiser HostedAccessPoint association

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

diff -r 63fa1c7aece5 -r 7a9f4c0b781a Makefile.am
--- a/Makefile.am	Wed Dec 03 18:52:00 2008 -0200
+++ b/Makefile.am	Wed Dec 03 18:59:54 2008 -0200
@@ -51,7 +51,8 @@
         schema/DisplayController.mof \
         schema/PointingDevice.mof \
         schema/GraphicsPool.mof \
-        schema/InputPool.mof
+        schema/InputPool.mof \
+        schema/HostedAccessPoint.mof
 
 INTEROP_MOFS = \
 	schema/ComputerSystem.mof \
@@ -120,7 +121,8 @@
         schema/DisplayController.registration \
         schema/PointingDevice.registration \
         schema/GraphicsPool.registration \
-        schema/InputPool.registration
+        schema/InputPool.registration \
+        schema/HostedAccessPoint.registration
 
 INTEROP_REGS = \
 	schema/RegisteredProfile.registration \
diff -r 63fa1c7aece5 -r 7a9f4c0b781a schema/HostedAccessPoint.mof
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/HostedAccessPoint.mof	Wed Dec 03 18:59:54 2008 -0200
@@ -0,0 +1,22 @@
+// Copyright IBM Corp. 2007
+
+[Association,
+ Provider("cmpi::Virt_HostedAccessPoint")
+]
+class Xen_HostedAccessPoint : CIM_HostedAccessPoint
+{
+};
+
+[Association,
+ Provider("cmpi::Virt_HostedAccessPoint")
+]
+class KVM_HostedAccessPoint : CIM_HostedAccessPoint
+{
+};
+
+[Association,
+ Provider("cmpi::Virt_HostedAccessPoint")
+]
+class LXC_HostedAccessPoint : CIM_HostedAccessPoint
+{
+};
diff -r 63fa1c7aece5 -r 7a9f4c0b781a schema/HostedAccessPoint.registration
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/HostedAccessPoint.registration	Wed Dec 03 18:59:54 2008 -0200
@@ -0,0 +1,8 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_HostedAccessPoint root/virt Virt_HostedAccessPoint Virt_HostedAccessPoint association
+KVM_HostedAccessPoint root/virt Virt_HostedAccessPoint Virt_HostedAccessPoint association
+LXC_HostedAccessPoint root/virt Virt_HostedAccessPoint Virt_HostedAccessPoint association
+Xen_HostedAccessPoint root/cimv2 Virt_HostedAccessPoint Virt_HostedAccessPoint association
+KVM_HostedAccessPoint root/cimv2 Virt_HostedAccessPoint Virt_HostedAccessPoint association
+LXC_HostedAccessPoint root/cimv2 Virt_HostedAccessPoint Virt_HostedAccessPoint association




More information about the Libvirt-cim mailing list