Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr 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 Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword BinOpMult Num AttributeLoad NameLoad attr keyword BinOpMult Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr Num Num AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Dict Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Call AttributeLoad NameLoad attr Str keyword ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Str keyword ListLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str NameLoad Str NameLoad NameLoad NameLoad NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Str keyword ListLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Num Assign AttributeStore NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad 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 Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Str decorator_list With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad TupleStore NameStore NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str NameLoad Return NameLoad decorator_list With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad TupleStore NameStore NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Num Num Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareEq NameLoad Str body Return Return NameLoad decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword BinOpMult Num Num keyword BinOpMult Num Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareEq NameLoad Str body Return Return NameLoad decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Str If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr Return If CompareEq NameLoad Str body Return Return AttributeLoad NameLoad attr decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad Str Str ListLoad Str Str Str Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Assign NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad Str Str ListLoad Str Str Str Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str NameLoad With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad TupleStore NameStore NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TupleStore NameStore NameStore NameStore NameStore NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str TupleStore NameStore NameStore NameStore NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad TupleStore NameStore NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Dict Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Num NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad TupleStore NameStore NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Assign NameStore ListLoad Dict Str Str Str Num AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults vararg kwarg body If CompareIn Str SubscriptLoad NameLoad Index Num body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore NameLoad Return BinOpMod Str Dict Str Str NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Str Str Str Assign NameStore ListLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr Str Dict Str Str Str NameLoad AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore BinOpDiv BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Str Str Str Assign NameStore ListLoad Dict Str Str Str Num NameLoad AttributeLoad NameLoad attr Dict Str Str Str Num NameLoad AttributeLoad NameLoad attr Dict Str Str Str Num NameLoad AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Assign NameStore ListLoad Dict Str Str Str Num NameLoad Str Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad BinOpMult Num AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad BinOpMult Num AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore BinOpMod Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword BinOpMult Num AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Dict Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp SubscriptLoad SubscriptLoad NameLoad Index Num Index Num comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Str ListLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr If CompareEq Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign NameStore NameLoad If BoolOpAnd NameLoad BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad body Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str keyword ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore BinOpDiv BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Dict Str Str Str Num Str Str Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str ListLoad Dict Str Str Str Num Str Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Str NameLoad Str Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str NameLoad Num Str Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Str keyword Num keyword Num keyword Num keyword Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Dict Str Str Str Str Str NameLoad Str Num Dict Str Str Str Str Str NameLoad Str Num Assign NameStore Dict Str Str Str NameLoad Num Str Assign NameStore Dict Str Str Str Str ListLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpDiv BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict keyword NameLoad keyword NameLoad keyword ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMult SubscriptLoad SubscriptLoad NameLoad Index Num Index Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMult SubscriptLoad SubscriptLoad NameLoad Index Num Index Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMult SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Num Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Str NameLoad Num NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Num Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr Str BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num keyword Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore BinOpMult Call AttributeLoad NameLoad attr Str Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str NameLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Break orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Break orelse Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword BinOpMult Num AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Return NameLoad orelse If CompareEq NameLoad Str body Return Str decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Dict Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore ListLoad Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Return Str decorator_list With Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str TupleStore NameStore NameStore NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult Str Num Assign NameStore BinOpMod Str TupleLoad BinOpMult Str Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list decorator_list
N/A N/A mock oslo_serialization jsonutils oslo_utils units oslo_utils uuidutils oslo_vmware exceptions vexc oslo_vmware.objects datastore ds_obj oslo_vmware vim_util vutil N/A six nova.compute power_state nova context nova exception nova.network model network_model nova objects nova test nova.tests.unit fake_flavor nova.tests.unit fake_instance N/A nova.tests.unit.image.fake nova.tests.unit.virt.vmwareapi fake vmwareapi_fake nova.tests.unit.virt.vmwareapi stubs nova.tests uuidsentinel nova utils nova version nova.virt hardware nova.virt.vmwareapi constants nova.virt.vmwareapi driver nova.virt.vmwareapi ds_util nova.virt.vmwareapi images nova.virt.vmwareapi vif nova.virt.vmwareapi vim_util nova.virt.vmwareapi vm_util nova.virt.vmwareapi vmops DsPathMatcher N/A object N/A __init__ N/A N/A self expected_ds_path_str N/A N/A N/A N/A self expected_ds_path_str expected_ds_path_str N/A __eq__ N/A N/A self ds_path_param N/A N/A N/A N/A N/A str ds_path_param N/A self expected_ds_path_str N/A N/A VMwareVMOpsTestCase N/A N/A test NoDBTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super VMwareVMOpsTestCase self setUp N/A N/A N/A ds_util dc_cache_reset N/A N/A N/A vmwareapi_fake reset N/A N/A N/A stubs set_stubs self N/A N/A N/A self flags enabled True group vnc N/A N/A N/A self flags image_cache_subdirectory_name vmware_base my_ip flat_injected True N/A N/A self _context N/A N/A context RequestContext fake_user fake_project N/A N/A self _session N/A N/A driver VMwareAPISession N/A N/A self _virtapi N/A N/A mock Mock N/A N/A self _image_id N/A N/A N/A N/A N/A N/A nova tests unit image fake get_valid_image_id N/A fake_ds_ref N/A N/A vmwareapi_fake ManagedObjectReference fake-ds N/A N/A self _ds N/A N/A ds_obj Datastore ref fake_ds_ref name fake_ds capacity N/A 10 N/A units Gi freespace N/A 10 N/A units Gi N/A N/A self _dc_info N/A N/A ds_util DcInfo ref fake_dc_ref name fake_dc vmFolder fake_vm_folder N/A cluster N/A N/A vmwareapi_fake create_cluster fake_cluster fake_ds_ref N/A N/A self _uuid N/A uuidsentinel foo N/A N/A self _instance_values N/A name display_name uuid vcpus memory_mb image_ref root_gb node expected_attrs fake_name fake_display_name N/A self _uuid 1 512 N/A self _image_id 10 N/A %s(%s) N/A N/A cluster mo_id N/A cluster name N/A system_metadata N/A N/A self _instance N/A N/A fake_instance fake_instance_obj N/A self _context N/A self _instance_values N/A N/A self _flavor N/A N/A objects Flavor name m1.small memory_mb 512 vcpus 1 root_gb 10 ephemeral_gb 0 swap 0 extra_specs N/A N/A N/A N/A self _instance flavor N/A self _flavor N/A N/A self _vmops N/A N/A vmops VMwareVMOps N/A self _session N/A self _virtapi None cluster N/A cluster obj N/A N/A self _cluster cluster N/A N/A self _image_meta N/A N/A N/A objects ImageMeta from_dict N/A id N/A self _image_id N/A subnet_4 N/A N/A network_model Subnet cidr 192.168.0.1/24 dns N/A N/A N/A network_model IP 192.168.0.1 gateway N/A N/A network_model IP 192.168.0.1 ips N/A N/A N/A network_model IP 192.168.0.100 routes None N/A subnet_6 N/A N/A network_model Subnet cidr dead:beef::1/64 dns None gateway N/A N/A network_model IP dead:beef::1 ips N/A N/A N/A network_model IP dead:beef::dcad:beff:feef:0 routes None N/A network N/A N/A network_model Network id 0 bridge fa0 label fake subnets N/A subnet_4 subnet_6 vlan None bridge_interface None injected True N/A N/A self _network_values N/A id address network type devname ovs_interfaceid rxtx_cap None DE:AD:BE:EF:00:00 network None None None 3 N/A N/A self network_info N/A N/A network_model NetworkInfo N/A N/A N/A network_model VIF N/A self _network_values N/A pure_IPv6_network N/A N/A network_model Network id 0 bridge fa0 label fake subnets N/A subnet_6 vlan None bridge_interface None injected True N/A N/A self pure_IPv6_network_info N/A N/A network_model NetworkInfo N/A N/A N/A network_model VIF id None address DE:AD:BE:EF:00:00 network pure_IPv6_network type None devname None ovs_interfaceid None rxtx_cap 3 N/A N/A self _metadata N/A name:fake_display_name
userid:fake_user
username:None
projectid:fake_project
projectname:None
flavor:name:m1.micro
flavor:memory_mb:6
flavor:vcpus:28
flavor:ephemeral_gb:8128
flavor:root_gb:496
flavor:swap:33550336
imageid:70a599e0-31e7-49b7-b260-868f441e862b
package:%s
 N/A N/A version version_string_with_package N/A test_get_machine_id_str N/A N/A self N/A N/A N/A result N/A N/A N/A vmops VMwareVMOps _get_machine_id_str N/A self network_info N/A N/A N/A self assertEqual DE:AD:BE:EF:00:00;192.168.0.100;255.255.255.0;192.168.0.1;192.168.0.255;192.168.0.1# result N/A result N/A N/A N/A vmops VMwareVMOps _get_machine_id_str N/A self pure_IPv6_network_info N/A N/A N/A self assertEqual DE:AD:BE:EF:00:00;;;;;# result N/A _setup_create_folder_mocks N/A N/A self N/A N/A N/A ops N/A N/A vmops VMwareVMOps N/A N/A mock Mock N/A N/A mock Mock N/A N/A mock Mock N/A base_name folder N/A ds_name datastore N/A ds_ref N/A N/A mock Mock N/A N/A ds_ref value 1 N/A dc_ref N/A N/A mock Mock N/A N/A N/A ds_util _DS_DC_MAPPING N/A N/A ds_ref value N/A N/A ds_util DcInfo ref dc_ref name fake-name vmFolder fake-folder N/A path N/A N/A ds_obj DatastorePath ds_name base_name N/A N/A ds_name ds_ref ops path dc_ref N/A test_create_folder_if_missing N/A N/A self mock_mkdir N/A N/A N/A N/A ds_name ds_ref ops path dc N/A N/A self _setup_create_folder_mocks N/A N/A N/A ops _create_folder_if_missing ds_name ds_ref folder N/A N/A N/A mock_mkdir assert_called_with N/A ops _session path dc N/A N/A N/A N/A mock patch object ds_util mkdir test_create_folder_if_missing_exception N/A N/A self mock_mkdir N/A N/A N/A N/A ds_name ds_ref ops path dc N/A N/A self _setup_create_folder_mocks N/A N/A N/A ds_util mkdir side_effect N/A N/A vexc FileAlreadyExistsException N/A N/A N/A ops _create_folder_if_missing ds_name ds_ref folder N/A N/A N/A mock_mkdir assert_called_with N/A ops _session path dc N/A N/A N/A N/A mock patch object ds_util mkdir test_get_valid_vms_from_retrieve_result N/A N/A self _mock_cont N/A N/A N/A ops N/A N/A vmops VMwareVMOps N/A self _session N/A N/A mock Mock N/A N/A mock Mock N/A fake_objects N/A N/A vmwareapi_fake FakeRetrieveResult N/A x N/A range 0 3 N/A N/A vm N/A N/A vmwareapi_fake VirtualMachine N/A N/A N/A vm set config.extraConfig["nvp.vm-uuid"] N/A N/A vmwareapi_fake OptionValue value N/A N/A uuidutils generate_uuid N/A N/A N/A fake_objects add_object vm N/A vms N/A N/A ops _get_valid_vms_from_retrieve_result fake_objects N/A N/A N/A self assertEqual 3 N/A len vms N/A N/A N/A N/A mock patch object vutil continue_retrieval return_value None test_get_valid_vms_from_retrieve_result_with_invalid N/A N/A self _mock_cont N/A N/A N/A ops N/A N/A vmops VMwareVMOps N/A self _session N/A N/A mock Mock N/A N/A mock Mock N/A fake_objects N/A N/A vmwareapi_fake FakeRetrieveResult N/A valid_vm N/A N/A vmwareapi_fake VirtualMachine N/A N/A N/A valid_vm set config.extraConfig["nvp.vm-uuid"] N/A N/A vmwareapi_fake OptionValue value N/A N/A uuidutils generate_uuid N/A N/A N/A fake_objects add_object valid_vm N/A invalid_vm1 N/A N/A vmwareapi_fake VirtualMachine N/A N/A N/A invalid_vm1 set runtime.connectionState orphaned N/A N/A N/A invalid_vm1 set config.extraConfig["nvp.vm-uuid"] N/A N/A vmwareapi_fake OptionValue value N/A N/A uuidutils generate_uuid N/A invalid_vm2 N/A N/A vmwareapi_fake VirtualMachine N/A N/A N/A invalid_vm2 set runtime.connectionState inaccessible N/A N/A N/A invalid_vm2 set config.extraConfig["nvp.vm-uuid"] N/A N/A vmwareapi_fake OptionValue value N/A N/A uuidutils generate_uuid N/A N/A N/A fake_objects add_object invalid_vm1 N/A N/A N/A fake_objects add_object invalid_vm2 N/A vms N/A N/A ops _get_valid_vms_from_retrieve_result fake_objects N/A N/A N/A self assertEqual 1 N/A len vms N/A N/A N/A N/A mock patch object vutil continue_retrieval return_value None test_delete_vm_snapshot N/A N/A self N/A N/A fake_call_method N/A N/A module method N/A args kwargs N/A N/A N/A N/A self assertEqual RemoveSnapshot_Task method N/A N/A N/A self assertEqual fake_vm_snapshot N/A args N/A 0 N/A N/A N/A self assertFalse N/A kwargs N/A removeChildren N/A N/A N/A self assertTrue N/A kwargs N/A consolidate N/A fake_remove_snapshot_task N/A N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _session _wait_for_task N/A N/A N/A mock patch object N/A self _session _call_method fake_call_method N/A _wait_for_task _call_method N/A N/A N/A N/A N/A self _vmops _delete_vm_snapshot N/A self _instance fake_vm_ref fake_vm_snapshot N/A N/A N/A _wait_for_task assert_has_calls N/A N/A N/A mock call fake_remove_snapshot_task N/A test_create_vm_snapshot N/A N/A self N/A N/A N/A method_list N/A CreateSnapshot_Task get_object_property fake_call_method N/A N/A module method N/A args kwargs N/A N/A expected_method N/A N/A method_list pop 0 N/A N/A N/A self assertEqual expected_method method N/A N/A expected_method CreateSnapshot_Task N/A N/A N/A N/A self assertEqual fake_vm_ref N/A args N/A 0 N/A N/A N/A self assertFalse N/A kwargs N/A memory N/A N/A N/A self assertTrue N/A kwargs N/A quiesce N/A fake_snapshot_task N/A N/A N/A expected_method get_object_property N/A N/A task_info N/A N/A mock Mock N/A N/A task_info result fake_snapshot_ref N/A N/A N/A self assertEqual N/A fake_snapshot_task info args N/A task_info N/A N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _session _wait_for_task N/A N/A N/A mock patch object N/A self _session _call_method fake_call_method N/A _wait_for_task _call_method N/A N/A snap N/A N/A N/A self _vmops _create_vm_snapshot N/A self _instance fake_vm_ref N/A N/A N/A self assertEqual fake_snapshot_ref snap N/A N/A N/A _wait_for_task assert_has_calls N/A N/A N/A mock call fake_snapshot_task N/A test_update_instance_progress N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A self _instance save mock_save N/A N/A N/A N/A N/A self _vmops _update_instance_progress N/A N/A self _instance _context N/A self _instance 5 10 N/A N/A N/A mock_save assert_called_once_with N/A N/A N/A self assertEqual 50 N/A N/A self _instance progress N/A test_get_info N/A N/A self mock_get_vm_ref N/A N/A N/A result N/A summary.config.numCpu summary.config.memorySizeMB runtime.powerState 4 128 poweredOn mock_call_method N/A N/A module method N/A args kwargs N/A N/A N/A method continue_retrieval N/A N/A N/A result N/A N/A N/A N/A N/A mock patch object N/A self _session _call_method mock_call_method N/A N/A info N/A N/A N/A self _vmops get_info N/A self _instance N/A N/A N/A mock_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A expected N/A N/A hardware InstanceInfo state N/A power_state RUNNING max_mem_kb N/A 128 1024 mem_kb N/A 128 1024 num_cpu 4 N/A N/A N/A self assertEqual expected info N/A N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake_ref test_get_info_when_ds_unavailable N/A N/A self mock_get_vm_ref N/A N/A N/A result N/A runtime.powerState poweredOff mock_call_method N/A N/A module method N/A args kwargs N/A N/A N/A method continue_retrieval N/A N/A N/A result N/A N/A N/A N/A N/A mock patch object N/A self _session _call_method mock_call_method N/A N/A info N/A N/A N/A self _vmops get_info N/A self _instance N/A N/A N/A mock_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A self assertEqual N/A N/A hardware InstanceInfo state N/A power_state SHUTDOWN info N/A N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake_ref test_get_info_instance_deleted N/A N/A self mock_get_vm_ref N/A N/A N/A props N/A summary.config.numCpu summary.config.memorySizeMB runtime.powerState N/A prop_cpu N/A N/A vmwareapi_fake Prop N/A props N/A 0 4 N/A prop_mem N/A N/A vmwareapi_fake Prop N/A props N/A 1 128 N/A prop_state N/A N/A vmwareapi_fake Prop N/A props N/A 2 poweredOn N/A prop_list N/A prop_state prop_mem prop_cpu N/A obj_content N/A N/A vmwareapi_fake ObjectContent None prop_list prop_list N/A result N/A N/A vmwareapi_fake FakeRetrieveResult N/A N/A N/A result add_object obj_content mock_call_method N/A N/A module method N/A args kwargs N/A N/A N/A N/A vexc ManagedObjectNotFoundException N/A N/A N/A N/A N/A mock patch object N/A self _session _call_method mock_call_method N/A N/A N/A N/A self assertRaises N/A exception InstanceNotFound N/A N/A self _vmops get_info N/A self _instance N/A N/A N/A mock_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake_ref _test_get_datacenter_ref_and_name N/A N/A self ds_ref_exists N/A False N/A N/A instance_ds_ref N/A N/A mock Mock N/A N/A instance_ds_ref value ds-1 N/A _vcvmops N/A N/A vmops VMwareVMOps N/A self _session None None N/A ds_ref_exists N/A N/A ds_ref N/A N/A mock Mock N/A N/A ds_ref value ds-1 N/A N/A ds_ref None N/A N/A self _continue_retrieval True N/A N/A self _fake_object1 N/A N/A vmwareapi_fake FakeRetrieveResult N/A N/A self _fake_object2 N/A N/A vmwareapi_fake FakeRetrieveResult fake_call_method N/A N/A module method N/A args kwargs N/A N/A N/A N/A N/A self _fake_object1 add_object N/A N/A vmwareapi_fake Datacenter ds_ref ds_ref N/A N/A ds_ref N/A N/A N/A setattr N/A self _fake_object1 token token-0 N/A N/A self _continue_retrieval N/A N/A N/A self _continue_retrieval N/A N/A N/A self _continue_retrieval False N/A N/A N/A N/A self _fake_object2 add_object N/A N/A vmwareapi_fake Datacenter N/A N/A self _fake_object2 N/A N/A N/A method continue_retrieval N/A N/A N/A N/A self _fake_object1 N/A N/A N/A N/A N/A mock patch object N/A self _session _call_method side_effect fake_call_method fake_call N/A N/A dc_info N/A N/A _vcvmops get_datacenter_ref_and_name instance_ds_ref N/A ds_ref N/A N/A N/A N/A self assertEqual 1 N/A len N/A ds_util _DS_DC_MAPPING N/A calls N/A N/A N/A mock call vim_util get_objects Datacenter N/A name datastore vmFolder N/A N/A mock call vutil continue_retrieval N/A self _fake_object1 N/A N/A N/A fake_call assert_has_calls calls N/A N/A N/A self assertEqual ha-datacenter N/A dc_info name N/A N/A calls N/A N/A N/A mock call vim_util get_objects Datacenter N/A name datastore vmFolder N/A N/A mock call vutil continue_retrieval N/A self _fake_object2 N/A N/A N/A fake_call assert_has_calls calls N/A N/A N/A self assertIsNone dc_info N/A test_get_datacenter_ref_and_name N/A N/A self N/A N/A N/A N/A N/A self _test_get_datacenter_ref_and_name ds_ref_exists True N/A test_get_datacenter_ref_and_name_with_no_datastore N/A N/A self N/A N/A N/A N/A N/A self _test_get_datacenter_ref_and_name N/A test_rescue N/A N/A self mock_get_ds_by_ref mock_power_on mock_reconfigure mock_get_boot_spec mock_find_rescue mock_get_vm_ref mock_disk_copy mock_power_off mock_fetch_image_if_missing N/A N/A N/A _volumeops N/A N/A mock Mock N/A N/A N/A self _vmops _volumeops _volumeops N/A ds N/A N/A ds_obj Datastore fake-ref ds1 N/A N/A mock_get_ds_by_ref return_value ds N/A N/A mock_find_rescue return_value fake-rescue-device N/A N/A mock_get_boot_spec return_value fake-boot-spec N/A vm_ref N/A N/A vmwareapi_fake ManagedObjectReference N/A N/A mock_get_vm_ref return_value vm_ref N/A device N/A N/A vmwareapi_fake DataObject N/A backing N/A N/A vmwareapi_fake DataObject N/A N/A backing datastore N/A ds ref N/A N/A device backing backing N/A vmdk N/A N/A vm_util VmdkInfo [fake] uuid/root.vmdk fake-adapter fake-disk fake-capacity device N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _vmops get_datacenter_ref_and_name N/A N/A N/A mock patch object vm_util get_vmdk_info return_value vmdk N/A _get_dc_ref_and_name fake_vmdk_info N/A N/A dc_info N/A N/A mock Mock N/A N/A _get_dc_ref_and_name return_value dc_info N/A N/A N/A N/A self _vmops rescue N/A self _context N/A self _instance None N/A self _image_meta N/A N/A mock_fetch_image_if_missing N/A self _context N/A mock ANY N/A N/A N/A mock_power_off assert_called_once_with N/A self _session N/A self _instance vm_ref N/A uuid N/A N/A self _instance image_ref N/A cache_path N/A N/A ds build_path vmware_base uuid N/A uuid .vmdk N/A rescue_path N/A N/A ds build_path N/A self _uuid N/A uuid -rescue.vmdk N/A N/A N/A mock_disk_copy assert_called_once_with N/A self _session N/A dc_info ref cache_path rescue_path N/A N/A N/A N/A _volumeops attach_disk_to_vm assert_called_once_with vm_ref N/A self _instance N/A mock ANY N/A mock ANY rescue_path N/A N/A N/A mock_get_boot_spec assert_called_once_with N/A mock ANY fake-rescue-device N/A N/A N/A mock_reconfigure assert_called_once_with N/A self _session vm_ref fake-boot-spec N/A N/A N/A mock_power_on assert_called_once_with N/A self _session N/A self _instance vm_ref vm_ref N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _fetch_image_if_missing N/A N/A N/A mock patch object vm_util power_off_instance N/A N/A N/A mock patch object ds_util disk_copy N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref N/A N/A N/A mock patch object vm_util find_rescue_device N/A N/A N/A mock patch object vm_util get_vm_boot_spec N/A N/A N/A mock patch object vm_util reconfigure_vm N/A N/A N/A mock patch object vm_util power_on_instance N/A N/A N/A mock patch object ds_obj get_datastore_by_ref test_unrescue_power_on N/A N/A self N/A N/A N/A N/A N/A self _test_unrescue True N/A test_unrescue_power_off N/A N/A self N/A N/A N/A N/A N/A self _test_unrescue False N/A _test_unrescue N/A N/A self power_on N/A N/A N/A _volumeops N/A N/A mock Mock N/A N/A N/A self _vmops _volumeops _volumeops N/A vm_ref N/A N/A mock Mock fake_call_method N/A N/A module method N/A args kwargs N/A N/A expected_args N/A vm_ref config.hardware.device N/A N/A N/A self assertEqual get_object_property method N/A N/A N/A self assertEqual expected_args args N/A N/A N/A N/A test nested N/A N/A N/A mock patch object vm_util power_on_instance N/A N/A N/A mock patch object vm_util find_rescue_device N/A N/A N/A mock patch object vm_util get_vm_ref return_value vm_ref N/A N/A N/A mock patch object N/A self _session _call_method fake_call_method N/A N/A N/A mock patch object vm_util power_off_instance N/A _power_on_instance _find_rescue _get_vm_ref _call_method _power_off N/A N/A N/A N/A N/A self _vmops unrescue N/A self _instance power_on power_on N/A power_on N/A N/A N/A N/A _power_on_instance assert_called_once_with N/A self _session N/A self _instance vm_ref vm_ref N/A N/A N/A N/A self assertFalse N/A _power_on_instance called N/A N/A N/A _get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A _power_off assert_called_once_with N/A self _session N/A self _instance vm_ref N/A N/A N/A N/A _volumeops detach_disk_from_vm assert_called_once_with vm_ref N/A self _instance N/A mock ANY destroy_disk True N/A _test_finish_migration N/A N/A self power_on resize_instance N/A True False N/A N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _vmops _resize_create_ephemerals_and_swap N/A N/A N/A mock patch object N/A self _vmops _update_instance_progress N/A N/A N/A mock patch object vm_util power_on_instance N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref N/A fake_resize_create_ephemerals_and_swap fake_update_instance_progress fake_power_on fake_get_vm_ref N/A N/A N/A N/A N/A self _vmops finish_migration context N/A self _context migration None instance N/A self _instance disk_info None network_info None block_device_info None resize_instance resize_instance image_meta None power_on power_on N/A N/A N/A fake_resize_create_ephemerals_and_swap assert_called_once_with fake-ref N/A self _instance None N/A power_on N/A N/A N/A N/A fake_power_on assert_called_once_with N/A self _session N/A self _instance vm_ref fake-ref N/A N/A N/A N/A self assertFalse N/A fake_power_on called N/A calls N/A N/A N/A mock call N/A self _context N/A self _instance step 5 total_steps N/A vmops RESIZE_TOTAL_STEPS N/A N/A mock call N/A self _context N/A self _instance step 6 total_steps N/A vmops RESIZE_TOTAL_STEPS N/A N/A N/A fake_update_instance_progress assert_has_calls calls N/A test_finish_migration_power_on N/A N/A self N/A N/A N/A N/A N/A self _test_finish_migration power_on True resize_instance False N/A test_finish_migration_power_off N/A N/A self N/A N/A N/A N/A N/A self _test_finish_migration power_on False resize_instance False N/A test_finish_migration_power_on_resize N/A N/A self N/A N/A N/A N/A N/A self _test_finish_migration power_on True resize_instance True N/A _test_finish_revert_migration N/A N/A self fake_power_on fake_get_vm_ref fake_power_off fake_resize_spec fake_reconfigure_vm fake_get_browser fake_original_exists fake_disk_move fake_disk_delete fake_remove_ephemerals_and_swap fake_resize_create_ephemerals_and_swap fake_get_extra_specs power_on N/A N/A N/A Tests the finish_revert_migration method on vmops. N/A datastore N/A N/A ds_obj Datastore ref fake-ref name fake N/A device N/A N/A vmwareapi_fake DataObject N/A backing N/A N/A vmwareapi_fake DataObject N/A N/A backing datastore N/A datastore ref N/A N/A device backing backing N/A vmdk N/A N/A vm_util VmdkInfo [fake] uuid/root.vmdk fake-adapter fake-disk fake-capacity device N/A dc_info N/A N/A ds_util DcInfo ref fake_ref name fake vmFolder fake_folder N/A extra_specs N/A N/A vm_util ExtraSpecs N/A N/A fake_get_extra_specs return_value extra_specs N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _vmops get_datacenter_ref_and_name return_value dc_info N/A N/A N/A mock patch object vm_util get_vmdk_info return_value vmdk N/A fake_get_dc_ref_and_name fake_get_vmdk_info N/A N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A mock_attach_disk N/A N/A N/A self _vmops _volumeops attach_disk_to_vm N/A mock_detach_disk N/A N/A N/A self _vmops _volumeops detach_disk_from_vm N/A N/A N/A N/A self _vmops finish_revert_migration N/A self _context instance N/A self _instance network_info None block_device_info None power_on power_on N/A N/A N/A fake_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A fake_power_off assert_called_once_with N/A self _session N/A self _instance fake-ref N/A metadata N/A name:fake_display_name
