def ValidateConfig(data):
  if data['version'] != constants.CONFIG_VERSION:
    raise errors.ConfigVersionMismatch(constants.CONFIG_VERSION,
                                       data['version'])
Verifies that a configuration dict looks valid.
dataset/ETHPy150Open ganeti/ganeti/lib/config/verify.py/ValidateConfig