Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias alias alias Import alias TryExcept body Import alias ImportFrom alias ImportFrom alias 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 Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad 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 Assign NameStore NameLoad If AttributeLoad NameLoad attr body TryExcept body ImportFrom alias Assign NameStore Call NameLoad keyword NameLoad handlers ExceptHandler body Pass orelse TryExcept body ImportFrom alias Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler body Pass TryExcept body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Index Str Index Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body For NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad NameLoad Index Num If CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Num 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 handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr 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 os.path N/A sys N/A signal N/A logging optparse OptionParser N/A glob ksscommand KssCommand KssCommandException KssCommandOptException N/A __cmd__ N/A N/A N/A karesansui karesansui __version__ karesansui.lib.virt.virt KaresansuiVirtConnection KaresansuiVirtException karesansui.lib.utils load_locale karesansui.lib.virt.config_export ExportConfigParam 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 -e --exportuuid dest exportuuid help N/A _ Export UUID to import N/A N/A N/A optp add_option -d --destuuid dest destuuid help N/A _ Guest UUID to import N/A N/A N/A optp add_option -q --quiet dest verbose action store_false default True help N/A _ don't print status messages 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 exportuuid N/A N/A N/A KssCommandOptException ERROR: -e or --exportuuid option is required. N/A N/A N/A opts destuuid N/A N/A N/A KssCommandOptException ERROR: -d or --destuuid option is required. N/A ImportGuest 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 conn N/A KaresansuiVirtConnection readonly False N/A N/A N/A progresscb None N/A N/A opts verbose N/A N/A N/A karesansui.lib.progress ProgressMeter N/A progresscb N/A ProgressMeter command_object self N/A N/A N/A N/A N/A N/A N/A karesansui.lib.progress ProgressMeter N/A progresscb N/A ProgressMeter command_object self quiet True N/A N/A N/A N/A N/A N/A N/A inactive_pool N/A N/A active_pool N/A N/A conn list_active_storage_pool N/A pools N/A inactive_pool active_pool N/A N/A pools N/A N/A N/A KssCommandException Storage pool does not exist, or has been stopped. N/A N/A N/A pools sort N/A export N/A N/A pool_name pools N/A N/A pool N/A N/A conn search_kvn_storage_pools pool_name N/A path N/A N/A N/A N/A N/A pool N/A 0 get_info N/A target N/A path N/A N/A N/A N/A os path exists path N/A N/A _afile N/A N/A glob glob N/A %s/*/info.dat N/A path N/A N/A e_param N/A ExportConfigParam N/A N/A N/A e_param load_xml_config _afile N/A N/A N/A N/A e_param get_uuid N/A opts exportuuid N/A N/A N/A N/A N/A export append N/A dir uuid N/A N/A N/A os path dirname _afile N/A opts exportuuid N/A N/A N/A len export 1 N/A N/A N/A KssCommandException N/A There are differences in the export data and real data. - uuid=%s N/A opts exportuuid N/A N/A export N/A export N/A 0 N/A N/A N/A N/A N/A os path isdir N/A export N/A dir False N/A N/A N/A KssCommandException N/A There is no real data. - dir=%s N/A export N/A dir N/A N/A N/A conn import_guest N/A export N/A dir uuid N/A opts destuuid progresscb progresscb N/A N/A N/A self up_progress 40 N/A N/A N/A N/A self logger info N/A Import guest completed. - export=%s, dest=%s N/A N/A opts exportuuid N/A opts destuuid N/A N/A sys stdout N/A _ N/A Import guest completed. - export=%s, dest=%s N/A N/A opts exportuuid N/A opts destuuid N/A True N/A N/A N/A KaresansuiVirtException N/A e N/A N/A N/A KssCommandException N/A Failed to import guest. - [%s] N/A N/A join N/A str N/A e args N/A N/A N/A N/A conn close N/A N/A N/A N/A __name__ __main__ N/A N/A target N/A ImportGuest N/A N/A N/A sys exit N/A N/A target run