Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad Str attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad ListLoad Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore ListLoad Str Str Str Assign AttributeStore NameLoad attr TupleLoad Call AttributeLoad Str attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad BinOpMult ListLoad TupleLoad Str Str TupleLoad Str Str Num Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMult ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMult ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad TupleLoad Str Str AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr TupleLoad Call NameLoad Call NameLoad Str Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr TupleLoad Call NameLoad Call NameLoad Str Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad ListLoad Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Str keyword Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad BinOpMod Str NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Dict Str Str Str NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad decorator_list
N/A N/A Test class for Ironic SSH power driver. N/A tempfile N/A mock oslo_concurrency processutils oslo_config cfg oslo_utils uuidutils N/A paramiko ironic.common boot_devices ironic.common driver_factory ironic.common exception ironic.common states ironic.common utils ironic.conductor task_manager ironic.drivers.modules console_utils ironic.drivers.modules ssh ironic.drivers utils driver_utils ironic.tests.unit.conductor mgr_utils ironic.tests.unit.db base db_base ironic.tests.unit.db utils db_utils ironic.tests.unit.objects utils obj_utils N/A CONF N/A cfg CONF SSHValidateParametersTestCase N/A N/A db_base DbTestCase N/A test__parse_driver_info_good_password N/A N/A self N/A N/A N/A node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info N/A N/A db_utils get_test_ssh_info password N/A info N/A N/A ssh _parse_driver_info node N/A N/A N/A self assertIsNotNone N/A N/A info get host N/A N/A N/A self assertIsNotNone N/A N/A info get username N/A N/A N/A self assertIsNotNone N/A N/A info get password N/A N/A N/A self assertIsNotNone N/A N/A info get port N/A N/A N/A self assertIsNotNone N/A N/A info get virt_type N/A N/A N/A self assertIsNotNone N/A N/A info get cmd_set N/A N/A N/A self assertIsNotNone N/A N/A info get uuid N/A test__parse_driver_info_good_key N/A N/A self N/A N/A N/A node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info N/A N/A db_utils get_test_ssh_info key N/A info N/A N/A ssh _parse_driver_info node N/A N/A N/A self assertIsNotNone N/A N/A info get host N/A N/A N/A self assertIsNotNone N/A N/A info get username N/A N/A N/A self assertIsNotNone N/A N/A info get key_contents N/A N/A N/A self assertIsNotNone N/A N/A info get port N/A N/A N/A self assertIsNotNone N/A N/A info get virt_type N/A N/A N/A self assertIsNotNone N/A N/A info get cmd_set N/A N/A N/A self assertIsNotNone N/A N/A info get uuid N/A test__parse_driver_info_good_file N/A N/A self N/A N/A N/A d_info N/A N/A db_utils get_test_ssh_info file N/A tempdir N/A N/A tempfile mkdtemp N/A key_path N/A tempdir /foo N/A N/A N/A N/A open key_path wt close N/A N/A d_info N/A ssh_key_filename key_path N/A node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info d_info N/A info N/A N/A ssh _parse_driver_info node N/A N/A N/A self assertIsNotNone N/A N/A info get host N/A N/A N/A self assertIsNotNone N/A N/A info get username N/A N/A N/A self assertIsNotNone N/A N/A info get key_filename N/A N/A N/A self assertIsNotNone N/A N/A info get port N/A N/A N/A self assertIsNotNone N/A N/A info get virt_type N/A N/A N/A self assertIsNotNone N/A N/A info get cmd_set N/A N/A N/A self assertIsNotNone N/A N/A info get uuid N/A test__parse_driver_info_bad_file N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info file N/A node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info info N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_too_many N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info too_many N/A node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info info N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_missing_host N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info N/A N/A info N/A ssh_address N/A node N/A N/A obj_utils get_test_node N/A self context driver_info info N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_missing_user N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info N/A N/A info N/A ssh_username N/A node N/A N/A obj_utils get_test_node N/A self context driver_info info N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_invalid_creds N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info no-creds N/A node N/A N/A obj_utils get_test_node N/A self context driver_info info N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_missing_virt_type N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info N/A N/A info N/A ssh_virt_type N/A node N/A N/A obj_utils get_test_node N/A self context driver_info info N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_ssh_port_wrong_type N/A N/A self N/A N/A N/A info N/A N/A db_utils get_test_ssh_info N/A N/A info N/A ssh_port wrong_port_value N/A node N/A N/A obj_utils get_test_node N/A self context driver_info info N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ssh _parse_driver_info node N/A test__parse_driver_info_with_custom_libvirt_uri N/A N/A self N/A N/A N/A N/A N/A CONF set_override libvirt_uri qemu:///foo ssh N/A expected_base_cmd LC_ALL=C /usr/bin/virsh --connect qemu:///foo N/A node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info N/A N/A db_utils get_test_ssh_info N/A N/A N/A node N/A driver_info N/A ssh_virt_type virsh N/A info N/A N/A ssh _parse_driver_info node N/A N/A N/A self assertEqual expected_base_cmd N/A N/A info N/A cmd_set N/A base_cmd N/A test__get_boot_device_map_parallels N/A N/A self N/A N/A N/A boot_map N/A N/A ssh _get_boot_device_map parallels N/A N/A N/A self assertEqual net0 N/A boot_map N/A N/A boot_devices PXE N/A test__get_boot_device_map_vbox N/A N/A self N/A N/A N/A boot_map N/A N/A ssh _get_boot_device_map vbox N/A N/A N/A self assertEqual net N/A boot_map N/A N/A boot_devices PXE N/A test__get_boot_device_map_xenserver N/A N/A self N/A N/A N/A boot_map N/A N/A ssh _get_boot_device_map xenserver N/A N/A N/A self assertEqual n N/A boot_map N/A N/A boot_devices PXE N/A test__get_boot_device_map_exception N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ssh _get_boot_device_map this_doesn_t_exist N/A N/A SSHPrivateMethodsTestCase N/A N/A db_base DbTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SSHPrivateMethodsTestCase self setUp N/A N/A self node N/A N/A obj_utils get_test_node N/A self context driver fake_ssh driver_info N/A N/A db_utils get_test_ssh_info N/A N/A self sshclient N/A N/A paramiko SSHClient N/A test__get_connection_client N/A N/A self ssh_connect_mock N/A N/A N/A N/A ssh_connect_mock return_value N/A self sshclient N/A client N/A N/A ssh _get_connection N/A self node N/A N/A N/A self assertEqual N/A self sshclient client N/A driver_info N/A N/A ssh _parse_driver_info N/A self node N/A N/A N/A ssh_connect_mock assert_called_once_with driver_info N/A N/A N/A N/A mock patch object utils ssh_connect autospec True test__get_connection_exception N/A N/A self ssh_connect_mock N/A N/A N/A N/A ssh_connect_mock side_effect N/A iter N/A N/A N/A exception SSHConnectFailed host fake N/A N/A N/A self assertRaises N/A exception SSHConnectFailed N/A ssh _get_connection N/A self node N/A driver_info N/A N/A ssh _parse_driver_info N/A self node N/A N/A N/A ssh_connect_mock assert_called_once_with driver_info N/A N/A N/A N/A mock patch object utils ssh_connect autospec True test__ssh_execute N/A N/A self exec_ssh_mock N/A N/A N/A ssh_cmd somecmd N/A expected N/A a b c N/A N/A exec_ssh_mock return_value N/A N/A N/A join expected N/A lst N/A N/A ssh _ssh_execute N/A self sshclient ssh_cmd N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A self assertEqual expected lst N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__ssh_execute_exception N/A N/A self exec_ssh_mock N/A N/A N/A ssh_cmd somecmd N/A N/A exec_ssh_mock side_effect N/A processutils ProcessExecutionError N/A N/A N/A self assertRaises N/A exception SSHCommandFailed N/A ssh _ssh_execute N/A self sshclient ssh_cmd N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__get_power_status_on_unquoted N/A N/A self get_hosts_name_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A exec_ssh_mock return_value N/A ExactNodeName N/A N/A get_hosts_name_mock return_value ExactNodeName N/A pstate N/A N/A ssh _get_power_status N/A self sshclient info N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_running N/A N/A N/A self assertEqual N/A states POWER_ON pstate N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__get_power_status_on N/A N/A self get_hosts_name_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A exec_ssh_mock return_value N/A "NodeName" {b43c4982-110c-4c29-9325-d5f41b053513} N/A N/A get_hosts_name_mock return_value NodeName N/A pstate N/A N/A ssh _get_power_status N/A self sshclient info N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_running N/A N/A N/A self assertEqual N/A states POWER_ON pstate N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__get_power_status_off N/A N/A self get_hosts_name_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A exec_ssh_mock return_value N/A "NodeName" {b43c4982-110c-4c29-9325-d5f41b053513} N/A N/A get_hosts_name_mock return_value NotNodeName N/A pstate N/A N/A ssh _get_power_status N/A self sshclient info N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_running N/A N/A N/A self assertEqual N/A states POWER_OFF pstate N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__get_power_status_exception N/A N/A self exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A exec_ssh_mock side_effect N/A processutils ProcessExecutionError N/A N/A N/A self assertRaises N/A exception SSHCommandFailed N/A ssh _get_power_status N/A self sshclient info N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_all N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__get_power_status_correct_node N/A N/A self get_hosts_name_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A exec_ssh_mock return_value N/A "baremetal_11"
"seed"
 N/A N/A get_hosts_name_mock return_value baremetal_1 N/A pstate N/A N/A ssh _get_power_status N/A self sshclient info N/A N/A N/A self assertEqual N/A states POWER_OFF pstate N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_running N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient ssh_cmd N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__get_hosts_name_for_node_match N/A N/A self exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_all N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A get_node_macs N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A N/A exec_ssh_mock side_effect N/A iter N/A N/A NodeName N/A 52:54:00:cf:2d:31 N/A expected N/A N/A N/A mock call N/A self sshclient ssh_cmd N/A N/A mock call N/A self sshclient cmd_to_exec N/A found_name N/A N/A ssh _get_hosts_name_for_node N/A self sshclient info N/A N/A N/A self assertEqual NodeName found_name N/A N/A N/A self assertEqual expected N/A exec_ssh_mock call_args_list N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__get_hosts_name_for_node_no_match N/A N/A self exec_ssh_mock N/A N/A N/A N/A N/A self config group ssh get_vm_name_attempts 2 N/A N/A N/A self config group ssh get_vm_name_retry_interval 0 N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 22:22:22:22:22:22 N/A N/A exec_ssh_mock side_effect N/A iter N/A N/A N/A NodeName N/A 52:54:00:cf:2d:31 2 N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_all N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A get_node_macs N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A expected N/A N/A N/A N/A mock call N/A self sshclient ssh_cmd N/A N/A mock call N/A self sshclient cmd_to_exec 2 N/A N/A N/A self assertRaises N/A exception NodeNotFound N/A ssh _get_hosts_name_for_node N/A self sshclient info N/A N/A N/A self assertEqual expected N/A exec_ssh_mock call_args_list N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__get_hosts_name_for_node_match_after_retry N/A N/A self exec_ssh_mock N/A N/A N/A N/A N/A self config group ssh get_vm_name_attempts 2 N/A N/A N/A self config group ssh get_vm_name_retry_interval 0 N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 22:22:22:22:22:22 N/A N/A exec_ssh_mock side_effect N/A iter N/A N/A NodeName N/A N/A NodeName N/A 11:11:11:11:11:11 N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_all N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A get_node_macs N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A expected N/A N/A N/A N/A mock call N/A self sshclient ssh_cmd N/A N/A mock call N/A self sshclient cmd_to_exec 2 N/A found_name N/A N/A ssh _get_hosts_name_for_node N/A self sshclient info N/A N/A N/A self assertEqual NodeName found_name N/A N/A N/A self assertEqual expected N/A exec_ssh_mock call_args_list N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__get_hosts_name_for_node_exception N/A N/A self exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A ssh_cmd N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A list_all N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A get_node_macs N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A N/A exec_ssh_mock side_effect N/A iter N/A N/A NodeName N/A processutils ProcessExecutionError N/A expected N/A N/A N/A mock call N/A self sshclient ssh_cmd N/A N/A mock call N/A self sshclient cmd_to_exec N/A N/A N/A self assertRaises N/A exception SSHCommandFailed N/A ssh _get_hosts_name_for_node N/A self sshclient info N/A N/A N/A self assertEqual expected N/A exec_ssh_mock call_args_list N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True test__power_on_good N/A N/A self get_hosts_name_mock get_power_status_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_power_status_mock side_effect N/A iter N/A N/A states POWER_OFF N/A states POWER_ON N/A N/A get_hosts_name_mock return_value NodeName N/A expected N/A N/A N/A mock call N/A self sshclient info N/A N/A mock call N/A self sshclient info N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A start_cmd N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A current_state N/A N/A ssh _power_on N/A self sshclient info N/A N/A N/A self assertEqual N/A states POWER_ON current_state N/A N/A N/A self assertEqual expected N/A get_power_status_mock call_args_list N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient cmd_to_exec N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__power_on_fail N/A N/A self get_hosts_name_mock get_power_status_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_power_status_mock side_effect N/A iter N/A N/A states POWER_OFF N/A states POWER_OFF N/A N/A get_hosts_name_mock return_value NodeName N/A expected N/A N/A N/A mock call N/A self sshclient info N/A N/A mock call N/A self sshclient info N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A start_cmd N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A current_state N/A N/A ssh _power_on N/A self sshclient info N/A N/A N/A self assertEqual N/A states ERROR current_state N/A N/A N/A self assertEqual expected N/A get_power_status_mock call_args_list N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient cmd_to_exec N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__power_on_exception N/A N/A self get_hosts_name_mock get_power_status_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A exec_ssh_mock side_effect N/A processutils ProcessExecutionError N/A N/A get_power_status_mock side_effect N/A iter N/A N/A states POWER_OFF N/A states POWER_ON N/A N/A get_hosts_name_mock return_value NodeName N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A start_cmd N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A N/A N/A self assertRaises N/A exception SSHCommandFailed N/A ssh _power_on N/A self sshclient info N/A N/A N/A get_power_status_mock assert_called_once_with N/A self sshclient info N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient cmd_to_exec N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__power_off_good N/A N/A self get_hosts_name_mock get_power_status_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_power_status_mock side_effect N/A iter N/A N/A states POWER_ON N/A states POWER_OFF N/A N/A get_hosts_name_mock return_value NodeName N/A expected N/A N/A N/A mock call N/A self sshclient info N/A N/A mock call N/A self sshclient info N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A stop_cmd N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A current_state N/A N/A ssh _power_off N/A self sshclient info N/A N/A N/A self assertEqual N/A states POWER_OFF current_state N/A N/A N/A self assertEqual expected N/A get_power_status_mock call_args_list N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient cmd_to_exec N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__power_off_fail N/A N/A self get_hosts_name_mock get_power_status_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_power_status_mock side_effect N/A iter N/A N/A states POWER_ON N/A states POWER_ON N/A N/A get_hosts_name_mock return_value NodeName N/A expected N/A N/A N/A mock call N/A self sshclient info N/A N/A mock call N/A self sshclient info N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A stop_cmd N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A current_state N/A N/A ssh _power_off N/A self sshclient info N/A N/A N/A self assertEqual N/A states ERROR current_state N/A N/A N/A self assertEqual expected N/A get_power_status_mock call_args_list N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient cmd_to_exec N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test__power_off_exception N/A N/A self get_hosts_name_mock get_power_status_mock exec_ssh_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A exec_ssh_mock side_effect N/A processutils ProcessExecutionError N/A N/A get_power_status_mock side_effect N/A iter N/A N/A states POWER_ON N/A states POWER_OFF N/A N/A get_hosts_name_mock return_value NodeName N/A cmd_to_exec N/A %s %s N/A N/A N/A info N/A cmd_set N/A base_cmd N/A N/A info N/A cmd_set N/A stop_cmd N/A cmd_to_exec N/A N/A cmd_to_exec replace {_NodeName_} NodeName N/A N/A N/A self assertRaises N/A exception SSHCommandFailed N/A ssh _power_off N/A self sshclient info N/A N/A N/A get_power_status_mock assert_called_once_with N/A self sshclient info N/A N/A N/A get_hosts_name_mock assert_called_once_with N/A self sshclient info N/A N/A N/A exec_ssh_mock assert_called_once_with N/A self sshclient cmd_to_exec N/A N/A N/A N/A mock patch object processutils ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test_exec_ssh_command_good N/A N/A self N/A N/A Channel N/A object N/A recv_exit_status N/A N/A self N/A N/A N/A 0 N/A N/A Stream N/A object N/A __init__ N/A N/A self buffer N/A N/A N/A N/A self buffer buffer N/A N/A self channel N/A Channel N/A read N/A N/A self N/A N/A N/A N/A self buffer N/A close N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A mock patch object N/A self sshclient exec_command autospec True exec_command_mock N/A N/A N/A exec_command_mock return_value N/A N/A Stream N/A Stream hello N/A Stream N/A N/A stdout stderr N/A N/A processutils ssh_execute N/A self sshclient command N/A N/A N/A self assertEqual hello stdout N/A N/A N/A exec_command_mock assert_called_once_with command N/A test_exec_ssh_command_fail N/A N/A self N/A N/A Channel N/A object N/A recv_exit_status N/A N/A self N/A N/A N/A 127 N/A N/A Stream N/A object N/A __init__ N/A N/A self buffer N/A N/A N/A N/A self buffer buffer N/A N/A self channel N/A Channel N/A read N/A N/A self N/A N/A N/A N/A self buffer N/A close N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A mock patch object N/A self sshclient exec_command autospec True exec_command_mock N/A N/A N/A exec_command_mock return_value N/A N/A Stream N/A Stream hello N/A Stream N/A N/A N/A self assertRaises N/A processutils ProcessExecutionError N/A processutils ssh_execute N/A self sshclient command N/A N/A N/A exec_command_mock assert_called_once_with command N/A N/A SSHDriverTestCase N/A N/A db_base DbTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SSHDriverTestCase self setUp N/A N/A N/A mgr_utils mock_the_extension_manager driver fake_ssh N/A N/A self driver N/A N/A driver_factory get_driver fake_ssh N/A N/A self node N/A N/A obj_utils create_test_node N/A self context driver fake_ssh driver_info N/A N/A db_utils get_test_ssh_info N/A N/A self port N/A N/A obj_utils create_test_port N/A self context node_id N/A N/A self node id N/A N/A self sshclient N/A N/A paramiko SSHClient N/A test__validate_info_ssh_connect_failed N/A N/A self ssh_connect_mock N/A N/A N/A N/A ssh_connect_mock side_effect N/A iter N/A N/A N/A exception SSHConnectFailed host fake N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A N/A N/A task driver power validate task N/A driver_info N/A N/A ssh _parse_driver_info N/A task node N/A N/A N/A ssh_connect_mock assert_called_once_with driver_info N/A N/A N/A N/A mock patch object utils ssh_connect autospec True test_get_properties N/A N/A self N/A N/A N/A expected N/A ssh COMMON_PROPERTIES N/A expected2 N/A N/A list N/A ssh COMMON_PROPERTIES N/A list N/A ssh CONSOLE_PROPERTIES N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared True task N/A N/A N/A N/A self assertEqual expected N/A N/A N/A N/A task driver power get_properties N/A N/A N/A self assertEqual expected N/A N/A N/A N/A task driver management get_properties N/A N/A N/A self assertEqual N/A sorted expected2 N/A sorted N/A N/A N/A N/A N/A N/A task driver console get_properties keys N/A N/A N/A self assertEqual N/A sorted expected2 N/A sorted N/A N/A N/A N/A N/A task driver get_properties keys N/A test_validate_fail_no_port N/A N/A self N/A N/A N/A new_node N/A N/A obj_utils create_test_node N/A self context uuid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee driver fake_ssh driver_info N/A N/A db_utils get_test_ssh_info N/A N/A N/A task_manager acquire N/A self context N/A new_node uuid shared True task N/A N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A N/A N/A task driver power validate task N/A test_reboot_good N/A N/A self power_on_mock get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A power_on_mock return_value N/A states POWER_ON N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A N/A N/A task driver power reboot task N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A power_on_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _power_on autospec True test_reboot_fail N/A N/A self power_on_mock get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A power_on_mock return_value N/A states POWER_OFF N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception PowerStateFailure N/A N/A N/A task driver power reboot task N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A power_on_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _power_on autospec True test_set_power_state_bad_state N/A N/A self get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A N/A N/A task driver power set_power_state task BAD_PSTATE N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True test_set_power_state_on_good N/A N/A self power_on_mock get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A power_on_mock return_value N/A states POWER_ON N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A N/A N/A task driver power set_power_state task N/A states POWER_ON N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A power_on_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _power_on autospec True test_set_power_state_on_fail N/A N/A self power_on_mock get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A power_on_mock return_value N/A states POWER_OFF N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception PowerStateFailure N/A N/A N/A task driver power set_power_state task N/A states POWER_ON N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A power_on_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _power_on autospec True test_set_power_state_off_good N/A N/A self power_off_mock get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A power_off_mock return_value N/A states POWER_OFF N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A N/A N/A task driver power set_power_state task N/A states POWER_OFF N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A power_off_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _power_off autospec True test_set_power_state_off_fail N/A N/A self power_off_mock get_conn_mock get_mac_addr_mock N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A info N/A macs N/A 11:11:11:11:11:11 52:54:00:cf:2d:31 N/A N/A get_mac_addr_mock return_value N/A info N/A macs N/A N/A get_conn_mock return_value N/A self sshclient N/A N/A power_off_mock return_value N/A states POWER_ON N/A N/A N/A N/A mock patch object ssh _parse_driver_info autospec True parse_drv_info_mock N/A N/A N/A parse_drv_info_mock return_value info N/A N/A N/A task_manager acquire N/A self context N/A info N/A uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception PowerStateFailure N/A N/A N/A task driver power set_power_state task N/A states POWER_OFF N/A N/A N/A parse_drv_info_mock assert_called_once_with N/A task node N/A N/A N/A get_mac_addr_mock assert_called_once_with N/A mock ANY N/A N/A N/A get_conn_mock assert_called_once_with N/A task node N/A N/A N/A power_off_mock assert_called_once_with N/A self sshclient info N/A N/A N/A N/A mock patch object driver_utils get_node_mac_addresses autospec True N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _power_off autospec True test_management_interface_set_boot_device_vbox_ok N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type vbox N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A expected_cmd N/A LC_ALL=C /usr/bin/VBoxManage modifyvm %s --boot1 net fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_management_interface_set_boot_device_parallels_ok N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type parallels N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A expected_cmd N/A LC_ALL=C /usr/bin/prlctl set %s --device-bootorder "net0" fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_management_interface_set_boot_device_virsh_ok N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type virsh N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A expected_cmd N/A EDITOR="sed -i '/<boot \(dev\|order\)=*\>/d;/<\/os>/i\<boot dev=\"network\"/>'" LC_ALL=C /usr/bin/virsh --connect qemu:///system edit %s fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_management_interface_set_boot_device_xenserver_ok N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type xenserver N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A expected_cmd N/A LC_ALL=C /opt/xensource/bin/xe vm-param-set uuid=%s HVM-boot-params:order='n' fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_set_boot_device_bad_device N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A N/A N/A self driver management set_boot_device task invalid-device N/A test_set_boot_device_not_supported N/A N/A self mock_h mock_get_conn N/A N/A N/A N/A mock_h return_value NodeName N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type vmware N/A N/A N/A self assertRaises NotImplementedError N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test_management_interface_get_supported_boot_devices N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A expected N/A N/A boot_devices PXE N/A boot_devices DISK N/A boot_devices CDROM N/A N/A N/A self assertEqual N/A sorted expected N/A sorted N/A N/A N/A N/A task driver management get_supported_boot_devices task N/A test_management_interface_get_boot_device_vbox N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_exc return_value N/A net N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type vbox N/A result N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual N/A boot_devices PXE N/A result N/A boot_device N/A expected_cmd N/A LC_ALL=C /usr/bin/VBoxManage showvminfo --machinereadable %s | awk -F '"' '/boot1/{print $2}' fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_management_interface_get_boot_device_parallels N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_exc return_value N/A net0 N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type parallels N/A result N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual N/A boot_devices PXE N/A result N/A boot_device N/A expected_cmd N/A LC_ALL=C /usr/bin/prlctl list -i %s | awk '/^Boot order:/ {print $3}' fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_management_interface_get_boot_device_virsh N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_exc return_value N/A network N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type virsh N/A result N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual N/A boot_devices PXE N/A result N/A boot_device N/A expected_cmd N/A LC_ALL=C /usr/bin/virsh --connect qemu:///system dumpxml %s | awk '/boot dev=/ { gsub( ".*dev=" Q, "" ); gsub( Q ".*", "" ); print; }' Q="'" RS="[<>]" | head -1 fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_management_interface_get_boot_device_xenserver N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A fake_name fake-name N/A N/A mock_h return_value fake_name N/A N/A mock_exc return_value N/A n N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type xenserver N/A result N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual N/A boot_devices PXE N/A result N/A boot_device N/A expected_cmd N/A LC_ALL=C /opt/xensource/bin/xe vm-param-get uuid=%s --param-name=HVM-boot-params param-key=order | cut -b 1 fake_name N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_get_boot_device_not_supported N/A N/A self mock_h mock_get_conn N/A N/A N/A N/A mock_h return_value NodeName N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type vmware N/A expected N/A boot_device persistent None None N/A N/A N/A self assertEqual expected N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True test_get_power_state_vmware N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A nodename fakevm N/A N/A mock_h return_value nodename N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A mock_exc return_value N/A N/A "%s" nodename N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type vmware N/A power_state N/A N/A N/A N/A self driver power get_power_state task N/A N/A N/A self assertEqual N/A states POWER_ON power_state N/A expected_cmd N/A LC_ALL=C /bin/vim-cmd vmsvc/power.getstate %(node)s | grep 'Powered on' >/dev/null && echo '"%(node)s"' || true N/A node nodename N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_get_power_state_xenserver N/A N/A self mock_exc mock_h mock_get_conn N/A N/A N/A nodename fakevm N/A N/A mock_h return_value nodename N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A mock_exc return_value N/A nodename N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type xenserver N/A power_state N/A N/A N/A N/A self driver power get_power_state task N/A N/A N/A self assertEqual N/A states POWER_ON power_state N/A expected_cmd LC_ALL=C /opt/xensource/bin/xe vm-list power-state=running --minimal | tr ',' '
