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 alias ImportFrom alias ImportFrom alias 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 Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Call NameLoad Str keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Str If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIs SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Index Str NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr 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 BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str TryFinally body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str finalbody Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num finalbody Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body TryExcept body If CompareIs NameLoad NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad name NameStore body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr BinOpMod Call NameLoad Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Raise NameLoad finalbody If CompareIn Str Call NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Print AttributeLoad NameLoad attr BinOpMod Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad 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 fcntl N/A logging optparse OptionParser ksscommand KssCommand KssCommandException KssCommandOptException N/A __cmd__ N/A N/A N/A karesansui karesansui __version__ karesansui.lib.virt.virt KaresansuiVirtConnection KaresansuiVirtConnectionAuth karesansui.lib.utils load_locale karesansui.lib.utils uri_split uri_join 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 -e --enable dest enable action store_true help N/A _ Enable autostart N/A N/A N/A optp add_option -d --disable dest disable action store_true help N/A _ Disable autostart N/A N/A N/A optp add_option -c --connection dest uri help N/A _ Connection URI default None N/A N/A N/A optp add_option -w --passwd-file dest passwd_file help N/A _ Password File for URI Connection default None 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 N/A ERROR: %s option is required. -n or --name N/A N/A N/A N/A opts enable None N/A N/A opts disable None N/A N/A N/A KssCommandOptException N/A ERROR: either %s options must be specified. --enable or --disable N/A N/A N/A N/A opts enable None N/A N/A opts disable None N/A N/A N/A KssCommandOptException N/A ERROR: %s options are conflicted. --enable and --disable N/A N/A N/A N/A opts passwd_file None N/A N/A N/A N/A os path exists N/A opts passwd_file N/A N/A N/A KssCommandOptException N/A ERROR: %s is not found. N/A opts passwd_file N/A N/A N/A opts uri None N/A N/A N/A N/A N/A uri_split N/A opts uri N/A scheme None N/A N/A N/A KssCommandOptException N/A ERROR: uri %s is invalid. N/A opts uri N/A AutostartGuest 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 passwd None N/A N/A N/A N/A opts passwd_file None N/A N/A N/A os path exists N/A opts passwd_file N/A N/A N/A N/A fp N/A open N/A opts passwd_file r N/A N/A N/A N/A N/A self up_progress 10 N/A N/A N/A fcntl lockf N/A N/A fp fileno N/A fcntl LOCK_SH N/A N/A N/A passwd N/A N/A N/A N/A fp readline strip N/A N/A N/A N/A fcntl lockf N/A N/A fp fileno N/A fcntl LOCK_UN N/A N/A N/A self up_progress 10 N/A N/A N/A N/A fp close N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger error N/A Failed to read.- dom=%s passwd_file=%s N/A N/A opts name N/A opts passwd_file N/A N/A sys stderr N/A N/A _ Failed to read.- dom=%s passwd_file=%s N/A N/A opts name N/A opts passwd_file N/A e N/A N/A N/A os remove N/A opts passwd_file N/A N/A N/A N/A N/A N/A passwd None N/A N/A N/A N/A opts uri None N/A N/A conn N/A KaresansuiVirtConnection readonly False N/A N/A uri N/A uri_join N/A uri_split N/A opts uri without_auth True N/A conn N/A KaresansuiVirtConnection uri readonly False N/A N/A N/A N/A opts uri None N/A N/A conn N/A KaresansuiVirtConnectionAuth creds passwd readonly False N/A N/A uri N/A uri_join N/A uri_split N/A opts uri without_auth True N/A conn N/A KaresansuiVirtConnectionAuth uri creds passwd readonly False N/A N/A N/A conn set_domain_name N/A opts name N/A flag None N/A N/A opts enable N/A N/A flag True N/A N/A opts disable N/A N/A flag False N/A N/A N/A self up_progress 10 N/A ret N/A N/A conn autostart_guest flag N/A N/A N/A self up_progress 40 N/A N/A N/A Exception N/A e N/A N/A N/A flag True N/A N/A N/A N/A N/A self logger error N/A Failed to configure a domain to be automatically started at boot. - dom=%s N/A opts name N/A N/A sys stderr N/A N/A _ Failed to configure a domain to be automatically started at boot. - dom=%s N/A opts name N/A N/A N/A N/A N/A self logger error N/A Failed to configure a domain not to be automatically started at boot. - dom=%s N/A opts name N/A N/A sys stderr N/A N/A _ Failed to configure a domain not to be automatically started at boot. - dom=%s N/A opts name N/A e N/A N/A N/A conn N/A locals N/A N/A N/A N/A conn close N/A N/A ret False N/A N/A N/A KssCommandException N/A Failed to set autostart flag. - dom=%s flag=%s N/A N/A opts name flag N/A N/A N/A N/A self logger info N/A Set autostart flag. - dom=%s flag=%s N/A N/A opts name flag N/A N/A sys stdout N/A N/A _ Set autostart flag. - dom=%s flag=%s N/A N/A opts name flag N/A True N/A N/A N/A N/A __name__ __main__ N/A N/A target N/A AutostartGuest N/A N/A N/A sys exit N/A N/A target run