# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1221241931 25200
# Node ID 928da33758799c98282baa042fffd194e30a39ad
# Parent e4e78fce79575db03c1629d625a53ec13f33992b
(#3) Schema and Makefile changes for the RedirectionService
Updates from 1 to 2:
-Changed RedirectionService subclass name from RedirecitonService to
ConsoleRedirectionService.
Updates from 2 to 3:
-Changed provider name from RedirectionService to ConsoleRedirectionService.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r e4e78fce7957 -r 928da3375879 Makefile.am
--- a/Makefile.am Fri Sep 05 11:55:57 2008 -0700
+++ b/Makefile.am Fri Sep 12 10:52:11 2008 -0700
@@ -42,7 +42,8 @@
schema/VSMigrationSettingData.mof \
schema/VirtualSystemSnapshotService.mof \
schema/VirtualSystemSnapshotServiceCapabilities.mof \
- schema/ConcreteComponent.mof
+ schema/ConcreteComponent.mof \
+ schema/ConsoleRedirectionService.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -90,7 +91,8 @@
schema/VSMigrationSettingData.registration \
schema/VirtualSystemSnapshotService.registration \
schema/VirtualSystemSnapshotServiceCapabilities.registration \
- schema/ConcreteComponent.registration
+ schema/ConcreteComponent.registration \
+ schema/ConsoleRedirectionService.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
diff -r e4e78fce7957 -r 928da3375879 schema/ConsoleRedirectionService.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ConsoleRedirectionService.mof Fri Sep 12 10:52:11 2008 -0700
@@ -0,0 +1,16 @@
+// Copyright IBM Corp. 2007
+
+[Provider("cmpi::Virt_ConsoleRedirectionService")]
+class Xen_ConsoleRedirectionService : CIM_RedirectionService
+{
+};
+
+[Provider("cmpi::Virt_ConsoleRedirectionService")]
+class KVM_ConsoleRedirectionService : CIM_RedirectionService
+{
+};
+
+[Provider("cmpi::Virt_ConsoleRedirectionService")]
+class LXC_ConsoleRedirectionService : CIM_RedirectionService
+{
+};
diff -r e4e78fce7957 -r 928da3375879 schema/ConsoleRedirectionService.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ConsoleRedirectionService.registration Fri Sep 12 10:52:11 2008 -0700
@@ -0,0 +1,5 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_ConsoleRedirectionService root/virt Virt_ConsoleRedirectionService
Virt_ConsoleRedirectionService method instance
+KVM_ConsoleRedirectionService root/virt Virt_ConsoleRedirectionService
Virt_ConsoleRedirectionService method instance
+LXC_ConsoleRedirectionService root/virt Virt_ConsoleRedirectionService
Virt_ConsoleRedirectionService method instance
diff -r e4e78fce7957 -r 928da3375879 src/Makefile.am
--- a/src/Makefile.am Fri Sep 05 11:55:57 2008 -0700
+++ b/src/Makefile.am Fri Sep 12 10:52:11 2008 -0700
@@ -54,6 +54,7 @@
libVirt_ResourcePoolConfigurationService.la \
libVirt_ResourcePoolConfigurationCapabilities.la \
libVirt_VSMigrationService.la \
+ libVirt_ConsoleRedirectionService.la \
libVirt_SettingsDefineCapabilities.la \
libVirt_HostedDependency.la \
libVirt_ElementConformsToProfile.la \
@@ -191,3 +192,8 @@
libVirt_ConcreteComponent_la_DEPENDENCIES = libVirt_HostSystem.la libVirt_DevicePool.la
libVirt_ConcreteComponent_la_SOURCES = Virt_ConcreteComponent.c
libVirt_ConcreteComponent_la_LIBADD = -lVirt_HostSystem -lVirt_DevicePool
+
+libVirt_ConsoleRedirectionService_la_DEPENDENCIES = libVirt_HostSystem.la
+libVirt_ConsoleRedirectionService_la_SOURCES = Virt_ConsoleRedirectionService.c
+libVirt_ConsoleRedirectionService_la_LIBADD = -lVirt_HostSystem
+