From 6ef7f0e25fb7c76231b4d4ae05cbc45330de300d Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 12 Jul 2010 08:19:44 +0000 Subject: Changes in CLI and glusterd Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/protocol/lib/src/gluster1.x | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'xlators/protocol/lib/src/gluster1.x') diff --git a/xlators/protocol/lib/src/gluster1.x b/xlators/protocol/lib/src/gluster1.x index 1fe7ef14f6b..a8af1b7d658 100644 --- a/xlators/protocol/lib/src/gluster1.x +++ b/xlators/protocol/lib/src/gluster1.x @@ -13,6 +13,10 @@ GF_REPLACE_OP_STATUS } ; +enum gf1_cli_enum_friends_list { + GF_CLI_LIST_ALL = 1 +} ; + struct gf1_cli_probe_req { string hostname<>; } ; @@ -23,6 +27,27 @@ string hostname<>; } ; + struct gf1_cli_deprobe_req { + string hostname<>; +} ; + + struct gf1_cli_deprobe_rsp { + int op_ret; + int op_errno; + string hostname<>; +} ; + +struct gf1_cli_peer_list_req { + int flags; + opaque dict<>; +} ; + +struct gf1_cli_peer_list_rsp { + int op_ret; + int op_errno; + opaque friends<>; +} ; + struct gf1_cli_create_vol_req { string volname<>; gf1_cluster_type type; @@ -39,7 +64,7 @@ struct gf1_cli_delete_vol_req { string volname<>; } ; - + struct gf1_cli_delete_vol_rsp { int op_ret; int op_errno; -- cgit