Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias Import alias TryExcept body Import alias ImportFrom alias ImportFrom alias ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Assign NameStore Str FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Call NameLoad Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad If UnaryOpNot CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Print AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMod Str Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr
N/A N/A os N/A sys N/A logging optparse OptionParser ksscommand KssCommand KssCommandException N/A __cmd__ N/A N/A N/A karesansui karesansui __version__ karesansui.lib.virt.snapshot KaresansuiVirtSnapshot karesansui.lib.utils load_locale N/A N/A N/A ImportError N/A e N/A N/A N/A sys stderr N/A [Error] some packages not found. - %s e N/A N/A N/A sys exit 1 N/A _ N/A load_locale N/A usage %prog [options] getopts N/A N/A N/A N/A N/A optp N/A OptionParser usage usage version __version__ N/A N/A N/A optp add_option -n --name dest name help N/A _ Domain Name N/A N/A N/A optp add_option -i --id dest id help N/A _ Snapshot serial ID N/A N/A N/A optp parse_args N/A chkopts N/A N/A opts N/A N/A N/A N/A N/A opts name N/A N/A N/A KssCommandOptException ERROR: -n or --name option is required. N/A N/A N/A opts id N/A N/A N/A KssCommandOptException ERROR: -i or --id option is required. N/A ApplySnapshot N/A KssCommand N/A process N/A N/A self N/A N/A N/A N/A opts args N/A getopts N/A N/A chkopts opts N/A N/A N/A self up_progress 10 N/A kvs N/A KaresansuiVirtSnapshot readonly False N/A N/A N/A N/A N/A self up_progress 10 N/A N/A N/A domain N/A N/A kvs whichDomain N/A opts id N/A N/A N/A len domain 0 N/A N/A msg N/A N/A _ Snapshot '%s' not found in domain '%s'. N/A N/A opts id N/A opts name N/A N/A N/A N/A self logger error msg N/A N/A KssCommandException msg N/A N/A N/A N/A opts name domain N/A N/A msg N/A N/A _ Snapshot '%s' not found in domain '%s'. N/A N/A opts id N/A opts name N/A N/A N/A N/A self logger error msg N/A N/A KssCommandException msg N/A ret N/A N/A kvs revertSnapshot N/A opts id N/A N/A ret False N/A N/A msg N/A N/A _ Can't revert to snapshot '%s'. N/A N/A opts id N/A N/A N/A N/A self logger error msg N/A N/A KssCommandException msg N/A N/A N/A self up_progress 50 N/A msg N/A N/A _ Domain snapshot '%s' reverted. N/A N/A opts id N/A N/A N/A N/A self logger info msg N/A N/A sys stdout msg N/A N/A N/A KssCommandException N/A e N/A N/A N/A KssCommandException N/A N/A join N/A e args N/A N/A Exception N/A e N/A N/A msg N/A N/A _ Failed to revert to snapshot '%s'. N/A N/A opts id N/A msg N/A : detail %s N/A N/A join N/A str N/A e args N/A N/A N/A N/A self logger error msg N/A N/A KssCommandException msg N/A N/A N/A N/A self logger info N/A Completed revertion to the snapshot - id=%s,name=%s N/A N/A opts id N/A opts name N/A N/A sys stdout N/A _ N/A Completed revertion to the snapshot - id=%s,name=%s N/A N/A opts id N/A opts name N/A True N/A N/A N/A N/A kvs finish N/A N/A N/A N/A __name__ __main__ N/A N/A target N/A ApplySnapshot N/A N/A N/A sys exit N/A N/A target run