Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index Str Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Dict Str Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore Dict Str Str Str Str Str Str Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Dict Str Str Str Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore Dict Str Str Str Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Str NameLoad Assign NameStore BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Str Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore Dict Str Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad Call NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad Call NameLoad attr attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad decorator_list
N/A N/A Test class for common methods used by iLO modules. N/A hashlib N/A os N/A shutil N/A tempfile ironic_lib utils ironic_utils N/A mock oslo_config cfg oslo_utils importutils N/A six N/A six.moves.builtins __builtin__ ironic.common boot_devices ironic.common exception ironic.common images ironic.common swift ironic.conductor task_manager ironic.conductor utils manager_utils ironic.drivers.modules deploy_utils ironic.drivers.modules.ilo common ilo_common ironic.tests.unit.conductor mgr_utils ironic.tests.unit.db base db_base ironic.tests.unit.db utils db_utils ironic.tests.unit.objects utils obj_utils N/A ilo_client N/A N/A importutils try_import proliantutils.ilo.client N/A ilo_error N/A N/A importutils try_import proliantutils.exception N/A N/A six PY3 N/A N/A io N/A file N/A io BytesIO N/A CONF N/A cfg CONF IloValidateParametersTestCase N/A N/A db_base DbTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super IloValidateParametersTestCase self setUp N/A N/A self node N/A N/A obj_utils create_test_node N/A self context driver fake_ilo driver_info N/A N/A db_utils get_test_ilo_info N/A test_parse_driver_info N/A N/A self N/A N/A N/A info N/A N/A ilo_common parse_driver_info N/A self node N/A N/A N/A self assertIsNotNone N/A N/A info get ilo_address N/A N/A N/A self assertIsNotNone N/A N/A info get ilo_username N/A N/A N/A self assertIsNotNone N/A N/A info get ilo_password N/A N/A N/A self assertIsNotNone N/A N/A info get client_timeout N/A N/A N/A self assertIsNotNone N/A N/A info get client_port N/A test_parse_driver_info_missing_address N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A ilo_address N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ilo_common parse_driver_info N/A self node N/A test_parse_driver_info_missing_username N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A ilo_username N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ilo_common parse_driver_info N/A self node N/A test_parse_driver_info_missing_password N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A ilo_password N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ilo_common parse_driver_info N/A self node N/A test_parse_driver_info_invalid_timeout N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A client_timeout qwe N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ilo_common parse_driver_info N/A self node N/A test_parse_driver_info_invalid_port N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A client_port qwe N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ilo_common parse_driver_info N/A self node N/A N/A N/A N/A self node driver_info N/A client_port 65536 N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ilo_common parse_driver_info N/A self node N/A N/A N/A N/A self node driver_info N/A console_port invalid N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ilo_common parse_driver_info N/A self node N/A N/A N/A N/A self node driver_info N/A console_port -1 N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ilo_common parse_driver_info N/A self node N/A test_parse_driver_info_missing_multiple_params N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A ilo_password N/A N/A N/A N/A self node driver_info N/A ilo_address N/A N/A N/A N/A N/A ilo_common parse_driver_info N/A self node N/A N/A N/A self fail parse_driver_info did not throw exception. N/A N/A N/A N/A exception MissingParameterValue N/A e N/A N/A N/A N/A self assertIn ilo_password N/A str e N/A N/A N/A self assertIn ilo_address N/A str e N/A test_parse_driver_info_invalid_multiple_params N/A N/A self N/A N/A N/A N/A N/A N/A self node driver_info N/A client_timeout qwe N/A N/A N/A N/A N/A ilo_common parse_driver_info N/A self node N/A N/A N/A self fail parse_driver_info did not throw exception. N/A N/A N/A N/A exception InvalidParameterValue N/A e N/A N/A N/A N/A self assertIn client_timeout N/A str e N/A N/A IloCommonMethodsTestCase N/A N/A db_base DbTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super IloCommonMethodsTestCase self setUp N/A N/A N/A mgr_utils mock_the_extension_manager driver fake_ilo N/A N/A self info N/A N/A db_utils get_test_ilo_info N/A N/A self node N/A N/A obj_utils create_test_node N/A self context driver fake_ilo driver_info N/A self info N/A test_get_ilo_object N/A N/A self ilo_client_mock N/A N/A N/A N/A N/A self info N/A client_timeout 60 N/A N/A N/A self info N/A client_port 443 N/A N/A ilo_client_mock return_value ilo_object N/A returned_ilo_object N/A N/A ilo_common get_ilo_object N/A self node N/A N/A N/A ilo_client_mock assert_called_with N/A N/A self info N/A ilo_address N/A N/A self info N/A ilo_username N/A N/A self info N/A ilo_password N/A N/A self info N/A client_timeout N/A N/A self info N/A client_port N/A N/A N/A self assertEqual ilo_object returned_ilo_object N/A N/A N/A N/A mock patch object ilo_client IloClient spec_set True autospec True test_get_ilo_license N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_advanced_license N/A LICENSE_TYPE iLO 3 Advanced N/A ilo_standard_license N/A LICENSE_TYPE iLO 3 N/A ilo_mock_object N/A get_ilo_object_mock return_value N/A N/A N/A ilo_mock_object get_all_licenses return_value ilo_advanced_license N/A license N/A N/A ilo_common get_ilo_license N/A self node N/A N/A N/A self assertEqual N/A ilo_common ADVANCED_LICENSE license N/A N/A N/A ilo_mock_object get_all_licenses return_value ilo_standard_license N/A license N/A N/A ilo_common get_ilo_license N/A self node N/A N/A N/A self assertEqual N/A ilo_common STANDARD_LICENSE license N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_get_ilo_license_fail N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_object N/A get_ilo_object_mock return_value N/A exc N/A N/A ilo_error IloError error N/A N/A N/A ilo_mock_object get_all_licenses side_effect exc N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common get_ilo_license N/A self node N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_update_ipmi_properties N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A ipmi_info N/A ipmi_address ipmi_username ipmi_password ipmi_terminal_port 1.2.3.4 admin fake 60 N/A N/A N/A self info N/A console_port 60 N/A N/A N/A task node driver_info N/A self info N/A N/A N/A ilo_common update_ipmi_properties task N/A actual_info N/A N/A task node driver_info N/A expected_info N/A dict N/A self info ipmi_info N/A N/A N/A self assertEqual expected_info actual_info N/A test__get_floppy_image_name N/A N/A self N/A N/A N/A image_name_expected N/A image- N/A N/A self node uuid N/A image_name_actual N/A N/A ilo_common _get_floppy_image_name N/A self node N/A N/A N/A self assertEqual image_name_expected image_name_actual N/A test__prepare_floppy_image N/A N/A self tempfile_mock fatimage_mock swift_api_mock N/A N/A N/A mock_image_file_handle N/A N/A mock MagicMock spec file N/A mock_image_file_obj N/A N/A mock MagicMock spec file N/A N/A mock_image_file_obj name image-tmp-file N/A N/A N/A mock_image_file_handle __enter__ return_value mock_image_file_obj N/A N/A tempfile_mock return_value mock_image_file_handle N/A swift_obj_mock N/A swift_api_mock return_value N/A N/A N/A self config swift_ilo_container ilo_cont group ilo N/A N/A N/A self config swift_object_expiry_timeout 1 group ilo N/A deploy_args N/A arg1 arg2 val1 val2 N/A N/A N/A swift_obj_mock get_temp_url return_value temp-url N/A timeout N/A N/A CONF ilo swift_object_expiry_timeout N/A object_headers N/A X-Delete-After timeout N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A temp_url N/A N/A ilo_common _prepare_floppy_image task deploy_args N/A node_uuid N/A N/A task node uuid N/A object_name N/A image- node_uuid N/A N/A N/A fatimage_mock assert_called_once_with image-tmp-file parameters deploy_args N/A N/A N/A N/A swift_obj_mock create_object assert_called_once_with ilo_cont object_name image-tmp-file object_headers object_headers N/A N/A N/A N/A swift_obj_mock get_temp_url assert_called_once_with ilo_cont object_name timeout N/A N/A N/A self assertEqual temp-url temp_url N/A N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True N/A N/A N/A mock patch object images create_vfat_image spec_set True autospec True N/A N/A N/A mock patch object tempfile NamedTemporaryFile spec_set True autospec True test__prepare_floppy_image_use_webserver N/A N/A self tempfile_mock fatimage_mock copy_mock N/A N/A N/A mock_image_file_handle N/A N/A mock MagicMock spec file N/A mock_image_file_obj N/A N/A mock MagicMock spec file N/A N/A mock_image_file_obj name image-tmp-file N/A N/A N/A mock_image_file_handle __enter__ return_value mock_image_file_obj N/A N/A tempfile_mock return_value mock_image_file_handle N/A N/A N/A self config use_web_server_for_images True group ilo N/A deploy_args N/A arg1 arg2 val1 val2 N/A N/A N/A CONF deploy http_url http://abc.com/httpboot N/A N/A N/A CONF deploy http_root /httpboot N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A node_uuid N/A N/A task node uuid N/A object_name N/A image- node_uuid N/A http_url N/A N/A N/A N/A CONF deploy http_url / object_name N/A N/A copy_mock return_value N/A http://abc.com/httpboot/ object_name N/A temp_url N/A N/A ilo_common _prepare_floppy_image task deploy_args N/A N/A N/A fatimage_mock assert_called_once_with image-tmp-file parameters deploy_args N/A N/A N/A copy_mock assert_called_once_with image-tmp-file object_name N/A N/A N/A self assertEqual http_url temp_url N/A N/A N/A N/A mock patch object ilo_common copy_image_to_web_server spec_set True autospec True N/A N/A N/A mock patch object images create_vfat_image spec_set True autospec True N/A N/A N/A mock patch object tempfile NamedTemporaryFile spec_set True autospec True test_attach_vmedia N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_object N/A get_ilo_object_mock return_value N/A insert_media_mock N/A ilo_mock_object insert_virtual_media N/A set_status_mock N/A ilo_mock_object set_vm_status N/A N/A N/A ilo_common attach_vmedia N/A self node FLOPPY url N/A N/A N/A insert_media_mock assert_called_once_with url device FLOPPY N/A N/A N/A set_status_mock assert_called_once_with device FLOPPY boot_option CONNECT write_protect YES N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_attach_vmedia_fails N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_object N/A get_ilo_object_mock return_value N/A set_status_mock N/A ilo_mock_object set_vm_status N/A exc N/A N/A ilo_error IloError error N/A N/A set_status_mock side_effect exc N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common attach_vmedia N/A self node FLOPPY url N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_set_boot_mode N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A get_ilo_object_mock return_value N/A get_pending_boot_mode_mock N/A ilo_object_mock get_pending_boot_mode N/A set_pending_boot_mode_mock N/A ilo_object_mock set_pending_boot_mode N/A N/A get_pending_boot_mode_mock return_value LEGACY N/A N/A N/A ilo_common set_boot_mode N/A self node uefi N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A self node N/A N/A N/A get_pending_boot_mode_mock assert_called_once_with N/A N/A N/A set_pending_boot_mode_mock assert_called_once_with UEFI N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_set_boot_mode_without_set_pending_boot_mode N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A get_ilo_object_mock return_value N/A get_pending_boot_mode_mock N/A ilo_object_mock get_pending_boot_mode N/A N/A get_pending_boot_mode_mock return_value LEGACY N/A N/A N/A ilo_common set_boot_mode N/A self node bios N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A self node N/A N/A N/A get_pending_boot_mode_mock assert_called_once_with N/A N/A N/A self assertFalse N/A N/A ilo_object_mock set_pending_boot_mode called N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_set_boot_mode_with_IloOperationError N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A get_ilo_object_mock return_value N/A get_pending_boot_mode_mock N/A ilo_object_mock get_pending_boot_mode N/A N/A get_pending_boot_mode_mock return_value UEFI N/A set_pending_boot_mode_mock N/A ilo_object_mock set_pending_boot_mode N/A exc N/A N/A ilo_error IloError error N/A N/A set_pending_boot_mode_mock side_effect exc N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common set_boot_mode N/A self node bios N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A self node N/A N/A N/A get_pending_boot_mode_mock assert_called_once_with N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_update_boot_mode_instance_info_exists N/A N/A self set_boot_mode_mock N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A N/A task node instance_info N/A deploy_boot_mode bios N/A N/A N/A ilo_common update_boot_mode task N/A N/A N/A set_boot_mode_mock assert_called_once_with N/A task node bios N/A N/A N/A N/A mock patch object ilo_common set_boot_mode spec_set True autospec True test_update_boot_mode_capabilities_exist N/A N/A self set_boot_mode_mock N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A N/A task node properties N/A capabilities boot_mode:bios N/A N/A N/A ilo_common update_boot_mode task N/A N/A N/A set_boot_mode_mock assert_called_once_with N/A task node bios N/A N/A N/A N/A mock patch object ilo_common set_boot_mode spec_set True autospec True test_update_boot_mode N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_obj N/A get_ilo_object_mock return_value N/A N/A N/A ilo_mock_obj get_pending_boot_mode return_value LEGACY N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common update_boot_mode task N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A task node N/A N/A N/A N/A ilo_mock_obj get_pending_boot_mode assert_called_once_with N/A N/A N/A self assertEqual bios N/A N/A N/A task node instance_info N/A deploy_boot_mode N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_update_boot_mode_unknown N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_obj N/A get_ilo_object_mock return_value N/A N/A N/A ilo_mock_obj get_pending_boot_mode return_value UNKNOWN N/A set_pending_boot_mode_mock N/A ilo_mock_obj set_pending_boot_mode N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common update_boot_mode task N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A task node N/A N/A N/A N/A ilo_mock_obj get_pending_boot_mode assert_called_once_with N/A N/A N/A set_pending_boot_mode_mock assert_called_once_with UEFI N/A N/A N/A self assertEqual uefi N/A N/A N/A task node instance_info N/A deploy_boot_mode N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_update_boot_mode_unknown_except N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_obj N/A get_ilo_object_mock return_value N/A N/A N/A ilo_mock_obj get_pending_boot_mode return_value UNKNOWN N/A set_pending_boot_mode_mock N/A ilo_mock_obj set_pending_boot_mode N/A exc N/A N/A ilo_error IloError error N/A N/A set_pending_boot_mode_mock side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common update_boot_mode task N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A task node N/A N/A N/A N/A ilo_mock_obj get_pending_boot_mode assert_called_once_with N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_update_boot_mode_legacy N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_obj N/A get_ilo_object_mock return_value N/A exc N/A N/A ilo_error IloCommandNotSupportedError error N/A N/A N/A ilo_mock_obj get_pending_boot_mode side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common update_boot_mode task N/A N/A N/A get_ilo_object_mock assert_called_once_with N/A task node N/A N/A N/A N/A ilo_mock_obj get_pending_boot_mode assert_called_once_with N/A N/A N/A self assertEqual bios N/A N/A N/A task node instance_info N/A deploy_boot_mode N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_update_boot_mode_prop_boot_mode_exist N/A N/A self set_boot_mode_mock N/A N/A N/A properties N/A capabilities boot_mode:uefi N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A task node properties properties N/A N/A N/A ilo_common update_boot_mode task N/A N/A N/A set_boot_mode_mock assert_called_once_with N/A task node uefi N/A N/A N/A N/A mock patch object ilo_common set_boot_mode spec_set True autospec True test_setup_vmedia_for_boot_with_parameters N/A N/A self prepare_image_mock attach_vmedia_mock temp_url_mock N/A N/A N/A parameters N/A a b N/A boot_iso 733d1c44-a2ea-414b-aca7-69decf20d810 N/A N/A prepare_image_mock return_value floppy_url N/A N/A temp_url_mock return_value image_url N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common setup_vmedia_for_boot task boot_iso parameters N/A N/A N/A prepare_image_mock assert_called_once_with task parameters N/A N/A N/A attach_vmedia_mock assert_any_call N/A task node FLOPPY floppy_url N/A N/A N/A temp_url_mock assert_called_once_with N/A task context 733d1c44-a2ea-414b-aca7-69decf20d810 N/A N/A N/A attach_vmedia_mock assert_any_call N/A task node CDROM image_url N/A N/A N/A N/A mock patch object images get_temp_url_for_glance_image spec_set True autospec True N/A N/A N/A mock patch object ilo_common attach_vmedia spec_set True autospec True N/A N/A N/A mock patch object ilo_common _prepare_floppy_image spec_set True autospec True test_setup_vmedia_for_boot_with_swift N/A N/A self attach_vmedia_mock swift_api_mock N/A N/A N/A swift_obj_mock N/A swift_api_mock return_value N/A boot_iso swift:object-name N/A N/A N/A swift_obj_mock get_temp_url return_value image_url N/A N/A N/A CONF keystone_authtoken auth_uri http://authurl N/A N/A N/A CONF ilo swift_ilo_container ilo_cont N/A N/A N/A CONF ilo swift_object_expiry_timeout 1 N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common setup_vmedia_for_boot task boot_iso N/A N/A N/A N/A swift_obj_mock get_temp_url assert_called_once_with ilo_cont object-name 1 N/A N/A N/A attach_vmedia_mock assert_called_once_with N/A task node CDROM image_url N/A N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True N/A N/A N/A mock patch object ilo_common attach_vmedia spec_set True autospec True test_setup_vmedia_for_boot_with_url N/A N/A self attach_vmedia_mock N/A N/A N/A boot_iso http://abc.com/img.iso N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common setup_vmedia_for_boot task boot_iso N/A N/A N/A attach_vmedia_mock assert_called_once_with N/A task node CDROM boot_iso N/A N/A N/A N/A mock patch object ilo_common attach_vmedia spec_set True autospec True test_cleanup_vmedia_boot N/A N/A self get_name_mock swift_api_mock eject_mock N/A N/A N/A swift_obj_mock N/A swift_api_mock return_value N/A N/A N/A CONF ilo swift_ilo_container ilo_cont N/A N/A get_name_mock return_value image-node-uuid N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common cleanup_vmedia_boot task N/A N/A N/A N/A swift_obj_mock delete_object assert_called_once_with ilo_cont image-node-uuid N/A N/A N/A eject_mock assert_called_once_with task N/A N/A N/A N/A mock patch object ilo_common eject_vmedia_devices spec_set True autospec True N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True N/A N/A N/A mock patch object ilo_common _get_floppy_image_name spec_set True autospec True test_cleanup_vmedia_boot_exc N/A N/A self get_name_mock swift_api_mock eject_mock log_mock N/A N/A N/A exc N/A N/A exception SwiftOperationError error N/A swift_obj_mock N/A swift_api_mock return_value N/A N/A N/A swift_obj_mock delete_object side_effect exc N/A N/A N/A CONF ilo swift_ilo_container ilo_cont N/A N/A get_name_mock return_value image-node-uuid N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common cleanup_vmedia_boot task N/A N/A N/A N/A swift_obj_mock delete_object assert_called_once_with ilo_cont image-node-uuid N/A N/A N/A self assertTrue N/A log_mock called N/A N/A N/A eject_mock assert_called_once_with task N/A N/A N/A N/A mock patch object N/A ilo_common LOG exception spec_set True autospec True N/A N/A N/A mock patch object ilo_common eject_vmedia_devices spec_set True autospec True N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True N/A N/A N/A mock patch object ilo_common _get_floppy_image_name spec_set True autospec True test_cleanup_vmedia_boot_exc_resource_not_found N/A N/A self get_name_mock swift_api_mock eject_mock log_mock N/A N/A N/A exc N/A N/A exception SwiftObjectNotFoundError error N/A swift_obj_mock N/A swift_api_mock return_value N/A N/A N/A swift_obj_mock delete_object side_effect exc N/A N/A N/A CONF ilo swift_ilo_container ilo_cont N/A N/A get_name_mock return_value image-node-uuid N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common cleanup_vmedia_boot task N/A N/A N/A N/A swift_obj_mock delete_object assert_called_once_with ilo_cont image-node-uuid N/A N/A N/A self assertTrue N/A log_mock called N/A N/A N/A eject_mock assert_called_once_with task N/A N/A N/A N/A mock patch object N/A ilo_common LOG warning spec_set True autospec True N/A N/A N/A mock patch object ilo_common eject_vmedia_devices spec_set True autospec True N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True N/A N/A N/A mock patch object ilo_common _get_floppy_image_name spec_set True autospec True test_cleanup_vmedia_boot_for_webserver N/A N/A self destroy_image_mock eject_mock N/A N/A N/A N/A N/A CONF ilo use_web_server_for_images True N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common cleanup_vmedia_boot task N/A N/A N/A destroy_image_mock assert_called_once_with N/A task node N/A N/A N/A eject_mock assert_called_once_with task N/A N/A N/A N/A mock patch object ilo_common eject_vmedia_devices spec_set True autospec True N/A N/A N/A mock patch object ilo_common destroy_floppy_image_from_web_server spec_set True autospec True test_eject_vmedia_devices N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A N/A mock MagicMock spec N/A eject_virtual_media N/A N/A get_ilo_object_mock return_value ilo_object_mock N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common eject_vmedia_devices task N/A N/A N/A N/A ilo_object_mock eject_virtual_media assert_has_calls N/A N/A N/A mock call FLOPPY N/A N/A mock call CDROM N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_eject_vmedia_devices_raises N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A N/A mock MagicMock spec N/A eject_virtual_media N/A N/A get_ilo_object_mock return_value ilo_object_mock N/A exc N/A N/A ilo_error IloError error N/A N/A N/A ilo_object_mock eject_virtual_media side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common eject_vmedia_devices task N/A N/A N/A N/A ilo_object_mock eject_virtual_media assert_called_once_with FLOPPY N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_get_secure_boot_mode N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A get_ilo_object_mock return_value N/A N/A N/A ilo_object_mock get_current_boot_mode return_value UEFI N/A N/A N/A ilo_object_mock get_secure_boot_mode return_value True N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A ret N/A N/A ilo_common get_secure_boot_mode task N/A N/A N/A N/A ilo_object_mock get_current_boot_mode assert_called_once_with N/A N/A N/A N/A ilo_object_mock get_secure_boot_mode assert_called_once_with N/A N/A N/A self assertTrue ret N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_get_secure_boot_mode_bios N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A get_ilo_object_mock return_value N/A N/A N/A ilo_object_mock get_current_boot_mode return_value BIOS N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A ret N/A N/A ilo_common get_secure_boot_mode task N/A N/A N/A N/A ilo_object_mock get_current_boot_mode assert_called_once_with N/A N/A N/A self assertFalse N/A N/A ilo_object_mock get_secure_boot_mode called N/A N/A N/A self assertFalse ret N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_get_secure_boot_mode_fail N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_object N/A get_ilo_object_mock return_value N/A exc N/A N/A ilo_error IloError error N/A N/A N/A ilo_mock_object get_current_boot_mode side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common get_secure_boot_mode task N/A N/A N/A N/A ilo_mock_object get_current_boot_mode assert_called_once_with N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_get_secure_boot_mode_not_supported N/A N/A self ilo_object_mock N/A N/A N/A ilo_mock_object N/A ilo_object_mock return_value N/A exc N/A N/A ilo_error IloCommandNotSupportedError error N/A N/A N/A ilo_mock_object get_current_boot_mode return_value UEFI N/A N/A N/A ilo_mock_object get_secure_boot_mode side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception IloOperationNotSupported N/A ilo_common get_secure_boot_mode task N/A N/A N/A N/A ilo_mock_object get_current_boot_mode assert_called_once_with N/A N/A N/A N/A ilo_mock_object get_secure_boot_mode assert_called_once_with N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_set_secure_boot_mode N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_object_mock N/A get_ilo_object_mock return_value N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common set_secure_boot_mode task True N/A N/A N/A N/A ilo_object_mock set_secure_boot_mode assert_called_once_with True N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_set_secure_boot_mode_fail N/A N/A self get_ilo_object_mock N/A N/A N/A ilo_mock_object N/A get_ilo_object_mock return_value N/A exc N/A N/A ilo_error IloError error N/A N/A N/A ilo_mock_object set_secure_boot_mode side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception IloOperationError N/A ilo_common set_secure_boot_mode task False N/A N/A N/A N/A ilo_mock_object set_secure_boot_mode assert_called_once_with False N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_set_secure_boot_mode_not_supported N/A N/A self ilo_object_mock N/A N/A N/A ilo_mock_object N/A ilo_object_mock return_value N/A exc N/A N/A ilo_error IloCommandNotSupportedError error N/A N/A N/A ilo_mock_object set_secure_boot_mode side_effect exc N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A self assertRaises N/A exception IloOperationNotSupported N/A ilo_common set_secure_boot_mode task False N/A N/A N/A N/A ilo_mock_object set_secure_boot_mode assert_called_once_with False N/A N/A N/A N/A mock patch object ilo_common get_ilo_object spec_set True autospec True test_copy_image_to_web_server N/A N/A self copy_mock chmod_mock N/A N/A N/A N/A N/A CONF deploy http_url http://x.y.z.a/webserver/ N/A N/A N/A CONF deploy http_root /webserver N/A expected_url http://x.y.z.a/webserver/image-UUID N/A source tmp_image_file N/A destination image-UUID N/A image_path /webserver/image-UUID N/A actual_url N/A N/A ilo_common copy_image_to_web_server source destination N/A N/A N/A self assertEqual expected_url actual_url N/A N/A N/A copy_mock assert_called_once_with source image_path N/A N/A N/A chmod_mock assert_called_once_with image_path 420 N/A N/A N/A N/A mock patch object os chmod spec_set True autospec True N/A N/A N/A mock patch object shutil copyfile spec_set True autospec True test_copy_image_to_web_server_fails N/A N/A self copy_mock chmod_mock N/A N/A N/A N/A N/A CONF deploy http_url http://x.y.z.a/webserver/ N/A N/A N/A CONF deploy http_root /webserver N/A source tmp_image_file N/A destination image-UUID N/A image_path /webserver/image-UUID N/A exc N/A N/A exception ImageUploadFailed reason N/A N/A copy_mock side_effect exc N/A N/A N/A self assertRaises N/A exception ImageUploadFailed N/A ilo_common copy_image_to_web_server source destination N/A N/A N/A copy_mock assert_called_once_with source image_path N/A N/A N/A self assertFalse N/A chmod_mock called N/A N/A N/A N/A mock patch object os chmod spec_set True autospec True N/A N/A N/A mock patch object shutil copyfile spec_set True autospec True test_remove_image_from_web_server N/A N/A self utils_mock N/A N/A N/A N/A N/A CONF deploy http_url http://x.y.z.a/webserver/ N/A N/A N/A CONF deploy http_root /webserver N/A object_name tmp_image_file N/A N/A N/A ilo_common remove_image_from_web_server object_name N/A N/A N/A N/A utils_mock unlink_without_raise assert_called_once_with /webserver/tmp_image_file N/A N/A N/A N/A mock patch object ilo_common ironic_utils autospec True test_copy_image_to_swift N/A N/A self LOG_mock swift_api_mock N/A N/A N/A N/A N/A self config swift_ilo_container ilo_container group ilo N/A N/A N/A self config swift_object_expiry_timeout 1 group ilo N/A container N/A N/A CONF ilo swift_ilo_container N/A timeout N/A N/A CONF ilo swift_object_expiry_timeout N/A swift_obj_mock N/A swift_api_mock return_value N/A destination_object_name destination_object_name N/A source_file_path tmp_image_file N/A object_headers N/A X-Delete-After timeout N/A N/A N/A ilo_common copy_image_to_swift source_file_path destination_object_name N/A N/A N/A N/A swift_obj_mock create_object assert_called_once_with container destination_object_name source_file_path object_headers object_headers N/A N/A N/A N/A swift_obj_mock get_temp_url assert_called_once_with container destination_object_name timeout N/A N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True N/A N/A N/A mock patch object ilo_common LOG test_copy_image_to_swift_throws_error_if_swift_operation_fails N/A N/A self swift_api_mock N/A N/A N/A N/A N/A self config swift_ilo_container ilo_container group ilo N/A N/A N/A self config swift_object_expiry_timeout 1 group ilo N/A swift_obj_mock N/A swift_api_mock return_value N/A destination_object_name destination_object_name N/A source_file_path tmp_image_file N/A N/A N/A swift_obj_mock create_object side_effect N/A N/A exception SwiftOperationError operation create_object error failed N/A N/A N/A self assertRaises N/A exception SwiftOperationError N/A ilo_common copy_image_to_swift source_file_path destination_object_name N/A N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True test_remove_image_from_swift N/A N/A self swift_api_mock N/A N/A N/A N/A N/A self config swift_ilo_container ilo_container group ilo N/A container N/A N/A CONF ilo swift_ilo_container N/A swift_obj_mock N/A swift_api_mock return_value N/A object_name object_name N/A N/A N/A ilo_common remove_image_from_swift object_name N/A N/A N/A N/A swift_obj_mock delete_object assert_called_once_with container object_name N/A N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True test_remove_image_from_swift_suppresses_notfound_exc N/A N/A self swift_api_mock LOG_mock N/A N/A N/A N/A N/A self config swift_ilo_container ilo_container group ilo N/A container N/A N/A CONF ilo swift_ilo_container N/A swift_obj_mock N/A swift_api_mock return_value N/A object_name object_name N/A raised_exc N/A N/A exception SwiftObjectNotFoundError operation delete_object object object_name container container N/A N/A N/A swift_obj_mock delete_object side_effect raised_exc N/A N/A N/A ilo_common remove_image_from_swift object_name N/A N/A N/A N/A LOG_mock warning assert_called_once_with N/A mock ANY N/A associated_with_msg err raised_exc N/A N/A N/A N/A mock patch object ilo_common LOG N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True test_remove_image_from_swift_suppresses_operror_exc N/A N/A self swift_api_mock LOG_mock N/A N/A N/A N/A N/A self config swift_ilo_container ilo_container group ilo N/A container N/A N/A CONF ilo swift_ilo_container N/A swift_obj_mock N/A swift_api_mock return_value N/A object_name object_name N/A raised_exc N/A N/A exception SwiftOperationError operation delete_object error failed N/A N/A N/A swift_obj_mock delete_object side_effect raised_exc N/A N/A N/A ilo_common remove_image_from_swift object_name alice_in_wonderland N/A N/A N/A N/A LOG_mock exception assert_called_once_with N/A mock ANY N/A object_name container associated_with_msg err object_name container associated with alice_in_wonderland raised_exc N/A N/A N/A N/A mock patch object ilo_common LOG N/A N/A N/A mock patch object swift SwiftAPI spec_set True autospec True test_destroy_floppy_image_from_web_server N/A N/A self get_floppy_name_mock utils_mock N/A N/A N/A N/A get_floppy_name_mock return_value image-uuid N/A N/A N/A CONF deploy http_root /webserver/ N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A N/A ilo_common destroy_floppy_image_from_web_server N/A task node N/A N/A N/A get_floppy_name_mock assert_called_once_with N/A task node N/A N/A N/A utils_mock assert_called_once_with /webserver/image-uuid N/A N/A N/A N/A mock patch object ironic_utils unlink_without_raise spec_set True autospec True N/A N/A N/A mock patch object ilo_common _get_floppy_image_name spec_set True autospec True test_setup_vmedia N/A N/A self func_setup_vmedia_for_boot func_set_boot_device N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A parameters N/A a b N/A iso 733d1c44-a2ea-414b-aca7-69decf20d810 N/A N/A N/A ilo_common setup_vmedia task iso parameters N/A N/A N/A func_setup_vmedia_for_boot assert_called_once_with task iso parameters N/A N/A N/A func_set_boot_device assert_called_once_with task N/A boot_devices CDROM N/A N/A N/A N/A mock patch object manager_utils node_set_boot_device spec_set True autospec True N/A N/A N/A mock patch object ilo_common setup_vmedia_for_boot spec_set True autospec True test_update_secure_boot_mode_passed_true N/A N/A self func_set_secure_boot_mode func_is_secure_boot_req N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A func_is_secure_boot_req return_value True N/A N/A N/A ilo_common update_secure_boot_mode task True N/A N/A N/A func_set_secure_boot_mode assert_called_once_with task True N/A N/A N/A N/A mock patch object deploy_utils is_secure_boot_requested spec_set True autospec True N/A N/A N/A mock patch object ilo_common set_secure_boot_mode spec_set True autospec True test_update_secure_boot_mode_passed_false N/A N/A self func_set_secure_boot_mode func_is_secure_boot_req N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared False task N/A N/A N/A func_is_secure_boot_req return_value False N/A N/A N/A ilo_common update_secure_boot_mode task False N/A N/A N/A self assertFalse N/A func_set_secure_boot_mode called N/A N/A N/A N/A mock patch object deploy_utils is_secure_boot_requested spec_set True autospec True N/A N/A N/A mock patch object ilo_common set_secure_boot_mode spec_set True autospec True test_remove_single_or_list_of_files_with_file_list N/A N/A self unlink_mock N/A N/A N/A file_list N/A /any_path1/any_file1 /any_path2/any_file2 /any_path3/any_file3 N/A N/A N/A ilo_common remove_single_or_list_of_files file_list N/A calls N/A N/A N/A mock call /any_path1/any_file1 N/A N/A mock call /any_path2/any_file2 N/A N/A mock call /any_path3/any_file3 N/A N/A N/A unlink_mock assert_has_calls calls N/A N/A N/A N/A mock patch object ironic_utils unlink_without_raise spec_set True autospec True test_remove_single_or_list_of_files_with_file_str N/A N/A self unlink_mock N/A N/A N/A file_path /any_path1/any_file N/A N/A N/A ilo_common remove_single_or_list_of_files file_path N/A N/A N/A unlink_mock assert_called_once_with /any_path1/any_file N/A N/A N/A N/A mock patch object ironic_utils unlink_without_raise spec_set True autospec True test_verify_image_checksum N/A N/A self open_mock N/A N/A N/A data Yankee Doodle went to town riding on a pony; N/A file_like_object N/A N/A six BytesIO data N/A N/A N/A N/A open_mock __enter__ return_value file_like_object N/A actual_hash N/A N/A N/A N/A hashlib md5 data hexdigest N/A N/A N/A ilo_common verify_image_checksum file_like_object actual_hash N/A N/A N/A N/A mock patch object __builtin__ open autospec True test_verify_image_checksum_throws_for_nonexistent_file N/A N/A self N/A N/A N/A invalid_file_path /some/invalid/file/path N/A N/A N/A self assertRaises N/A exception ImageRefValidationFailed N/A ilo_common verify_image_checksum invalid_file_path hash_xxx N/A test_verify_image_checksum_throws_for_failed_validation N/A N/A self open_mock N/A N/A N/A data Yankee Doodle went to town riding on a pony; N/A file_like_object N/A N/A six BytesIO data N/A N/A N/A N/A open_mock __enter__ return_value file_like_object N/A invalid_hash invalid_hash_value N/A N/A N/A self assertRaises N/A exception ImageRefValidationFailed N/A ilo_common verify_image_checksum file_like_object invalid_hash N/A N/A N/A N/A mock patch object __builtin__ open autospec True N/A