From d55a6fee5cdda8be9dd555b4f3b5c0cc005117ef Mon Sep 17 00:00:00 2001 From: Dan Lambright Date: Fri, 21 Aug 2015 06:45:46 -0400 Subject: cluster/tier: add gluster v tier Currently the tier feature piggy backs off the rebalance command syntax to obtain status and this is clumsy. Introduce a new tier command that can do tier specific operations, starting with volume status to display counters. Old commands: gluster volume attach-tier [replica count] {bricklist..} gluster volume detach-tier {start|stop|commit} New commands: gluster volume tier attach [replica count] {bricklist} | detach {start|stop|commit} | status Change-Id: Ic07b3c6260588162de7d34380f8cbd3d8a7f35d3 BUG: 1255693 Signed-off-by: Dan Lambright Reviewed-on: http://review.gluster.org/11984 Reviewed-by: Gaurav Kumar Garg Tested-by: Gluster Build System --- rpc/rpc-lib/src/protocol-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rpc/rpc-lib/src') diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index 2f7f23f3b45..12031738e0c 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -183,6 +183,7 @@ enum gluster_cli_procnum { GLUSTER_CLI_BITROT, GLUSTER_CLI_ATTACH_TIER, GLUSTER_CLI_DETACH_TIER, + GLUSTER_CLI_TIER, GLUSTER_CLI_MAXVALUE, }; -- cgit