path: root/cli/src/cli.h
diff options
authorDan Lambright <>2015-08-21 06:45:46 -0400
committerDan Lambright <>2015-09-09 14:56:36 -0700
commitd55a6fee5cdda8be9dd555b4f3b5c0cc005117ef (patch)
treec747e6137038d69b0050fbe1c983c044e97c7b6b /cli/src/cli.h
parentd35b8b60d7f436c5929dfa8d647f1d41aecfc237 (diff)
cluster/tier: add gluster v tier <vol>
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 <vol> [replica count] {bricklist..} gluster volume detach-tier <vol> {start|stop|commit} New commands: gluster volume tier <vol> attach [replica count] {bricklist} | detach {start|stop|commit} | status Change-Id: Ic07b3c6260588162de7d34380f8cbd3d8a7f35d3 BUG: 1255693 Signed-off-by: Dan Lambright <> Reviewed-on: Reviewed-by: Gaurav Kumar Garg <> Tested-by: Gluster Build System <>
Diffstat (limited to 'cli/src/cli.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 47da896efb7..f5441c07ec0 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -259,6 +259,10 @@ cli_cmd_volume_detach_tier_parse (const char **words, int wordcount,
dict_t **options);
+cli_cmd_volume_tier_parse (const char **words, int wordcount,
+ dict_t **options);
cli_cmd_volume_remove_brick_parse (const char **words, int wordcount,
dict_t **options, int *question);