From 598ca6bbaabc0b67708a1ecfbef1372eb9927ed9 Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Date: Thu, 7 Feb 2013 07:42:34 +0530 Subject: object-storage: Restoring multi volume support in UFO. * Currently, the users of UFO are restricted to use just one volume at any given point of time. This patch removes this limitation. * The usage of gluster-swift-gen-builders has also changed. With this commit the users should mention the list of volumes that they want to expose through UFO. So, only the volumes mentioned during the ring file generation can be accessed. Usage: gluster-swift-gen-builders []... This is an intermediate fix until we remove the account, container and object server processes. Once we have this frame work running, it will completely eliminate the ring files. Change-Id: I9ad3808519fec9c7c60ad846c4f8b653117a8337 BUG: 909053 Signed-off-by: Mohammed Junaid Reviewed-on: http://review.gluster.org/4485 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Peter Portante --- cli/src/cli-cmd-parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 8725b79f..c09aa626 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -166,7 +166,8 @@ cli_cmd_volume_create_parse (const char **words, int wordcount, dict_t **options NULL }; char *invalid_volnames[] = {"volume", "type", "subvolumes", "option", - "end-volume", "all", NULL}; + "end-volume", "all", "volume_not_in_ring", + NULL}; char *w = NULL; int op_count = 0; int32_t replica_count = 1; -- cgit