So far, for computing reboot groups, hroller only considered
drbd-instances. Even though the non-drbd instances can be
migrated to any node, we have to account for capacity. As
suggested in the design document, this is done by greedily
searching for locations where to place the non-drbd instances.

Klaus Aehlig (3):
  Remove trailing whitespace
  Make hroller also plan for non-redundant instances
  Test for hroller taking non-redundant instances into account

 Makefile.am                                |  1 +
 src/Ganeti/HTools/Program/Hroller.hs       | 76 ++++++++++++++++++++++++++++--
 test/data/htools/hroller-nonredundant.data | 25 ++++++++++
 test/hs/shelltests/htools-hroller.test     |  5 ++
 4 files changed, 103 insertions(+), 4 deletions(-)
 create mode 100644 test/data/htools/hroller-nonredundant.data

-- 
1.8.2.1

Reply via email to