Merge lp://staging/~gholt/swift/atriskparts into lp://staging/~hudson-openstack/swift/trunk
Proposed by
gholt
Status: | Merged |
---|---|
Approved by: | Jay Payne |
Approved revision: | 295 |
Merged at revision: | 298 |
Proposed branch: | lp://staging/~gholt/swift/atriskparts |
Merge into: | lp://staging/~hudson-openstack/swift/trunk |
Diff against target: |
81 lines (+45/-1) 2 files modified
bin/swift-ring-builder (+36/-1) swift/common/ring/builder.py (+9/-0) |
To merge this branch: | bzr merge lp://staging/~gholt/swift/atriskparts |
Related bugs: | |
Related blueprints: |
At Risk Tools
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jay Payne (community) | Approve | ||
David Goetz (community) | Approve | ||
Review via email:
|
Commit message
swift-ring-builder: Added list_parts command which shows common partitions for a given list of devices.
Description of the change
This is part 1) of the linked blueprint.
Added to swift-ring-builder:
swift-ring-builder <builder_file> list_parts <search-value> [<search-value>] ..
Lists the common partitions for the matching devices, in order of partition
most matching to least matching. If there are a lot of devices to match
against, this command could take a while to run.
To post a comment you must log in.
Change the help in the command to maybe something like:
Returns a 2 column list of all partitions that match any of the search values given in the first column and the number of search matches in the second. The partitions are ordered from most number of matches to least. If there are a lot of devices to match against, this command could take a while to run.