torusctl: support specifying ring type by init command
Currently, torusctl init doesn't allow to specify ring type and number of replications. To use mod or other ring type and update the replication number, two steps, creating a ring and manual-change, are necessary.
This patch changes to:
remove --no-ring option from torusctl init
add --type option to torusctl init (default ketama)
torusctl: support specifying ring type by init command
Currently, torusctl init doesn't allow to specify ring type and number of replications. To use mod or other ring type and update the replication number, two steps, creating a ring and manual-change, are necessary.
This patch changes to:
--no-ring
option fromtorusctl init
--type
option totorusctl init
(defaultketama
)--replication
option totorusctl init