' N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True test_start_command_xenserver N/A N/A self mock_power mock_exc mock_h mock_get_conn N/A N/A N/A N/A mock_power side_effect N/A N/A states POWER_OFF N/A states POWER_ON N/A nodename fakevm N/A N/A mock_h return_value nodename N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type xenserver N/A N/A N/A N/A N/A self driver power set_power_state task N/A states POWER_ON N/A expected_cmd LC_ALL=C /opt/xensource/bin/xe vm-start uuid=fakevm && sleep 10s N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True test_stop_command_xenserver N/A N/A self mock_power mock_exc mock_h mock_get_conn N/A N/A N/A N/A mock_power side_effect N/A N/A states POWER_ON N/A states POWER_OFF N/A nodename fakevm N/A N/A mock_h return_value nodename N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node N/A driver_info N/A ssh_virt_type xenserver N/A N/A N/A N/A N/A self driver power set_power_state task N/A states POWER_OFF N/A expected_cmd LC_ALL=C /opt/xensource/bin/xe vm-shutdown uuid=fakevm force=true N/A N/A N/A mock_exc assert_called_once_with N/A mock ANY expected_cmd N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object ssh _ssh_execute autospec True N/A N/A N/A mock patch object ssh _get_power_status autospec True test_management_interface_validate_good N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A task driver management validate task N/A test_management_interface_validate_fail N/A N/A self N/A N/A N/A node N/A N/A obj_utils create_test_node N/A self context uuid N/A N/A uuidutils generate_uuid driver fake_ssh N/A N/A N/A task_manager acquire N/A self context N/A node uuid task N/A N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A N/A N/A task driver management validate task N/A test_console_validate N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared True task N/A N/A N/A N/A N/A task node driver_info N/A ssh_virt_type virsh N/A N/A N/A N/A task node driver_info N/A ssh_terminal_port 123 N/A N/A N/A N/A N/A task driver console validate task N/A test_console_validate_missing_port N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared True task N/A N/A N/A N/A N/A task node driver_info N/A ssh_virt_type virsh N/A N/A N/A N/A N/A task node driver_info pop ssh_terminal_port None N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A N/A N/A task driver console validate task N/A test_console_validate_not_virsh N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared True task N/A N/A N/A N/A task node driver_info N/A N/A db_utils get_test_ssh_info virt_type vbox N/A N/A N/A self assertRaisesRegex N/A exception InvalidParameterValue not supported for non-virsh types N/A N/A N/A task driver console validate task N/A test_console_validate_invalid_port N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared True task N/A N/A N/A N/A N/A task node driver_info N/A ssh_terminal_port N/A N/A N/A self assertRaisesRegex N/A exception InvalidParameterValue is not a valid integer N/A N/A N/A task driver console validate task N/A test_start_console N/A N/A self mock_exec get_hosts_name_mock mock_get_conn N/A N/A N/A info N/A N/A ssh _parse_driver_info N/A self node N/A N/A mock_exec return_value None N/A N/A get_hosts_name_mock return_value NodeName N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver console start_console task N/A N/A N/A mock_exec assert_called_once_with N/A info N/A uuid N/A info N/A terminal_port N/A mock ANY N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object console_utils start_shellinabox_console autospec True test_start_console_fail N/A N/A self mock_exec get_hosts_name_mock mock_get_conn N/A N/A N/A N/A get_hosts_name_mock return_value NodeName N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A mock_exec side_effect N/A N/A exception ConsoleSubprocessFailed error error N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception ConsoleSubprocessFailed N/A N/A N/A self driver console start_console task N/A N/A N/A mock_exec assert_called_once_with N/A N/A self node uuid N/A mock ANY N/A mock ANY N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object console_utils start_shellinabox_console autospec True test_start_console_fail_nodir N/A N/A self mock_exec get_hosts_name_mock mock_get_conn N/A N/A N/A N/A get_hosts_name_mock return_value NodeName N/A N/A mock_get_conn return_value N/A self sshclient N/A N/A mock_exec side_effect N/A N/A exception ConsoleError N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception ConsoleError N/A N/A N/A self driver console start_console task N/A N/A N/A mock_exec assert_called_once_with N/A N/A self node uuid N/A mock ANY N/A mock ANY N/A N/A N/A N/A mock patch object ssh _get_connection autospec True N/A N/A N/A mock patch object ssh _get_hosts_name_for_node autospec True N/A N/A N/A mock patch object console_utils start_shellinabox_console autospec True test_stop_console N/A N/A self mock_exec N/A N/A N/A N/A mock_exec return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver console stop_console task N/A N/A N/A mock_exec assert_called_once_with N/A N/A self node uuid N/A N/A N/A N/A mock patch object console_utils stop_shellinabox_console autospec True test_stop_console_fail N/A N/A self mock_stop N/A N/A N/A N/A mock_stop side_effect N/A N/A exception ConsoleError N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception ConsoleError N/A N/A N/A self driver console stop_console task N/A N/A N/A mock_stop assert_called_once_with N/A N/A self node uuid N/A N/A N/A N/A mock patch object console_utils stop_shellinabox_console autospec True test_get_console N/A N/A self mock_exec N/A N/A N/A url http://localhost:4201 N/A N/A mock_exec return_value url N/A expected N/A type url shellinabox url N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node driver_info N/A ssh_terminal_port 6900 N/A console_info N/A N/A N/A N/A self driver console get_console task N/A N/A N/A self assertEqual expected console_info N/A N/A N/A mock_exec assert_called_once_with 6900 N/A N/A N/A N/A mock patch object console_utils get_shellinabox_console_url autospec True N/A