userid:fake_user
username:None
projectid:fake_project
projectname:None
flavor:name:m1.small
flavor:memory_mb:512
flavor:vcpus:1
flavor:ephemeral_gb:0
flavor:root_gb:10
flavor:swap:0
imageid:70a599e0-31e7-49b7-b260-868f441e862b
package:%s
 N/A N/A version version_string_with_package N/A N/A N/A fake_resize_spec assert_called_once_with N/A N/A N/A N/A self _session vim client factory N/A int N/A N/A self _instance vcpus N/A int N/A N/A self _instance memory_mb extra_specs metadata metadata N/A N/A N/A fake_reconfigure_vm assert_called_once_with N/A self _session fake-ref fake-spec N/A N/A N/A fake_get_vmdk_info assert_called_once_with N/A self _session fake-ref uuid N/A N/A self _instance uuid N/A N/A N/A fake_get_browser assert_called_once_with fake-ref N/A N/A N/A fake_original_exists assert_called_once_with N/A self _session fake-browser N/A N/A ds_obj DatastorePath N/A datastore name uuid original.vmdk N/A N/A N/A mock_detach_disk assert_called_once_with fake-ref N/A self _instance device N/A N/A N/A fake_disk_delete assert_called_once_with N/A self _session N/A dc_info ref [fake] uuid/root.vmdk N/A N/A N/A fake_disk_move assert_called_once_with N/A self _session N/A dc_info ref [fake] uuid/original.vmdk [fake] uuid/root.vmdk N/A N/A N/A mock_attach_disk assert_called_once_with fake-ref N/A self _instance fake-adapter fake-disk [fake] uuid/root.vmdk N/A N/A N/A fake_remove_ephemerals_and_swap assert_called_once_with fake-ref N/A N/A N/A fake_resize_create_ephemerals_and_swap assert_called_once_with fake-ref N/A self _instance None N/A power_on N/A N/A N/A N/A fake_power_on assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A N/A self assertFalse N/A fake_power_on called N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_extra_specs N/A N/A N/A mock patch object N/A vmops VMwareVMOps _resize_create_ephemerals_and_swap N/A N/A N/A mock patch object N/A vmops VMwareVMOps _remove_ephemerals_and_swap N/A N/A N/A mock patch object ds_util disk_delete N/A N/A N/A mock patch object ds_util disk_move N/A N/A N/A mock patch object ds_util file_exists return_value True N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_ds_browser return_value fake-browser N/A N/A N/A mock patch object vm_util reconfigure_vm N/A N/A N/A mock patch object vm_util get_vm_resize_spec return_value fake-spec N/A N/A N/A mock patch object vm_util power_off_instance N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref N/A N/A N/A mock patch object vm_util power_on_instance test_finish_revert_migration_power_on N/A N/A self N/A N/A N/A N/A N/A self _test_finish_revert_migration power_on True N/A test_finish_revert_migration_power_off N/A N/A self N/A N/A N/A N/A N/A self _test_finish_revert_migration power_on False N/A test_resize_vm N/A N/A self fake_resize_spec fake_reconfigure fake_get_extra_specs fake_get_metadata N/A N/A N/A extra_specs N/A N/A vm_util ExtraSpecs N/A N/A fake_get_extra_specs return_value extra_specs N/A N/A fake_get_metadata return_value N/A self _metadata N/A flavor N/A N/A objects Flavor name m1.small memory_mb 1024 vcpus 2 extra_specs N/A N/A N/A N/A N/A self _vmops _resize_vm N/A self _context N/A self _instance vm-ref flavor None N/A N/A N/A fake_resize_spec assert_called_once_with N/A N/A N/A N/A self _session vim client factory 2 1024 extra_specs metadata N/A self _metadata N/A N/A N/A fake_reconfigure assert_called_once_with N/A self _session vm-ref fake-spec N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_instance_metadata N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_extra_specs N/A N/A N/A mock patch object vm_util reconfigure_vm N/A N/A N/A mock patch object vm_util get_vm_resize_spec return_value fake-spec test_resize_disk N/A N/A self fake_disk_copy fake_disk_move fake_extend N/A N/A N/A datastore N/A N/A ds_obj Datastore ref fake-ref name fake N/A device N/A N/A vmwareapi_fake DataObject N/A backing N/A N/A vmwareapi_fake DataObject N/A N/A backing datastore N/A datastore ref N/A N/A device backing backing N/A vmdk N/A N/A vm_util VmdkInfo [fake] uuid/root.vmdk fake-adapter fake-disk N/A N/A N/A self _instance root_gb N/A units Gi device N/A dc_info N/A N/A ds_util DcInfo ref fake_ref name fake vmFolder fake_folder N/A N/A N/A N/A mock patch object N/A self _vmops get_datacenter_ref_and_name return_value dc_info fake_get_dc_ref_and_name N/A N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A mock_attach_disk N/A N/A N/A self _vmops _volumeops attach_disk_to_vm N/A mock_detach_disk N/A N/A N/A self _vmops _volumeops detach_disk_from_vm N/A flavor N/A N/A fake_flavor fake_flavor_obj N/A self _context root_gb N/A N/A N/A self _instance root_gb 1 N/A N/A N/A N/A self _vmops _resize_disk N/A self _instance fake-ref vmdk flavor N/A N/A N/A fake_get_dc_ref_and_name assert_called_once_with N/A datastore ref N/A N/A N/A fake_disk_copy assert_called_once_with N/A self _session N/A dc_info ref [fake] uuid/root.vmdk [fake] uuid/resized.vmdk N/A N/A N/A mock_detach_disk assert_called_once_with fake-ref N/A self _instance device N/A N/A N/A fake_extend assert_called_once_with N/A self _instance N/A N/A flavor N/A root_gb N/A units Mi [fake] uuid/resized.vmdk N/A dc_info ref N/A calls N/A N/A N/A mock call N/A self _session N/A dc_info ref [fake] uuid/root.vmdk [fake] uuid/original.vmdk N/A N/A mock call N/A self _session N/A dc_info ref [fake] uuid/resized.vmdk [fake] uuid/root.vmdk N/A N/A N/A fake_disk_move assert_has_calls calls N/A N/A N/A mock_attach_disk assert_called_once_with fake-ref N/A self _instance fake-adapter fake-disk [fake] uuid/root.vmdk N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _extend_virtual_disk N/A N/A N/A mock patch object ds_util disk_move N/A N/A N/A mock patch object ds_util disk_copy test_remove_ephemerals_and_swap N/A N/A self get_ephemerals get_swap detach_devices N/A N/A N/A N/A get_ephemerals return_value N/A N/A N/A mock sentinel ephemeral0 N/A N/A mock sentinel ephemeral1 N/A N/A get_swap return_value N/A N/A mock sentinel swap N/A devices N/A N/A N/A mock sentinel ephemeral0 N/A N/A mock sentinel ephemeral1 N/A N/A mock sentinel swap N/A N/A N/A N/A self _vmops _remove_ephemerals_and_swap N/A N/A mock sentinel vm_ref N/A N/A N/A detach_devices assert_called_once_with N/A N/A self _vmops _session N/A N/A mock sentinel vm_ref devices N/A N/A N/A N/A mock patch object vm_util detach_devices_from_vm N/A N/A N/A mock patch object vm_util get_swap N/A N/A N/A mock patch object vm_util get_ephemerals test_confirm_migration N/A N/A self fake_get_vm_ref fake_get_browser fake_original_exists fake_disk_delete N/A N/A N/A Tests the confirm_migration method on vmops. N/A datastore N/A N/A ds_obj Datastore ref fake-ref name fake N/A device N/A N/A vmwareapi_fake DataObject N/A backing N/A N/A vmwareapi_fake DataObject N/A N/A backing datastore N/A datastore ref N/A N/A device backing backing N/A vmdk N/A N/A vm_util VmdkInfo [fake] uuid/root.vmdk fake-adapter fake-disk fake-capacity device N/A dc_info N/A N/A ds_util DcInfo ref fake_ref name fake vmFolder fake_folder N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _vmops get_datacenter_ref_and_name return_value dc_info N/A N/A N/A mock patch object vm_util get_vmdk_info return_value vmdk N/A fake_get_dc_ref_and_name fake_get_vmdk_info N/A N/A N/A N/A N/A self _vmops confirm_migration None N/A self _instance None N/A N/A N/A fake_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A fake_get_vmdk_info assert_called_once_with N/A self _session fake-ref uuid N/A N/A self _instance uuid N/A N/A N/A fake_get_browser assert_called_once_with fake-ref N/A N/A N/A fake_original_exists assert_called_once_with N/A self _session fake-browser N/A N/A ds_obj DatastorePath N/A datastore name uuid original.vmdk N/A N/A N/A fake_disk_delete assert_called_once_with N/A self _session N/A dc_info ref [fake] uuid/original.vmdk N/A N/A N/A N/A mock patch object ds_util disk_delete N/A N/A N/A mock patch object ds_util file_exists return_value True N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_ds_browser return_value fake-browser N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref test_migrate_disk_and_power_off N/A N/A self N/A N/A N/A N/A N/A self _test_migrate_disk_and_power_off flavor_root_gb N/A N/A N/A self _instance root_gb 1 N/A test_migrate_disk_and_power_off_zero_disk_flavor N/A N/A self N/A N/A N/A N/A N/A self _instance root_gb 0 N/A N/A N/A self _test_migrate_disk_and_power_off flavor_root_gb 0 N/A test_migrate_disk_and_power_off_disk_shrink N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception InstanceFaultRollback N/A self _test_migrate_disk_and_power_off flavor_root_gb N/A N/A N/A self _instance root_gb 1 N/A _test_migrate_disk_and_power_off N/A N/A self fake_get_vm_ref fake_progress fake_power_off fake_resize_vm fake_resize_disk fake_get_vmdk_info fake_remove_ephemerals_and_swap flavor_root_gb N/A N/A N/A vmdk N/A N/A vm_util VmdkInfo [fake] uuid/root.vmdk fake-adapter fake-disk N/A N/A N/A self _instance root_gb N/A units Gi fake-device N/A N/A fake_get_vmdk_info return_value vmdk N/A flavor N/A N/A fake_flavor fake_flavor_obj N/A self _context root_gb flavor_root_gb N/A N/A N/A N/A self _vmops migrate_disk_and_power_off N/A self _context N/A self _instance None flavor N/A N/A N/A fake_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A N/A fake_power_off assert_called_once_with N/A self _session N/A self _instance fake-ref N/A N/A N/A fake_resize_vm assert_called_once_with N/A self _context N/A self _instance fake-ref flavor N/A mock ANY N/A N/A N/A fake_resize_disk assert_called_once_with N/A self _instance fake-ref vmdk flavor N/A calls N/A N/A N/A mock call N/A self _context N/A self _instance step i total_steps N/A vmops RESIZE_TOTAL_STEPS N/A i N/A range 4 N/A N/A N/A fake_progress assert_has_calls calls N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _remove_ephemerals_and_swap N/A N/A N/A mock patch object vm_util get_vmdk_info N/A N/A N/A mock patch object N/A vmops VMwareVMOps _resize_disk N/A N/A N/A mock patch object N/A vmops VMwareVMOps _resize_vm N/A N/A N/A mock patch object vm_util power_off_instance N/A N/A N/A mock patch object N/A vmops VMwareVMOps _update_instance_progress N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref test_configure_config_drive N/A N/A self mock_create_config_drive mock_attach_cdrom_to_vm mock_get_inventory_path N/A N/A N/A injected_files N/A N/A mock Mock N/A admin_password N/A N/A mock Mock N/A network_info N/A N/A mock Mock N/A vm_ref N/A N/A mock Mock N/A N/A mock_create_config_drive return_value fake_iso_path N/A N/A N/A N/A self _vmops _configure_config_drive N/A self _instance vm_ref N/A self _dc_info N/A self _ds injected_files admin_password network_info N/A upload_iso_path N/A N/A N/A self _ds build_path fake_iso_path N/A N/A N/A mock_get_inventory_path assert_called_once_with N/A N/A self _session vim N/A N/A self _dc_info ref N/A N/A N/A mock_create_config_drive assert_called_once_with N/A self _instance injected_files admin_password network_info N/A N/A self _ds name fake_path N/A N/A self _instance uuid Fake-CookieJar N/A N/A N/A mock_attach_cdrom_to_vm assert_called_once_with vm_ref N/A self _instance N/A N/A self _ds ref N/A str upload_iso_path N/A N/A N/A N/A mock patch object vutil get_inventory_path return_value fake_path N/A N/A N/A mock patch object N/A vmops VMwareVMOps _attach_cdrom_to_vm N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_config_drive test_spawn_mask_block_device_info_password N/A N/A self mock_lock mock_build_virtual_machine mock_get_vm_config_info mock_fetch_image_if_missing mock_debug N/A N/A N/A data N/A auth_password scrubme N/A bdm N/A N/A boot_index disk_bus connection_info 0 N/A constants DEFAULT_ADAPTER_TYPE N/A data data N/A bdi N/A block_device_mapping bdm N/A N/A self password_logged False fake_debug N/A N/A N/A args kwargs N/A N/A N/A auth_password N/A args N/A 0 N/A N/A N/A self password_logged True N/A N/A N/A self assertNotIn scrubme N/A args N/A 0 N/A N/A N/A mock_debug side_effect fake_debug N/A N/A N/A self flags flat_injected False N/A N/A N/A self flags enabled False group vnc N/A N/A N/A N/A mock patch object N/A self _vmops _volumeops mock_vo N/A N/A N/A N/A mock_vo attach_root_volume side_effect N/A test TestingException N/A N/A N/A N/A N/A N/A self _vmops spawn N/A self _context N/A self _instance N/A self _image_meta injected_files None admin_password None network_info N/A block_device_info bdi N/A N/A N/A N/A test TestingException N/A N/A N/A N/A N/A self assertTrue N/A self password_logged N/A N/A N/A N/A mock patch object N/A vmops LOG debug N/A N/A N/A mock patch object N/A vmops VMwareVMOps _fetch_image_if_missing N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_vm_config_info N/A N/A N/A mock patch object N/A vmops VMwareVMOps build_virtual_machine N/A N/A N/A mock patch object N/A vmops lockutils lock _get_metadata N/A N/A self is_image_used N/A True N/A N/A is_image_used N/A N/A image_id 70a599e0-31e7-49b7-b260-868f441e862b N/A N/A image_id None N/A N/A name:fake_display_name
