Script cfgupgrade
Tool to upgrade the configuration file.
This code handles only the types supported by simplejson. As an
example, 'set' is a 'list'.
|
SetupLogging()
Configures the logging module. |
|
|
|
|
|
UpgradeNetworks(config_data) |
|
|
|
UpgradeGroups(config_data) |
|
|
|
UpgradeInstances(config_data) |
|
|
|
|
|
options = None
|
|
args = None
|
|
TARGET_MAJOR = 2
Target major version we will upgrade to
|
|
TARGET_MINOR = 7
Target minor version we will upgrade to
|
Imports:
os,
sys,
optparse,
logging,
time,
StringIO,
constants,
serializer,
utils,
cli,
bootstrap,
config,
netutils,
pathutils
Ensures hostname matches ssconf value.
- Parameters:
path - Path to ssconf file
|