Testing: Add Python IP allocation simulation.
authorMartin Schwenke <martin@meltin.net>
Fri, 30 Jul 2010 06:45:36 +0000 (16:45 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 30 Jul 2010 06:45:36 +0000 (16:45 +1000)
commit7c939e5fbf9d613903e3dabab6d9a0fd8229f4ec
tree397c8072fc3cd3875eff5823356515339814e791
parent320d85195d8d231b7d7d58239d608113e23c6ba6
Testing: Add Python IP allocation simulation.

Includes simulation module and example scenarios.  This allows you to
test and perhaps tweak an algorithm that should be the same as the
current CTDB IP reallocation one.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 10e701fa9bba2a166c947a5a18f231ff64d9b861)
ctdb/.gitignore
ctdb/tests/takeover/README [new file with mode: 0644]
ctdb/tests/takeover/ctdb_takeover.py [new file with mode: 0755]
ctdb/tests/takeover/mgmt_simple.py [new file with mode: 0755]
ctdb/tests/takeover/node_pool_extra.py [new file with mode: 0755]
ctdb/tests/takeover/node_pool_simple.py [new file with mode: 0755]
ctdb/tests/takeover/nondet_path_01.py [new file with mode: 0755]