....as described in the second section of the location design document. The first few patches move reorganise the code as to move the various placed where tags (and tag prefixes) with magic meaning to the htools to a single file.
Klaus Aehlig (10): Move exclusion-tags prefix to a separate module Move standby tags to Ganeti.HTools.Tags Move autoRepairTag* to Ganeti.HTools.Tags Compute migration restrictions and receiving ability Extend the node structure by migration-related tags Set migration-related tags correctly by the loader Add a new failmode FailMig Add an operation to guard that migration is supported checkMigration in all migration moves Add test for hbal to honor migration Makefile.am | 5 ++ src/Ganeti/Constants.hs | 20 +---- src/Ganeti/HTools/Cluster.hs | 14 +++- src/Ganeti/HTools/Loader.hs | 27 ++++--- src/Ganeti/HTools/Node.hs | 23 ++++++ src/Ganeti/HTools/Program/Harep.hs | 9 ++- src/Ganeti/HTools/Program/Hsqueeze.hs | 15 +--- src/Ganeti/HTools/Tags.hs | 140 +++++++++++++++++++++++++++++++++ src/Ganeti/HTools/Types.hs | 1 + test/data/htools/hbal-migration-1.data | 15 ++++ test/data/htools/hbal-migration-2.data | 15 ++++ test/data/htools/hbal-migration-3.data | 16 ++++ test/hs/shelltests/htools-hbal.test | 28 +++++++ 13 files changed, 281 insertions(+), 47 deletions(-) create mode 100644 src/Ganeti/HTools/Tags.hs create mode 100644 test/data/htools/hbal-migration-1.data create mode 100644 test/data/htools/hbal-migration-2.data create mode 100644 test/data/htools/hbal-migration-3.data create mode 100644 test/hs/shelltests/htools-hbal.test -- 2.1.0.rc2.206.gedb03e5
