The config is modified to have a new field in Cluster for diagnose data collector script filename.
This value can be specified using gnt-cluster modify --diagnose-data-collector-filename. BSRK Aditya (11): Add command line option to specify filename Add a field to OpClusterSetParams Add option to gnt-cluster modify Add a field to Cluster config object Add config set and get functions Set new config field LUClusterSetParams Add constants related to diagnose data collector Update Upgrade and Downgrade mechanisms Add diagnose data collector Update man page of gnt-cluster Add the new option to non exposed list in qa Makefile.am | 1 + lib/cli_opts.py | 12 +++ lib/client/gnt_cluster.py | 3 + lib/cmdlib/cluster/__init__.py | 15 ++++ lib/config/__init__.py | 15 ++++ lib/objects.py | 1 + lib/tools/cfgupgrade.py | 10 +++ man/gnt-cluster.rst | 6 ++ qa/qa_rapi.py | 3 +- src/Ganeti/Constants.hs | 7 ++ src/Ganeti/DataCollectors.hs | 5 ++ src/Ganeti/DataCollectors/Diagnose.hs | 146 +++++++++++++++++++++++++++++++++ src/Ganeti/DataCollectors/Types.hs | 2 +- src/Ganeti/Objects.hs | 2 + src/Ganeti/OpCodes.hs | 1 + src/Ganeti/OpParams.hs | 6 ++ test/hs/Test/Ganeti/OpCodes.hs | 1 + test/py/cfgupgrade_unittest.py | 2 + 18 files changed, 236 insertions(+), 2 deletions(-) create mode 100644 src/Ganeti/DataCollectors/Diagnose.hs -- 1.7.10.4
