From 8dcf91660e0bd10eb75ef25a29ca02ec51c81be4 Mon Sep 17 00:00:00 2001 From: Samikshan Bairagya Date: Sun, 23 Jul 2017 22:07:34 +0530 Subject: glusterd: Add option to get all volume options through get-state CLI This commit makes the get-state CLI capable to returning the values for all volume options for all volumes. This is similar to what you get when you issue a `gluster volume get all` command. This is the new usage for the get-state CLI: # gluster get-state [] [[odir ] \ [file ]] [detail|volumeoptions] Fixes: #277 Change-Id: Ice52d936a5a389c6fa0ba5ab32416a65cdfde46d Signed-off-by: Samikshan Bairagya Reviewed-on: https://review.gluster.org/17858 CentOS-regression: Gluster Build System Reviewed-by: Atin Mukherjee Reviewed-by: Gaurav Yadav Smoke: Gluster Build System --- rpc/xdr/src/cli1-xdr.x | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpc') diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index b7d07c2853c..f62248396ca 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -154,7 +154,8 @@ enum gf1_cli_info_op { }; enum gf_cli_get_state_op { - GF_CLI_GET_STATE_DETAIL = 1 + GF_CLI_GET_STATE_DETAIL = 1, + GF_CLI_GET_STATE_VOLOPTS = 2 }; enum gf1_cli_top_op { -- cgit