swift/test/unit/cli
Samuel Merritt ccf0758ef1 Add ring-builder analyzer.
This is a tool to help developers quantify changes to the ring
builder. It takes a scenario (JSON file) describing the builder's
basic parameters (part_power, replicas, etc.) and a number of
"rounds", where each round is a set of operations to perform on the
builder. For each round, the operations are applied, and then the
builder is rebalanced until it reaches a steady state.

The idea is that a developer observes the ring builder behaving
suboptimally, writes a scenario to reproduce the behavior, modifies
the ring builder to fix it, and references the scenario with the
commit so that others can see that things have improved.

I decided to write this after writing my fourth or fifth hacky one-off
script to reproduce some bad behavior in the ring builder.

Change-Id: I114242748368f142304aab90a6d99c1337bced4c
2015-07-02 08:16:03 -07:00
..
__init__.py Add some tests for bin/swift-recon 2014-01-31 15:34:37 +00:00
test_form_signature.py Make swift-form-signature output a sample form 2014-08-05 11:11:03 -07:00
test_info.py Change usage help and Attention messages to warnings 2015-06-03 15:32:25 -04:00
test_recon.py Make swift-recon compatible for servers without storage policies 2015-06-01 07:00:39 +00:00
test_ring_builder_analyzer.py Add ring-builder analyzer. 2015-07-02 08:16:03 -07:00
test_ringbuilder.py Add ring-builder analyzer. 2015-07-02 08:16:03 -07:00