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

Richard Maciel richardm at br.ibm.com
Thu Dec 4 20:43:23 UTC 2008


# HG changeset patch
# User Richard Maciel <richardm at br.ibm.com>
# Date 1228423296 7200
# Node ID e7dfef1f81ee5f19bd92674319849db87f77dbb1
# Parent  3fd91510a5db88c2429a6bd1a6a21cf6287e1418
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 3fd91510a5db -r e7dfef1f81ee Makefile.am
--- a/Makefile.am	Thu Dec 04 18:41:26 2008 -0200
+++ b/Makefile.am	Thu Dec 04 18:41:36 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 3fd91510a5db -r e7dfef1f81ee schema/HostedAccessPoint.mof
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/HostedAccessPoint.mof	Thu Dec 04 18:41:36 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 3fd91510a5db -r e7dfef1f81ee schema/HostedAccessPoint.registration
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/HostedAccessPoint.registration	Thu Dec 04 18:41:36 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