...as requested in issue 993. Klaus Aehlig (6): Move htools tag constants to a separate module Export exTagsPrefix to Ganeti.Constants Add a utility function for extracting exclusion tags Add a new CV error code for tag violation Add a cluster verify error for exclusion tags Also check exclusion tags in cluster verify
Makefile.am | 3 ++ lib/cmdlib/cluster/verify.py | 29 +++++++++++ lib/utils/__init__.py | 1 + lib/utils/tags.py | 59 +++++++++++++++++++++ src/Ganeti/Constants.hs | 12 +++++ src/Ganeti/HTools/Loader.hs | 7 +-- src/Ganeti/HTools/Program/Harep.hs | 2 +- src/Ganeti/HTools/Program/Hsqueeze.hs | 3 +- src/Ganeti/HTools/Tags.hs | 59 ++------------------- src/Ganeti/HTools/Tags/Constants.hs | 96 +++++++++++++++++++++++++++++++++++ src/Ganeti/Types.hs | 1 + 11 files changed, 213 insertions(+), 59 deletions(-) create mode 100644 lib/utils/tags.py create mode 100644 src/Ganeti/HTools/Tags/Constants.hs -- 2.2.0.rc0.207.ga3a616c
