diff options
author | Matthew Booth <mbooth@redhat.com> | 2009-09-11 14:27:54 +0100 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2009-09-14 10:13:03 +0100 |
commit | 13432f02ca29eecaa61c8d66c7c52f9b70b2b3be (patch) | |
tree | 59cf8f442aaed9679788e519d96ac6e82bb1cd44 /src | |
parent | 02ae70474d418b202b6a8411daa54f8dfc790206 (diff) | |
download | libguestfs-13432f02ca29eecaa61c8d66c7c52f9b70b2b3be.tar.gz libguestfs-13432f02ca29eecaa61c8d66c7c52f9b70b2b3be.tar.xz libguestfs-13432f02ca29eecaa61c8d66c7c52f9b70b2b3be.zip |
Add echo_daemon command
echo_daemon is a simple echo which can be used to test connectivity between the
client and daemon.
Diffstat (limited to 'src')
-rw-r--r-- | src/MAX_PROC_NR | 2 | ||||
-rwxr-xr-x | src/generator.ml | 13 |
2 files changed, 14 insertions, 1 deletions
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<appliance/kmod.whitelist.in> 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<words> 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<guestfs_ping_daemon>."); + ] let all_functions = non_daemon_functions @ daemon_functions |