userid:fake_user
username:None
projectid:fake_project
projectname:None
flavor:name:m1.small
flavor:memory_mb:512
flavor:vcpus:1
flavor:ephemeral_gb:0
flavor:root_gb:10
flavor:swap:0
imageid:%(image_id)s
package:%(version)s
 N/A image_id version image_id N/A N/A version version_string_with_package N/A test_spawn_non_root_block_device N/A N/A self from_image get_extra_specs get_vm_config_info build_virtual_machine enlist_image fetch_image use_disk_image power_on_instance create_folders rename_vm N/A N/A N/A N/A N/A self _instance flavor N/A self _flavor N/A extra_specs N/A get_extra_specs return_value N/A connection_info1 N/A data serial fake-data1 volume-fake-id1 N/A connection_info2 N/A data serial fake-data2 volume-fake-id2 N/A bdm N/A N/A connection_info disk_bus mount_device connection_info1 N/A constants ADAPTER_TYPE_IDE /dev/sdb N/A connection_info disk_bus mount_device connection_info2 N/A constants DEFAULT_ADAPTER_TYPE /dev/sdc N/A bdi N/A block_device_mapping root_device_name bdm /dev/sda N/A N/A N/A self flags flat_injected False N/A N/A N/A self flags enabled False group vnc N/A image_size N/A N/A N/A N/A self _instance root_gb N/A units Gi 2 N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size image_size N/A vi N/A get_vm_config_info return_value N/A N/A from_image return_value image_info N/A N/A build_virtual_machine return_value fake-vm-ref N/A N/A N/A N/A mock patch object N/A self _vmops _volumeops volumeops N/A N/A N/A N/A N/A self _vmops spawn N/A self _context N/A self _instance N/A self _image_meta injected_files None admin_password None network_info N/A block_device_info bdi N/A N/A N/A from_image assert_called_once_with N/A N/A self _instance image_ref N/A self _image_meta N/A N/A N/A get_vm_config_info assert_called_once_with N/A self _instance image_info extra_specs N/A N/A N/A build_virtual_machine assert_called_once_with N/A self _instance image_info N/A vi dc_info N/A vi datastore N/A extra_specs N/A N/A self _get_metadata N/A N/A N/A enlist_image assert_called_once_with N/A image_info image_id N/A vi datastore N/A N/A vi dc_info ref N/A N/A N/A fetch_image assert_called_once_with N/A self _context vi N/A N/A N/A use_disk_image assert_called_once_with fake-vm-ref vi N/A N/A N/A N/A volumeops attach_volume assert_any_call connection_info1 N/A self _instance N/A constants ADAPTER_TYPE_IDE N/A N/A N/A N/A volumeops attach_volume assert_any_call connection_info2 N/A self _instance N/A constants DEFAULT_ADAPTER_TYPE N/A N/A N/A N/A mock patch object vm_util rename_vm N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_folders return_value fake_vm_folder N/A N/A mock patch nova.virt.vmwareapi.vm_util.power_on_instance N/A N/A N/A mock patch object N/A vmops VMwareVMOps _use_disk_image_as_linked_clone N/A N/A N/A mock patch object N/A vmops VMwareVMOps _fetch_image_if_missing N/A N/A mock patch nova.virt.vmwareapi.imagecache.ImageCacheManager.enlist_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps build_virtual_machine N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_vm_config_info N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_extra_specs N/A N/A N/A mock patch object N/A N/A N/A N/A nova virt vmwareapi images VMwareImage from_image test_spawn_with_no_image_and_block_devices N/A N/A self from_image get_extra_specs get_vm_config_info build_virtual_machine power_on_instance create_folders rename_vm N/A N/A N/A N/A N/A self _instance image_ref None N/A N/A N/A self _instance flavor N/A self _flavor N/A extra_specs N/A get_extra_specs return_value N/A connection_info1 N/A data serial fake-data1 volume-fake-id1 N/A connection_info2 N/A data serial fake-data2 volume-fake-id2 N/A connection_info3 N/A data serial fake-data3 volume-fake-id3 N/A bdm N/A N/A boot_index connection_info disk_bus 0 connection_info1 N/A constants ADAPTER_TYPE_IDE N/A boot_index connection_info disk_bus 1 connection_info2 N/A constants DEFAULT_ADAPTER_TYPE N/A boot_index connection_info disk_bus 2 connection_info3 N/A constants ADAPTER_TYPE_LSILOGICSAS N/A bdi N/A block_device_mapping bdm N/A N/A N/A self flags flat_injected False N/A N/A N/A self flags enabled False group vnc N/A image_info N/A N/A mock sentinel image_info N/A vi N/A get_vm_config_info return_value N/A N/A from_image return_value image_info N/A N/A build_virtual_machine return_value fake-vm-ref N/A N/A N/A N/A mock patch object N/A self _vmops _volumeops volumeops N/A N/A N/A N/A N/A self _vmops spawn N/A self _context N/A self _instance N/A self _image_meta injected_files None admin_password None network_info N/A block_device_info bdi N/A N/A N/A from_image assert_called_once_with N/A N/A self _instance image_ref N/A self _image_meta N/A N/A N/A get_vm_config_info assert_called_once_with N/A self _instance image_info extra_specs N/A N/A N/A build_virtual_machine assert_called_once_with N/A self _instance image_info N/A vi dc_info N/A vi datastore N/A extra_specs N/A N/A self _get_metadata is_image_used False N/A N/A N/A N/A volumeops attach_root_volume assert_called_once_with connection_info1 N/A self _instance N/A N/A vi datastore ref N/A constants ADAPTER_TYPE_IDE N/A N/A N/A N/A volumeops attach_volume assert_any_call connection_info2 N/A self _instance N/A constants DEFAULT_ADAPTER_TYPE N/A N/A N/A N/A volumeops attach_volume assert_any_call connection_info3 N/A self _instance N/A constants ADAPTER_TYPE_LSILOGICSAS N/A N/A N/A N/A mock patch object vm_util rename_vm N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_folders return_value fake_vm_folder N/A N/A mock patch nova.virt.vmwareapi.vm_util.power_on_instance N/A N/A N/A mock patch object N/A vmops VMwareVMOps build_virtual_machine N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_vm_config_info N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_extra_specs N/A N/A N/A mock patch object N/A N/A N/A N/A nova virt vmwareapi images VMwareImage from_image test_spawn_unsupported_hardware N/A N/A self from_image get_extra_specs get_vm_config_info build_virtual_machine power_on_instance create_folders N/A N/A N/A N/A N/A self _instance image_ref None N/A N/A N/A self _instance flavor N/A self _flavor N/A extra_specs N/A get_extra_specs return_value N/A connection_info N/A data serial fake-data volume-fake-id N/A bdm N/A N/A boot_index connection_info disk_bus 0 connection_info invalid_adapter_type N/A bdi N/A block_device_mapping bdm N/A N/A N/A self flags flat_injected False N/A N/A N/A self flags enabled False group vnc N/A image_info N/A N/A mock sentinel image_info N/A vi N/A get_vm_config_info return_value N/A N/A from_image return_value image_info N/A N/A build_virtual_machine return_value fake-vm-ref N/A N/A N/A self assertRaises N/A exception UnsupportedHardware N/A N/A self _vmops spawn N/A self _context N/A self _instance N/A self _image_meta injected_files None admin_password None network_info N/A block_device_info bdi N/A N/A N/A from_image assert_called_once_with N/A N/A self _instance image_ref N/A self _image_meta N/A N/A N/A get_vm_config_info assert_called_once_with N/A self _instance image_info extra_specs N/A N/A N/A build_virtual_machine assert_called_once_with N/A self _instance image_info N/A vi dc_info N/A vi datastore N/A extra_specs N/A N/A self _get_metadata is_image_used False N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_folders return_value fake_vm_folder N/A N/A mock patch nova.virt.vmwareapi.vm_util.power_on_instance N/A N/A N/A mock patch object N/A vmops VMwareVMOps build_virtual_machine N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_vm_config_info N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_extra_specs N/A N/A N/A mock patch object N/A N/A N/A N/A nova virt vmwareapi images VMwareImage from_image test_get_ds_browser N/A N/A self N/A N/A N/A cache N/A N/A self _vmops _datastore_browser_mapping N/A ds_browser N/A N/A mock Mock N/A moref N/A N/A vmwareapi_fake ManagedObjectReference datastore-100 N/A N/A N/A self assertIsNone N/A N/A cache get N/A moref value N/A mock_call_method N/A N/A mock Mock return_value ds_browser N/A N/A N/A N/A mock patch object N/A self _session _call_method mock_call_method N/A N/A ret N/A N/A N/A self _vmops _get_ds_browser moref N/A N/A N/A mock_call_method assert_called_once_with vutil get_object_property moref browser N/A N/A N/A self assertIs ds_browser ret N/A N/A N/A self assertIs ds_browser N/A N/A cache get N/A moref value N/A _test_use_disk_image_as_linked_clone N/A N/A self mock_copy_virtual_disk mock_extend_virtual_disk mock_sized_image_exists flavor_fits_image N/A False N/A N/A extra_specs N/A N/A vm_util ExtraSpecs N/A file_size N/A flavor_fits_image N/A 10 N/A units Gi N/A 5 N/A units Gi N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size file_size linked_clone False N/A cache_root_folder N/A N/A N/A self _ds build_path vmware_base N/A self _image_id N/A mock_imagecache N/A N/A mock Mock N/A N/A N/A mock_imagecache get_image_cache_folder return_value cache_root_folder N/A vi N/A N/A vmops VirtualMachineInstanceConfigInfo N/A self _instance image_info N/A self _ds N/A self _dc_info mock_imagecache extra_specs N/A sized_cached_image_ds_loc N/A N/A cache_root_folder join N/A %s.%s.vmdk N/A N/A self _image_id N/A vi root_gb N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A mock_attach_disk_to_vm N/A N/A N/A self _vmops _volumeops attach_disk_to_vm N/A N/A N/A N/A self _vmops _use_disk_image_as_linked_clone fake_vm_ref vi N/A N/A N/A mock_copy_virtual_disk assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A str N/A vi cache_image_path N/A str sized_cached_image_ds_loc N/A N/A flavor_fits_image N/A N/A N/A N/A mock_extend_virtual_disk assert_called_once_with N/A self _instance N/A N/A vi root_gb N/A units Mi N/A str sized_cached_image_ds_loc N/A N/A self _dc_info ref N/A N/A N/A mock_attach_disk_to_vm assert_called_once_with fake_vm_ref N/A self _instance N/A N/A vi ii adapter_type N/A N/A vi ii disk_type N/A str sized_cached_image_ds_loc N/A N/A vi root_gb N/A units Mi False disk_io_limits N/A N/A vi _extra_specs disk_io_limits N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _sized_image_exists return_value False N/A N/A N/A mock patch object N/A vmops VMwareVMOps _extend_virtual_disk N/A N/A N/A mock patch object vm_util copy_virtual_disk test_use_disk_image_as_linked_clone N/A N/A self N/A N/A N/A N/A N/A self _test_use_disk_image_as_linked_clone N/A test_use_disk_image_as_linked_clone_flavor_fits_image N/A N/A self N/A N/A N/A N/A N/A self _test_use_disk_image_as_linked_clone flavor_fits_image True N/A _test_use_disk_image_as_full_clone N/A N/A self mock_copy_virtual_disk mock_extend_virtual_disk flavor_fits_image N/A False N/A N/A extra_specs N/A N/A vm_util ExtraSpecs N/A file_size N/A flavor_fits_image N/A 10 N/A units Gi N/A 5 N/A units Gi N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size file_size linked_clone False N/A cache_root_folder N/A N/A N/A self _ds build_path vmware_base N/A self _image_id N/A mock_imagecache N/A N/A mock Mock N/A N/A N/A mock_imagecache get_image_cache_folder return_value cache_root_folder N/A vi N/A N/A vmops VirtualMachineInstanceConfigInfo N/A self _instance image_info N/A self _ds N/A self _dc_info mock_imagecache extra_specs N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A mock_attach_disk_to_vm N/A N/A N/A self _vmops _volumeops attach_disk_to_vm N/A N/A N/A N/A self _vmops _use_disk_image_as_full_clone fake_vm_ref vi N/A fake_path N/A [fake_ds] %(uuid)s/%(uuid)s.vmdk N/A uuid N/A self _uuid N/A N/A N/A mock_copy_virtual_disk assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A str N/A vi cache_image_path fake_path N/A N/A flavor_fits_image N/A N/A N/A N/A mock_extend_virtual_disk assert_called_once_with N/A self _instance N/A N/A vi root_gb N/A units Mi fake_path N/A N/A self _dc_info ref N/A N/A N/A mock_attach_disk_to_vm assert_called_once_with fake_vm_ref N/A self _instance N/A N/A vi ii adapter_type N/A N/A vi ii disk_type fake_path N/A N/A vi root_gb N/A units Mi False disk_io_limits N/A N/A vi _extra_specs disk_io_limits N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _extend_virtual_disk N/A N/A N/A mock patch object vm_util copy_virtual_disk test_use_disk_image_as_full_clone N/A N/A self N/A N/A N/A N/A N/A self _test_use_disk_image_as_full_clone N/A test_use_disk_image_as_full_clone_image_too_big N/A N/A self N/A N/A N/A N/A N/A self _test_use_disk_image_as_full_clone flavor_fits_image True N/A _test_use_iso_image N/A N/A self mock_create_virtual_disk mock_attach_cdrom with_root_disk N/A N/A N/A extra_specs N/A N/A vm_util ExtraSpecs N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size N/A 10 N/A units Mi linked_clone True N/A cache_root_folder N/A N/A N/A self _ds build_path vmware_base N/A self _image_id N/A mock_imagecache N/A N/A mock Mock N/A N/A N/A mock_imagecache get_image_cache_folder return_value cache_root_folder N/A vi N/A N/A vmops VirtualMachineInstanceConfigInfo N/A self _instance image_info N/A self _ds N/A self _dc_info mock_imagecache extra_specs N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A mock_attach_disk_to_vm N/A N/A N/A self _vmops _volumeops attach_disk_to_vm N/A N/A N/A N/A self _vmops _use_iso_image fake_vm_ref vi N/A N/A N/A mock_attach_cdrom assert_called_once_with fake_vm_ref N/A self _instance N/A N/A self _ds ref N/A str N/A vi cache_image_path N/A fake_path N/A [fake_ds] %(uuid)s/%(uuid)s.vmdk N/A uuid N/A self _uuid N/A with_root_disk N/A N/A N/A N/A mock_create_virtual_disk assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A N/A vi ii adapter_type N/A N/A vi ii disk_type fake_path N/A N/A vi root_gb N/A units Mi N/A linked_clone False N/A N/A N/A mock_attach_disk_to_vm assert_called_once_with fake_vm_ref N/A self _instance N/A N/A vi ii adapter_type N/A N/A vi ii disk_type fake_path N/A N/A vi root_gb N/A units Mi linked_clone disk_io_limits N/A N/A vi _extra_specs disk_io_limits N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _attach_cdrom_to_vm N/A N/A N/A mock patch object vm_util create_virtual_disk test_use_iso_image_with_root_disk N/A N/A self N/A N/A N/A N/A N/A self _test_use_iso_image with_root_disk True N/A test_use_iso_image_without_root_disk N/A N/A self N/A N/A N/A N/A N/A self _test_use_iso_image with_root_disk False N/A _verify_spawn_method_calls N/A N/A self mock_call_method extras N/A None N/A N/A expected_methods N/A get_object_property SearchDatastore_Task CreateVirtualDisk_Task DeleteDatastoreFile_Task MoveDatastoreFile_Task DeleteDatastoreFile_Task SearchDatastore_Task ExtendVirtualDisk_Task N/A extras N/A N/A N/A N/A expected_methods extend extras N/A N/A N/A expected_methods append Rename_Task N/A recorded_methods N/A N/A N/A c N/A 1 N/A 1 N/A c N/A mock_call_method mock_calls N/A N/A N/A self assertEqual expected_methods recorded_methods N/A _test_spawn N/A N/A self mock_copy_virtual_disk mock_power_on_instance mock_get_and_set_vnc_config mock_enlist_image mock_set_machine_id mock_mkdir mock_create_vm mock_get_create_spec mock_is_neutron mock_get_vif_info mock_get_datacenter_ref_and_name mock_get_datastore mock_configure_config_drive mock_update_vnic_index mock_create_folders block_device_info extra_specs config_drive N/A None None False N/A N/A N/A extra_specs None N/A N/A extra_specs N/A N/A vm_util ExtraSpecs N/A image_size N/A N/A N/A N/A self _instance root_gb N/A units Gi 2 N/A image N/A id disk_format size N/A self _image_id vmdk image_size N/A image N/A N/A N/A objects ImageMeta from_dict image N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size image_size N/A vi N/A N/A N/A self _vmops _get_vm_config_info N/A self _instance image_info extra_specs N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A network_info N/A N/A mock Mock N/A N/A mock_get_datastore return_value N/A self _ds N/A N/A mock_get_datacenter_ref_and_name return_value N/A self _dc_info N/A mock_call_method N/A N/A mock Mock return_value fake_task N/A N/A extra_specs None N/A N/A extra_specs N/A N/A vm_util ExtraSpecs N/A N/A N/A test nested N/A N/A N/A mock patch object N/A self _session _wait_for_task N/A N/A N/A mock patch object N/A self _session _call_method mock_call_method N/A N/A N/A mock patch object uuidutils generate_uuid return_value tmp-uuid N/A N/A N/A mock patch object images fetch_image N/A N/A N/A mock patch object vutil get_inventory_path return_value N/A N/A self _dc_info name N/A N/A N/A mock patch object N/A self _vmops _get_extra_specs return_value extra_specs N/A N/A N/A mock patch object N/A self _vmops _get_instance_metadata return_value fake-metadata N/A _wait_for_task _call_method _generate_uuid _fetch_image _get_inventory_path _get_extra_specs _get_instance_metadata N/A N/A N/A N/A N/A self _vmops spawn N/A self _context N/A self _instance image injected_files fake_files admin_password password network_info network_info block_device_info block_device_info N/A N/A N/A mock_is_neutron assert_called_once_with N/A N/A N/A self assertEqual 2 N/A mock_mkdir call_count N/A N/A N/A mock_get_vif_info assert_called_once_with N/A self _session N/A N/A self _cluster obj False N/A constants DEFAULT_VIF_MODEL network_info N/A N/A N/A mock_get_create_spec assert_called_once_with N/A N/A N/A N/A self _session vim client factory N/A self _instance fake_ds N/A extra_specs N/A constants DEFAULT_OS_TYPE profile_spec None metadata fake-metadata N/A N/A N/A mock_create_vm assert_called_once_with N/A self _session N/A self _instance fake_vm_folder fake_create_spec N/A N/A self _cluster resourcePool N/A N/A N/A mock_get_and_set_vnc_config assert_called_once_with N/A N/A N/A N/A self _session vim client factory N/A self _instance fake_vm_ref N/A N/A N/A mock_set_machine_id assert_called_once_with N/A N/A N/A N/A self _session vim client factory N/A self _instance network_info vm_ref fake_vm_ref N/A N/A N/A mock_power_on_instance assert_called_once_with N/A self _session N/A self _instance vm_ref fake_vm_ref N/A N/A block_device_info N/A block_device_mapping block_device_info N/A N/A bdms N/A block_device_info N/A block_device_mapping N/A bdm bdms N/A N/A mock_attach_root N/A N/A N/A self _vmops _volumeops attach_root_volume N/A mock_attach N/A N/A N/A self _vmops _volumeops attach_volume N/A adapter_type N/A N/A N/A bdm get disk_bus N/A N/A vi ii adapter_type N/A N/A N/A N/A bdm get boot_index 0 N/A N/A N/A N/A mock_attach_root assert_any_call N/A bdm N/A connection_info N/A self _instance N/A N/A self _ds ref adapter_type N/A N/A N/A N/A mock_attach assert_any_call N/A bdm N/A connection_info N/A self _instance N/A N/A self _ds ref adapter_type N/A N/A N/A mock_enlist_image assert_called_once_with N/A self _image_id N/A self _ds N/A N/A self _dc_info ref N/A upload_file_name N/A vmware_temp/tmp-uuid/%s/%s-flat.vmdk N/A N/A self _image_id N/A self _image_id N/A N/A N/A _fetch_image assert_called_once_with N/A self _context N/A self _instance N/A N/A self _session _host N/A N/A self _session _port N/A N/A self _dc_info name N/A N/A self _ds name upload_file_name cookies Fake-CookieJar N/A N/A N/A self assertTrue N/A N/A len N/A _wait_for_task mock_calls 0 N/A N/A _get_inventory_path call_count 1 N/A extras None N/A N/A block_device_info N/A N/A ephemerals block_device_info N/A swap block_device_info N/A N/A extras N/A CreateVirtualDisk_Task N/A N/A N/A self _verify_spawn_method_calls _call_method extras N/A dc_ref fake_dc_ref N/A source_file N/A N/A six text_type N/A [fake_ds] vmware_base/%s/%s.vmdk N/A N/A self _image_id N/A self _image_id N/A dest_file N/A N/A six text_type N/A [fake_ds] vmware_base/%s/%s.%d.vmdk N/A N/A self _image_id N/A self _image_id N/A N/A self _instance N/A root_gb N/A N/A N/A mock_copy_virtual_disk assert_called_with N/A self _session dc_ref source_file dest_file N/A config_drive N/A N/A N/A N/A mock_configure_config_drive assert_called_once_with N/A self _instance fake_vm_ref N/A self _dc_info N/A self _ds fake_files password network_info N/A N/A N/A mock_update_vnic_index assert_called_once_with N/A self _context N/A self _instance network_info N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_folders return_value fake_vm_folder N/A N/A mock patch nova.virt.vmwareapi.vmops.VMwareVMOps._update_vnic_index N/A N/A mock patch nova.virt.vmwareapi.vmops.VMwareVMOps._configure_config_drive N/A N/A mock patch nova.virt.vmwareapi.ds_util.get_datastore N/A N/A mock patch nova.virt.vmwareapi.vmops.VMwareVMOps.get_datacenter_ref_and_name N/A N/A mock patch nova.virt.vmwareapi.vif.get_vif_info return_value N/A N/A N/A mock patch nova.utils.is_neutron return_value False N/A N/A mock patch nova.virt.vmwareapi.vm_util.get_vm_create_spec return_value fake_create_spec N/A N/A mock patch nova.virt.vmwareapi.vm_util.create_vm return_value fake_vm_ref N/A N/A mock patch nova.virt.vmwareapi.ds_util.mkdir N/A N/A mock patch nova.virt.vmwareapi.vmops.VMwareVMOps._set_machine_id N/A N/A mock patch nova.virt.vmwareapi.imagecache.ImageCacheManager.enlist_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_and_set_vnc_config N/A N/A mock patch nova.virt.vmwareapi.vm_util.power_on_instance N/A N/A mock patch nova.virt.vmwareapi.vm_util.copy_virtual_disk _test_get_spawn_vm_config_info N/A N/A self mock_get_datacenter_ref_and_name mock_get_datastore image_size_bytes N/A 0 N/A N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size image_size_bytes linked_clone True N/A N/A mock_get_datastore return_value N/A self _ds N/A N/A mock_get_datacenter_ref_and_name return_value N/A self _dc_info N/A extra_specs N/A N/A vm_util ExtraSpecs N/A vi N/A N/A N/A self _vmops _get_vm_config_info N/A self _instance image_info extra_specs N/A N/A N/A self assertEqual image_info N/A vi ii N/A N/A N/A self assertEqual N/A self _ds N/A vi datastore N/A N/A N/A self assertEqual N/A N/A self _instance root_gb N/A vi root_gb N/A N/A N/A self assertEqual N/A self _instance N/A vi instance N/A N/A N/A self assertEqual N/A N/A self _instance uuid N/A N/A vi instance uuid N/A N/A N/A self assertEqual extra_specs N/A vi _extra_specs N/A cache_image_path N/A [%s] vmware_base/%s/%s.vmdk N/A N/A N/A self _ds name N/A self _image_id N/A self _image_id N/A N/A N/A self assertEqual cache_image_path N/A str N/A vi cache_image_path N/A cache_image_folder N/A [%s] vmware_base/%s N/A N/A N/A self _ds name N/A self _image_id N/A N/A N/A self assertEqual cache_image_folder N/A str N/A vi cache_image_folder N/A N/A N/A N/A mock patch object ds_util get_datastore N/A N/A N/A mock patch object N/A vmops VMwareVMOps get_datacenter_ref_and_name test_get_spawn_vm_config_info N/A N/A self N/A N/A N/A image_size N/A N/A N/A N/A self _instance root_gb N/A units Gi 2 N/A N/A N/A self _test_get_spawn_vm_config_info image_size_bytes image_size N/A test_get_spawn_vm_config_info_image_too_big N/A N/A self N/A N/A N/A image_size N/A N/A N/A N/A self _instance root_gb 1 N/A units Gi N/A N/A N/A self assertRaises N/A exception InstanceUnacceptable N/A self _test_get_spawn_vm_config_info image_size_bytes image_size N/A test_spawn N/A N/A self N/A N/A N/A N/A N/A self _test_spawn N/A test_spawn_config_drive_enabled N/A N/A self N/A N/A N/A N/A N/A self flags force_config_drive True N/A N/A N/A self _test_spawn config_drive True N/A test_spawn_with_block_device_info N/A N/A self N/A N/A N/A block_device_info N/A block_device_mapping N/A N/A boot_index connection_info mount_device 0 fake /dev/vda N/A N/A N/A self _test_spawn block_device_info block_device_info N/A test_spawn_with_block_device_info_with_config_drive N/A N/A self N/A N/A N/A N/A N/A self flags force_config_drive True N/A block_device_info N/A block_device_mapping N/A N/A boot_index connection_info mount_device 0 fake /dev/vda N/A N/A N/A self _test_spawn block_device_info block_device_info config_drive True N/A _spawn_with_block_device_info_ephemerals N/A N/A self ephemerals N/A N/A N/A block_device_info N/A ephemerals ephemerals N/A N/A N/A self _test_spawn block_device_info block_device_info N/A test_spawn_with_block_device_info_ephemerals N/A N/A self N/A N/A N/A ephemerals N/A N/A device_type disk_bus device_name size disk virtio /dev/vdb 1 N/A N/A N/A self _spawn_with_block_device_info_ephemerals ephemerals N/A test_spawn_with_block_device_info_ephemerals_no_disk_bus N/A N/A self N/A N/A N/A ephemerals N/A N/A device_type disk_bus device_name size disk None /dev/vdb 1 N/A N/A N/A self _spawn_with_block_device_info_ephemerals ephemerals N/A test_spawn_with_block_device_info_swap N/A N/A self N/A N/A N/A block_device_info N/A swap N/A disk_bus swap_size device_name None 512 /dev/sdb N/A N/A N/A self _test_spawn block_device_info block_device_info N/A test_spawn_with_ephemerals_and_swap N/A N/A self from_image get_extra_specs get_vm_config_info build_virtual_machine enlist_image fetch_image use_disk_image create_and_attach_thin_disk power_on_instance rename_vm N/A N/A N/A N/A N/A self _instance flavor N/A N/A objects Flavor vcpus 1 memory_mb 512 name m1.tiny root_gb 1 ephemeral_gb 1 swap 512 extra_specs N/A N/A extra_specs N/A N/A N/A self _vmops _get_extra_specs N/A N/A self _instance flavor N/A ephemerals N/A N/A device_type disk_bus device_name size disk None /dev/vdb 1 N/A device_type disk_bus device_name size disk None /dev/vdc 1 N/A swap N/A disk_bus swap_size device_name None 512 /dev/vdd N/A bdi N/A block_device_mapping root_device_name ephemerals swap N/A /dev/sda ephemerals swap N/A metadata N/A N/A N/A self _vmops _get_instance_metadata N/A self _context N/A self _instance N/A N/A N/A self flags enabled False group vnc N/A N/A N/A self flags flat_injected False N/A image_size N/A N/A N/A N/A self _instance root_gb N/A units Gi 2 N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size image_size N/A vi N/A get_vm_config_info return_value N/A N/A from_image return_value image_info N/A N/A build_virtual_machine return_value fake-vm-ref N/A N/A N/A N/A self _vmops spawn N/A self _context N/A self _instance N/A injected_files None admin_password None network_info N/A block_device_info bdi N/A N/A N/A from_image assert_called_once_with N/A N/A self _instance image_ref N/A N/A N/A N/A get_vm_config_info assert_called_once_with N/A self _instance image_info extra_specs N/A N/A N/A build_virtual_machine assert_called_once_with N/A self _instance image_info N/A vi dc_info N/A vi datastore N/A extra_specs metadata N/A N/A N/A enlist_image assert_called_once_with N/A image_info image_id N/A vi datastore N/A N/A vi dc_info ref N/A N/A N/A fetch_image assert_called_once_with N/A self _context vi N/A N/A N/A use_disk_image assert_called_once_with fake-vm-ref vi N/A eph0_path N/A str N/A N/A ds_obj DatastorePath N/A N/A vi datastore name N/A self _uuid ephemeral_0.vmdk N/A eph1_path N/A str N/A N/A ds_obj DatastorePath N/A N/A vi datastore name N/A self _uuid ephemeral_1.vmdk N/A swap_path N/A str N/A N/A ds_obj DatastorePath N/A N/A vi datastore name N/A self _uuid swap.vmdk N/A N/A N/A create_and_attach_thin_disk assert_has_calls N/A N/A N/A mock call N/A self _instance fake-vm-ref N/A vi dc_info N/A N/A N/A ephemerals N/A 0 N/A size N/A units Mi N/A N/A vi ii adapter_type eph0_path N/A N/A mock call N/A self _instance fake-vm-ref N/A vi dc_info N/A N/A N/A ephemerals N/A 1 N/A size N/A units Mi N/A N/A vi ii adapter_type eph1_path N/A N/A mock call N/A self _instance fake-vm-ref N/A vi dc_info N/A N/A swap N/A swap_size N/A units Ki N/A N/A vi ii adapter_type swap_path N/A N/A N/A power_on_instance assert_called_once_with N/A self _session N/A self _instance vm_ref fake-vm-ref N/A N/A N/A N/A mock patch object vm_util rename_vm N/A N/A mock patch nova.virt.vmwareapi.vm_util.power_on_instance N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_and_attach_thin_disk N/A N/A N/A mock patch object N/A vmops VMwareVMOps _use_disk_image_as_linked_clone N/A N/A N/A mock patch object N/A vmops VMwareVMOps _fetch_image_if_missing N/A N/A mock patch nova.virt.vmwareapi.imagecache.ImageCacheManager.enlist_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps build_virtual_machine N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_vm_config_info N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_extra_specs N/A N/A N/A mock patch object N/A N/A N/A N/A nova virt vmwareapi images VMwareImage from_image _get_fake_vi N/A N/A self N/A N/A N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size 7 linked_clone False N/A vi N/A N/A vmops VirtualMachineInstanceConfigInfo N/A self _instance image_info N/A self _ds N/A self _dc_info N/A N/A mock Mock N/A vi N/A test_create_and_attach_thin_disk N/A N/A self mock_create N/A N/A N/A vi N/A N/A self _get_fake_vi N/A N/A N/A self _vmops _volumeops N/A N/A mock Mock N/A mock_attach_disk_to_vm N/A N/A N/A self _vmops _volumeops attach_disk_to_vm N/A path N/A str N/A N/A ds_obj DatastorePath N/A N/A vi datastore name N/A self _uuid fake-filename N/A N/A N/A N/A self _vmops _create_and_attach_thin_disk N/A self _instance fake-vm-ref N/A vi dc_info 1 fake-adapter-type path N/A N/A N/A mock_create assert_called_once_with N/A self _session N/A N/A self _dc_info ref fake-adapter-type thin path 1 N/A N/A N/A mock_attach_disk_to_vm assert_called_once_with fake-vm-ref N/A self _instance fake-adapter-type thin path 1 False N/A N/A N/A N/A mock patch object vm_util create_virtual_disk test_create_ephemeral_with_bdi N/A N/A self N/A N/A N/A ephemerals N/A N/A device_type disk_bus device_name size disk virtio /dev/vdb 1 N/A block_device_info N/A ephemerals ephemerals N/A vi N/A N/A self _get_fake_vi N/A N/A N/A N/A mock patch object N/A self _vmops _create_and_attach_thin_disk mock_caa N/A N/A N/A N/A N/A self _vmops _create_ephemeral block_device_info N/A self _instance fake-vm-ref N/A vi dc_info N/A vi datastore N/A self _uuid N/A N/A vi ii adapter_type N/A N/A N/A mock_caa assert_called_once_with N/A self _instance fake-vm-ref N/A vi dc_info N/A 1 N/A units Mi virtio N/A [fake_ds] %s/ephemeral_0.vmdk N/A self _uuid N/A _test_create_ephemeral_from_instance N/A N/A self bdi N/A N/A N/A vi N/A N/A self _get_fake_vi N/A N/A N/A N/A mock patch object N/A self _vmops _create_and_attach_thin_disk mock_caa N/A N/A N/A N/A N/A self _vmops _create_ephemeral bdi N/A self _instance fake-vm-ref N/A vi dc_info N/A vi datastore N/A self _uuid N/A N/A vi ii adapter_type N/A N/A N/A mock_caa assert_called_once_with N/A self _instance fake-vm-ref N/A vi dc_info N/A 1 N/A units Mi N/A constants DEFAULT_ADAPTER_TYPE N/A [fake_ds] %s/ephemeral_0.vmdk N/A self _uuid N/A test_create_ephemeral_with_bdi_but_no_ephemerals N/A N/A self N/A N/A N/A block_device_info N/A ephemerals N/A N/A N/A N/A self _instance ephemeral_gb 1 N/A N/A N/A self _test_create_ephemeral_from_instance block_device_info N/A test_create_ephemeral_with_no_bdi N/A N/A self N/A N/A N/A N/A N/A self _instance ephemeral_gb 1 N/A N/A N/A self _test_create_ephemeral_from_instance None N/A _test_create_swap_from_instance N/A N/A self bdi N/A N/A N/A vi N/A N/A self _get_fake_vi N/A flavor N/A N/A objects Flavor vcpus 1 memory_mb 1024 ephemeral_gb 1 swap 1024 extra_specs N/A N/A N/A N/A self _instance flavor flavor N/A N/A N/A N/A mock patch object N/A self _vmops _create_and_attach_thin_disk create_and_attach N/A N/A N/A N/A N/A self _vmops _create_swap bdi N/A self _instance fake-vm-ref N/A vi dc_info N/A vi datastore N/A self _uuid lsiLogic N/A size N/A N/A flavor swap N/A units Ki N/A N/A bdi None N/A N/A swap N/A N/A bdi get swap N/A N/A size N/A N/A N/A swap get swap_size 0 N/A units Ki N/A path N/A str N/A N/A ds_obj DatastorePath N/A N/A vi datastore name N/A self _uuid swap.vmdk N/A N/A N/A create_and_attach assert_called_once_with N/A self _instance fake-vm-ref N/A vi dc_info size lsiLogic path N/A test_create_swap_with_bdi N/A N/A self N/A N/A N/A block_device_info N/A swap N/A disk_bus swap_size device_name None 512 /dev/sdb N/A N/A N/A self _test_create_swap_from_instance block_device_info N/A test_create_swap_with_no_bdi N/A N/A self N/A N/A N/A N/A N/A self _test_create_swap_from_instance None N/A test_build_virtual_machine N/A N/A self mock_create_folder N/A N/A N/A image_id N/A N/A N/A N/A N/A N/A nova tests unit image fake get_valid_image_id N/A image N/A N/A images VMwareImage image_id image_id N/A extra_specs N/A N/A vm_util ExtraSpecs N/A vm_ref N/A N/A N/A self _vmops build_virtual_machine N/A self _instance image N/A self _dc_info N/A self _ds N/A self network_info extra_specs N/A self _metadata N/A vm N/A N/A vmwareapi_fake _get_object vm_ref N/A N/A N/A self assertEqual N/A N/A self _instance uuid N/A vm name N/A N/A N/A self assertEqual N/A N/A self _instance uuid N/A N/A vm get summary.config.instanceUuid N/A N/A N/A self assertEqual N/A N/A self _instance_values N/A vcpus N/A N/A vm get summary.config.numCpu N/A N/A N/A self assertEqual N/A N/A self _instance_values N/A memory_mb N/A N/A vm get summary.config.memorySizeMB N/A optval N/A N/A N/A vm get config.extraConfig OptionValue N/A N/A N/A N/A optval key nvp.vm-uuid N/A N/A N/A N/A self assertEqual N/A N/A self _instance_values N/A uuid N/A optval value N/A N/A N/A N/A N/A self fail nvp.vm-uuid not found in extraConfig N/A datastores N/A N/A vm datastore ManagedObjectReference N/A N/A N/A self assertEqual 1 N/A len datastores N/A datastore N/A N/A vmwareapi_fake _get_object N/A datastores N/A 0 N/A N/A N/A self assertEqual N/A N/A self _ds name N/A N/A datastore get summary.name N/A devices N/A N/A N/A vm get config.hardware.device VirtualDevice N/A device devices N/A N/A N/A N/A device obj_name ns0:VirtualE1000 N/A N/A N/A N/A N/A self assertEqual N/A N/A self _network_values N/A address N/A device macAddress N/A N/A N/A N/A N/A self fail NIC not configured N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps _create_folders return_value fake_vm_folder test_spawn_cpu_limit N/A N/A self N/A N/A N/A cpu_limits N/A N/A vm_util Limits limit 7 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_cpu_reservation N/A N/A self N/A N/A N/A cpu_limits N/A N/A vm_util Limits reservation 7 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_cpu_allocations N/A N/A self N/A N/A N/A cpu_limits N/A N/A vm_util Limits limit 7 reservation 6 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_cpu_shares_level N/A N/A self N/A N/A N/A cpu_limits N/A N/A vm_util Limits shares_level high N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_cpu_shares_custom N/A N/A self N/A N/A N/A cpu_limits N/A N/A vm_util Limits shares_level custom shares_share 1948 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_memory_limit N/A N/A self N/A N/A N/A memory_limits N/A N/A vm_util Limits limit 7 N/A extra_specs N/A N/A vm_util ExtraSpecs memory_limits memory_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_memory_reservation N/A N/A self N/A N/A N/A memory_limits N/A N/A vm_util Limits reservation 7 N/A extra_specs N/A N/A vm_util ExtraSpecs memory_limits memory_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_memory_allocations N/A N/A self N/A N/A N/A memory_limits N/A N/A vm_util Limits limit 7 reservation 6 N/A extra_specs N/A N/A vm_util ExtraSpecs memory_limits memory_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_memory_shares_level N/A N/A self N/A N/A N/A memory_limits N/A N/A vm_util Limits shares_level high N/A extra_specs N/A N/A vm_util ExtraSpecs memory_limits memory_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_memory_shares_custom N/A N/A self N/A N/A N/A memory_limits N/A N/A vm_util Limits shares_level custom shares_share 1948 N/A extra_specs N/A N/A vm_util ExtraSpecs memory_limits memory_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_vif_limit N/A N/A self N/A N/A N/A vif_limits N/A N/A vm_util Limits limit 7 N/A extra_specs N/A N/A vm_util ExtraSpecs vif_limits vif_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_vif_reservation N/A N/A self N/A N/A N/A vif_limits N/A N/A vm_util Limits reservation 7 N/A extra_specs N/A N/A vm_util ExtraSpecs vif_limits vif_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_vif_shares_level N/A N/A self N/A N/A N/A vif_limits N/A N/A vm_util Limits shares_level high N/A extra_specs N/A N/A vm_util ExtraSpecs vif_limits vif_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A test_spawn_vif_shares_custom N/A N/A self N/A N/A N/A vif_limits N/A N/A vm_util Limits shares_level custom shares_share 1948 N/A extra_specs N/A N/A vm_util ExtraSpecs vif_limits vif_limits N/A N/A N/A self _test_spawn extra_specs extra_specs N/A _validate_extra_specs N/A N/A self expected actual N/A N/A N/A N/A N/A self assertEqual N/A N/A expected cpu_limits limit N/A N/A actual cpu_limits limit N/A N/A N/A self assertEqual N/A N/A expected cpu_limits reservation N/A N/A actual cpu_limits reservation N/A N/A N/A self assertEqual N/A N/A expected cpu_limits shares_level N/A N/A actual cpu_limits shares_level N/A N/A N/A self assertEqual N/A N/A expected cpu_limits shares_share N/A N/A actual cpu_limits shares_share N/A _validate_flavor_extra_specs N/A N/A self flavor_extra_specs expected N/A N/A N/A flavor N/A N/A objects Flavor name my-flavor memory_mb 6 vcpus 28 root_gb 496 ephemeral_gb 8128 swap 33550336 extra_specs flavor_extra_specs N/A flavor_extra_specs N/A N/A N/A self _vmops _get_extra_specs flavor None N/A N/A N/A self _validate_extra_specs expected flavor_extra_specs N/A test_extra_specs_cpu_limit N/A N/A self N/A N/A N/A flavor_extra_specs N/A quota:cpu_limit 7 N/A cpu_limits N/A N/A vm_util Limits limit 7 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _validate_flavor_extra_specs flavor_extra_specs extra_specs N/A test_extra_specs_cpu_reservations N/A N/A self N/A N/A N/A flavor_extra_specs N/A quota:cpu_reservation 7 N/A cpu_limits N/A N/A vm_util Limits reservation 7 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _validate_flavor_extra_specs flavor_extra_specs extra_specs N/A test_extra_specs_cpu_allocations N/A N/A self N/A N/A N/A flavor_extra_specs N/A quota:cpu_limit quota:cpu_reservation 7 6 N/A cpu_limits N/A N/A vm_util Limits limit 7 reservation 6 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _validate_flavor_extra_specs flavor_extra_specs extra_specs N/A test_extra_specs_cpu_shares_level N/A N/A self N/A N/A N/A flavor_extra_specs N/A quota:cpu_shares_level high N/A cpu_limits N/A N/A vm_util Limits shares_level high N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _validate_flavor_extra_specs flavor_extra_specs extra_specs N/A test_extra_specs_cpu_shares_custom N/A N/A self N/A N/A N/A flavor_extra_specs N/A quota:cpu_shares_level quota:cpu_shares_share custom 1948 N/A cpu_limits N/A N/A vm_util Limits shares_level custom shares_share 1948 N/A extra_specs N/A N/A vm_util ExtraSpecs cpu_limits cpu_limits N/A N/A N/A self _validate_flavor_extra_specs flavor_extra_specs extra_specs N/A _make_vm_config_info N/A N/A self is_iso is_sparse_disk N/A False False N/A N/A disk_type N/A is_sparse_disk N/A constants DISK_TYPE_SPARSE N/A constants DEFAULT_DISK_TYPE N/A file_type N/A is_iso N/A constants DISK_FORMAT_ISO N/A constants DEFAULT_DISK_FORMAT N/A image_info N/A N/A images VMwareImage image_id N/A self _image_id file_size N/A 10 N/A units Mi file_type file_type disk_type disk_type linked_clone True N/A cache_root_folder N/A N/A N/A self _ds build_path vmware_base N/A self _image_id N/A mock_imagecache N/A N/A mock Mock N/A N/A N/A mock_imagecache get_image_cache_folder return_value cache_root_folder N/A vi N/A N/A vmops VirtualMachineInstanceConfigInfo N/A self _instance image_info N/A self _ds N/A self _dc_info mock_imagecache N/A vi N/A _test_fetch_image_if_missing N/A N/A self mock_delete_datastore_file mock_cache_flat_image mock_cache_sparse_image mock_cache_iso_image mock_prepare_flat_image mock_prepare_sparse_image mock_prepare_iso_image mock_fetch_image_as_file mock_check_cache_folder is_iso is_sparse_disk N/A False False N/A N/A tmp_dir_path N/A N/A mock Mock N/A tmp_image_path N/A N/A mock Mock N/A is_iso N/A N/A mock_prepare mock_prepare_iso_image N/A mock_cache mock_cache_iso_image N/A N/A is_sparse_disk N/A N/A mock_prepare mock_prepare_sparse_image N/A mock_cache mock_cache_sparse_image N/A N/A mock_prepare mock_prepare_flat_image N/A mock_cache mock_cache_flat_image N/A N/A mock_prepare return_value N/A tmp_dir_path tmp_image_path N/A vi N/A N/A self _make_vm_config_info is_iso is_sparse_disk N/A N/A N/A N/A self _vmops _fetch_image_if_missing N/A self _context vi N/A N/A N/A mock_check_cache_folder assert_called_once_with N/A N/A self _ds name N/A N/A self _ds ref N/A N/A N/A mock_prepare assert_called_once_with vi N/A N/A N/A mock_fetch_image_as_file assert_called_once_with N/A self _context vi tmp_image_path N/A N/A N/A mock_cache assert_called_once_with vi tmp_image_path N/A N/A N/A mock_delete_datastore_file assert_called_once_with N/A str tmp_dir_path N/A N/A self _dc_info ref N/A N/A N/A N/A mock patch object N/A vmops VMwareVMOps check_cache_folder N/A N/A N/A mock patch object N/A vmops VMwareVMOps _fetch_image_as_file N/A N/A N/A mock patch object N/A vmops VMwareVMOps _prepare_iso_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _prepare_sparse_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _prepare_flat_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _cache_iso_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _cache_sparse_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _cache_flat_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _delete_datastore_file test_fetch_image_if_missing N/A N/A self N/A N/A N/A N/A N/A self _test_fetch_image_if_missing N/A test_fetch_image_if_missing_with_sparse N/A N/A self N/A N/A N/A N/A N/A self _test_fetch_image_if_missing is_sparse_disk True N/A test_fetch_image_if_missing_with_iso N/A N/A self N/A N/A N/A N/A N/A self _test_fetch_image_if_missing is_iso True N/A test_get_esx_host_and_cookies N/A N/A self N/A N/A N/A datastore N/A N/A mock Mock N/A N/A N/A datastore get_connected_hosts return_value N/A fira-host N/A file_path N/A N/A mock Mock fake_invoke N/A N/A module method N/A args kwargs N/A N/A N/A method AcquireGenericServiceTicket N/A N/A ticket N/A N/A mock Mock N/A N/A ticket id fira-ticket N/A ticket N/A N/A N/A method get_object_property N/A N/A fira-host N/A N/A N/A N/A N/A mock patch object N/A self _session invoke_api fake_invoke N/A N/A result N/A N/A N/A self _vmops _get_esx_host_and_cookies datastore ha-datacenter file_path N/A N/A N/A self assertEqual fira-host N/A result N/A 0 N/A cookies N/A result N/A 1 N/A N/A N/A self assertEqual 1 N/A len cookies N/A N/A N/A self assertEqual vmware_cgi_ticket N/A N/A cookies N/A 0 name N/A N/A N/A self assertEqual "fira-ticket" N/A N/A cookies N/A 0 value N/A test_fetch_image_as_file N/A N/A self mock_get_esx_host_and_cookies mock_fetch_image N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A image_ds_loc N/A N/A mock Mock N/A host N/A N/A mock Mock N/A dc_name ha-datacenter N/A cookies N/A N/A mock Mock N/A N/A mock_get_esx_host_and_cookies return_value N/A host cookies N/A N/A N/A N/A self _vmops _fetch_image_as_file N/A self _context vi image_ds_loc N/A N/A N/A mock_get_esx_host_and_cookies assert_called_once_with N/A vi datastore dc_name N/A image_ds_loc rel_path N/A N/A N/A mock_fetch_image assert_called_once_with N/A self _context N/A vi instance host N/A N/A self _session _port dc_name N/A N/A self _ds name N/A image_ds_loc rel_path cookies cookies N/A N/A N/A N/A mock patch object images fetch_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_esx_host_and_cookies test_fetch_image_as_file_exception N/A N/A self mock_get_esx_host_and_cookies mock_fetch_image mock_get_inventory_path N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A image_ds_loc N/A N/A mock Mock N/A dc_name ha-datacenter N/A N/A mock_get_esx_host_and_cookies side_effect N/A N/A exception HostNotFound host N/A N/A mock_get_inventory_path return_value N/A N/A self _dc_info name N/A N/A N/A N/A self _vmops _fetch_image_as_file N/A self _context vi image_ds_loc N/A N/A N/A mock_get_esx_host_and_cookies assert_called_once_with N/A vi datastore dc_name N/A image_ds_loc rel_path N/A N/A N/A mock_fetch_image assert_called_once_with N/A self _context N/A vi instance N/A N/A self _session _host N/A N/A self _session _port N/A N/A self _dc_info name N/A N/A self _ds name N/A image_ds_loc rel_path cookies Fake-CookieJar N/A N/A N/A N/A mock patch object vutil get_inventory_path N/A N/A N/A mock patch object images fetch_image N/A N/A N/A mock patch object N/A vmops VMwareVMOps _get_esx_host_and_cookies test_fetch_image_as_vapp N/A N/A self mock_fetch_image N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A image_ds_loc N/A N/A mock Mock N/A N/A N/A image_ds_loc parent basename fake-name N/A N/A N/A N/A self _vmops _fetch_image_as_vapp N/A self _context vi image_ds_loc N/A N/A N/A mock_fetch_image assert_called_once_with N/A self _context N/A vi instance N/A self _session fake-name N/A N/A self _ds name N/A N/A vi dc_info vmFolder N/A N/A self _vmops _root_resource_pool N/A N/A N/A self assertEqual N/A N/A vi ii file_size 123 N/A N/A N/A N/A mock patch object images fetch_image_stream_optimized return_value 123 test_fetch_image_as_ova N/A N/A self mock_fetch_image N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A image_ds_loc N/A N/A mock Mock N/A N/A N/A image_ds_loc parent basename fake-name N/A N/A N/A N/A self _vmops _fetch_image_as_ova N/A self _context vi image_ds_loc N/A N/A N/A mock_fetch_image assert_called_once_with N/A self _context N/A vi instance N/A self _session fake-name N/A N/A self _ds name N/A N/A vi dc_info vmFolder N/A N/A self _vmops _root_resource_pool N/A N/A N/A self assertEqual N/A N/A vi ii file_size 123 N/A N/A N/A N/A mock patch object images fetch_image_ova return_value 123 test_prepare_iso_image N/A N/A self mock_generate_uuid N/A N/A N/A vi N/A N/A self _make_vm_config_info is_iso True N/A N/A tmp_dir_loc tmp_image_ds_loc N/A N/A N/A self _vmops _prepare_iso_image vi N/A expected_tmp_dir_path N/A [%s] vmware_temp/tmp-uuid N/A N/A self _ds name N/A expected_image_path N/A [%s] vmware_temp/tmp-uuid/%s/%s.iso N/A N/A N/A self _ds name N/A self _image_id N/A self _image_id N/A N/A N/A self assertEqual N/A str tmp_dir_loc expected_tmp_dir_path N/A N/A N/A self assertEqual N/A str tmp_image_ds_loc expected_image_path N/A N/A N/A N/A mock patch object uuidutils generate_uuid return_value tmp-uuid test_prepare_sparse_image N/A N/A self mock_generate_uuid N/A N/A N/A vi N/A N/A self _make_vm_config_info is_sparse_disk True N/A N/A tmp_dir_loc tmp_image_ds_loc N/A N/A N/A self _vmops _prepare_sparse_image vi N/A expected_tmp_dir_path N/A [%s] vmware_temp/tmp-uuid N/A N/A self _ds name N/A expected_image_path N/A [%s] vmware_temp/tmp-uuid/%s/%s N/A N/A N/A self _ds name N/A self _image_id tmp-sparse.vmdk N/A N/A N/A self assertEqual N/A str tmp_dir_loc expected_tmp_dir_path N/A N/A N/A self assertEqual N/A str tmp_image_ds_loc expected_image_path N/A N/A N/A N/A mock patch object uuidutils generate_uuid return_value tmp-uuid test_prepare_flat_image N/A N/A self mock_generate_uuid mock_delete_datastore_file mock_create_virtual_disk mock_mkdir N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A N/A tmp_dir_loc tmp_image_ds_loc N/A N/A N/A self _vmops _prepare_flat_image vi N/A expected_tmp_dir_path N/A [%s] vmware_temp/tmp-uuid N/A N/A self _ds name N/A expected_image_path N/A [%s] vmware_temp/tmp-uuid/%s/%s-flat.vmdk N/A N/A N/A self _ds name N/A self _image_id N/A self _image_id N/A expected_image_path_parent N/A [%s] vmware_temp/tmp-uuid/%s N/A N/A N/A self _ds name N/A self _image_id N/A expected_path_to_create N/A [%s] vmware_temp/tmp-uuid/%s/%s.vmdk N/A N/A N/A self _ds name N/A self _image_id N/A self _image_id N/A N/A N/A mock_mkdir assert_called_once_with N/A self _session N/A DsPathMatcher expected_image_path_parent N/A N/A self _dc_info ref N/A N/A N/A self assertEqual N/A str tmp_dir_loc expected_tmp_dir_path N/A N/A N/A self assertEqual N/A str tmp_image_ds_loc expected_image_path N/A image_info N/A vi ii N/A N/A N/A mock_create_virtual_disk assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A image_info adapter_type N/A image_info disk_type N/A DsPathMatcher expected_path_to_create N/A image_info file_size_in_kb N/A N/A N/A mock_delete_datastore_file assert_called_once_with N/A DsPathMatcher expected_image_path N/A N/A self _dc_info ref N/A N/A N/A N/A mock patch object ds_util mkdir N/A N/A N/A mock patch object vm_util create_virtual_disk N/A N/A N/A mock patch object N/A vmops VMwareVMOps _delete_datastore_file N/A N/A N/A mock patch object uuidutils generate_uuid return_value tmp-uuid test_cache_iso_image N/A N/A self mock_file_move N/A N/A N/A vi N/A N/A self _make_vm_config_info is_iso True N/A tmp_image_ds_loc N/A N/A mock Mock N/A N/A N/A N/A self _vmops _cache_iso_image vi tmp_image_ds_loc N/A N/A N/A mock_file_move assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A tmp_image_ds_loc parent N/A DsPathMatcher N/A [fake_ds] vmware_base/%s N/A self _image_id N/A N/A N/A N/A mock patch object ds_util file_move test_cache_flat_image N/A N/A self mock_file_move N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A tmp_image_ds_loc N/A N/A mock Mock N/A N/A N/A N/A self _vmops _cache_flat_image vi tmp_image_ds_loc N/A N/A N/A mock_file_move assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A tmp_image_ds_loc parent N/A DsPathMatcher N/A [fake_ds] vmware_base/%s N/A self _image_id N/A N/A N/A N/A mock patch object ds_util file_move test_cache_stream_optimized_image N/A N/A self mock_mkdir mock_disk_move N/A N/A N/A vi N/A N/A self _make_vm_config_info N/A N/A N/A N/A self _vmops _cache_stream_optimized_image vi N/A N/A mock sentinel tmp_image N/A N/A N/A mock_mkdir assert_called_once_with N/A self _session N/A DsPathMatcher N/A [fake_ds] vmware_base/%s N/A self _image_id N/A N/A self _dc_info ref N/A N/A N/A mock_disk_move assert_called_once_with N/A self _session N/A N/A self _dc_info ref N/A N/A mock sentinel tmp_image N/A DsPathMatcher N/A [fake_ds] vmware_base/%s/%s.vmdk N/A N/A self _image_id N/A self _image_id N/A N/A N/A N/A mock patch object ds_util disk_move N/A N/A N/A mock patch object ds_util mkdir test_cache_sparse_image N/A N/A self mock_update_image_size mock_delete_datastore_file mock_copy_virtual_disk mock_file_move N/A N/A N/A vi N/A N/A self _make_vm_config_info is_sparse_disk True N/A sparse_disk_path N/A [%s] vmware_temp/tmp-uuid/%s/tmp-sparse.vmdk N/A N/A N/A self _ds name N/A self _image_id N/A tmp_image_ds_loc N/A N/A N/A ds_obj DatastorePath parse sparse_disk_path N/A N/A N/A N/A self _vmops _cache_sparse_image vi tmp_image_ds_loc N/A target_disk_path N/A [%s] vmware_temp/tmp-uuid/%s/%s.vmdk N/A N/A N/A self _ds name N/A self _image_id N/A self _image_id N/A N/A N/A mock_copy_virtual_disk assert_called_once_with N/A self _session N/A N/A self _dc_info ref sparse_disk_path N/A DsPathMatcher target_disk_path N/A N/A N/A mock_update_image_size assert_called_once_with vi N/A N/A N/A N/A mock patch object ds_util file_move N/A N/A N/A mock patch object vm_util copy_virtual_disk N/A N/A N/A mock patch object N/A vmops VMwareVMOps _delete_datastore_file N/A N/A N/A mock patch object N/A vmops VMwareVMOps _update_image_size test_get_storage_policy_none N/A N/A self N/A N/A N/A flavor N/A N/A objects Flavor name m1.small memory_mb 6 vcpus 28 root_gb 496 ephemeral_gb 8128 swap 33550336 extra_specs N/A N/A N/A N/A self flags pbm_enabled True pbm_default_policy fake-policy group vmware N/A extra_specs N/A N/A N/A self _vmops _get_extra_specs flavor None N/A N/A N/A self assertEqual fake-policy N/A extra_specs storage_policy N/A test_get_storage_policy_extra_specs N/A N/A self N/A N/A N/A extra_specs N/A vmware:storage_policy flavor-policy N/A flavor N/A N/A objects Flavor name m1.small memory_mb 6 vcpus 28 root_gb 496 ephemeral_gb 8128 swap 33550336 extra_specs extra_specs N/A N/A N/A self flags pbm_enabled True pbm_default_policy default-policy group vmware N/A extra_specs N/A N/A N/A self _vmops _get_extra_specs flavor None N/A N/A N/A self assertEqual flavor-policy N/A extra_specs storage_policy N/A test_get_base_folder_not_set N/A N/A self N/A N/A N/A N/A N/A self flags image_cache_subdirectory_name vmware_base N/A base_folder N/A N/A N/A self _vmops _get_base_folder N/A N/A N/A self assertEqual vmware_base base_folder N/A test_get_base_folder_host_ip N/A N/A self N/A N/A N/A N/A N/A self flags my_ip 7.7.7.7 image_cache_subdirectory_name _base N/A base_folder N/A N/A N/A self _vmops _get_base_folder N/A N/A N/A self assertEqual 7.7.7.7_base base_folder N/A test_get_base_folder_cache_prefix N/A N/A self N/A N/A N/A N/A N/A self flags cache_prefix my_prefix group vmware N/A N/A N/A self flags image_cache_subdirectory_name _base N/A base_folder N/A N/A N/A self _vmops _get_base_folder N/A N/A N/A self assertEqual my_prefix_base base_folder N/A _test_reboot_vm N/A N/A self reboot_type N/A SOFT N/A N/A expected_methods N/A get_object_properties_dict N/A N/A reboot_type SOFT N/A N/A N/A N/A expected_methods append RebootGuest N/A N/A N/A N/A expected_methods append ResetVM_Task N/A query N/A N/A N/A query N/A runtime.powerState poweredOn N/A N/A query N/A summary.guest.toolsStatus toolsOk N/A N/A query N/A summary.guest.toolsRunningStatus guestToolsRunning fake_call_method N/A N/A module method N/A args kwargs N/A N/A expected_method N/A N/A expected_methods pop 0 N/A N/A N/A self assertEqual expected_method method N/A N/A expected_method get_object_properties_dict N/A N/A query N/A N/A N/A expected_method ResetVM_Task N/A N/A fake-task N/A N/A N/A N/A test nested N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-vm-ref N/A N/A N/A mock patch object N/A self _session _call_method fake_call_method N/A N/A N/A mock patch object N/A self _session _wait_for_task N/A _get_vm_ref fake_call_method _wait_for_task N/A N/A N/A N/A N/A self _vmops reboot N/A self _instance N/A self network_info reboot_type N/A N/A N/A _get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A reboot_type HARD N/A N/A N/A N/A _wait_for_task assert_has_calls N/A N/A N/A mock call fake-task N/A test_reboot_vm_soft N/A N/A self N/A N/A N/A N/A N/A self _test_reboot_vm N/A test_reboot_vm_hard N/A N/A self N/A N/A N/A N/A N/A self _test_reboot_vm reboot_type HARD N/A test_get_instance_metadata N/A N/A self N/A N/A N/A flavor N/A N/A objects Flavor id 7 name m1.small memory_mb 6 vcpus 28 root_gb 496 ephemeral_gb 8128 swap 33550336 extra_specs N/A N/A N/A N/A self _instance flavor flavor N/A metadata N/A N/A N/A self _vmops _get_instance_metadata N/A self _context N/A self _instance N/A expected N/A name:fake_display_name
