diff options
author | shishir gowda <shishirng@gluster.com> | 2010-09-04 01:12:58 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-06 02:21:44 -0700 |
commit | 386ea89d93497f805c77773515a735a11ef67f29 (patch) | |
tree | f9b23489dbebf33754645e27dbf5f94745aaf15a /cli/src/cli-cmd-volume.c | |
parent | 4309c9b0d658185b1b7f07a98240b85870d35204 (diff) |
Create volume adding transport type option rdma
Adding transport type option to cli volume create command.
This is optional, and defaults to TCP. The other transport
supported is rdma
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1507 (need to add 'transport <type>' options to create brick)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1507
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index d2820768945..09f89137445 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -121,7 +121,8 @@ void cli_cmd_volume_create_usage () { cli_out ("Usage: volume create <NEW-VOLNAME> " - "[stripe <COUNT>] [replica <COUNT>] <NEW-BRICK> ..."); + "[stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] " + "<NEW-BRICK> ..."); } int |