Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias Import alias TryExcept body Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier 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 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 NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr 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 NameLoad Expr Call AttributeLoad NameLoad attr Num If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore BinOpMod Call NameLoad Str TupleLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Print AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad 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 AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad 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 time N/A logging optparse OptionParser ksscommand KssCommand KssCommandException KssCommandOptException N/A __cmd__ N/A N/A N/A karesansui karesansui __version__ karesansui.lib.virt.snapshot KaresansuiVirtSnapshot karesansui.lib.utils load_locale karesansui.lib.utils get_xml_parse XMLParse karesansui.lib.utils get_xml_xpath XMLXpath karesansui.lib.utils get_nums_xml_xpath XMLXpathNum 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 TakeSnapshot 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 xml None N/A N/A opts id N/A N/A xml N/A <domainsnapshot><name>%s</name></domainsnapshot> N/A opts id 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 xmlDesc N/A N/A kvs createSnapshot N/A opts name xml N/A N/A N/A self up_progress 50 N/A N/A xmlDesc False N/A N/A doc N/A XMLParse xmlDesc N/A snapshot_name N/A XMLXpath doc /domainsnapshot/name/text() N/A msg N/A N/A _ Domain snapshot '%s' created. - domain=%s N/A N/A str snapshot_name N/A opts name N/A N/A N/A N/A self logger info msg N/A N/A sys stdout msg N/A N/A msg N/A N/A _ Failed to create snapshot. - domain=%s N/A 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 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 create snapshot. - domain=%s N/A N/A opts name N/A msg N/A : detail %s N/A N/A join 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 kvs finish N/A True N/A N/A N/A N/A __name__ __main__ N/A N/A target N/A TakeSnapshot N/A N/A N/A sys exit N/A N/A target run