# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1221498293 25200
# Node ID 28647b7ffb5e7021a93b4daa4fd6c4a448b44f56
# Parent 5a8389ad09702ca3e433bd530842d3d504a2299c
(#2) Add schema changes needed for RedirectionServiceCapabilities
Updates:
-Change RedirectionServiceCapabilities to ConsoleRedirectionServiceCapabilities
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 5a8389ad0970 -r 28647b7ffb5e Makefile.am
--- a/Makefile.am Fri Sep 12 10:42:41 2008 -0700
+++ b/Makefile.am Mon Sep 15 10:04:53 2008 -0700
@@ -43,7 +43,8 @@
schema/VirtualSystemSnapshotService.mof \
schema/VirtualSystemSnapshotServiceCapabilities.mof \
schema/ConcreteComponent.mof \
- schema/ConsoleRedirectionService.mof
+ schema/ConsoleRedirectionService.mof \
+ schema/ConsoleRedirectionServiceCapabilities.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -92,7 +93,8 @@
schema/VirtualSystemSnapshotService.registration \
schema/VirtualSystemSnapshotServiceCapabilities.registration \
schema/ConcreteComponent.registration \
- schema/ConsoleRedirectionService.registration
+ schema/ConsoleRedirectionService.registration \
+ schema/ConsoleRedirectionServiceCapabilities.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
diff -r 5a8389ad0970 -r 28647b7ffb5e schema/ConsoleRedirectionServiceCapabilities.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ConsoleRedirectionServiceCapabilities.mof Mon Sep 15 10:04:53 2008 -0700
@@ -0,0 +1,16 @@
+// Copyright IBM Corp. 2007
+
+[Provider("cmpi::Virt_ConsoleRedirectionServiceCapabilities")]
+class Xen_ConsoleRedirectionServiceCapabilities : CIM_RedirectionServiceCapabilities
+{
+};
+
+[Provider("cmpi::Virt_ConsoleRedirectionService")]
+class KVM_ConsoleRedirectionServiceCapabilities : CIM_RedirectionServiceCapabilities
+{
+};
+
+[Provider("cmpi::Virt_ConsoleRedirectionService")]
+class LXC_ConsoleRedirectionServiceCapabilities : CIM_RedirectionServiceCapabilities
+{
+};
diff -r 5a8389ad0970 -r 28647b7ffb5e
schema/ConsoleRedirectionServiceCapabilities.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ConsoleRedirectionServiceCapabilities.registration Mon Sep 15 10:04:53 2008
-0700
@@ -0,0 +1,5 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_ConsoleRedirectionServiceCapabilities root/virt
Virt_ConsoleRedirectionServiceCapabilities Virt_ConsoleRedirectionServiceCapabilities
method instance
+KVM_ConsoleRedirectionServiceCapabilities root/virt
Virt_ConsoleRedirectionServiceCapabilities Virt_ConsoleRedirectionServiceCapabilities
method instance
+LXC_ConsoleRedirectionServiceCapabilities root/virt
Virt_ConsoleRedirectionServiceCapabilities Virt_ConsoleRedirectionServiceCapabilities
method instance
diff -r 5a8389ad0970 -r 28647b7ffb5e src/Makefile.am
--- a/src/Makefile.am Fri Sep 12 10:42:41 2008 -0700
+++ b/src/Makefile.am Mon Sep 15 10:04:53 2008 -0700
@@ -55,6 +55,7 @@
libVirt_ResourcePoolConfigurationCapabilities.la \
libVirt_VSMigrationService.la \
libVirt_ConsoleRedirectionService.la \
+ libVirt_ConsoleRedirectionServiceCapabilities.la \
libVirt_SettingsDefineCapabilities.la \
libVirt_HostedDependency.la \
libVirt_ElementConformsToProfile.la \
@@ -197,3 +198,5 @@
libVirt_ConsoleRedirectionService_la_SOURCES = Virt_ConsoleRedirectionService.c
libVirt_ConsoleRedirectionService_la_LIBADD = -lVirt_HostSystem
+libVirt_ConsoleRedirectionServiceCapabilities_la_SOURCES =
Virt_ConsoleRedirectionServiceCapabilities.c
+