This patch series implements a big change in how Ganeti's configuration works. First it migrates all options currently held in ssconf_* files to the config file. Then it migrates all users of ssconf and finally removes ssconf completely.
Another patch series will add the capability to write ssconf_* files again based on the configuration file to ganeti-noded. Makefile.am | 2 daemons/ganeti-masterd | 11 + daemons/ganeti-noded | 6 - daemons/ganeti-rapi | 5 daemons/ganeti-watcher | 4 lib/backend.py | 46 ++++--- lib/bootstrap.py | 72 +++++++----- lib/cli.py | 4 lib/cmdlib.py | 125 +++++++++++---------- lib/config.py | 140 +++++++++++++++--------- lib/constants.py | 1 lib/hypervisor/__init__.py | 7 - lib/luxi.py | 4 lib/mcpu.py | 20 +-- lib/objects.py | 8 + lib/opcodes.py | 8 - lib/rpc.py | 6 - lib/simpleconfig.py | 128 ++++++++++++++++++++++ lib/ssconf.py | 237 ----------------------------------------- lib/ssh.py | 14 -- lib/utils.py | 23 +++ scripts/gnt-cluster | 20 ++- test/ganeti.config_unittest.py | 36 +++++- test/ganeti.hooks_unittest.py | 5 test/ganeti.ssh_unittest.py | 5 test/mocks.py | 16 +- 26 files changed, 477 insertions(+), 476 deletions(-)
