Add regions in ring-builder.py
swift-ring-builder CLI usage does not specify about regions. This patch adds a description about it. It also adds a brief description of the flags (report parameter). Change-Id: If51a15c0904857abf62636b90ac0c7ed63300871 Closes-Bug: #1583551
This commit is contained in:
parent
d819ae00a5
commit
e28ff0629d
@ -410,9 +410,12 @@ swift-ring-builder <builder_file> create <part_power> <replicas>
|
|||||||
def default():
|
def default():
|
||||||
"""
|
"""
|
||||||
swift-ring-builder <builder_file>
|
swift-ring-builder <builder_file>
|
||||||
Shows information about the ring and the devices within.
|
Shows information about the ring and the devices within. Output
|
||||||
Flags:
|
includes a table that describes the report parameters (id, region,
|
||||||
DEL - marked for removal and will be removed next rebalance.
|
port, flags, etc).
|
||||||
|
flags: possible values are 'DEL' and ''
|
||||||
|
DEL - indicates that the device is marked for removal from
|
||||||
|
ring and will be removed in next rebalance.
|
||||||
"""
|
"""
|
||||||
print('%s, build version %d' % (builder_file, builder.version))
|
print('%s, build version %d' % (builder_file, builder.version))
|
||||||
regions = 0
|
regions = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user