userid:fake_user
username:None
projectid:fake_project
projectname:None
flavor:name:m1.small
flavor:memory_mb:6
flavor:vcpus:28
flavor:ephemeral_gb:8128
flavor:root_gb:496
flavor:swap:33550336
imageid:70a599e0-31e7-49b7-b260-868f441e862b
package:%s
 N/A N/A version version_string_with_package N/A N/A N/A self assertEqual expected metadata N/A test_attach_interface N/A N/A self mock_get_vm_ref mock_get_attach_port_index mock_get_network_attach_config_spec mock_reconfigure_vm N/A N/A N/A _network_api N/A N/A mock Mock N/A N/A N/A self _vmops _network_api _network_api N/A vif_info N/A N/A vif get_vif_dict N/A self _session N/A self _cluster VirtualE1000 N/A N/A utils is_neutron N/A self _network_values N/A N/A N/A N/A self _vmops attach_interface N/A self _instance N/A self _image_meta N/A self _network_values N/A N/A N/A mock_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A mock_get_attach_port_index N/A self _session fake-ref N/A N/A N/A mock_get_network_attach_config_spec assert_called_once_with N/A N/A N/A N/A self _session vim client factory vif_info 1 N/A N/A N/A mock_reconfigure_vm assert_called_once_with N/A self _session fake-ref fake-attach-spec N/A N/A N/A _network_api update_instance_vnic_index N/A mock ANY N/A self _instance N/A self _network_values 1 N/A N/A N/A N/A mock patch object vm_util reconfigure_vm N/A N/A N/A mock patch object vm_util get_network_attach_config_spec return_value fake-attach-spec N/A N/A N/A mock patch object vm_util get_attach_port_index return_value 1 N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref test_detach_interface N/A N/A self mock_get_vm_ref mock_get_detach_port_index mock_get_network_detach_config_spec mock_reconfigure_vm mock_get_network_device N/A N/A N/A _network_api N/A N/A mock Mock N/A N/A N/A self _vmops _network_api _network_api N/A N/A N/A N/A mock patch object N/A self _session _call_method return_value hardware-devices N/A N/A N/A N/A N/A self _vmops detach_interface N/A self _instance N/A self _network_values N/A N/A N/A mock_get_vm_ref assert_called_once_with N/A self _session N/A self _instance N/A N/A mock_get_detach_port_index N/A self _session fake-ref N/A N/A N/A mock_get_network_detach_config_spec assert_called_once_with N/A N/A N/A N/A self _session vim client factory device 1 N/A N/A N/A mock_reconfigure_vm assert_called_once_with N/A self _session fake-ref fake-detach-spec N/A N/A N/A _network_api update_instance_vnic_index N/A mock ANY N/A self _instance N/A self _network_values None N/A N/A N/A N/A mock patch object vif get_network_device return_value device N/A N/A N/A mock patch object vm_util reconfigure_vm N/A N/A N/A mock patch object vm_util get_network_detach_config_spec return_value fake-detach-spec N/A N/A N/A mock patch object vm_util get_vm_detach_port_index return_value 1 N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref test_get_mks_console N/A N/A self mock_get_vm_ref N/A N/A N/A ticket N/A N/A mock MagicMock N/A N/A ticket host esx1 N/A N/A ticket port 902 N/A N/A ticket ticket fira N/A N/A ticket sslThumbprint aa:bb:cc:dd:ee:ff N/A N/A ticket cfgFile [ds1] fira/foo.vmx N/A N/A N/A N/A mock patch object N/A self _session _call_method return_value ticket N/A N/A console N/A N/A N/A self _vmops get_mks_console N/A self _instance N/A N/A N/A self assertEqual esx1 N/A console host N/A N/A N/A self assertEqual 902 N/A console port N/A path N/A N/A jsonutils loads N/A console internal_access_path N/A N/A N/A self assertEqual fira N/A path N/A ticket N/A N/A N/A self assertEqual aabbccddeeff N/A path N/A thumbprint N/A N/A N/A self assertEqual [ds1] fira/foo.vmx N/A path N/A cfgFile N/A N/A N/A N/A mock patch object vm_util get_vm_ref return_value fake-ref test_get_cores_per_socket N/A N/A self N/A N/A N/A extra_specs N/A hw:cpu_sockets 7 N/A flavor N/A N/A objects Flavor name m1.small memory_mb 6 vcpus 28 root_gb 496 ephemeral_gb 8128 swap 33550336 extra_specs extra_specs N/A extra_specs N/A N/A N/A self _vmops _get_extra_specs flavor None N/A N/A N/A self assertEqual 4 N/A int N/A extra_specs cores_per_socket N/A test_get_folder_name N/A N/A self N/A N/A N/A uuid N/A N/A uuidutils generate_uuid N/A name fira N/A expected N/A fira (%s) uuid N/A folder_name N/A N/A N/A self _vmops _get_folder_name name uuid N/A N/A N/A self assertEqual expected folder_name N/A name N/A X 255 N/A expected N/A %s (%s) N/A N/A X 40 uuid N/A folder_name N/A N/A N/A self _vmops _get_folder_name name uuid N/A N/A N/A self assertEqual expected folder_name N/A N/A N/A self assertEqual 79 N/A len folder_name N/A N/A