From 13432f02ca29eecaa61c8d66c7c52f9b70b2b3be Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Fri, 11 Sep 2009 14:27:54 +0100 Subject: Add echo_daemon command echo_daemon is a simple echo which can be used to test connectivity between the client and daemon. --- src/MAX_PROC_NR | 2 +- src/generator.ml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 205a12b5..6bb2f98f 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -194 +195 diff --git a/src/generator.ml b/src/generator.ml index 433c60ad..32537df7 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -3569,6 +3569,19 @@ This loads a kernel module in the appliance. The kernel module must have been whitelisted when libguestfs was built (see C in the source)."); + ("echo_daemon", (RString "output", [StringList "words"]), 195, [], + [InitNone, Always, TestOutput ( + [["echo_daemon"; "This is a test"]], "This is a test" + )], + "echo arguments back to the client", + "\ +This command concatenate the list of C passed with single spaces between +them and returns the resulting string. + +You can use this command to test the connection through to the daemon. + +See also C."); + ] let all_functions = non_daemon_functions @ daemon_functions -- cgit