summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/lib/src/gluster1.x
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-07-12 08:19:44 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-12 06:59:29 -0700
commit6ef7f0e25fb7c76231b4d4ae05cbc45330de300d (patch)
tree6e5b8537dfbee8b7d8e51cdbb62af1d9d0f31a35 /xlators/protocol/lib/src/gluster1.x
parent9bee476eabb5034a27e994008a12ef684755d76c (diff)
Changes in CLI and glusterd
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/protocol/lib/src/gluster1.x')
-rw-r--r--xlators/protocol/lib/src/gluster1.x27
1 files changed, 26 insertions, 1 deletions
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;