Oleg Ponomarev (3): Implement instance pinning (desired locations) Develop instance pinning tests Update design document and man pages
doc/design-location.rst | 11 +++++++++-- man/hbal.rst | 29 ++++++++++++++++++++++------ src/Ganeti/HTools/Instance.hs | 3 +++ src/Ganeti/HTools/Loader.hs | 16 +++++++++++++++ src/Ganeti/HTools/Node.hs | 19 ++++++++++++++++-- src/Ganeti/HTools/Tags/Constants.hs | 7 ++++++- test/data/htools/hbal-desiredlocation-1.data | 9 +++++++++ test/data/htools/hbal-desiredlocation-2.data | 11 +++++++++++ test/data/htools/hbal-desiredlocation-3.data | 12 ++++++++++++ test/data/htools/hbal-desiredlocation-4.data | 11 +++++++++++ test/hs/shelltests/htools-hbal.test | 29 ++++++++++++++++++++++++++++ 11 files changed, 146 insertions(+), 11 deletions(-) create mode 100644 test/data/htools/hbal-desiredlocation-1.data create mode 100644 test/data/htools/hbal-desiredlocation-2.data create mode 100644 test/data/htools/hbal-desiredlocation-3.data create mode 100644 test/data/htools/hbal-desiredlocation-4.data -- 1.9.1