Module Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import 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 ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Return NameLoad orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Dict Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Str Expr Call NameLoad NameLoad decorator_list If Call NameLoad NameLoad TupleLoad NameLoad body Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad orelse Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body Assign NameStore Call Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore DictComp SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad Call NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad Call NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Dict Str Str Str NameLoad NameLoad NameLoad decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return Dict Str Str Str NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return ListLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If CompareNotIn SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Yield NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Dict orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return Dict Str Str NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Str Dict Str Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad Call NameLoad attr Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Str Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str NameLoad Expr Call AttributeLoad Call NameLoad attr Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore TupleLoad Str Str Str Str Str Str Str For NameStore AttributeLoad Call NameLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str NameLoad Expr Call AttributeLoad Call NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitAnd Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIn SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad CompareIn NameLoad NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot BoolOpAnd NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Return Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Dict Str Str Str NameLoad NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Dict Str Str Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Str Dict Str ListLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad Call NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad CompareEq AttributeLoad NameLoad attr Str attr Num Assign NameStore Call NameLoad NameLoad Str Str Dict Str Str Str AttributeLoad NameLoad attr ListComp Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign NameStore Call NameLoad NameLoad Str Str Dict Str Str ListComp Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Dict Str ListLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Dict Str Dict Str Str Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Dict Str ListLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Dict Str Dict Str Str Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr Str body If BoolOpAnd CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num Continue If CompareIn AttributeLoad NameLoad attr NameLoad body Continue Assign NameStore SubscriptLoad Call NameLoad Lambda arguments args NameParam defaults CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Continue Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr CompareIn AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num Continue If CompareIn AttributeLoad NameLoad attr NameLoad body Continue Assign NameStore SubscriptLoad Call NameLoad Lambda arguments args NameParam defaults CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If AttributeLoad NameLoad attr body Continue If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Continue Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad ListLoad Assign NameStore ListLoad If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str SubscriptLoad NameLoad Index Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index NameLoad body If CompareNotIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore NameLoad body If CompareLt SubscriptLoad NameLoad Index NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str body If BoolOpAnd CompareEq Call AttributeLoad NameLoad attr Str Str Str CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call AttributeLoad NameLoad attr Str Str AttributeLoad AttributeLoad NameLoad attr attr body Continue Expr Yield TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body If CompareEq Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str orelse For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str NameLoad Call NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str NameLoad Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Return Dict Str ListComp Call NameLoad AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num keyword Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr Dict Str NameLoad Expr Call AttributeLoad Call NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad attr keyword NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareIn NameLoad NameLoad If BoolOpOr NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Index Str For NameStore NameLoad body If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index NameLoad CompareIs SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults CompareIn Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Index Str Index Str Index Str If CompareLt NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad GeneratorExp Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Num If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad GeneratorExp CompareIn Str AttributeLoad NameLoad attr comprehension NameStore NameLoad body Assign NameStore Num If CompareLt Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad GeneratorExp Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpAdd Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad If BoolOpAnd NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Num body Raise AttributeLoad NameLoad attr If BoolOpAnd NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str UnaryOpNot SubscriptLoad SubscriptLoad NameLoad Index Str Index Str CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Num body Raise AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad CompareNotIn SubscriptLoad NameLoad Index Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad If NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore IfExp CompareIn AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpSub NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Str Index Str Index Str For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Continue If CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad For NameStore SubscriptLoad NameLoad Index Str body If CompareEq Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Continue If CompareGt Call NameLoad NameLoad Num body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Index NameLoad Set Str body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Continue Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Str Index Str Index Str If CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Assign NameStore Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str attr NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str attr NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str attr Dict Str Str Str Str Str 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 SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str attr Dict Str Str Str Str Str AttributeLoad NameLoad attr ListLoad Str Str Str Str Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Dict Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Str Dict Str BoolOpOr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr keyword NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Num Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Dict Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call AttributeLoad Call NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Num orelse Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad attr Assign AttributeStore NameLoad attr Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad Call NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Str Dict Str Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore ListLoad Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore NameLoad body If UnaryOpNot BoolOpOr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body AugAssignAdd NameStore Num If UnaryOpNot NameLoad body Continue Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareIn AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Continue Assign NameStore BoolOpOr NameLoad Call NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Call AttributeLoad Str attr NameLoad NameLoad AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str Str Dict Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Dict Str ListLoad Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Dict Str ListLoad Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Dict Str Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Dict Str ListLoad Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Dict Str Str Str Str Str Str Num Str Dict Str Str Str Str ListLoad Str Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return Call NameLoad NameLoad Str Str Dict Str Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad NameLoad Str Str Dict Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Raise Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore SetComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Index Num decorator_list NameLoad decorator_list If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad
N/A N/A collections copy deepcopy N/A os N/A socket N/A netaddr N/A six N/A yaml sqlalchemy func sqlalchemy not_ sqlalchemy.orm ColumnProperty sqlalchemy.orm object_mapper nailgun consts nailgun.db db nailgun.db.sqlalchemy.models CapacityLog nailgun.db.sqlalchemy.models Cluster nailgun.db.sqlalchemy.models Node nailgun.db.sqlalchemy.models Task nailgun errors nailgun.extensions fire_callback_on_before_deployment_check nailgun.extensions.network_manager.checker NetworkCheck nailgun.extensions.network_manager.manager NetworkManager nailgun lcm nailgun.logger logger nailgun objects nailgun.orchestrator deployment_serializers nailgun.orchestrator orchestrator_graph nailgun.orchestrator provisioning_serializers nailgun.orchestrator stages nailgun.orchestrator task_based_deployment nailgun.orchestrator tasks_serializer nailgun.orchestrator tasks_templates N/A nailgun.rpc rpc nailgun.settings settings nailgun.task.fake FAKE_THREADS nailgun.task.helpers TaskHelper nailgun.task.legacy_tasks_adapter adapt_legacy_tasks nailgun.utils logs logs_utils nailgun.utils.restrictions VmwareAttributesRestriction nailgun.utils.role_resolver RoleResolver nailgun.utils.zabbix ZabbixManager make_astute_message N/A N/A task method respond_to args N/A N/A N/A message N/A api_version method respond_to args N/A N/A settings VERSION N/A api method respond_to args N/A N/A N/A message N/A args N/A task_uuid N/A task uuid N/A N/A task cache message N/A message N/A fake_cast N/A N/A queue messages N/A kwargs N/A make_thread N/A N/A message join_to N/A None N/A N/A thread N/A N/A FAKE_THREADS N/A N/A message N/A method data message params kwargs join_to join_to N/A tests N/A settings TESTS_WITH_NO_THREADS N/A N/A tests N/A N/A N/A N/A logger debug Calling fake thread: data: %s, params: %s message kwargs N/A N/A N/A thread start N/A N/A thread name N/A N/A N/A message N/A method upper N/A thread N/A N/A N/A N/A thread run N/A make_thread_task_in_orchestrator N/A N/A message N/A N/A N/A task_in_orchestrator N/A args respond_to method N/A task_uuid N/A N/A N/A message N/A args get task_uuid task_in_orchestrator task_in_orchestrator N/A N/A make_thread task_in_orchestrator N/A N/A N/A isinstance messages N/A list N/A N/A thread None N/A m messages N/A N/A thread N/A make_thread m join_to thread N/A N/A make_thread_task_in_orchestrator m N/A N/A N/A make_thread messages N/A N/A make_thread_task_in_orchestrator messages N/A BaseDeploymentTask N/A object N/A get_deployment_methods N/A N/A cls cluster N/A N/A N/A Get deployment method name based on cluster version

        :param cluster: Cluster db object
        :returns: list of available methods
         N/A methods N/A N/A N/A N/A N/A objects Cluster is_task_deploy_enabled cluster N/A N/A N/A N/A methods append task_deploy N/A N/A N/A N/A objects Release is_granular_enabled N/A cluster release N/A N/A N/A N/A methods append granular_deploy N/A N/A N/A N/A methods append deploy N/A methods N/A classmethod call_deployment_method N/A N/A cls transaction N/A kwargs N/A N/A Calls the deployment method with fallback.

        :param transaction: the transaction object
        :param kwargs: the keyword arguments
         N/A error_messages N/A N/A available_methods N/A N/A cls get_deployment_methods N/A transaction cluster N/A method available_methods N/A N/A N/A N/A args N/A N/A getattr cls method transaction kwargs N/A N/A tasks_graph args N/A N/A N/A N/A logger info tasks history saving is started. N/A N/A N/A N/A objects DeploymentHistoryCollection create transaction N/A args N/A tasks_graph N/A N/A N/A logger info tasks history saving is finished. N/A N/A method args N/A N/A N/A N/A errors TaskBaseDeploymentNotAllowed N/A e N/A N/A N/A N/A error_messages append N/A N/A six text_type e N/A N/A N/A logger warning %s is not allowed, fallback to next method. method N/A N/A N/A errors TaskBaseDeploymentNotAllowed N/A N/A The task deploy is not allowed because of {0} format N/A N/A ,  join error_messages N/A classmethod _save_deployment_info N/A N/A cls transaction deployment_info N/A N/A N/A normalized N/A N/A node N/A uid node N/A node deployment_info N/A N/A N/A N/A objects Transaction attach_deployment_info transaction normalized N/A normalized N/A classmethod N/A DeploymentTask N/A BaseDeploymentTask N/A N/A Task for applying changes to cluster

    LOGIC
    Use cases:
    1. Cluster exists, node(s) added
      If we add one node to existing OpenStack cluster, other nodes may require
      updates (redeployment), but they don't require full system
      reinstallation.
      How to: run deployment for all nodes which system type is target.
      Run provisioning first and then deployment for nodes which are in
      discover system type.
      Q: Should we care about node status (provisioning, error, deploying)?
      A: offline - when node doesn't respond (agent doesn't run, not
                   implemented); let's say user should remove this node from
                   cluster before deployment.
         ready - target OS is loaded and node is Ok, we redeploy
                 ready nodes only if cluster has pending changes i.e.
                 network or cluster attrs were changed
         discover - in discovery mode, provisioning is required
         provisioning - at the time of task execution there should not be such
                        case. If there is - previous provisioning has failed.
                        Possible solution would be to try again to provision
         deploying - the same as provisioning, but stucked in previous deploy,
                     solution - try to deploy. May loose some data if reprovis.
         error - recognized error in deployment or provisioning... We have to
                 know where the error was. If in deployment - reprovisioning
                 may not be a solution (can loose data).
                 If in provisioning - can do provisioning & deployment again
    2. New cluster, just added nodes
      Provision first, and run deploy as second
    3. Remove some and add some another node
      Deletion task will run first and will actually remove nodes, include
      removal from DB.. however removal from DB happens when remove_nodes_resp
      is ran. It means we have to filter nodes and not to run deployment on
      those which are prepared for removal.
     message N/A N/A cls task nodes affected_nodes deployment_tasks reexecutable_filter graph_type force N/A None None None None False N/A N/A Builds RPC message for deployment task.

        :param task: the database task object instance
        :param nodes: the nodes for deployment
        :param affected_nodes: the list of nodes is affected by deployment
        :param deployment_tasks: the list of tasks_ids to execute,
                                 if None, all tasks will be executed
        :param reexecutable_filter: the list of events to find subscribed tasks
        :param graph_type: deployment graph type
         N/A N/A N/A logger debug N/A DeploymentTask.message(task=%s) N/A task uuid N/A task_ids N/A deployment_tasks N/A N/A N/A N/A N/A objects NodeCollection lock_nodes nodes N/A n nodes N/A N/A N/A n pending_roles N/A N/A N/A n roles N/A N/A n roles N/A n pending_roles N/A N/A n pending_roles N/A N/A N/A N/A n status N/A N/A N/A consts NODE_STATUSES deploying N/A N/A N/A n status N/A N/A consts NODE_STATUSES provisioned N/A N/A n progress 0 N/A N/A N/A N/A db flush N/A deployment_tasks N/A N/A N/A objects Cluster get_deployment_tasks N/A task cluster graph_type N/A N/A deployment_mode message N/A N/A cls call_deployment_method task tasks deployment_tasks nodes nodes affected_nodes affected_nodes selected_task_ids task_ids events reexecutable_filter force force N/A node nodes N/A N/A N/A node pending_addition False N/A N/A N/A N/A objects Transaction attach_cluster_settings task N/A editable N/A N/A N/A objects Cluster get_editable_attributes N/A task cluster all_plugins_versions True N/A N/A N/A N/A objects Transaction attach_network_settings task N/A N/A N/A objects Cluster get_network_attributes N/A task cluster N/A rpc_message N/A make_astute_message task deployment_mode deploy_resp message N/A N/A N/A N/A db flush N/A rpc_message N/A classmethod granular_deploy N/A N/A cls transaction tasks nodes affected_nodes selected_task_ids events N/A kwargs N/A N/A Builds parameters for granular deployment.

        :param transaction: the transaction object
        :param tasks: the list of deployment tasks to execute
        :param nodes: the nodes for deployment
        :param affected_nodes: the list of nodes is affected by deployment
        :param selected_task_ids: the list of tasks_ids to execute,
                                   if None, all tasks will be executed
        :param events: the list of events to find subscribed tasks
        :return: the arguments for RPC message
         N/A graph N/A N/A orchestrator_graph AstuteGraph N/A transaction cluster tasks N/A N/A N/A graph check N/A N/A N/A graph only_tasks selected_task_ids N/A role_resolver N/A RoleResolver nodes N/A serialized_cluster N/A N/A deployment_serializers serialize graph N/A transaction cluster nodes N/A N/A N/A cls _save_deployment_info transaction serialized_cluster N/A affected_nodes N/A N/A N/A N/A graph reexecutable_tasks events N/A N/A N/A serialized_cluster extend N/A N/A deployment_serializers serialize graph N/A transaction cluster affected_nodes N/A nodes N/A nodes affected_nodes N/A pre_deployment N/A N/A stages pre_deployment_serialize graph N/A transaction cluster nodes role_resolver role_resolver N/A post_deployment N/A N/A stages post_deployment_serialize graph N/A transaction cluster nodes role_resolver role_resolver N/A N/A deployment_info pre_deployment post_deployment serialized_cluster pre_deployment post_deployment N/A classmethod N/A deploy granular_deploy task_deploy N/A N/A cls transaction tasks nodes affected_nodes selected_task_ids events N/A kwargs N/A N/A Builds parameters for task based deployment.

        :param transaction: the transaction object
        :param tasks: the list of deployment tasks to execute
        :param nodes: the nodes for deployment
        :param affected_nodes: the list of nodes is affected by deployment
        :param selected_task_ids: the list of tasks_ids to execute,
                                  if None, all tasks will be executed
        :param events: the list of events to find subscribed tasks
        :return:  RPC method name, the arguments for RPC message
         N/A task_processor N/A task_based_deployment TaskProcessor N/A task tasks N/A N/A N/A N/A task_processor ensure_task_based_deploy_allowed task N/A N/A N/A logger info cluster serialization is started. N/A serialized_cluster N/A N/A deployment_serializers serialize None N/A transaction cluster nodes N/A N/A N/A cls _save_deployment_info transaction serialized_cluster N/A N/A N/A logger info cluster serialization is finished. N/A tasks_events N/A events N/A N/A task_based_deployment TaskEvents reexecute_on events N/A N/A N/A logger debug tasks serialization is started. N/A N/A directory graph N/A N/A N/A task_based_deployment TasksSerializer serialize N/A transaction cluster nodes tasks affected_nodes selected_task_ids tasks_events N/A N/A N/A logger info tasks serialization is finished. N/A N/A deployment_info tasks_directory tasks_graph serialized_cluster directory graph N/A classmethod N/A ClusterTransaction N/A DeploymentTask N/A get_deployment_methods N/A N/A cls cluster N/A N/A N/A N/A task_deploy N/A classmethod mark_skipped N/A N/A cls tasks ids_not_to_skip N/A N/A N/A Change tasks type which ids not present in ids_not_to_skip to skipped

        :param tasks: the list of deployment tasks to execute
        :param ids_not_to_skip: the list of task ids that will be not skipped
         N/A task_ids N/A set ids_not_to_skip N/A task tasks N/A N/A N/A N/A task N/A id task_ids N/A N/A task N/A N/A task copy N/A N/A task N/A type N/A N/A consts ORCHESTRATOR_TASK_TYPES skipped N/A N/A task N/A classmethod task_deploy N/A N/A cls transaction tasks nodes force selected_task_ids N/A False None kwargs N/A N/A N/A N/A logger info The cluster transaction is initiated. N/A N/A N/A logger info cluster serialization is started. N/A deployment_info N/A N/A deployment_serializers serialize_for_lcm N/A transaction cluster nodes N/A N/A N/A logger info cluster serialization is finished. N/A force N/A N/A current_state N/A N/A N/A current_state N/A N/A N/A objects Transaction get_deployment_info N/A N/A N/A objects TransactionCollection get_last_succeed_run N/A transaction cluster N/A expected_state N/A N/A cls _save_deployment_info transaction deployment_info N/A context N/A N/A lcm TransactionContext expected_state current_state N/A N/A N/A logger debug tasks serialization is started. N/A selected_task_ids N/A N/A tasks N/A N/A cls mark_skipped tasks selected_task_ids N/A role_resolver N/A RoleResolver nodes N/A cluster N/A transaction cluster N/A N/A N/A N/A objects Cluster is_propagate_task_deploy_enabled cluster N/A N/A N/A N/A logger info The legacy tasks adaptation is used. N/A tasks N/A adapt_legacy_tasks tasks N/A N/A N/A objects Cluster get_legacy_plugin_tasks cluster role_resolver N/A N/A directory graph N/A N/A N/A lcm TransactionSerializer serialize context tasks role_resolver N/A N/A N/A logger info tasks serialization is finished. N/A N/A tasks_directory tasks_graph directory graph N/A classmethod N/A UpdateNodesInfoTask N/A object N/A N/A Task for updating nodes.yaml and /etc/hosts on all slaves

    The task is intended to be used in order to update both nodes.yaml and
    /etc/hosts on all slaves. This task aren't going to manage node or cluster
    statuses, and should be used only in one case - when we remove some node
    and don't add anything new (if some new node is added, these tasks will
    be executed without any additional help).
     N/A _tasks N/A N/A N/A tasks_serializer UploadNodesInfo identity N/A N/A tasks_serializer UpdateHosts identity message N/A N/A cls task N/A N/A N/A graph N/A N/A orchestrator_graph AstuteGraph N/A task cluster N/A N/A N/A graph only_tasks N/A cls _tasks N/A rpc_message N/A make_astute_message task execute_tasks deploy_resp N/A tasks N/A N/A graph post_tasks_serialize N/A N/A N/A N/A N/A db flush N/A rpc_message N/A classmethod N/A ProvisionTask N/A object N/A _get_provision_method N/A N/A cls cluster N/A N/A N/A Get provision method name based on cluster attributes

        :param cluster: Cluster db object
        :returns: string - an Astute callable
         N/A cluster_attrs N/A N/A N/A objects Attributes merged_attrs_values N/A cluster attributes N/A provision_method N/A N/A N/A N/A cluster_attrs get provision N/A get method N/A N/A consts PROVISION_METHODS cobbler N/A N/A provision_method N/A N/A consts PROVISION_METHODS cobbler N/A N/A native_provision N/A image_provision N/A classmethod message N/A N/A cls task nodes_to_provisioning N/A N/A N/A N/A N/A logger debug N/A ProvisionTask.message(task=%s) N/A task uuid N/A task N/A N/A N/A objects Task get_by_uid N/A task id fail_if_not_found True lock_for_update True N/A N/A N/A N/A objects NodeCollection lock_nodes nodes_to_provisioning N/A serialized_cluster N/A N/A provisioning_serializers serialize N/A task cluster nodes_to_provisioning N/A node nodes_to_provisioning N/A N/A N/A N/A settings FAKE_TASKS N/A settings FAKE_TASKS_AMQP N/A N/A N/A N/A N/A logs_utils prepare_syslog_dir node N/A rpc_message N/A make_astute_message task N/A N/A cls _get_provision_method N/A task cluster provision_resp N/A provisioning_info serialized_cluster N/A N/A N/A N/A db commit N/A rpc_message N/A classmethod N/A DeletionTask N/A object N/A format_node_to_delete N/A N/A cls node mclient_remove N/A True N/A N/A Convert node to dict for deletion.

        :param node: Node object
        :param mclient_remove: Boolean flag telling Astute whether to also
            remove node from mclient (True by default). For offline nodes this
            can be set to False to avoid long retrying unsuccessful deletes.
        :return: Dictionary in format accepted by Astute.
         N/A N/A id uid roles slave_name mclient_remove N/A node id N/A node id N/A node roles N/A N/A N/A objects Node get_slave_name node mclient_remove N/A classmethod format_node_to_restore N/A N/A cls node N/A N/A N/A Convert node to dict for restoring, works only in fake mode.

        Fake mode can optionally restore the removed node (this simulates
        the node being rediscovered). This method creates the appropriate
        input for that procedure.
        :param node:
        :return: dict
         N/A N/A N/A cls use_fake N/A N/A new_node N/A N/A reset_attrs N/A id cluster_id roles pending_deletion pending_addition group_id hostname N/A prop N/A N/A object_mapper node iterate_properties N/A N/A N/A N/A isinstance prop ColumnProperty N/A N/A prop key reset_attrs N/A N/A N/A new_node N/A N/A prop key N/A getattr node N/A prop key N/A new_node N/A classmethod prepare_nodes_for_task N/A N/A cls nodes mclient_remove N/A True N/A N/A Format all specified nodes for the deletion task.

        :param nodes:
        :param mclient_remove:
        :return: dict
         N/A nodes_to_delete N/A N/A nodes_to_restore N/A N/A node nodes N/A N/A N/A N/A nodes_to_delete append N/A N/A cls format_node_to_delete node mclient_remove mclient_remove N/A N/A N/A node pending_deletion N/A N/A N/A N/A N/A objects Node update node N/A pending_deletion True N/A N/A N/A N/A db flush N/A node_to_restore N/A N/A cls format_node_to_restore node N/A node_to_restore N/A N/A N/A N/A nodes_to_restore append node_to_restore N/A N/A nodes_to_delete nodes_to_restore nodes_to_delete nodes_to_restore N/A classmethod get_task_nodes_for_cluster N/A N/A cls cluster N/A N/A N/A N/A N/A cls prepare_nodes_for_task N/A N/A TaskHelper nodes_to_delete cluster N/A classmethod remove_undeployed_nodes_from_db N/A N/A cls nodes_to_delete N/A N/A N/A Removes undeployed nodes from the given list from the DB.

        :param List nodes_to_delete: List of nodes as returned by
            :meth:`DeletionTask.format_node_to_delete`
        :returns: Remaining (deployed) nodes to delete.
         N/A node_names_dict N/A dict N/A N/A N/A node N/A id N/A node N/A slave_name N/A node nodes_to_delete N/A node_ids N/A N/A n N/A id N/A n nodes_to_delete N/A discovery_ids N/A N/A N/A objects NodeCollection discovery_node_ids N/A N/A N/A N/A objects NodeCollection delete_by_ids N/A N/A set discovery_ids N/A set node_ids N/A N/A N/A db commit N/A remaining_nodes_db N/A N/A N/A N/A N/A db query N/A Node id filter N/A N/A N/A Node id in_ N/A N/A node_names_dict keys N/A remaining_nodes_ids N/A set N/A N/A row N/A 0 N/A row remaining_nodes_db N/A remaining_nodes N/A filter N/A N/A N/A node N/A N/A N/A node N/A id remaining_nodes_ids nodes_to_delete N/A deleted_nodes_ids N/A N/A N/A set node_names_dict difference remaining_nodes_ids N/A slave_names_joined N/A N/A ,  join N/A slave_name N/A N/A id slave_name N/A N/A six iteritems node_names_dict N/A id deleted_nodes_ids N/A N/A len slave_names_joined N/A N/A N/A N/A logger info Nodes are not deployed yet, can't clean MBR: %s slave_names_joined N/A remaining_nodes N/A classmethod execute N/A N/A cls task nodes respond_to check_ceph N/A None remove_nodes_resp False N/A N/A Call remote Astute method to remove nodes from a cluster

        :param task: Task object
        :param nodes: List of nodes to delete
        :param respond_to: RPC method which receives data from remote method
        :param check_ceph: Boolean flag to tell Astute to run (or not run)
            checks to prevent deletion of OSD nodes. If True this task will
            fail if a node to be deleted has Ceph data on it. This flag must
            be False if deleting all nodes.
         N/A N/A N/A logger debug DeletionTask.execute(task=%s, nodes=%s) N/A task uuid nodes N/A task_uuid N/A task uuid N/A N/A N/A logger debug Nodes deletion task is running N/A N/A N/A N/A task name N/A N/A consts TASK_NAMES cluster_deletion N/A N/A nodes N/A nodes N/A nodes_to_delete N/A N/A N/A N/A logger debug No nodes specified, exiting N/A rcvr N/A N/A N/A rpc receiver NailgunReceiver N/A N/A N/A rcvr remove_cluster_resp task_uuid task_uuid status N/A N/A consts TASK_STATUSES ready progress 100 N/A N/A nodes_to_delete N/A nodes N/A nodes_to_delete N/A nodes_to_restore N/A nodes N/A nodes_to_restore N/A N/A N/A N/A task name N/A N/A consts TASK_NAMES cluster_deletion N/A N/A ZabbixManager get_zabbix_node N/A task cluster N/A N/A zabbix_credentials N/A N/A ZabbixManager get_zabbix_credentials N/A task cluster N/A N/A N/A logger debug Removing nodes %s from zabbix nodes_to_delete N/A N/A N/A N/A N/A ZabbixManager remove_from_zabbix zabbix_credentials nodes_to_delete N/A N/A N/A N/A N/A errors CannotMakeZabbixRequest N/A errors ZabbixRequestError N/A e N/A N/A N/A N/A logger warning %s, skipping removing nodes from Zabbix e N/A nodes_to_delete N/A N/A cls remove_undeployed_nodes_from_db nodes_to_delete N/A N/A N/A logger debug Removing nodes from database and pending them to clean their MBR: %s N/A N/A ,  join N/A N/A node N/A slave_name N/A node nodes_to_delete N/A msg_delete N/A make_astute_message task remove_nodes respond_to N/A nodes check_ceph engine nodes_to_delete check_ceph N/A url username password master_ip N/A settings COBBLER_URL N/A settings COBBLER_USER N/A settings COBBLER_PASSWORD N/A settings MASTER_IP N/A N/A N/A N/A db flush N/A N/A N/A N/A cls use_fake nodes_to_restore N/A N/A N/A N/A msg_delete N/A args N/A nodes_to_restore nodes_to_restore N/A N/A N/A logger debug Calling rpc remove_nodes method with nodes %s nodes_to_delete N/A N/A N/A rpc cast naily msg_delete N/A classmethod use_fake N/A N/A cls N/A N/A N/A N/A N/A settings FAKE_TASKS N/A settings FAKE_TASKS_AMQP N/A classmethod N/A DeleteIBPImagesTask N/A object N/A message N/A N/A cls task images_data N/A N/A N/A files N/A N/A N/A image_path image_data N/A N/A six iteritems images_data N/A N/A file_name N/A N/A N/A os path basename N/A N/A N/A N/A N/A N/A six moves urllib parse urlsplit N/A image_data N/A uri path N/A N/A N/A files append N/A N/A N/A os path join N/A settings PROVISIONING_IMAGES_PATH file_name N/A N/A image_path / N/A N/A yaml_name N/A N/A {0}.{1} format N/A N/A N/A file_name split . N/A 0 yaml N/A N/A N/A files append N/A N/A N/A os path join N/A settings PROVISIONING_IMAGES_PATH yaml_name N/A task_params N/A parameters N/A cmd timeout N/A N/A rm -f {0} format N/A N/A join files N/A settings REMOVE_IMAGES_TIMEOUT N/A rpc_message N/A make_astute_message task execute_tasks remove_images_resp N/A tasks N/A N/A N/A tasks_templates make_shell_task N/A N/A consts MASTER_NODE_UID task_params N/A rpc_message N/A classmethod execute N/A N/A cls cluster image_data N/A N/A N/A task N/A Task name N/A N/A consts TASK_NAMES remove_images cluster cluster N/A N/A N/A N/A db add task N/A N/A N/A N/A db flush N/A N/A N/A rpc cast naily N/A N/A cls message task image_data N/A classmethod N/A StopDeploymentTask N/A object N/A message N/A N/A cls task stop_task N/A N/A N/A nodes_to_stop N/A N/A N/A N/A N/A N/A N/A N/A N/A db query Node filter N/A N/A Node cluster_id N/A N/A task cluster id filter N/A not_ N/A N/A Node status ready yield_per 100 N/A rpc_message N/A make_astute_message task stop_deploy_task stop_deployment_resp N/A stop_task_uuid nodes engine N/A stop_task uuid N/A N/A uid roles slave_name admin_ip N/A n uid N/A n roles N/A N/A N/A objects Node get_slave_name n N/A N/A N/A N/A N/A objects Cluster get_network_manager N/A n cluster get_admin_ip_for_node n N/A n nodes_to_stop N/A url username password master_ip N/A settings COBBLER_URL N/A settings COBBLER_USER N/A settings COBBLER_PASSWORD N/A settings MASTER_IP N/A N/A N/A N/A db commit N/A rpc_message N/A classmethod execute N/A N/A cls task deploy_task provision_task N/A None None N/A N/A provision_task N/A N/A N/A N/A rpc cast naily N/A N/A cls message task provision_task service True N/A deploy_task N/A N/A N/A N/A rpc cast naily N/A N/A cls message task deploy_task service True N/A classmethod N/A ResetEnvironmentTask N/A object N/A message N/A N/A cls task N/A N/A N/A nodes_to_reset N/A N/A N/A N/A N/A N/A N/A db query Node filter N/A N/A Node cluster_id N/A N/A task cluster id yield_per 100 N/A rpc_message N/A make_astute_message task reset_environment reset_environment_resp N/A nodes engine N/A N/A uid roles slave_name N/A n uid N/A n roles N/A N/A N/A objects Node get_slave_name n N/A n nodes_to_reset N/A url username password master_ip N/A settings COBBLER_URL N/A settings COBBLER_USER N/A settings COBBLER_PASSWORD N/A settings MASTER_IP N/A N/A N/A N/A db commit N/A rpc_message N/A classmethod N/A RemoveClusterKeys N/A object N/A N/A Task that deletes all ssh and ssl data for deployed environment

    Meant to be run after environment reset to make sure that new keys will be
    generated.
     message N/A N/A cls task N/A N/A N/A rpc_message N/A make_astute_message task execute_tasks reset_environment_resp N/A tasks N/A N/A N/A tasks_templates make_shell_task N/A N/A consts MASTER_NODE_UID N/A parameters N/A cmd timeout N/A N/A rm -rf /var/lib/fuel/keys/{0} format N/A N/A task cluster id 30 N/A rpc_message N/A classmethod N/A RemoveIronicBootstrap N/A object N/A N/A Task that deletes Ironic's bootstrap images

    Meant to be run after environment reset to make sure that new images will
    be generated.
     message N/A N/A cls task N/A N/A N/A rpc_message N/A make_astute_message task execute_tasks reset_environment_resp N/A tasks N/A N/A N/A tasks_templates make_shell_task N/A N/A consts MASTER_NODE_UID N/A parameters N/A cmd timeout N/A N/A rm -rf /var/www/nailgun/bootstrap/ironic/{0} format N/A N/A task cluster id 30 N/A rpc_message N/A classmethod N/A ClusterDeletionTask N/A object N/A execute N/A N/A cls task N/A N/A N/A N/A N/A logger debug Cluster deletion task is running N/A attrs N/A N/A N/A objects Attributes merged_attrs_values N/A N/A task cluster attributes N/A N/A N/A attrs get provision N/A N/A N/A N/A N/A N/A N/A task cluster release operating_system N/A N/A consts RELEASE_OS ubuntu N/A N/A N/A attrs N/A provision N/A method N/A N/A consts PROVISION_METHODS image N/A N/A N/A N/A logger debug Delete IBP images task is running N/A N/A N/A DeleteIBPImagesTask execute N/A task cluster N/A N/A attrs N/A provision N/A image_data N/A N/A N/A N/A logger debug Skipping IBP images deletion task N/A N/A N/A DeletionTask execute task nodes N/A N/A DeletionTask get_task_nodes_for_cluster N/A task cluster respond_to remove_cluster_resp N/A classmethod N/A BaseNetworkVerification N/A object N/A __init__ N/A N/A self task config N/A N/A N/A N/A self task task N/A N/A self config config N/A get_ifaces_on_undeployed_node N/A N/A self node node_json networks_to_skip N/A N/A N/A bonds N/A N/A bond N/A node bond_interfaces N/A N/A N/A bonds N/A N/A bond name N/A sorted N/A N/A s name N/A s N/A bond slaves N/A bonds N/A N/A N/A node_json N/A bonds bonds N/A iface N/A node nic_interfaces N/A N/A assigned_networks N/A iface assigned_networks_list N/A N/A iface bond N/A N/A assigned_networks N/A N/A iface bond assigned_networks_list N/A vlans N/A N/A ng assigned_networks N/A N/A N/A N/A ng group_id None N/A N/A N/A N/A vlans append 0 N/A N/A N/A N/A ng name networks_to_skip N/A N/A N/A data_ng N/A N/A filter N/A N/A N/A i N/A N/A N/A i N/A name N/A ng name N/A self config N/A 0 N/A N/A data_ng N/A vlans N/A N/A N/A N/A vlans extend N/A data_ng N/A vlans N/A N/A N/A N/A vlans append 0 N/A N/A vlans N/A N/A N/A modes_to_skip N/A N/A N/A consts BOND_MODES l_802_3ad N/A N/A consts BOND_MODES balance_rr N/A N/A N/A iface bond N/A N/A N/A iface bond mode modes_to_skip N/A N/A N/A N/A N/A node_json N/A excluded_networks append N/A iface N/A iface name N/A N/A N/A N/A N/A node_json N/A networks append N/A iface vlans N/A iface name vlans N/A get_ifaces_on_deployed_node N/A N/A self node node_json networks_to_skip N/A N/A N/A iface N/A node interfaces N/A N/A vlans N/A N/A ng N/A iface assigned_networks_list N/A N/A N/A N/A ng group_id None N/A N/A N/A N/A vlans append 0 N/A N/A N/A N/A ng name networks_to_skip N/A N/A N/A data_ng N/A N/A filter N/A N/A N/A i N/A N/A N/A i N/A name N/A ng name N/A self config N/A 0 N/A N/A data_ng N/A vlans N/A N/A N/A N/A vlans extend N/A data_ng N/A vlans N/A N/A N/A N/A vlans append 0 N/A vlans N/A N/A N/A N/A N/A node_json N/A networks append N/A iface vlans N/A iface name vlans N/A get_message_body N/A N/A self N/A N/A N/A nodes N/A N/A offline_nodes 0 N/A nodes_w_public N/A set N/A nodes_wo_dpdk N/A set N/A node N/A N/A N/A self task cluster nodes N/A N/A N/A node offline N/A N/A N/A N/A N/A N/A objects Node should_have_public_with_ip node N/A N/A N/A N/A nodes_w_public add N/A node id N/A N/A N/A N/A N/A objects Node dpdk_enabled node N/A N/A N/A N/A nodes_wo_dpdk add N/A node id N/A N/A N/A len nodes_w_public 1 N/A N/A nodes_w_public N/A set N/A N/A N/A len nodes_wo_dpdk 1 N/A N/A nodes_wo_dpdk N/A set N/A node N/A N/A N/A self task cluster nodes N/A N/A N/A node offline N/A N/A offline_nodes 1 N/A N/A node_json N/A uid name status networks excluded_networks N/A node id N/A node name N/A node status N/A N/A N/A networks_to_skip N/A N/A N/A N/A node id nodes_w_public N/A N/A N/A N/A networks_to_skip append N/A N/A consts NETWORKS public N/A N/A N/A N/A node id nodes_wo_dpdk N/A N/A node status N/A N/A consts NODE_STATUSES ready N/A N/A N/A N/A networks_to_skip append N/A N/A consts NETWORKS private N/A N/A N/A node status N/A N/A consts NODE_STATUSES ready N/A N/A N/A N/A self get_ifaces_on_deployed_node node node_json networks_to_skip N/A N/A N/A N/A self get_ifaces_on_undeployed_node node node_json networks_to_skip N/A N/A N/A nodes append node_json N/A N/A nodes offline nodes offline_nodes N/A get_message N/A N/A self N/A N/A N/A msg_body N/A N/A self get_message_body N/A message N/A make_astute_message N/A self task N/A N/A self task name N/A N/A {0}_resp format N/A N/A self task name msg_body N/A message N/A execute N/A N/A self task N/A None N/A N/A message N/A N/A self get_message N/A N/A N/A logger debug %s method is called with: %s N/A N/A self task name message N/A N/A N/A N/A db commit N/A N/A N/A rpc cast naily message N/A enabled N/A N/A cls cluster N/A N/A N/A Verify that subtask is enabled based on cluster configuration. N/A True N/A classmethod N/A VerifyNetworksForTemplateMixin N/A object N/A _get_private_vlan_range N/A N/A cluster template N/A N/A N/A N/A N/A N/A N/A cluster network_config segmentation_type N/A N/A consts NEUTRON_SEGMENT_TYPES vlan N/A neutron/private N/A template N/A roles N/A N/A vlan_range N/A N/A cluster network_config vlan_range N/A N/A range N/A vlan_range N/A 0 N/A N/A vlan_range N/A 1 1 N/A None N/A staticmethod _add_interface N/A N/A cls ifaces ifname vlan_ids bond_name N/A None N/A N/A N/A ifname vlan N/A N/A cls _parse_template_iface ifname N/A bond_name N/A bond_name ifname N/A N/A N/A N/A ifaces N/A bond_name add N/A int vlan N/A vlan_ids N/A N/A N/A N/A N/A ifaces N/A bond_name update vlan_ids N/A ifname N/A classmethod _get_transformations N/A N/A cls node N/A N/A N/A templates_for_node_mapping N/A N/A node network_template N/A templates_for_node_role N/A cluster N/A node cluster N/A counter_by_network_template N/A N/A collections defaultdict int N/A n N/A cluster nodes N/A N/A seen_templates N/A set N/A r N/A n all_roles N/A N/A net_template N/A templates_for_node_mapping N/A r N/A N/A N/A net_template seen_templates N/A N/A N/A counter_by_network_template N/A net_template 1 N/A N/A N/A seen_templates add net_template N/A node_templates N/A set N/A role_name N/A node all_roles N/A N/A N/A N/A node_templates update N/A templates_for_node_mapping N/A role_name N/A templates N/A N/A node network_template N/A templates N/A template_name node_templates N/A N/A N/A N/A counter_by_network_template N/A template_name 2 N/A N/A N/A N/A logger warning We have only one node in cluster with network template %s. Verification for this network template will be skipped. template_name N/A N/A template N/A templates N/A template_name N/A transformations N/A template N/A transformations N/A vlan_ids N/A N/A cls _get_private_vlan_range cluster template N/A transformation transformations N/A N/A N/A N/A transformation N/A action N/A add-port add-bond N/A N/A N/A N/A N/A N/A transformation get provider dpdkovs N/A N/A node status N/A N/A consts NODE_STATUSES ready N/A N/A N/A transformation get bridge N/A N/A consts DEFAULT_BRIDGES_NAMES br_prv N/A N/A N/A N/A N/A transformation vlan_ids N/A classmethod _parse_template_iface N/A N/A ifname N/A N/A N/A vlan 0 N/A chunks N/A N/A ifname rsplit . 1 N/A N/A N/A len chunks 2 N/A N/A N/A ifname vlan chunks N/A N/A ifname vlan N/A staticmethod get_ifaces_from_template_on_undeployed_node N/A N/A cls node node_json N/A N/A N/A Retrieves list of network interfaces on the undeployed node

        List is retrieved from the network template.
         N/A bonds N/A N/A collections defaultdict list N/A ifaces N/A N/A collections defaultdict set N/A N/A transformation vlan_ids N/A N/A cls _get_transformations node N/A N/A N/A N/A transformation N/A action add-port N/A N/A N/A N/A cls _add_interface ifaces N/A transformation N/A name vlan_ids N/A N/A N/A N/A transformation N/A action add-bond N/A N/A N/A N/A N/A transformation get mode N/A N/A consts BOND_MODES l_802_3ad N/A N/A N/A N/A N/A node_json N/A excluded_networks append N/A transformation N/A name N/A N/A ifname N/A sorted N/A transformation N/A interfaces N/A N/A ifname N/A N/A cls _add_interface ifaces ifname vlan_ids N/A bond_name N/A transformation N/A name N/A N/A N/A N/A bonds N/A bond_name append ifname N/A N/A if_name vlans N/A N/A six iteritems ifaces N/A N/A N/A N/A N/A node_json N/A networks append N/A iface vlans if_name N/A sorted vlans N/A bonds N/A N/A N/A node_json N/A bonds bonds N/A classmethod get_ifaces_from_template_on_deployed_node N/A N/A cls node node_json N/A N/A N/A Retrieves list of network interfaces on the deployed node

        List is retrieved from the network template.
         N/A ifaces N/A N/A collections defaultdict set N/A N/A transformation vlan_ids N/A N/A cls _get_transformations node N/A N/A N/A N/A transformation N/A action add-port N/A N/A N/A N/A cls _add_interface ifaces N/A transformation N/A name vlan_ids N/A N/A N/A N/A transformation N/A action add-bond N/A N/A bond_name N/A transformation N/A name N/A ifname N/A transformation N/A interfaces N/A N/A N/A N/A cls _add_interface ifaces ifname vlan_ids bond_name N/A N/A if_name vlans N/A N/A six iteritems ifaces N/A N/A N/A N/A N/A node_json N/A networks append N/A iface vlans if_name N/A sorted vlans N/A classmethod get_ifaces_on_undeployed_node N/A N/A self node node_json networks_to_skip N/A N/A N/A Retrieves list of network interfaces on the undeployed node.

        By default list of network interfaces is based on the information
        recieved from the fuel agent unless cluster has network template
        attached. In this case, list of interfaces retrieved from the
        network template.
         N/A N/A node network_template N/A N/A N/A N/A self get_ifaces_from_template_on_undeployed_node node node_json N/A N/A N/A N/A N/A super VerifyNetworksForTemplateMixin self get_ifaces_on_undeployed_node node node_json networks_to_skip N/A get_ifaces_on_deployed_node N/A N/A self node node_json networks_to_skip N/A N/A N/A Retrieves list of network interfaces on the deployed node. N/A N/A node network_template N/A N/A N/A N/A self get_ifaces_from_template_on_deployed_node node node_json N/A N/A N/A N/A N/A super VerifyNetworksForTemplateMixin self get_ifaces_on_deployed_node node node_json networks_to_skip N/A N/A VerifyNetworksTask N/A VerifyNetworksForTemplateMixin BaseNetworkVerification N/A __init__ N/A N/A self N/A args N/A N/A N/A N/A N/A super VerifyNetworksTask self __init__ args N/A N/A self subtasks N/A N/A add_subtask N/A N/A self subtask N/A N/A N/A N/A N/A N/A self subtasks append N/A N/A subtask get_message N/A get_message N/A N/A self N/A N/A N/A message N/A N/A N/A super VerifyNetworksTask self get_message N/A N/A message N/A subtasks N/A self subtasks N/A message N/A N/A CheckDhcpTask N/A VerifyNetworksForTemplateMixin BaseNetworkVerification N/A N/A Task for dhcp verification. N/A MulticastVerificationTask N/A BaseNetworkVerification N/A __init__ N/A N/A self task N/A N/A N/A corosync N/A N/A N/A N/A task cluster attributes N/A editable N/A corosync N/A group N/A N/A corosync N/A group N/A value N/A port N/A N/A corosync N/A port N/A value N/A conf N/A group port group port N/A N/A N/A N/A super MulticastVerificationTask self __init__ task conf N/A get_message_body N/A N/A self N/A N/A N/A all_nics N/A N/A N/A N/A objects cluster Cluster get_ifaces_for_network_in_cluster N/A N/A self task cluster management N/A N/A nodes N/A N/A dict N/A self config iface N/A nic N/A 1 uid N/A str N/A nic N/A 0 N/A nic all_nics N/A enabled N/A N/A cls cluster N/A N/A N/A Checks whether task is enabled

        Multicast should be enabled only in case 'corosync' section
        is present in editable attributes, which is not the case if cluster
        was upgraded from 5.0
         N/A False N/A classmethod N/A CheckNetworksTask N/A object N/A execute N/A N/A cls task data check_all_parameters N/A False N/A N/A Execute NetworkCheck task

        :param task: Task instance
        :param data: task data
        :param check_all_parameters: bool flag to specify that all network
        checks should be run. Without this flag only check for network
        configuration parameters will be run. For now, check_all_parameters
        is set to True only if task is executed from VerifyNetworks or
        CheckBeforeDeployment tasks.
         N/A checker N/A NetworkCheck task data N/A N/A N/A checker check_configuration N/A check_all_parameters N/A N/A N/A N/A checker check_network_template N/A warn_msgs N/A N/A checker check_interface_mapping N/A warn_msgs N/A N/A N/A task result N/A warning warn_msgs N/A N/A N/A N/A db commit N/A classmethod N/A CheckBeforeDeploymentTask N/A object N/A execute N/A N/A cls task N/A N/A N/A N/A fire_callback_on_before_deployment_check N/A task cluster N/A N/A N/A cls _check_nodes_are_online task N/A N/A N/A cls _check_ceph task N/A N/A N/A cls _check_public_network task N/A N/A N/A cls _check_vmware_consistency task N/A N/A N/A cls _validate_network_template task N/A N/A N/A cls _check_sriov_properties task N/A N/A N/A cls _check_dpdk_properties task N/A N/A N/A N/A objects Release is_external_mongo_enabled N/A N/A task cluster release N/A N/A N/A N/A cls _check_mongo_nodes task N/A classmethod _check_nodes_are_online N/A N/A cls task N/A N/A N/A offline_nodes N/A N/A N/A N/A N/A N/A N/A N/A N/A db query Node filter N/A N/A Node cluster N/A task cluster filter_by online False filter_by pending_deletion False N/A offline_nodes_not_ready N/A n N/A n offline_nodes N/A N/A n status N/A N/A consts NODE_STATUSES ready N/A nodes_to_deploy N/A N/A TaskHelper nodes_to_deploy N/A task cluster N/A offline_nodes_to_redeploy N/A n N/A n offline_nodes N/A N/A N/A n status N/A N/A consts NODE_STATUSES ready N/A n nodes_to_deploy N/A N/A offline_nodes_not_ready offline_nodes_to_redeploy N/A N/A node_names N/A N/A , join N/A map N/A N/A N/A n N/A N/A n full_name N/A offline_nodes_not_ready offline_nodes_to_redeploy N/A N/A N/A errors NodeOffline N/A N/A Nodes "{0}" are offline. Remove them from environment and try again. format node_names N/A classmethod _check_ceph N/A N/A cls task N/A N/A N/A storage N/A N/A N/A N/A objects Attributes merged_attrs N/A N/A task cluster attributes N/A storage N/A option storage N/A N/A N/A N/A _ceph option N/A storage N/A option N/A N/A N/A storage N/A option N/A value True N/A N/A N/A N/A cls _check_ceph_osds task N/A N/A classmethod _check_ceph_osds N/A N/A cls task N/A N/A N/A osd_count N/A len N/A filter N/A N/A N/A node N/A N/A ceph-osd N/A node all_roles N/A N/A task cluster nodes N/A osd_pool_size N/A int N/A N/A N/A N/A N/A N/A objects Attributes merged_attrs N/A N/A task cluster attributes N/A storage N/A osd_pool_size N/A value N/A N/A osd_count osd_pool_size N/A N/A N/A N/A errors NotEnoughOsdNodes N/A Number of OSD nodes (%s) cannot be less than the Ceph object replication factor (%s). Please either assign ceph-osd role to more nodes, or reduce Ceph replication factor in the Settings tab. N/A osd_count osd_pool_size N/A classmethod _check_public_network N/A N/A cls task N/A N/A N/A all_public N/A N/A N/A objects Cluster should_assign_public_to_all_nodes N/A task cluster N/A public_networks N/A filter N/A N/A N/A ng N/A N/A N/A ng name public N/A N/A task cluster network_groups N/A public public_networks N/A N/A nodes N/A N/A N/A objects NodeCollection get_by_group_id N/A public group_id N/A all_public N/A N/A nodes_count N/A N/A nodes count N/A N/A nodes_count N/A sum N/A N/A int N/A N/A N/A objects Node should_have_public_with_ip node N/A node nodes N/A vip_count 0 N/A N/A N/A N/A task cluster is_ha_mode N/A any N/A N/A controller N/A node all_roles N/A node nodes N/A N/A vip_count 2 N/A N/A N/A N/A cls __network_size public N/A nodes_count vip_count N/A N/A error_message N/A N/A cls __format_network_error public nodes_count N/A N/A N/A errors NetworkCheckError error_message N/A classmethod __network_size N/A N/A cls network N/A N/A N/A N/A sum N/A N/A len N/A N/A netaddr IPRange N/A ip_range first N/A ip_range last N/A ip_range N/A network ip_ranges N/A classmethod __format_network_error N/A N/A cls public nodes_count N/A N/A N/A N/A N/A N/A Not enough IP addresses. Public network {0} must have at least {1} IP addresses  format N/A public cidr nodes_count for the current environment. N/A classmethod _check_mongo_nodes N/A N/A cls task N/A N/A N/A Check for mongo nodes presence in env with external mongo. N/A components N/A N/A N/A N/A N/A objects Attributes merged_attrs N/A N/A task cluster attributes get additional_components None N/A N/A components N/A N/A components N/A ceilometer N/A value N/A N/A components N/A mongo N/A value N/A N/A len N/A N/A N/A objects Cluster get_nodes_by_role N/A task cluster mongo 0 N/A N/A N/A errors ExtMongoCheckerError N/A N/A components N/A N/A components N/A ceilometer N/A value N/A N/A N/A components N/A mongo N/A value N/A N/A len N/A N/A N/A objects Cluster get_nodes_by_role N/A task cluster mongo 0 N/A N/A N/A errors MongoNodesCheckError N/A classmethod _check_vmware_consistency N/A N/A cls task N/A N/A N/A Checks vmware attributes consistency and proper values. N/A attributes N/A N/A N/A objects Cluster get_editable_attributes N/A task cluster N/A vmware_attributes N/A N/A task cluster vmware_attributes N/A vmware_attributes N/A N/A cinder_nodes N/A node N/A node N/A N/A task cluster nodes N/A cinder N/A node all_roles N/A N/A cinder_nodes N/A N/A N/A N/A logger info There is no any node with "cinder" role provided N/A compute_vmware_nodes N/A node N/A node N/A N/A task cluster nodes N/A compute-vmware N/A node all_roles N/A compute_vmware_nodes N/A N/A N/A N/A cls _check_vmware_nova_computes compute_vmware_nodes vmware_attributes N/A models N/A settings default cluster version networking_parameters attributes N/A vmware_attributes editable N/A task cluster N/A settings VERSION N/A N/A task cluster network_config N/A errors_msg N/A N/A VmwareAttributesRestriction check_data models models metadata N/A N/A vmware_attributes editable N/A metadata data N/A N/A vmware_attributes editable N/A value N/A errors_msg N/A N/A N/A N/A errors CheckBeforeDeploymentError N/A N/A join errors_msg N/A classmethod _check_vmware_nova_computes N/A N/A cls compute_vmware_nodes attributes N/A N/A N/A Check that nova computes settings is correct for cluster nodes

        :param compute_vmware_nodes: all node with role compute-vmware that
                                     belongs to cluster
        :type compute_vmware_nodes: list of nailgun.db.sqlalchemy.models.Node
                                    instances
        :param attributes: cluster vmware_attributes
        :type attributes: nailgun.db.sqlalchemy.models.VmwareAttributes
        :raises: errors.CheckBeforeDeploymentError
         N/A compute_nodes_targets N/A N/A N/A objects VmwareAttributes get_nova_computes_target_nodes attributes N/A compute_nodes_hostnames N/A set N/A N/A t N/A id N/A t compute_nodes_targets N/A errors_msg N/A N/A cluster_nodes_hostname N/A set N/A not_deleted_nodes_from_computes N/A set N/A not_assigned_nodes_to_computes N/A set N/A node compute_vmware_nodes N/A N/A node_hostname N/A node hostname N/A N/A node pending_deletion N/A N/A N/A node_hostname compute_nodes_hostnames N/A N/A N/A N/A not_deleted_nodes_from_computes add N/A node name N/A N/A N/A node_hostname compute_nodes_hostnames N/A N/A N/A N/A not_assigned_nodes_to_computes add N/A node name N/A N/A N/A cluster_nodes_hostname add node_hostname N/A not_assigned_nodes_to_computes N/A N/A N/A N/A errors_msg append N/A N/A The following compute-vmware nodes are not assigned to any vCenter cluster: {0} format N/A N/A ,  join N/A sorted not_assigned_nodes_to_computes N/A not_deleted_nodes_from_computes N/A N/A N/A N/A errors_msg append N/A N/A The following nodes are prepared for deletion and couldn't be assigned to any vCenter cluster: {0} format N/A N/A ,  join N/A sorted not_deleted_nodes_from_computes N/A alien_nodes_names N/A N/A t N/A label N/A t compute_nodes_targets N/A N/A t N/A id cluster_nodes_hostname N/A alien_nodes_names N/A N/A N/A N/A errors_msg append N/A N/A The following nodes don't belong to compute-vmware nodes of environment and couldn't be assigned to any vSphere cluster: {0} format N/A N/A ,  join N/A sorted alien_nodes_names N/A errors_msg N/A N/A N/A N/A errors CheckBeforeDeploymentError N/A N/A join errors_msg N/A classmethod _validate_network_template N/A N/A cls task N/A N/A N/A cluster N/A task cluster N/A N/A N/A N/A cluster network_config configuration_template N/A N/A N/A template N/A N/A N/A cluster network_config configuration_template N/A adv_net_template N/A template_node_roles N/A set N/A node_group N/A cluster node_groups N/A N/A template_for_node_group N/A N/A N/A node_group name template N/A template N/A N/A node_group name N/A template N/A default N/A required_nets N/A set N/A template_for_node_group N/A network_assignments N/A ng_nets N/A set N/A N/A ng name N/A ng N/A node_group networks N/A N/A node_group is_default N/A N/A N/A N/A ng_nets add N/A N/A consts NETWORKS fuelweb_admin N/A missing_nets N/A required_nets ng_nets N/A missing_nets N/A N/A error_msg N/A N/A The following network groups are missing: {0} from node group {1} and are required by the current network template. format N/A N/A , join missing_nets N/A node_group name N/A N/A N/A errors NetworkTemplateMissingNetworkGroup error_msg N/A N/A N/A template_node_roles update N/A template_for_node_group N/A templates_for_node_role N/A N/A N/A cls _check_dpdk_network_scheme N/A template_for_node_group N/A network_scheme node_group N/A cluster_roles N/A N/A N/A objects Cluster get_assigned_roles cluster N/A missing_roles N/A cluster_roles template_node_roles N/A missing_roles N/A N/A error_roles N/A N/A ,  join missing_roles N/A error_msg N/A N/A Node roles {0} are missing from network configuration template format error_roles N/A N/A N/A errors NetworkTemplateMissingRoles error_msg N/A classmethod _check_sriov_properties N/A N/A self task N/A N/A N/A h_type N/A N/A N/A N/A N/A N/A objects Cluster get_editable_attributes N/A task cluster N/A common N/A libvirt_type N/A value N/A node N/A N/A task cluster nodes N/A N/A N/A N/A N/A N/A objects Node sriov_enabled node N/A N/A N/A N/A h_type N/A N/A consts HYPERVISORS kvm N/A N/A N/A N/A errors InvalidData Only KVM hypervisor works with SRIOV. N/A classmethod _check_dpdk_network_scheme N/A N/A cls network_scheme node_group N/A N/A N/A Check that endpoint with dpdk provider mapped only to neutron/private

         N/A net_template N/A N/A network_scheme values N/A N/A roles N/A net_template N/A roles N/A endpoints N/A set N/A transformation N/A net_template N/A transformations N/A N/A N/A N/A N/A transformation get provider N/A N/A consts NEUTRON_L23_PROVIDERS dpdkovs N/A N/A N/A N/A endpoints add N/A transformation N/A bridge N/A N/A endpoints N/A N/A N/A N/A N/A len endpoints 1 N/A N/A N/A N/A errors NetworkCheckError N/A N/A dpdkovs provider can be assigned only for one endpoint. You trying for {}: {} format N/A len endpoints N/A N/A ,  join endpoints N/A endpoint_roles N/A N/A collections defaultdict set N/A N/A role_name endpoint N/A N/A roles items N/A N/A N/A N/A N/A endpoint_roles N/A endpoint add role_name N/A endpoint N/A N/A endpoints pop N/A N/A N/A endpoint_roles N/A endpoint N/A neutron/private N/A N/A N/A N/A errors NetworkCheckError N/A N/A Only neutron/private network role could be assigned to node group '{}' with DPDK format N/A node_group name N/A classmethod _check_dpdk_properties N/A N/A self task N/A N/A N/A dpdk_enabled False N/A node N/A N/A task cluster nodes N/A N/A N/A N/A N/A N/A objects Node dpdk_enabled node N/A N/A N/A dpdk_enabled True N/A N/A N/A N/A N/A objects NodeAttributes is_dpdk_hugepages_enabled node N/A N/A N/A N/A errors InvalidData N/A N/A Hugepages for DPDK are not configured for node '{}' format N/A node id N/A N/A N/A N/A N/A objects NodeAttributes is_nova_hugepages_enabled node N/A N/A N/A N/A errors InvalidData N/A N/A Hugepages for Nova are not configured for node '{}' format N/A node id N/A dpdk_enabled N/A N/A h_type N/A N/A N/A N/A N/A N/A objects Cluster get_editable_attributes N/A task cluster N/A common N/A libvirt_type N/A value N/A N/A h_type N/A N/A consts HYPERVISORS kvm N/A N/A N/A N/A errors InvalidData Only KVM hypervisor works with DPDK. N/A classmethod N/A DumpTask N/A object N/A conf N/A N/A cls N/A N/A N/A N/A N/A logger debug Preparing config for snapshot N/A nodes N/A N/A N/A N/A N/A N/A N/A db query Node filter N/A N/A N/A Node status in_ N/A ready provisioned deploying error all N/A dump_conf N/A deepcopy N/A settings DUMP N/A node nodes N/A N/A N/A N/A node cluster None N/A N/A N/A N/A logger info N/A N/A Node {id} is not assigned to an environment, falling back to root format id N/A node id N/A ssh_user root N/A N/A editable_attrs N/A N/A N/A objects Cluster get_editable_attributes N/A node cluster N/A N/A N/A ssh_user N/A N/A N/A editable_attrs N/A service_user N/A name N/A value N/A N/A N/A KeyError N/A N/A N/A N/A logger info N/A N/A Environment {env} doesn't support non-root accounts on the slave nodes, falling back to root for node-{node} format env N/A node cluster_id node N/A node id N/A ssh_user root N/A host N/A hostname address ssh-user ssh-key N/A N/A N/A objects Node get_slave_name node N/A node ip ssh_user N/A settings SHOTGUN_SSH_KEY N/A N/A controller N/A node roles N/A N/A N/A N/A N/A N/A N/A dump_conf N/A dump N/A controller N/A hosts append host N/A N/A N/A N/A N/A N/A dump_conf N/A dump N/A slave N/A hosts append host N/A N/A N/A N/A N/A N/A dump_conf N/A dump N/A local N/A objects append N/A type dbhost dbname username password postgres N/A N/A settings DATABASE N/A host N/A N/A settings DATABASE N/A name N/A N/A settings DATABASE N/A user N/A N/A settings DATABASE N/A passwd N/A N/A N/A N/A N/A N/A dump_conf N/A dump N/A local N/A objects append N/A type server methods to_file xmlrpc N/A settings COBBLER_URL N/A get_distros get_profiles get_systems cobbler.txt N/A N/A N/A N/A dump_conf N/A dump N/A master N/A hosts N/A N/A hostname address ssh-key N/A N/A socket gethostname N/A settings MASTER_IP N/A settings SHOTGUN_SSH_KEY N/A N/A N/A logger debug Dump conf: %s N/A str dump_conf N/A dump_conf N/A classmethod execute N/A N/A cls task conf N/A None N/A N/A N/A N/A logger debug N/A N/A DumpTask: task={0} format N/A task uuid N/A message N/A make_astute_message task dump_environment dump_environment_resp N/A settings N/A conf N/A N/A cls conf N/A N/A N/A N/A db flush N/A N/A N/A rpc cast naily message N/A classmethod N/A GenerateCapacityLogTask N/A object N/A execute N/A N/A cls task N/A N/A N/A N/A N/A logger debug N/A GenerateCapacityLogTask: task=%s N/A task uuid N/A unallocated_nodes N/A N/A N/A N/A N/A N/A N/A db query Node filter_by cluster_id None count N/A allocated_nodes N/A N/A N/A N/A N/A N/A N/A db query Node filter N/A N/A Node cluster_id None count N/A node_allocation N/A N/A N/A N/A N/A N/A N/A db query Cluster N/A N/A func count N/A Node id outerjoin Node group_by Cluster N/A env_stats N/A N/A allocation node_allocation N/A N/A N/A N/A env_stats append N/A cluster nodes N/A N/A allocation N/A 0 name N/A allocation N/A 1 N/A allocation_stats N/A allocated unallocated allocated_nodes unallocated_nodes N/A fuel_data N/A release uuid N/A N/A settings VERSION N/A release N/A settings FUEL_KEY N/A roles_stat N/A N/A node N/A N/A N/A db query Node N/A N/A N/A node roles N/A N/A roles_list N/A N/A + join N/A sorted N/A node roles N/A N/A roles_list roles_stat N/A N/A N/A roles_stat N/A roles_list 1 N/A N/A N/A roles_stat N/A roles_list 1 N/A capacity_data N/A environment_stats allocation_stats fuel_data roles_stat env_stats allocation_stats fuel_data roles_stat N/A capacity_log N/A CapacityLog N/A N/A capacity_log report capacity_data N/A N/A N/A N/A db add capacity_log N/A N/A N/A N/A db flush N/A N/A task result N/A log_id N/A capacity_log id N/A N/A task status ready N/A N/A task progress 100 N/A N/A N/A N/A db commit N/A classmethod N/A CheckRepoAvailability N/A BaseNetworkVerification N/A get_message N/A N/A self N/A N/A N/A rpc_message N/A make_astute_message N/A self task check_repositories check_repositories_resp N/A nodes urls N/A N/A self _get_nodes_to_check N/A N/A N/A objects Cluster get_repo_urls N/A N/A self task cluster N/A rpc_message N/A execute N/A N/A self N/A N/A N/A N/A N/A rpc cast naily N/A N/A self get_message N/A _get_nodes_to_check N/A N/A self N/A N/A N/A nodes N/A N/A uid N/A consts MASTER_NODE_UID N/A n N/A N/A N/A objects Cluster get_nodes_not_for_deletion N/A N/A self task cluster N/A N/A N/A n online N/A N/A N/A N/A nodes append N/A uid N/A n id N/A nodes N/A N/A CheckRepoAvailabilityWithSetup N/A object N/A __init__ N/A N/A self task config N/A N/A N/A N/A self task task N/A N/A self config config N/A get_config N/A N/A cls cluster N/A N/A N/A urls N/A N/A N/A objects Cluster get_repo_urls cluster N/A nodes N/A N/A errors N/A N/A N/A urls N/A N/A N/A all_public N/A N/A N/A objects Cluster should_assign_public_to_all_nodes cluster N/A public_networks N/A filter N/A N/A N/A ng N/A N/A N/A ng name public N/A cluster network_groups N/A public public_networks N/A N/A nodes_with_public_ip N/A N/A required_ips 0 N/A group_nodes N/A N/A N/A N/A N/A objects NodeCollection filter_by None group_id N/A public group_id status N/A N/A consts NODE_STATUSES discover all N/A node group_nodes N/A N/A N/A N/A all_public N/A N/A N/A objects Node should_have_public_with_ip node N/A N/A N/A ip N/A N/A NetworkManager get_ip_by_network_name node N/A public name N/A N/A N/A nodes_with_public_ip append N/A node ip N/A N/A ip None N/A N/A required_ips 1 N/A N/A nodes_with_public_ip N/A N/A N/A free_ips N/A iter N/A N/A NetworkManager get_free_ips public required_ips N/A mask N/A N/A N/A N/A public cidr split / N/A 1 N/A lacp_modes N/A N/A N/A consts BOND_MODES lacp_balance_tcp N/A N/A consts BOND_MODES l_802_3ad N/A N/A node ip nodes_with_public_ip N/A N/A N/A N/A node online N/A N/A N/A iface N/A N/A NetworkManager find_nic_assoc_with_ng node public N/A N/A N/A iface bond N/A N/A N/A iface bond mode lacp_modes N/A N/A N/A N/A errors append N/A N/A Iface {0} on node {1} configured to use lacp-balance-tcp mode as part of {2}. Repo availability verification for this node will be skipped. format N/A iface name N/A node name N/A N/A iface bond name N/A N/A ip N/A ip N/A next free_ips N/A node_config N/A addr gateway vlan iface urls uid N/A N/A {0}/{1} format ip mask N/A public gateway N/A N/A public vlan_start 0 N/A iface name urls N/A node uid N/A N/A N/A nodes append node_config N/A N/A nodes errors N/A classmethod get_message N/A N/A self N/A N/A N/A N/A make_astute_message N/A self task check_repositories_with_setup check_repositories_with_setup_resp N/A nodes N/A self config N/A N/A CreateStatsUserTask N/A object N/A message N/A N/A cls task primary_controller N/A N/A N/A rpc_message N/A make_astute_message task execute_tasks stats_user_resp N/A tasks N/A N/A type uids parameters N/A N/A consts ORCHESTRATOR_TASK_TYPES puppet N/A N/A primary_controller id N/A puppet_modules puppet_manifest cwd /etc/puppet/modules /etc/puppet/modules/osnailyfacter/modular/keystone/workloads_collector_add.pp / N/A rpc_message N/A classmethod execute N/A N/A cls task primary_controller N/A N/A N/A N/A N/A rpc cast naily N/A N/A cls message task primary_controller N/A classmethod N/A RemoveStatsUserTask N/A object N/A message N/A N/A cls task primary_controller N/A N/A N/A rpc_message N/A make_astute_message task execute_tasks stats_user_resp N/A tasks N/A N/A type uids parameters N/A N/A consts ORCHESTRATOR_TASK_TYPES puppet N/A N/A primary_controller id N/A puppet_modules puppet_manifest cwd /etc/puppet/modules /etc/puppet/modules/osnailyfacter/modular/keystone/workloads_collector_remove.pp / N/A rpc_message N/A classmethod execute N/A N/A cls task primary_controller N/A N/A N/A N/A N/A rpc cast naily N/A N/A cls message task primary_controller N/A classmethod N/A UpdateDnsmasqTask N/A object N/A get_admin_networks_data N/A N/A cls N/A N/A N/A nm N/A N/A N/A objects Cluster get_network_manager N/A N/A admin_networks N/A N/A nm get_admin_networks True N/A classmethod message N/A N/A cls task N/A N/A N/A rpc_message N/A make_astute_message task execute_tasks update_dnsmasq_resp N/A tasks N/A N/A type uids parameters N/A N/A consts ORCHESTRATOR_TASK_TYPES upload_file N/A master N/A path data /etc/hiera/networks.yaml N/A N/A yaml safe_dump N/A N/A cls get_admin_networks_data N/A type uids parameters N/A N/A consts ORCHESTRATOR_TASK_TYPES puppet N/A master N/A puppet_modules puppet_manifest timeout cwd /etc/puppet/modules /etc/puppet/modules/fuel/examples/dhcp-ranges.pp 300 / N/A type uids parameters cobbler_sync N/A master N/A provisioning_info N/A N/A N/A provisioning_serializers ProvisioningSerializer serialize_cluster_info None None N/A rpc_message N/A classmethod execute N/A N/A cls task N/A N/A N/A N/A N/A rpc cast naily N/A N/A cls message task N/A classmethod N/A UpdateOpenstackConfigTask N/A BaseDeploymentTask N/A task_deploy N/A N/A transaction nodes tasks task_ids N/A N/A N/A N/A directory graph N/A N/A N/A task_based_deployment TasksSerializer serialize N/A transaction cluster nodes tasks task_ids task_ids N/A N/A make_astute_message transaction task_deploy update_config_resp N/A tasks_directory tasks_graph directory graph N/A staticmethod granular_deploy N/A N/A transaction nodes tasks task_ids N/A N/A N/A graph N/A N/A orchestrator_graph AstuteGraph N/A transaction cluster tasks N/A N/A N/A graph only_tasks task_ids N/A deployment_tasks N/A N/A graph stage_tasks_serialize N/A N/A graph graph topology nodes N/A N/A make_astute_message transaction execute_tasks update_config_resp N/A tasks deployment_tasks N/A staticmethod message N/A N/A cls task nodes N/A kwargs N/A N/A configs N/A N/A N/A objects OpenstackConfigCollection find_configs_for_nodes N/A task cluster nodes N/A updated_configs N/A set N/A config configs N/A N/A N/A N/A updated_configs update N/A config configuration N/A updated_configs N/A N/A N/A N/A updated_configs add * N/A N/A N/A N/A errors NoChanges N/A refreshable_tasks N/A N/A N/A objects Cluster get_refreshable_tasks N/A task cluster updated_configs N/A task_ids N/A N/A t N/A id N/A t refreshable_tasks N/A deployment_tasks N/A N/A N/A objects Cluster get_deployment_tasks N/A task cluster N/A N/A N/A N/A cls call_deployment_method task tasks deployment_tasks nodes nodes task_ids task_ids N/A 1 N/A classmethod N/A N/A N/A N/A settings FAKE_TASKS N/A settings FAKE_TASKS_AMQP N/A N/A N/A rpc cast fake_cast