# HG changeset patch
# User Richard Maciel <richardm(a)br.ibm.com>
# Date 1228424151 7200
# Node ID 815244af1bc107c790d58f1d417bb5cb6700d95c
# 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
Changes for submission #5
* Added HAP mof and reg to CIMV2_MOFS and CIMV2_REG.
Signed-off by: Richard Maciel <richardm(a)br.ibm.com>
diff -r 3fd91510a5db -r 815244af1bc1 Makefile.am
--- a/Makefile.am Thu Dec 04 18:41:26 2008 -0200
+++ b/Makefile.am Thu Dec 04 18:55:51 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 \
@@ -72,7 +73,8 @@
schema/HostedDependency.mof \
schema/RegisteredProfile.mof \
schema/ComputerSystem.mof \
- schema/ElementConformsToProfile.mof
+ schema/ElementConformsToProfile.mof \
+ schema/HostedAccessPoint.mof
REGS = \
schema/ComputerSystem.registration \
@@ -120,7 +122,8 @@
schema/DisplayController.registration \
schema/PointingDevice.registration \
schema/GraphicsPool.registration \
- schema/InputPool.registration
+ schema/InputPool.registration \
+ schema/HostedAccessPoint.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
@@ -132,7 +135,8 @@
schema/ElementCapabilities.registration \
schema/HostedService.registration \
schema/HostedDependency.registration \
- schema/ElementConformsToProfile.registration
+ schema/ElementConformsToProfile.registration \
+ schema/HostedAccessPoint.registration
pkgdata_DATA = $(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS)
pkgdata_SCRIPTS = provider-register.sh
diff -r 3fd91510a5db -r 815244af1bc1 schema/HostedAccessPoint.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/HostedAccessPoint.mof Thu Dec 04 18:55:51 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 815244af1bc1 schema/HostedAccessPoint.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/HostedAccessPoint.registration Thu Dec 04 18:55:51 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