module documentation

Library of the tools/cfgupgrade utility.

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

Class CfgUpgrade No class docstring; 0/4 instance variable, 10/32 methods, 1/5 static method, 0/1 class method documented
Exception Error Generic exception
Function OrFail Make failure non-fatal and improve reporting.
Function ParseOptions Undocumented
Constant DEV_TYPE_NEW_OLD Undocumented
Constant DEV_TYPE_OLD_NEW Undocumented
Constant DOWNGRADE_MINOR Undocumented
Constant LAST_V2_MINOR Undocumented
def OrFail(description=None):

Make failure non-fatal and improve reporting.

def ParseOptions(args=None):

Undocumented

DEV_TYPE_NEW_OLD =

Undocumented

Value
dict(((v, k) for k, v in DEV_TYPE_OLD_NEW.items()))
DEV_TYPE_OLD_NEW =

Undocumented

Value
{'lvm': constants.DT_PLAIN, 'drbd8': constants.DT_DRBD8}
DOWNGRADE_MINOR =

Undocumented

Value
TARGET_MINOR-1
LAST_V2_MINOR: int =

Undocumented

Value
16