conmux: initial import of the Console Multiplexor
Import the Console Multiplexor (CONMUX) subsystem, developed by
the IBM Linux Technology Center. CONMUX is a console abstractor,
presenting any console with a consistent location, naming and
semantic. Access to the console and hardreset of the machine is
the same regardless of the underlying access methodology.
Through this abstraction we create a simple and consistent interface
to disparate consoles simplifying programatic use of the console.
This provides for easy integration of console handling into a
test harness. This allow CONMUX to be used to capture Linux kernel
messages only available on the external system console, as well
as providing a framework for detecting, diagnosing and rescuing
paniced and hung systems.
Signed-off-by: Andy Whitcroft <andyw@uk.ibm.com>
Acked-by: Dustin Kirkland <dustin.kirkland@us.ibm.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@425 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/conmux/examples/socket.cf b/conmux/examples/socket.cf
new file mode 100755
index 0000000..513622d
--- /dev/null
+++ b/conmux/examples/socket.cf
@@ -0,0 +1,4 @@
+listener hummer
+socket console 'hummer console' '1.2.3.4:2088'
+ command 'hardreset' 'initated a hard reset' 'reboot-numaq vcs 1.2.3.5 hummer 12346 user passwd'
+ help 'hardreset' 'initiate a system hard reset for this machine'