Script cfgupgrade
[hide private]
[frames] | no frames]

Script cfgupgrade

Tool to upgrade the configuration file.

This code handles only the types supported by simplejson. As an example, 'set' is a 'list'.

Classes [hide private]
  Error
Generic exception
Functions [hide private]
 
SetupLogging()
Configures the logging module.
 
CheckHostname(path)
Ensures hostname matches ssconf value.
 
main()
Main program.
Variables [hide private]
  options = None
  args = None

Imports: os, sys, optparse, logging, constants, serializer, utils, cli, bootstrap, config, netutils


Function Details [hide private]

CheckHostname(path)

 

Ensures hostname matches ssconf value.

Parameters:
  • path - Path to ssconf file