summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/cli1-xdr.x
diff options
context:
space:
mode:
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 c5bd82965b7..61d0b8425ed 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<>;
+};