summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/cli1-xdr.x
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2011-03-10 02:19:20 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-10 08:09:42 -0800
commit970b22e377e20408df8646cdc61a968b55c145b1 (patch)
treef28637bd60813a30bc4b9a37b7d3b7cac93250cf /rpc/xdr/src/cli1-xdr.x
parent332508e8e3b5cd2ffe1c68e496d294d4fef2dea4 (diff)
rpc/xdr: Add gluster profile and brick op structures
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1965 (need a cmd to get io-stat details) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.x')
-rw-r--r--rpc/xdr/src/cli1-xdr.x19
1 files changed, 19 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x
index c5bd82965..61d0b8425 100644
--- a/rpc/xdr/src/cli1-xdr.x
+++ b/rpc/xdr/src/cli1-xdr.x
@@ -43,6 +43,13 @@ enum gf1_cli_gsync_set {
GF_GSYNC_OPTION_TYPE_CONFIG_GET_ALL
};
+enum gf1_cli_stats_op {
+ GF_CLI_STATS_NONE = 0,
+ GF_CLI_STATS_START = 1,
+ GF_CLI_STATS_STOP = 2,
+ GF_CLI_STATS_INFO = 3
+};
+
struct gf1_cli_probe_req {
string hostname<>;
int port;
@@ -318,3 +325,15 @@ struct gf1_cli_gsync_set_rsp {
string slave<>;
string gsync_prefix<>;
};
+
+struct gf1_cli_stats_volume_req {
+ string volname<>;
+ gf1_cli_stats_op op;
+};
+
+struct gf1_cli_stats_volume_rsp {
+ int op_ret;
+ int op_errno;
+ string op_errstr<>;
+ opaque stats_info<>;
+};