In this way, we have that property in one central place and avoid hard-coding this knowledge all over htools. The implementation of this new predicate requires it to be changed for every constructor added/removed to DiskTemplate so that it hopefully stays up to date.
Klaus Aehlig (2): Add a mobility predicate on disk templates GlobalN1: use diskTemplateMovable src/Ganeti/HTools/GlobalN1.hs | 4 ++-- src/Ganeti/Types.hs | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) -- 2.2.0.rc0.207.ga3a616c
