Module Expr Str 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 Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str keyword Str Assign NameStore Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Assign NameStore Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str Assign NameStore Call NameLoad Str keyword Dict keyword Str keyword Str Assign NameStore Num Assign NameStore Num Assign NameStore BinOpMult Num Num FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str orelse If Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr Str orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore CompareIn AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str If NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Raise Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad Call NameLoad NameLoad Return Num Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot CompareLtE NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Return Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad Return Num Assign NameStore AttributeLoad NameLoad attr TryExcept body If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad Return Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Dict Assign NameStore Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword NameLoad Return Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Str Return Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign TupleStore NameStore Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad body Return Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call NameLoad Str NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str If UnaryOpNot Call NameLoad NameLoad body Return Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad keyword NameLoad orelse If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword SubscriptLoad NameLoad Index NameLoad keyword BinOpMod Str BinOpDiv SubscriptLoad NameLoad Index NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign NameStore Str If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr CompareIn NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num SubscriptLoad SubscriptLoad NameLoad Index Str Index Num TupleLoad Str NameLoad TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr NameLoad TupleLoad Str Call NameLoad NameLoad AttributeLoad NameLoad attr TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str TupleLoad Str ListLoad TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str NameLoad TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad AttributeLoad NameLoad attr TupleLoad Str Call NameLoad NameLoad Expr Call NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad TryFinally body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr ListLoad Str Index Num Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Call NameLoad Str NameLoad NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue Expr Call NameLoad Str If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str NameLoad NameLoad orelse Expr Call NameLoad Str NameLoad Expr Call NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad Str AttributeLoad NameLoad attr Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad For TupleStore NameStore NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad GeneratorExp TupleLoad NameLoad BoolOpAnd CompareEq Call NameLoad NameLoad Num SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore NameLoad If BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareGt NameLoad Num body Expr Call NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad For TupleStore NameStore NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Expr Call NameLoad Str NameLoad Continue Assign TupleStore TupleStore NameStore NameStore NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Str For NameStore NameLoad body If CompareIn NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad TryExcept body Expr Call NameLoad Str NameLoad Expr Call NameLoad NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore Call NameLoad NameLoad AugAssignBitOr NameStore NameLoad Expr Call NameLoad Str NameLoad NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr GeneratorExp CompareIn SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore NameLoad If NameLoad body Expr Call NameLoad Str NameLoad orelse Expr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call NameLoad Str NameLoad NameLoad orelse Expr Call NameLoad Str NameLoad NameLoad Expr Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr orelse If UnaryOpNot NameLoad body Expr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call NameLoad Str Return Num If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str If UnaryOpNot Call NameLoad NameLoad body Return Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Return Num handlers ExceptHandler type NameLoad body Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad keyword NameLoad If UnaryOpNot NameLoad body Return Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call NameLoad NameLoad If NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad Str If BoolOpAnd NameLoad NameLoad body Expr Call NameLoad Str Return Num If BoolOpAnd NameLoad NameLoad body Expr Call NameLoad Str Return Num If BoolOpAnd NameLoad BoolOpOr NameLoad NameLoad body Expr Call NameLoad Str Return Num If BinOpBitXor Call NameLoad NameLoad Call NameLoad NameLoad body Expr Call NameLoad Str Return Num Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad TryExcept body If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return Num If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Return Num orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Str If UnaryOpNot Call NameLoad NameLoad body Return Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListLoad If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr For NameStore BinOpAdd AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list If BoolOpOr NameLoad NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Expr Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad If BoolOpOr NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword BoolOpOr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad Str Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str If UnaryOpNot NameLoad body Return If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad keyword NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad BinOpAdd NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad BinOpAdd NameLoad ListLoad NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore CompareIn AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot BoolOpOr CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str Return Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad Call NameLoad NameLoad Return Num Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr ListLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Return Num Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Dict Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad BinOpMult Num Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Return Num If Call NameLoad GeneratorExp CompareLtE NameLoad Num comprehension NameStore NameLoad body Expr Call NameLoad Str Return Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad If CompareIn NameLoad TupleLoad Str Str body Assign NameStore CompareEq NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str If SubscriptLoad NameLoad Index Num body Assign NameStore Str orelse Assign NameStore Str Expr Call NameLoad BinOpMod Str NameLoad orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Return Num decorator_list FunctionDef arguments args NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad Call AttributeLoad NameLoad attr body Expr Call NameLoad Str orelse Expr Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str orelse If CompareEq NameLoad Str body If CompareLt Call NameLoad NameLoad Num body Raise Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Expr Call NameLoad SubscriptLoad NameLoad Index Num orelse Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Num For NameStore NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Assert CompareNotEq NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Num Expr Call NameLoad Str NameLoad If CompareGt NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Str orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Str Assign NameStore Call NameLoad keyword NameLoad For NameStore NameLoad body Expr Call NameLoad Str NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp Num comprehension TupleStore NameStore NameStore NameLoad UnaryOpNot NameLoad If CompareEq NameLoad Num body Expr Call NameLoad Str NameLoad orelse Expr Call NameLoad Str NameLoad NameLoad Call NameLoad NameLoad Return NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr Call NameLoad Num BinOpSub BinOpAdd NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot BinOpSub NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Delete SubscriptDel NameLoad Index NameLoad If NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Expr Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad NameLoad body Expr Call NameLoad Str Return AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Expr Call NameLoad Str Return AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad NameLoad body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Str Return AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str Return AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad Str NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Str Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If UnaryOpNot NameLoad body For NameStore BinOpAdd NameLoad NameLoad body If CompareIn NameLoad NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad ListLoad NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Continue orelse If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad Return AttributeLoad NameLoad attr orelse If CompareIs NameLoad NameLoad body Expr Call NameLoad Str NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad orelse If BoolOpOr UnaryOpNot NameLoad BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot BoolOpOr AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str body Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Return Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad ListLoad AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad NameLoad NameLoad orelse Assign NameStore ListLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Num body Return TupleLoad NameLoad NameLoad Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Expr Call NameLoad Str NameLoad If UnaryOpNot Call NameLoad NameLoad body Return TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr ListLoad Str Str AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad Call NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Num NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad Str Return TupleLoad NameLoad NameLoad Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad Call NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr BinOpMult Num Num Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad AttributeLoad NameLoad attr Str body Return TupleLoad NameLoad NameLoad Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call NameLoad ListLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr Str If NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Expr Call NameLoad Str NameLoad If UnaryOpNot Call NameLoad ListLoad Str Str AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad ListLoad Str Str NameLoad Str AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If NameLoad body Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad AttributeLoad NameLoad attr Str Str body Return TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad body Return TupleLoad NameLoad NameLoad Expr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad AttributeLoad NameLoad attr Str body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Expr Call NameLoad Str Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr Str If NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad Assign NameStore Num Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad Str Str Str body Assign NameStore Num Expr Call NameLoad Str Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Str If NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad Str attr Call NameLoad Call NameLoad NameLoad Assign NameStore Num Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad Str Str Str body Assign NameStore Num Expr Call NameLoad ListLoad Str Str AttributeLoad NameLoad attr Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Num Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad Str Str Str body Assign NameStore Num Expr Call NameLoad Str If UnaryOpNot Call NameLoad ListLoad Str Str body Assign NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad BoolOpAnd AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Return Num If UnaryOpNot AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad If CompareIsNot NameLoad NameLoad body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Num Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad If CompareIs NameLoad NameLoad body Return Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Return Num Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Return Num Assign NameStore BoolOpAnd Call AttributeLoad NameLoad attr NameLoad NameLoad UnaryOpNot BoolOpAnd CompareNotEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call NameLoad ListLoad AttributeLoad NameLoad attr Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Return Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return Num If UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad NameLoad Return Num orelse Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Return Num Return Call NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num keyword Num BinOpAdd BinOpAdd ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num keyword Num ListLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad BinOpAdd NameLoad ListLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad Str Str TupleLoad NameLoad NameLoad ListLoad Str Str TupleLoad NameLoad NameLoad ListLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num keyword Num ListLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num ListLoad NameLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad BinOpAdd ListLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad BinOpAdd ListLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num keyword Num ListLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num keyword Num keyword ListLoad Str Str Str ListLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad keyword Num keyword Num keyword ListLoad Str Str Str Call NameLoad keyword Num keyword Num keyword ListLoad Str Str Str ListLoad Str Str TupleLoad NameLoad NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad Str Str TupleLoad NameLoad NameLoad ListLoad Str Str TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad Str Str TupleLoad NameLoad ListLoad Call NameLoad ListLoad Str Str Assign NameStore Dict Str Str Str Str FunctionDef arguments args defaults body Return Call NameLoad NameLoad keyword Dict Str AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A Cluster related commands cStringIO StringIO N/A os N/A time N/A OpenSSL N/A tempfile N/A itertools ganeti.cli * ganeti bootstrap ganeti compat ganeti constants ganeti config ganeti errors ganeti netutils ganeti objects ganeti opcodes ganeti pathutils ganeti qlang ganeti serializer ganeti ssconf ganeti ssh ganeti uidpool ganeti utils ganeti wconfd ganeti.client base N/A ON_OPT N/A cli_option --on default False action store_true dest on help Recover from an EPO N/A GROUPS_OPT N/A cli_option --groups default False action store_true dest groups help Arguments are node groups instead of nodes N/A FORCE_FAILOVER N/A cli_option --yes-do-it dest yes_do_it help Override interactive check for --no-voting default False action store_true N/A FORCE_DISTRIBUTION N/A cli_option --yes-do-it dest yes_do_it help Unconditionally distribute the configuration, even if the queue is drained default False action store_true N/A TO_OPT N/A cli_option --to default None type string help The Ganeti version to upgrade to N/A RESUME_OPT N/A cli_option --resume default False action store_true help Resume any pending Ganeti upgrades N/A DATA_COLLECTOR_INTERVAL_OPT N/A cli_option --data-collector-interval default N/A type keyval help Set collection intervals in seconds of data collectors. N/A _EPO_PING_INTERVAL 30 N/A _EPO_PING_TIMEOUT 1 N/A _EPO_REACHABLE_TIMEOUT N/A 15 60 _InitEnabledDiskTemplates N/A N/A opts N/A N/A N/A Initialize the list of enabled disk templates.

   N/A N/A opts enabled_disk_templates N/A N/A N/A N/A N/A opts enabled_disk_templates split , N/A N/A N/A constants DEFAULT_ENABLED_DISK_TEMPLATES N/A _InitVgName N/A N/A opts enabled_disk_templates N/A N/A N/A Initialize the volume group name.

  @type enabled_disk_templates: list of strings
  @param enabled_disk_templates: cluster-wide enabled disk templates

   N/A vg_name None N/A N/A N/A opts vg_name None N/A N/A vg_name N/A opts vg_name N/A vg_name N/A N/A N/A N/A N/A utils IsLvmEnabled enabled_disk_templates N/A N/A N/A ToStdout You specified a volume group with --vg-name, but you did not enable any disk template that uses lvm. N/A N/A N/A N/A utils IsLvmEnabled enabled_disk_templates N/A N/A N/A N/A errors OpPrereqError LVM disk templates are enabled, but vg name not set. N/A N/A N/A N/A utils IsLvmEnabled enabled_disk_templates N/A N/A vg_name N/A constants DEFAULT_VG N/A vg_name N/A _InitDrbdHelper N/A N/A opts enabled_disk_templates feedback_fn N/A ToStdout N/A N/A Initialize the DRBD usermode helper.

   N/A drbd_enabled N/A N/A constants DT_DRBD8 enabled_disk_templates N/A N/A N/A drbd_enabled N/A N/A opts drbd_helper None N/A N/A N/A feedback_fn Note: You specified a DRBD usermode helper, while DRBD storage is not enabled. N/A drbd_enabled N/A N/A N/A N/A opts drbd_helper None N/A N/A N/A constants DEFAULT_DRBD_HELPER N/A N/A N/A opts drbd_helper N/A N/A N/A N/A errors OpPrereqError Unsetting the drbd usermode helper while enabling DRBD is not allowed. N/A N/A opts drbd_helper N/A InitCluster N/A N/A opts args N/A N/A N/A Initialize the cluster.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the desired
      cluster name
  @rtype: int
  @return: the desired exit code

   N/A enabled_disk_templates N/A _InitEnabledDiskTemplates opts N/A N/A N/A vg_name N/A _InitVgName opts enabled_disk_templates N/A drbd_helper N/A _InitDrbdHelper opts enabled_disk_templates N/A N/A N/A N/A errors OpPrereqError N/A e N/A N/A N/A ToStderr N/A str e N/A 1 N/A master_netdev N/A opts master_netdev N/A N/A master_netdev None N/A N/A nic_mode N/A N/A N/A opts nicparams get N/A constants NIC_MODE None N/A N/A nic_mode N/A N/A master_netdev N/A constants DEFAULT_BRIDGE N/A N/A N/A nic_mode N/A constants NIC_MODE_OVS N/A N/A master_netdev N/A constants DEFAULT_OVS N/A N/A N/A opts nicparams N/A N/A constants NIC_LINK N/A constants DEFAULT_OVS N/A hvlist N/A opts enabled_hypervisors N/A N/A hvlist None N/A N/A hvlist N/A constants DEFAULT_ENABLED_HYPERVISOR N/A hvlist N/A N/A hvlist split , N/A hvparams N/A dict N/A opts hvparams N/A beparams N/A opts beparams N/A nicparams N/A opts nicparams N/A diskparams N/A dict N/A opts diskparams N/A diskparams_keys N/A set N/A N/A diskparams keys N/A N/A N/A diskparams_keys N/A constants DISK_TEMPLATES N/A N/A unknown N/A N/A utils NiceSort N/A diskparams_keys N/A constants DISK_TEMPLATES N/A N/A ToStderr N/A Disk templates unknown: %s N/A N/A utils CommaJoin unknown N/A 1 N/A beparams N/A N/A objects FillDict N/A constants BEC_DEFAULTS beparams N/A N/A N/A utils ForceDictType beparams N/A constants BES_PARAMETER_COMPAT N/A nicparams N/A N/A objects FillDict N/A constants NICC_DEFAULTS nicparams N/A N/A N/A utils ForceDictType nicparams N/A constants NICS_PARAMETER_TYPES N/A N/A N/A opts ndparams None N/A N/A ndparams N/A dict N/A constants NDC_DEFAULTS N/A N/A ndparams N/A N/A objects FillDict N/A constants NDC_DEFAULTS N/A opts ndparams N/A N/A N/A utils ForceDictType ndparams N/A constants NDS_PARAMETER_TYPES N/A hv N/A constants HYPER_TYPES N/A N/A N/A hv hvparams N/A N/A N/A hvparams N/A hv N/A N/A N/A hvparams N/A hv N/A N/A objects FillDict N/A N/A constants HVC_DEFAULTS N/A hv N/A hvparams N/A hv N/A N/A N/A utils ForceDictType N/A hvparams N/A hv N/A constants HVS_PARAMETER_TYPES N/A templ N/A constants DISK_TEMPLATES N/A N/A N/A templ diskparams N/A N/A N/A diskparams N/A templ N/A N/A N/A diskparams N/A templ N/A N/A objects FillDict N/A N/A constants DISK_DT_DEFAULTS N/A templ N/A diskparams N/A templ N/A N/A N/A utils ForceDictType N/A diskparams N/A templ N/A constants DISK_DT_TYPES N/A ipolicy N/A CreateIPolicyFromOpts ispecs_mem_size N/A opts ispecs_mem_size ispecs_cpu_count N/A opts ispecs_cpu_count ispecs_disk_count N/A opts ispecs_disk_count ispecs_disk_size N/A opts ispecs_disk_size ispecs_nic_count N/A opts ispecs_nic_count minmax_ispecs N/A opts ipolicy_bounds_specs std_ispecs N/A opts ipolicy_std_specs ipolicy_disk_templates N/A opts ipolicy_disk_templates ipolicy_vcpu_ratio N/A opts ipolicy_vcpu_ratio ipolicy_spindle_ratio N/A opts ipolicy_spindle_ratio ipolicy_memory_ratio N/A opts ipolicy_memory_ratio fill_all True N/A N/A N/A opts candidate_pool_size None N/A N/A N/A opts candidate_pool_size N/A constants MASTER_POOL_SIZE_DEFAULT N/A N/A N/A opts mac_prefix None N/A N/A N/A opts mac_prefix N/A constants DEFAULT_MAC_PREFIX N/A uid_pool N/A opts uid_pool N/A N/A uid_pool None N/A N/A uid_pool N/A N/A uidpool ParseUidPool uid_pool N/A N/A N/A opts prealloc_wipe_disks None N/A N/A N/A opts prealloc_wipe_disks False N/A external_ip_setup_script N/A opts use_external_mip_script N/A N/A external_ip_setup_script None N/A N/A external_ip_setup_script False N/A N/A N/A primary_ip_version N/A int N/A opts primary_ip_version N/A N/A N/A N/A ValueError TypeError N/A err N/A N/A N/A ToStderr N/A Invalid primary ip version value: %s N/A str err N/A 1 N/A master_netmask N/A opts master_netmask N/A N/A N/A N/A master_netmask None N/A N/A master_netmask N/A int master_netmask N/A N/A N/A N/A ValueError TypeError N/A err N/A N/A N/A ToStderr N/A Invalid master netmask value: %s N/A str err N/A 1 N/A N/A opts disk_state N/A N/A disk_state N/A N/A utils FlatToDict N/A opts disk_state N/A N/A disk_state N/A N/A hv_state N/A dict N/A opts hv_state N/A N/A opts install_image N/A N/A install_image N/A opts install_image N/A N/A install_image N/A N/A opts zeroing_image N/A N/A zeroing_image N/A opts zeroing_image N/A N/A zeroing_image N/A compression_tools N/A _GetCompressionTools opts N/A default_ialloc_params N/A opts default_iallocator_params N/A N/A opts enabled_user_shutdown N/A N/A enabled_user_shutdown True N/A N/A enabled_user_shutdown False N/A N/A opts ssh_key_type N/A N/A ssh_key_type N/A opts ssh_key_type N/A N/A ssh_key_type N/A constants SSH_DEFAULT_KEY_TYPE N/A ssh_key_bits N/A N/A ssh DetermineKeyBits ssh_key_type N/A opts ssh_key_bits None None N/A N/A N/A bootstrap InitCluster cluster_name N/A args N/A 0 secondary_ip N/A opts secondary_ip vg_name vg_name mac_prefix N/A opts mac_prefix master_netmask master_netmask master_netdev master_netdev file_storage_dir N/A opts file_storage_dir shared_file_storage_dir N/A opts shared_file_storage_dir gluster_storage_dir N/A opts gluster_storage_dir enabled_hypervisors hvlist hvparams hvparams beparams beparams nicparams nicparams ndparams ndparams diskparams diskparams ipolicy ipolicy candidate_pool_size N/A opts candidate_pool_size modify_etc_hosts N/A opts modify_etc_hosts modify_ssh_setup N/A opts modify_ssh_setup maintain_node_health N/A opts maintain_node_health drbd_helper drbd_helper uid_pool uid_pool default_iallocator N/A opts default_iallocator default_iallocator_params default_ialloc_params primary_ip_version primary_ip_version prealloc_wipe_disks N/A opts prealloc_wipe_disks use_external_mip_script external_ip_setup_script hv_state hv_state disk_state disk_state enabled_disk_templates enabled_disk_templates install_image install_image zeroing_image zeroing_image compression_tools compression_tools enabled_user_shutdown enabled_user_shutdown ssh_key_type ssh_key_type ssh_key_bits ssh_key_bits N/A op N/A N/A opcodes OpClusterPostInit N/A N/A SubmitOpCode op opts opts N/A 0 N/A UsesRPC DestroyCluster N/A N/A opts args N/A N/A N/A Destroy the cluster.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A N/A N/A opts yes_do_it N/A N/A N/A ToStderr Destroying a cluster is irreversible. If you really want destroy this cluster, supply the --yes-do-it option. N/A 1 N/A op N/A N/A opcodes OpClusterDestroy N/A master_uuid N/A SubmitOpCode op opts opts N/A N/A N/A bootstrap FinalizeClusterDestroy master_uuid N/A 0 N/A UsesRPC RenameCluster N/A N/A opts args N/A N/A N/A Rename the cluster.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the new cluster name
  @rtype: int
  @return: the desired exit code

   N/A cl N/A GetClient N/A N/A cluster_name N/A N/A cl QueryConfigValues N/A cluster_name N/A new_name N/A args N/A 0 N/A N/A N/A opts force N/A N/A usertext N/A This will rename the cluster from '%s' to '%s'. If you are connected over the network to the cluster name, the operation is very dangerous as the IP address will be removed from the node and the change may not go through. Continue? N/A cluster_name new_name N/A N/A N/A AskUser usertext N/A N/A 1 N/A op N/A N/A opcodes OpClusterRename name new_name N/A result N/A SubmitOpCode op opts opts cl cl N/A result N/A N/A N/A ToStdout Cluster renamed from '%s' to '%s' cluster_name result N/A 0 N/A ActivateMasterIp N/A N/A opts args N/A N/A N/A Activates the master IP.

   N/A op N/A N/A opcodes OpClusterActivateMasterIp N/A N/A SubmitOpCode op N/A 0 N/A DeactivateMasterIp N/A N/A opts args N/A N/A N/A Deactivates the master IP.

   N/A N/A N/A opts confirm N/A N/A usertext This will disable the master IP. All the open connections to the master IP will be closed. To reach the master you will need to use its node IP. Continue? N/A N/A N/A AskUser usertext N/A N/A 1 N/A op N/A N/A opcodes OpClusterDeactivateMasterIp N/A N/A SubmitOpCode op N/A 0 N/A RedistributeConfig N/A N/A opts args N/A N/A N/A Forces push of the cluster configuration.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: empty list
  @rtype: int
  @return: the desired exit code

   N/A op N/A N/A opcodes OpClusterRedistConf N/A N/A opts yes_do_it N/A N/A N/A SubmitOpCodeToDrainedQueue op N/A N/A N/A SubmitOrSend op opts N/A 0 N/A ShowClusterVersion N/A N/A opts args N/A N/A N/A Write version of ganeti software to the standard output.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A cl N/A GetClient N/A result N/A N/A cl QueryClusterInfo N/A N/A ToStdout Software version: %s N/A result N/A software_version N/A N/A ToStdout Internode protocol: %s N/A result N/A protocol_version N/A N/A ToStdout Configuration format: %s N/A result N/A config_version N/A N/A ToStdout OS api version: %s N/A result N/A os_api_version N/A N/A ToStdout Export interface: %s N/A result N/A export_version N/A N/A ToStdout VCS version: %s N/A result N/A vcs_version N/A 0 N/A ShowClusterMaster N/A N/A opts args N/A N/A N/A Write name of master node to the standard output.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A master N/A N/A bootstrap GetMaster N/A N/A ToStdout master N/A 0 N/A _FormatGroupedParams N/A N/A paramsdict roman N/A False N/A N/A Format Grouped parameters (be, nic, disk) by group.

  @type paramsdict: dict of dicts
  @param paramsdict: {group: {param: value, ...}, ...}
  @rtype: dict of dicts
  @return: copy of the input dictionaries with strings as values

   N/A ret N/A N/A N/A item val N/A N/A paramsdict items N/A N/A N/A isinstance val dict N/A N/A N/A ret N/A item N/A _FormatGroupedParams val roman roman N/A N/A N/A roman N/A isinstance val int N/A N/A N/A ret N/A item N/A N/A compat TryToRoman val N/A N/A N/A ret N/A item N/A str val N/A ret N/A _FormatDataCollectors N/A N/A paramsdict N/A N/A N/A Format Grouped parameters (be, nic, disk) by group.

  @type paramsdict: dict of dicts
  @param paramsdict: response of QueryClusterInfo
  @rtype: dict of dicts
  @return: parameter grouped by data collector

   N/A enabled N/A paramsdict N/A N/A constants DATA_COLLECTORS_ENABLED_NAME N/A interval N/A paramsdict N/A N/A constants DATA_COLLECTORS_INTERVAL_NAME N/A ret N/A N/A key enabled N/A N/A N/A ret N/A key N/A dict active N/A enabled N/A key interval N/A %.3fs N/A N/A interval N/A key 1000000.0 N/A ret N/A ShowClusterConfig N/A N/A opts args N/A N/A N/A Shows cluster information.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A cl N/A GetClient N/A result N/A N/A cl QueryClusterInfo N/A N/A result N/A tags N/A N/A tags N/A N/A utils CommaJoin N/A N/A utils NiceSort N/A result N/A tags N/A N/A tags (none) N/A N/A result N/A reserved_lvs N/A N/A reserved_lvs N/A N/A utils CommaJoin N/A result N/A reserved_lvs N/A N/A reserved_lvs (none) N/A enabled_hv N/A result N/A enabled_hypervisors N/A hvparams N/A dict N/A N/A k v N/A N/A k v N/A N/A N/A result N/A hvparams iteritems N/A k enabled_hv N/A info N/A N/A Cluster name N/A result N/A name N/A Cluster UUID N/A result N/A uuid N/A Creation time N/A N/A utils FormatTime N/A result N/A ctime N/A Modification time N/A N/A utils FormatTime N/A result N/A mtime N/A Master node N/A result N/A master N/A Architecture (this node) N/A %s (%s) N/A N/A N/A result N/A architecture N/A 0 N/A N/A result N/A architecture N/A 1 N/A Tags tags N/A Default hypervisor N/A result N/A default_hypervisor N/A Enabled hypervisors N/A N/A utils CommaJoin enabled_hv N/A Hypervisor parameters N/A _FormatGroupedParams hvparams N/A opts roman_integers N/A OS-specific hypervisor parameters N/A _FormatGroupedParams N/A result N/A os_hvp N/A opts roman_integers N/A OS parameters N/A _FormatGroupedParams N/A result N/A osparams N/A opts roman_integers N/A Hidden OSes N/A N/A utils CommaJoin N/A result N/A hidden_os N/A Blacklisted OSes N/A N/A utils CommaJoin N/A result N/A blacklisted_os N/A Cluster parameters N/A N/A candidate pool size N/A N/A compat TryToRoman N/A result N/A candidate_pool_size convert N/A opts roman_integers N/A maximal number of jobs running simultaneously N/A N/A compat TryToRoman N/A result N/A max_running_jobs convert N/A opts roman_integers N/A maximal number of jobs simultaneously tracked by the scheduler N/A N/A compat TryToRoman N/A result N/A max_tracked_jobs convert N/A opts roman_integers N/A mac prefix N/A result N/A mac_prefix N/A master netdev N/A result N/A master_netdev N/A master netmask N/A N/A compat TryToRoman N/A result N/A master_netmask N/A opts roman_integers N/A use external master IP address setup script N/A result N/A use_external_mip_script N/A lvm volume group N/A result N/A volume_group_name N/A lvm reserved volumes reserved_lvs N/A drbd usermode helper N/A result N/A drbd_usermode_helper N/A file storage path N/A result N/A file_storage_dir N/A shared file storage path N/A result N/A shared_file_storage_dir N/A gluster storage path N/A result N/A gluster_storage_dir N/A maintenance of node health N/A result N/A maintain_node_health N/A uid pool N/A N/A uidpool FormatUidPool N/A result N/A uid_pool N/A default instance allocator N/A result N/A default_iallocator N/A default instance allocator parameters N/A result N/A default_iallocator_params N/A primary ip version N/A N/A compat TryToRoman N/A result N/A primary_ip_version N/A opts roman_integers N/A preallocation wipe disks N/A result N/A prealloc_wipe_disks N/A OS search path N/A N/A utils CommaJoin N/A pathutils OS_SEARCH_PATH N/A ExtStorage Providers search path N/A N/A utils CommaJoin N/A pathutils ES_SEARCH_PATH N/A enabled disk templates N/A N/A utils CommaJoin N/A result N/A enabled_disk_templates N/A install image N/A result N/A install_image N/A instance communication network N/A result N/A instance_communication_network N/A zeroing image N/A result N/A zeroing_image N/A compression tools N/A result N/A compression_tools N/A enabled user shutdown N/A result N/A enabled_user_shutdown N/A modify ssh setup N/A result N/A modify_ssh_setup N/A ssh_key_type N/A result N/A ssh_key_type N/A ssh_key_bits N/A result N/A ssh_key_bits N/A Default node parameters N/A _FormatGroupedParams N/A result N/A ndparams roman N/A opts roman_integers N/A Default instance parameters N/A _FormatGroupedParams N/A result N/A beparams roman N/A opts roman_integers N/A Default nic parameters N/A _FormatGroupedParams N/A result N/A nicparams roman N/A opts roman_integers N/A Default disk parameters N/A _FormatGroupedParams N/A result N/A diskparams roman N/A opts roman_integers N/A Instance policy - limits for instances N/A FormatPolicyInfo N/A result N/A ipolicy None True N/A opts roman_integers N/A Data collectors N/A _FormatDataCollectors result N/A N/A PrintGenericInfo info N/A 0 N/A ClusterCopyFile N/A N/A opts args N/A N/A N/A Copy a file from master to some nodes.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the path of
      the file to be copied
  @rtype: int
  @return: the desired exit code

   N/A filename N/A args N/A 0 N/A filename N/A N/A N/A os path abspath filename N/A N/A N/A N/A N/A os path exists filename N/A N/A N/A N/A errors OpPrereqError N/A No such filename '%s' filename N/A errors ECODE_INVAL N/A cl N/A GetClient N/A qcl N/A GetClient N/A N/A N/A cluster_name N/A N/A N/A cl QueryConfigValues N/A cluster_name N/A 0 N/A results N/A GetOnlineNodes nodes N/A opts nodes cl qcl filter_master True secondary_ips N/A opts use_replication_network nodegroup N/A opts nodegroup N/A ports N/A GetNodesSshPorts N/A opts nodes qcl N/A N/A N/A N/A cl Close N/A N/A N/A qcl Close N/A srun N/A N/A ssh SshRunner cluster_name N/A N/A node port N/A zip results ports N/A N/A N/A N/A N/A srun CopyFileToNode node port filename N/A N/A N/A ToStderr Copy of file %s to node %s:%d failed filename node port N/A 0 N/A RunClusterCommand N/A N/A opts args N/A N/A N/A Run a command on some nodes.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain the command to be run and its arguments
  @rtype: int
  @return: the desired exit code

   N/A cl N/A GetClient N/A qcl N/A GetClient N/A command N/A N/A join args N/A nodes N/A GetOnlineNodes nodes N/A opts nodes cl qcl nodegroup N/A opts nodegroup N/A ports N/A GetNodesSshPorts nodes qcl N/A N/A cluster_name master_node N/A N/A cl QueryConfigValues N/A cluster_name master_node N/A srun N/A N/A ssh SshRunner cluster_name cluster_name N/A N/A master_node nodes N/A N/A N/A N/A nodes remove master_node N/A N/A N/A nodes append master_node N/A N/A name port N/A zip nodes ports N/A N/A result N/A N/A srun Run name N/A constants SSH_LOGIN_USER command port port N/A N/A N/A opts failure_only N/A N/A result exit_code N/A constants EXIT_SUCCESS N/A N/A N/A N/A ToStdout ------------------------------------------------ N/A N/A opts show_machine_names N/A N/A line N/A N/A N/A result output splitlines N/A N/A N/A ToStdout %s: %s name line N/A N/A N/A ToStdout node: %s name N/A N/A ToStdout %s N/A result output N/A N/A ToStdout return code = %s N/A result exit_code N/A 0 N/A VerifyCluster N/A N/A opts args N/A N/A N/A Verify integrity of cluster, performing various test on nodes.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A skip_checks N/A N/A N/A opts skip_nplusone_mem N/A N/A N/A N/A skip_checks append N/A constants VERIFY_NPLUSONE_MEM N/A cl N/A GetClient N/A op N/A N/A opcodes OpClusterVerify verbose N/A opts verbose error_codes N/A opts error_codes debug_simulate_errors N/A opts simulate_errors skip_checks skip_checks ignore_errors N/A opts ignore_errors group_name N/A opts nodegroup verify_clutter N/A opts verify_clutter N/A result N/A SubmitOpCode op cl cl opts opts N/A jex N/A JobExecutor cl cl opts opts N/A N/A status job_id N/A result N/A N/A constants JOB_IDS_KEY N/A N/A N/A N/A jex AddJobId None status job_id N/A results N/A N/A jex GetResults N/A N/A bad_jobs bad_results N/A map len N/A map list N/A map N/A N/A compat partial N/A itertools ifilterfalse bool N/A zip N/A N/A job_success N/A N/A N/A len op_results 1 N/A op_results N/A 0 N/A N/A job_success op_results results N/A N/A N/A bad_jobs 0 N/A bad_results 0 N/A N/A rcode N/A constants EXIT_SUCCESS N/A N/A rcode N/A constants EXIT_FAILURE N/A N/A bad_jobs 0 N/A N/A N/A ToStdout %s job(s) failed while verifying the cluster. bad_jobs N/A rcode N/A VerifyDisks N/A N/A opts args N/A N/A N/A Verify integrity of cluster disks.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A cl N/A GetClient N/A op N/A N/A opcodes OpClusterVerifyDisks group_name N/A opts nodegroup N/A result N/A SubmitOpCode op cl cl opts opts N/A jex N/A JobExecutor cl cl opts opts N/A N/A status job_id N/A result N/A N/A constants JOB_IDS_KEY N/A N/A N/A N/A jex AddJobId None status job_id N/A retcode N/A constants EXIT_SUCCESS N/A N/A status result N/A N/A jex GetResults N/A N/A N/A status N/A N/A N/A ToStdout Job failed: %s result N/A N/A N/A N/A bad_nodes instances missing result N/A N/A node text N/A N/A bad_nodes items N/A N/A N/A ToStdout Error gathering data on node %s: %s node N/A N/A utils SafeEncode N/A text N/A -400 N/A retcode N/A constants EXIT_FAILURE N/A N/A ToStdout You need to fix these nodes first before fixing instances N/A iname instances N/A N/A N/A iname missing N/A N/A N/A op N/A N/A opcodes OpInstanceActivateDisks instance_name iname N/A N/A N/A N/A ToStdout Activating disks for instance '%s' iname N/A N/A SubmitOpCode op opts opts cl cl N/A N/A N/A N/A errors GenericError N/A err N/A N/A N/A nret msg N/A FormatError err N/A retcode nret N/A N/A ToStderr Error activating disks for instance %s: %s iname msg N/A missing N/A N/A N/A iname ival N/A N/A missing iteritems N/A N/A all_missing N/A N/A compat all N/A N/A N/A x N/A 0 bad_nodes N/A x ival N/A all_missing N/A N/A N/A ToStdout Instance %s cannot be verified as it lives on broken nodes iname N/A N/A N/A ToStdout Instance %s has missing logical volumes: iname N/A N/A N/A ival sort N/A N/A node vol ival N/A N/A N/A node bad_nodes N/A N/A N/A ToStdout 	broken node %s /dev/%s node vol N/A N/A N/A ToStdout 	%s /dev/%s node vol N/A N/A ToStdout You need to replace or recreate disks for all the above instances if this message persists after fixing broken nodes. N/A retcode N/A constants EXIT_FAILURE N/A N/A N/A instances N/A N/A N/A ToStdout No disks need to be activated. N/A retcode N/A RepairDiskSizes N/A N/A opts args N/A N/A N/A Verify sizes of cluster disks.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: optional list of instances to restrict check to
  @rtype: int
  @return: the desired exit code

   N/A op N/A N/A opcodes OpClusterRepairDiskSizes instances args N/A N/A SubmitOpCode op opts opts N/A MasterFailover N/A N/A opts args N/A N/A N/A Failover the master node.

  This command, when run on a non-master node, will cause the current
  master to cease being master, and the non-master to become new
  master.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A N/A N/A opts no_voting N/A N/A N/A N/A N/A bootstrap MajorityHealthy N/A N/A N/A ToStderr Master-failover with voting is only possible if the majority of nodes is still healthy; use the --no-voting option after ensuring by other means that you won't end up in a dual-master scenario. N/A 1 N/A N/A N/A opts no_voting N/A N/A opts yes_do_it N/A N/A usertext This will perform the failover even if most other nodes are down, or if this node is outdated. This is dangerous as it can lead to a non-consistent cluster. Check the gnt-cluster(8) man page before proceeding. Continue? N/A N/A N/A AskUser usertext N/A N/A 1 N/A N/A rvlaue msgs N/A N/A bootstrap MasterFailover no_voting N/A opts no_voting N/A msg msgs N/A N/A N/A ToStderr msg N/A rvlaue N/A UsesRPC MasterPing N/A N/A opts args N/A N/A N/A Checks if the master is alive.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A N/A N/A cl N/A GetClient N/A N/A N/A cl QueryClusterInfo N/A 0 N/A N/A N/A Exception N/A N/A 1 N/A SearchTags N/A N/A opts args N/A N/A N/A Searches the tags on all the cluster.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the tag pattern
  @rtype: int
  @return: the desired exit code

   N/A op N/A N/A opcodes OpTagsSearch pattern N/A args N/A 0 N/A result N/A SubmitOpCode op opts opts N/A N/A result N/A N/A 1 N/A result N/A list result N/A N/A N/A result sort N/A N/A path tag result N/A N/A N/A ToStdout %s %s path tag N/A _ReadAndVerifyCert N/A N/A cert_filename verify_private_key N/A False N/A N/A Reads and verifies an X509 certificate.

  @type cert_filename: string
  @param cert_filename: the path of the file containing the certificate to
                        verify encoded in PEM format
  @type verify_private_key: bool
  @param verify_private_key: whether to verify the private key in addition to
                             the public certificate
  @rtype: string
  @return: a string containing the PEM-encoded certificate.

   N/A N/A N/A pem N/A N/A utils ReadFile cert_filename N/A N/A N/A IOError N/A err N/A N/A N/A N/A errors X509CertError cert_filename N/A Unable to read certificate: %s N/A str err N/A N/A N/A N/A N/A N/A OpenSSL crypto load_certificate N/A N/A OpenSSL crypto FILETYPE_PEM pem N/A N/A N/A Exception N/A err N/A N/A N/A N/A errors X509CertError cert_filename N/A Unable to load certificate: %s N/A str err N/A verify_private_key N/A N/A N/A N/A N/A N/A N/A OpenSSL crypto load_privatekey N/A N/A OpenSSL crypto FILETYPE_PEM pem N/A N/A N/A Exception N/A err N/A N/A N/A N/A errors X509CertError cert_filename N/A Unable to load private key: %s N/A str err N/A pem N/A _RenewCrypto N/A N/A new_cluster_cert new_rapi_cert rapi_cert_filename new_spice_cert spice_cert_filename spice_cacert_filename new_confd_hmac_key new_cds cds_filename force new_node_cert new_ssh_keys ssh_key_type ssh_key_bits verbose debug N/A N/A N/A Renews cluster certificates, keys and secrets.

  @type new_cluster_cert: bool
  @param new_cluster_cert: Whether to generate a new cluster certificate
  @type new_rapi_cert: bool
  @param new_rapi_cert: Whether to generate a new RAPI certificate
  @type rapi_cert_filename: string
  @param rapi_cert_filename: Path to file containing new RAPI certificate
  @type new_spice_cert: bool
  @param new_spice_cert: Whether to generate a new SPICE certificate
  @type spice_cert_filename: string
  @param spice_cert_filename: Path to file containing new SPICE certificate
  @type spice_cacert_filename: string
  @param spice_cacert_filename: Path to file containing the certificate of the
                                CA that signed the SPICE certificate
  @type new_confd_hmac_key: bool
  @param new_confd_hmac_key: Whether to generate a new HMAC key
  @type new_cds: bool
  @param new_cds: Whether to generate a new cluster domain secret
  @type cds_filename: string
  @param cds_filename: Path to file containing new cluster domain secret
  @type force: bool
  @param force: Whether to ask user for confirmation
  @type new_node_cert: bool
  @param new_node_cert: Whether to generate new node certificates
  @type new_ssh_keys: bool
  @param new_ssh_keys: Whether to generate new node SSH keys
  @type ssh_key_type: One of L{constants.SSHK_ALL}
  @param ssh_key_type: The type of SSH key to be generated
  @type ssh_key_bits: int
  @param ssh_key_bits: The length of the key to be generated
  @type verbose: boolean
  @param verbose: Show verbose output
  @type debug: boolean
  @param debug: Show debug output

   N/A N/A ToStdout Updating certificates now. Running "gnt-cluster verify"  is recommended after this operation. N/A N/A new_rapi_cert rapi_cert_filename N/A N/A N/A ToStderr Only one of the --new-rapi-certificate and --rapi-certificate options can be specified at the same time. N/A 1 N/A N/A new_cds cds_filename N/A N/A N/A ToStderr Only one of the --new-cluster-domain-secret and --cluster-domain-secret options can be specified at the same time. N/A 1 N/A N/A new_spice_cert N/A spice_cert_filename spice_cacert_filename N/A N/A N/A ToStderr When using --new-spice-certificate, the --spice-certificate and --spice-ca-certificate must not be used. N/A 1 N/A N/A N/A bool spice_cacert_filename N/A bool spice_cert_filename N/A N/A N/A ToStderr Both --spice-certificate and --spice-ca-certificate must be specified. N/A 1 N/A N/A rapi_cert_pem spice_cert_pem spice_cacert_pem N/A None None None N/A N/A N/A rapi_cert_filename N/A N/A rapi_cert_pem N/A _ReadAndVerifyCert rapi_cert_filename True N/A spice_cert_filename N/A N/A spice_cert_pem N/A _ReadAndVerifyCert spice_cert_filename True N/A spice_cacert_pem N/A _ReadAndVerifyCert spice_cacert_filename N/A N/A N/A N/A errors X509CertError N/A err N/A N/A N/A ToStderr Unable to load X509 certificate from %s: %s N/A err N/A 0 N/A err N/A 1 N/A 1 N/A cds_filename N/A N/A N/A N/A cds N/A N/A utils ReadFile cds_filename N/A N/A N/A Exception N/A err N/A N/A N/A ToStderr N/A Can't load new cluster domain secret from %s: %s N/A cds_filename N/A str err N/A 1 N/A N/A cds None N/A N/A force N/A N/A usertext This requires all daemons on all nodes to be restarted and may take some time. Continue? N/A N/A N/A AskUser usertext N/A N/A 1 _RenewCryptoInner N/A N/A ctx N/A N/A N/A N/A N/A ctx feedback_fn Updating certificates and keys N/A N/A N/A bootstrap GenerateClusterCrypto False new_rapi_cert new_spice_cert new_confd_hmac_key new_cds False None rapi_cert_pem rapi_cert_pem spice_cert_pem spice_cert_pem spice_cacert_pem spice_cacert_pem cds cds N/A files_to_copy N/A N/A N/A new_rapi_cert rapi_cert_pem N/A N/A N/A N/A files_to_copy append N/A pathutils RAPI_CERT_FILE N/A N/A new_spice_cert spice_cert_pem N/A N/A N/A N/A files_to_copy append N/A pathutils SPICE_CERT_FILE N/A N/A N/A files_to_copy append N/A pathutils SPICE_CACERT_FILE N/A new_confd_hmac_key N/A N/A N/A N/A files_to_copy append N/A pathutils CONFD_HMAC_KEY N/A N/A new_cds cds N/A N/A N/A N/A files_to_copy append N/A pathutils CLUSTER_DOMAIN_SECRET_FILE N/A files_to_copy N/A N/A node_name N/A ctx nonmaster_nodes N/A N/A port N/A N/A ctx ssh_ports N/A node_name N/A N/A N/A ctx feedback_fn N/A Copying %s to %s:%d N/A N/A N/A ,  join files_to_copy node_name port N/A file_name files_to_copy N/A N/A N/A N/A N/A ctx ssh CopyFileToNode node_name port file_name N/A _RenewClientCerts N/A N/A ctx N/A N/A N/A N/A N/A ctx feedback_fn Updating client SSL certificates. N/A cluster_name N/A N/A N/A N/A ssconf SimpleStore GetClusterName N/A node_name N/A N/A ctx nonmaster_nodes N/A N/A ctx master_node N/A N/A ssh_port N/A N/A ctx ssh_ports N/A node_name N/A data N/A N/A constants NDS_CLUSTER_NAME N/A constants NDS_NODE_DAEMON_CERTIFICATE N/A constants NDS_NODE_NAME N/A constants NDS_ACTION cluster_name N/A N/A utils ReadFile N/A pathutils NODED_CERT_FILE node_name N/A constants CRYPTO_ACTION_CREATE N/A N/A N/A ssh RunSshCmdWithStdin cluster_name node_name N/A pathutils SSL_UPDATE ssh_port data debug N/A ctx debug verbose N/A ctx verbose use_cluster_key True ask_key False strict_host_check True N/A master_digest N/A N/A utils GetCertificateDigest N/A ssconf_master_candidate_certs_filename N/A N/A N/A os path join N/A pathutils DATA_DIR N/A %s%s N/A N/A constants SSCONF_FILEPREFIX N/A constants SS_MASTER_CANDIDATES_CERTS N/A N/A N/A utils WriteFile ssconf_master_candidate_certs_filename data N/A %s=%s N/A N/A constants CRYPTO_BOOTSTRAP master_digest N/A node_name N/A ctx nonmaster_nodes N/A N/A port N/A N/A ctx ssh_ports N/A node_name N/A N/A N/A ctx feedback_fn N/A Copying %s to %s:%d N/A ssconf_master_candidate_certs_filename node_name port N/A N/A N/A N/A ctx ssh CopyFileToNode node_name port ssconf_master_candidate_certs_filename N/A config_live_lock N/A N/A N/A utils livelock LiveLock renew_crypto N/A cfg N/A N/A config GetConfig None config_live_lock N/A N/A N/A cfg AddNodeToCandidateCerts N/A constants CRYPTO_BOOTSTRAP master_digest N/A N/A N/A cfg Update N/A N/A cfg GetClusterInfo N/A ctx feedback_fn N/A _RenewServerAndClientCerts N/A N/A ctx N/A N/A N/A N/A N/A ctx feedback_fn Updating the cluster SSL certificate. N/A master_name N/A N/A N/A N/A ssconf SimpleStore GetMasterNode N/A N/A N/A bootstrap GenerateClusterCrypto True False False False False True master_name N/A node_name N/A ctx nonmaster_nodes N/A N/A port N/A N/A ctx ssh_ports N/A node_name N/A server_cert N/A pathutils NODED_CERT_FILE N/A N/A N/A ctx feedback_fn N/A Copying %s to %s:%d N/A server_cert node_name port N/A N/A N/A N/A ctx ssh CopyFileToNode node_name port server_cert N/A N/A _RenewClientCerts ctx N/A N/A N/A new_rapi_cert new_spice_cert new_confd_hmac_key new_cds N/A N/A N/A RunWhileClusterStopped ToStdout _RenewCryptoInner N/A N/A new_node_cert N/A new_cluster_cert N/A N/A N/A RunWhileDaemonsStopped ToStdout N/A N/A constants NODED N/A constants WCONFD _RenewClientCerts verbose verbose debug debug N/A new_cluster_cert N/A N/A N/A RunWhileDaemonsStopped ToStdout N/A N/A constants NODED N/A constants WCONFD _RenewServerAndClientCerts verbose verbose debug debug N/A N/A new_node_cert new_cluster_cert new_ssh_keys N/A N/A cl N/A GetClient N/A renew_op N/A N/A opcodes OpClusterRenewCrypto node_certificates N/A new_node_cert new_cluster_cert renew_ssh_keys new_ssh_keys ssh_key_type ssh_key_type ssh_key_bits ssh_key_bits verbose verbose debug debug N/A N/A SubmitOpCode renew_op cl cl N/A N/A ToStdout All requested certificates and keys have been replaced. Running "gnt-cluster verify" now is recommended. N/A 0 N/A _BuildGanetiPubKeys N/A N/A options pub_key_file cl get_online_nodes_fn get_nodes_ssh_ports_fn get_node_uuids_fn homedir_fn N/A N/A pathutils SSH_PUB_KEYS None GetOnlineNodes GetNodesSshPorts GetNodeUUIDs None N/A N/A Recreates the 'ganeti_pub_key' file by polling all nodes.

   N/A N/A cl N/A N/A cl N/A GetClient N/A N/A cluster_name master_node modify_ssh_setup ssh_key_type N/A N/A cl QueryConfigValues N/A cluster_name master_node modify_ssh_setup ssh_key_type N/A N/A modify_ssh_setup N/A N/A N/A N/A N/A N/A os path exists pub_key_file N/A N/A N/A N/A utils CreateBackup pub_key_file N/A N/A N/A utils RemoveFile pub_key_file N/A N/A N/A ssh ClearPubKeyFile pub_key_file N/A online_nodes N/A get_online_nodes_fn N/A cl cl N/A ssh_ports N/A get_nodes_ssh_ports_fn N/A online_nodes N/A master_node cl N/A ssh_port_map N/A dict N/A zip N/A online_nodes N/A master_node ssh_ports N/A node_uuids N/A get_node_uuids_fn N/A online_nodes N/A master_node cl N/A node_uuid_map N/A dict N/A zip N/A online_nodes N/A master_node node_uuids N/A nonmaster_nodes N/A name N/A name online_nodes N/A name master_node N/A N/A _ pub_key_filename _ N/A N/A ssh GetUserFiles N/A constants SSH_LOGIN_USER mkdir False dircheck False kind ssh_key_type _homedir_fn homedir_fn N/A pub_key N/A N/A utils ReadFile pub_key_filename N/A N/A N/A ssh AddPublicKey N/A node_uuid_map N/A master_node pub_key key_file pub_key_file N/A node nonmaster_nodes N/A N/A pub_key N/A N/A ssh ReadRemoteSshPubKey pub_key_filename node cluster_name N/A ssh_port_map N/A node N/A options ssh_key_check N/A options ssh_key_check N/A N/A N/A ssh AddPublicKey N/A node_uuid_map N/A node pub_key key_file pub_key_file N/A RenewCrypto N/A N/A opts args N/A N/A N/A Renews cluster certificates, keys and secrets.

   N/A N/A opts new_ssh_keys N/A N/A N/A _BuildGanetiPubKeys opts N/A N/A _RenewCrypto N/A opts new_cluster_cert N/A opts new_rapi_cert N/A opts rapi_cert N/A opts new_spice_cert N/A opts spice_cert N/A opts spice_cacert N/A opts new_confd_hmac_key N/A opts new_cluster_domain_secret N/A opts cluster_domain_secret N/A opts force N/A opts new_node_cert N/A opts new_ssh_keys N/A opts ssh_key_type N/A opts ssh_key_bits N/A opts verbose N/A N/A opts debug 0 N/A _GetEnabledDiskTemplates N/A N/A opts N/A N/A N/A Determine the list of enabled disk templates.

   N/A N/A opts enabled_disk_templates N/A N/A N/A N/A N/A opts enabled_disk_templates split , N/A N/A None N/A _GetVgName N/A N/A opts enabled_disk_templates N/A N/A N/A Determine the volume group name.

  @type enabled_disk_templates: list of strings
  @param enabled_disk_templates: cluster-wide enabled disk-templates

   N/A vg_name None N/A N/A N/A opts vg_name None N/A N/A vg_name N/A opts vg_name N/A enabled_disk_templates N/A N/A N/A vg_name N/A N/A N/A utils IsLvmEnabled enabled_disk_templates N/A N/A N/A ToStdout N/A You specified a volume group with --vg-name, but you did not enable any of the following lvm-based disk templates: %s N/A N/A utils CommaJoin N/A constants DTS_LVM N/A vg_name N/A _GetDrbdHelper N/A N/A opts enabled_disk_templates N/A N/A N/A Determine the DRBD usermode helper.

   N/A drbd_helper N/A opts drbd_helper N/A enabled_disk_templates N/A N/A drbd_enabled N/A N/A constants DT_DRBD8 enabled_disk_templates N/A N/A N/A drbd_enabled N/A opts drbd_helper N/A N/A N/A ToStdout You specified a DRBD usermode helper with  --drbd-usermode-helper while DRBD is not enabled. N/A drbd_helper N/A _GetCompressionTools N/A N/A opts N/A N/A N/A Determine the list of custom compression tools.

   N/A N/A opts compression_tools N/A N/A N/A N/A N/A opts compression_tools split , N/A N/A N/A N/A opts compression_tools None N/A N/A None N/A N/A N/A constants IEC_DEFAULT_TOOLS N/A SetClusterParams N/A N/A opts args N/A N/A N/A Modify the cluster.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A N/A N/A N/A N/A opts vg_name None N/A N/A opts drbd_helper None N/A opts enabled_hypervisors N/A opts hvparams N/A opts beparams N/A opts nicparams N/A opts ndparams N/A opts diskparams N/A N/A opts candidate_pool_size None N/A N/A opts max_running_jobs None N/A N/A opts max_tracked_jobs None N/A N/A opts uid_pool None N/A N/A opts maintain_node_health None N/A N/A opts add_uids None N/A N/A opts remove_uids None N/A N/A opts default_iallocator None N/A N/A opts default_iallocator_params None N/A N/A opts reserved_lvs None N/A N/A opts mac_prefix None N/A N/A opts master_netdev None N/A N/A opts master_netmask None N/A N/A opts use_external_mip_script None N/A N/A opts prealloc_wipe_disks None N/A opts hv_state N/A opts enabled_disk_templates N/A opts disk_state N/A N/A opts ipolicy_bounds_specs None N/A N/A opts ipolicy_std_specs None N/A N/A opts ipolicy_disk_templates None N/A N/A opts ipolicy_vcpu_ratio None N/A N/A opts ipolicy_spindle_ratio None N/A N/A opts ipolicy_memory_ratio None N/A N/A opts modify_etc_hosts None N/A N/A opts file_storage_dir None N/A N/A opts install_image None N/A N/A opts instance_communication_network None N/A N/A opts zeroing_image None N/A N/A opts shared_file_storage_dir None N/A N/A opts compression_tools None N/A N/A opts shared_file_storage_dir None N/A N/A opts enabled_user_shutdown None N/A N/A opts maint_round_delay None N/A N/A opts maint_balance None N/A N/A opts maint_balance_threshold None N/A opts data_collector_interval N/A N/A opts diagnose_data_collector_filename None N/A opts enabled_data_collectors N/A N/A N/A ToStderr Please give at least one of the parameters. N/A 1 N/A enabled_disk_templates N/A _GetEnabledDiskTemplates opts N/A vg_name N/A _GetVgName opts enabled_disk_templates N/A N/A N/A drbd_helper N/A _GetDrbdHelper opts enabled_disk_templates N/A N/A N/A N/A errors OpPrereqError N/A e N/A N/A N/A ToStderr N/A str e N/A 1 N/A hvlist N/A opts enabled_hypervisors N/A N/A hvlist None N/A N/A hvlist N/A N/A hvlist split , N/A hvparams N/A dict N/A opts hvparams N/A hv_params N/A N/A hvparams values N/A N/A N/A N/A utils ForceDictType hv_params N/A constants HVS_PARAMETER_TYPES N/A diskparams N/A dict N/A opts diskparams N/A dt_params N/A N/A diskparams values N/A N/A N/A N/A utils ForceDictType dt_params N/A constants DISK_DT_TYPES N/A beparams N/A opts beparams N/A N/A N/A utils ForceDictType beparams N/A constants BES_PARAMETER_COMPAT N/A nicparams N/A opts nicparams N/A N/A N/A utils ForceDictType nicparams N/A constants NICS_PARAMETER_TYPES N/A ndparams N/A opts ndparams N/A N/A ndparams None N/A N/A N/A N/A utils ForceDictType ndparams N/A constants NDS_PARAMETER_TYPES N/A ipolicy N/A CreateIPolicyFromOpts minmax_ispecs N/A opts ipolicy_bounds_specs std_ispecs N/A opts ipolicy_std_specs ipolicy_disk_templates N/A opts ipolicy_disk_templates ipolicy_vcpu_ratio N/A opts ipolicy_vcpu_ratio ipolicy_spindle_ratio N/A opts ipolicy_spindle_ratio ipolicy_memory_ratio N/A opts ipolicy_memory_ratio N/A mnh N/A opts maintain_node_health N/A uid_pool N/A opts uid_pool N/A N/A uid_pool None N/A N/A uid_pool N/A N/A uidpool ParseUidPool uid_pool N/A add_uids N/A opts add_uids N/A N/A add_uids None N/A N/A add_uids N/A N/A uidpool ParseUidPool add_uids N/A remove_uids N/A opts remove_uids N/A N/A remove_uids None N/A N/A remove_uids N/A N/A uidpool ParseUidPool remove_uids N/A N/A N/A opts reserved_lvs None N/A N/A N/A N/A opts reserved_lvs N/A N/A N/A opts reserved_lvs N/A N/A N/A N/A opts reserved_lvs N/A N/A utils UnescapeAndSplit N/A opts reserved_lvs sep , N/A N/A N/A opts master_netmask None N/A N/A N/A N/A N/A opts master_netmask N/A int N/A opts master_netmask N/A N/A N/A ValueError N/A N/A N/A ToStderr The --master-netmask option expects an int parameter. N/A 1 N/A ext_ip_script N/A opts use_external_mip_script N/A N/A opts disk_state N/A N/A disk_state N/A N/A utils FlatToDict N/A opts disk_state N/A N/A disk_state N/A N/A hv_state N/A dict N/A opts hv_state N/A compression_tools N/A _GetCompressionTools opts N/A enabled_data_collectors N/A dict N/A N/A k N/A N/A N/A N/A v lower startswith t N/A N/A k v N/A N/A N/A opts enabled_data_collectors items N/A unrecognized_data_collectors N/A k N/A k N/A N/A enabled_data_collectors keys N/A k N/A constants DATA_COLLECTOR_NAMES N/A unrecognized_data_collectors N/A N/A N/A ToStderr N/A Data collector names not recognized: %s N/A N/A ,  join unrecognized_data_collectors N/A N/A N/A data_collector_interval N/A dict N/A N/A k N/A long N/A 1000000.0 N/A float v N/A N/A k v N/A N/A N/A opts data_collector_interval items N/A N/A N/A ValueError N/A N/A N/A ToStderr N/A N/A Can't transform all values to integers: {} format N/A opts data_collector_interval N/A 1 N/A N/A any N/A N/A v 0 N/A v data_collector_interval N/A N/A N/A ToStderr Some interval times where not above zero. N/A 1 N/A op N/A N/A opcodes OpClusterSetParams vg_name vg_name drbd_helper drbd_helper enabled_hypervisors hvlist hvparams hvparams os_hvp None beparams beparams nicparams nicparams ndparams ndparams diskparams diskparams ipolicy ipolicy candidate_pool_size N/A opts candidate_pool_size max_running_jobs N/A opts max_running_jobs max_tracked_jobs N/A opts max_tracked_jobs maintain_node_health mnh modify_etc_hosts N/A opts modify_etc_hosts uid_pool uid_pool add_uids add_uids remove_uids remove_uids default_iallocator N/A opts default_iallocator default_iallocator_params N/A opts default_iallocator_params prealloc_wipe_disks N/A opts prealloc_wipe_disks mac_prefix N/A opts mac_prefix master_netdev N/A opts master_netdev master_netmask N/A opts master_netmask reserved_lvs N/A opts reserved_lvs use_external_mip_script ext_ip_script hv_state hv_state disk_state disk_state enabled_disk_templates enabled_disk_templates force N/A opts force file_storage_dir N/A opts file_storage_dir install_image N/A opts install_image instance_communication_network N/A opts instance_communication_network zeroing_image N/A opts zeroing_image shared_file_storage_dir N/A opts shared_file_storage_dir compression_tools compression_tools enabled_user_shutdown N/A opts enabled_user_shutdown maint_round_delay N/A opts maint_round_delay maint_balance N/A opts maint_balance maint_balance_threshold N/A opts maint_balance_threshold enabled_data_collectors enabled_data_collectors data_collector_interval data_collector_interval diagnose_data_collector_filename N/A opts diagnose_data_collector_filename N/A N/A N/A base GetResult None opts N/A SubmitOrSend op opts N/A QueueOps N/A N/A opts args N/A N/A N/A Queue operations.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the subcommand
  @rtype: int
  @return: the desired exit code

   N/A command N/A args N/A 0 N/A client N/A GetClient N/A N/A command N/A drain undrain N/A N/A drain_flag N/A command drain N/A N/A N/A client SetQueueDrainFlag drain_flag N/A N/A N/A command info N/A N/A result N/A N/A client QueryConfigValues N/A drain_flag N/A N/A result N/A 0 N/A N/A val set N/A N/A val unset N/A N/A ToStdout N/A The drain flag is %s val N/A N/A N/A N/A errors OpPrereqError N/A Command '%s' is not valid. command N/A errors ECODE_INVAL N/A 0 N/A _ShowWatcherPause N/A N/A until N/A N/A N/A N/A N/A until None N/A until N/A N/A time time N/A N/A N/A ToStdout The watcher is not paused. N/A N/A N/A ToStdout The watcher is paused until %s. N/A N/A time ctime until N/A WatcherOps N/A N/A opts args N/A N/A N/A Watcher operations.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the subcommand
  @rtype: int
  @return: the desired exit code

   N/A command N/A args N/A 0 N/A client N/A GetClient N/A N/A command continue N/A N/A N/A N/A client SetWatcherPause None N/A N/A ToStdout The watcher is no longer paused. N/A N/A N/A command pause N/A N/A N/A N/A len args 2 N/A N/A N/A N/A errors OpPrereqError Missing pause duration N/A errors ECODE_INVAL N/A result N/A N/A client SetWatcherPause N/A N/A N/A time time N/A ParseTimespec N/A args N/A 1 N/A N/A _ShowWatcherPause result N/A N/A N/A command info N/A N/A result N/A N/A client QueryConfigValues N/A watcher_pause N/A N/A _ShowWatcherPause N/A result N/A 0 N/A N/A N/A N/A errors OpPrereqError N/A Command '%s' is not valid. command N/A errors ECODE_INVAL N/A 0 N/A _OobPower N/A N/A opts node_list power N/A N/A N/A Puts the node in the list to desired power state.

  @param opts: The command line options selected by the user
  @param node_list: The list of nodes to operate on
  @param power: True if they should be powered on, False otherwise
  @return: The success of the operation (none failed)

   N/A power N/A N/A command N/A constants OOB_POWER_ON N/A N/A command N/A constants OOB_POWER_OFF N/A op N/A N/A opcodes OpOobCommand node_names node_list command command ignore_status True timeout N/A opts oob_timeout power_delay N/A opts power_delay N/A result N/A SubmitOpCode op opts opts N/A errs 0 N/A node_result result N/A N/A N/A node_tuple data_tuple node_result N/A N/A _ node_name node_tuple N/A N/A data_status _ data_tuple N/A N/A data_status N/A constants RS_NORMAL N/A N/A N/A data_status N/A constants RS_UNAVAIL N/A errs 1 N/A N/A ToStderr There was a problem changing power for %s, please investigate node_name N/A N/A errs 0 N/A N/A False N/A True N/A _InstanceStart N/A N/A opts inst_list start no_remember N/A False N/A N/A Puts the instances in the list to desired state.

  @param opts: The command line options selected by the user
  @param inst_list: The list of instances to operate on
  @param start: True if they should be started, False for shutdown
  @param no_remember: If the instance state should be remembered
  @return: The success of the operation (none failed)

   N/A start N/A N/A opcls N/A opcodes OpInstanceStartup N/A N/A text_submit text_success text_failed N/A startup started starting N/A N/A opcls N/A N/A compat partial N/A opcodes OpInstanceShutdown timeout N/A opts shutdown_timeout no_remember no_remember N/A N/A text_submit text_success text_failed N/A shutdown stopped stopping N/A jex N/A JobExecutor opts opts N/A inst inst_list N/A N/A N/A ToStdout Submit %s of instance %s text_submit inst N/A op N/A opcls instance_name inst N/A N/A N/A jex QueueJob inst op N/A results N/A N/A jex GetResults N/A bad_cnt N/A len N/A 1 N/A N/A success _ results N/A success N/A N/A bad_cnt 0 N/A N/A N/A ToStdout All instances have been %s successfully text_success N/A N/A N/A ToStderr There were errors while %s instances:
%d error(s) out of %d instance(s) text_failed bad_cnt N/A len results N/A False N/A True N/A _RunWhenNodesReachableHelper N/A object N/A N/A Helper class to make shared internal state sharing easier.

  @ivar success: Indicates if all action_cb calls were successful

   __init__ N/A N/A self node_list action_cb node2ip port feedback_fn _ping_fn _sleep_fn N/A N/A netutils TcpPing N/A time sleep N/A N/A Init the object.

    @param node_list: The list of nodes to be reachable
    @param action_cb: Callback called when a new host is reachable
    @type node2ip: dict
    @param node2ip: Node to ip mapping
    @param port: The port to use for the TCP ping
    @param feedback_fn: The function used for feedback
    @param _ping_fn: Function to check reachabilty (for unittest use only)
    @param _sleep_fn: Function to sleep (for unittest use only)

     N/A N/A self down N/A set node_list N/A N/A self up N/A set N/A N/A self node2ip node2ip N/A N/A self success True N/A N/A self action_cb action_cb N/A N/A self port port N/A N/A self feedback_fn feedback_fn N/A N/A self _ping_fn _ping_fn N/A N/A self _sleep_fn _sleep_fn N/A __call__ N/A N/A self N/A N/A N/A When called we run action_cb.

    @raises utils.RetryAgain: When there are still down nodes

     N/A N/A N/A N/A self action_cb N/A self up N/A N/A N/A self success False N/A N/A self down N/A N/A N/A N/A utils RetryAgain N/A N/A N/A self success N/A Wait N/A N/A self secs N/A N/A N/A Checks if a host is up or waits remaining seconds.

    @param secs: The secs remaining

     N/A start N/A N/A time time N/A node N/A self down N/A N/A N/A N/A self _ping_fn N/A N/A self node2ip N/A node N/A self port timeout _EPO_PING_TIMEOUT live_port_needed True N/A N/A N/A N/A self feedback_fn N/A Node %s became available node N/A N/A N/A N/A self up add node N/A N/A self down N/A self up N/A N/A N/A N/A self _sleep_fn N/A max 0.0 N/A N/A start secs N/A N/A time time N/A N/A _RunWhenNodesReachable N/A N/A node_list action_cb interval N/A N/A N/A Run action_cb when nodes become reachable.

  @param node_list: The list of nodes to be reachable
  @param action_cb: Callback called when a new host is reachable
  @param interval: The earliest time to retry

   N/A client N/A GetClient N/A cluster_info N/A N/A client QueryClusterInfo N/A N/A N/A cluster_info N/A primary_ip_version N/A constants IP4_VERSION N/A N/A family N/A N/A netutils IPAddress family N/A N/A family N/A N/A netutils IP6Address family N/A node2ip N/A dict N/A N/A node N/A N/A N/A netutils GetHostname node family family ip N/A node node_list N/A port N/A N/A netutils GetDaemonPort N/A constants NODED N/A helper N/A _RunWhenNodesReachableHelper node_list action_cb node2ip port ToStdout N/A N/A N/A N/A N/A utils Retry helper interval _EPO_REACHABLE_TIMEOUT wait_fn N/A helper Wait N/A N/A N/A N/A utils RetryTimeout N/A N/A N/A ToStderr Time exceeded while waiting for nodes to become reachable again:
  - %s N/A N/A   -  join N/A helper down N/A False N/A _MaybeInstanceStartup N/A N/A opts inst_map nodes_online _instance_start_fn N/A _InstanceStart N/A N/A Start the instances conditional based on node_states.

  @param opts: The command line options selected by the user
  @param inst_map: A dict of inst -> nodes mapping
  @param nodes_online: A list of nodes online
  @param _instance_start_fn: Callback to start instances (unittest use only)
  @return: Success of the operation on all instances

   N/A start_inst_list N/A N/A N/A inst nodes N/A N/A inst_map items N/A N/A N/A N/A nodes nodes_online N/A N/A N/A N/A start_inst_list append inst N/A inst start_inst_list N/A N/A N/A inst_map N/A inst N/A start_inst_list N/A N/A N/A _instance_start_fn opts start_inst_list True N/A True N/A _EpoOn N/A N/A opts full_node_list node_list inst_map N/A N/A N/A Does the actual power on.

  @param opts: The command line options selected by the user
  @param full_node_list: All nodes to operate on (includes nodes not supporting
                         OOB)
  @param node_list: The list of nodes to operate on (all need to support OOB)
  @param inst_map: A dict of inst -> nodes mapping
  @return: The desired exit status

   N/A N/A node_list N/A N/A _OobPower opts node_list False N/A N/A N/A ToStderr Not all nodes seem to get back up, investigate and start manually if needed N/A action_cb N/A N/A compat partial _MaybeInstanceStartup opts N/A dict inst_map N/A N/A ToStdout Waiting until all nodes are available again N/A N/A N/A _RunWhenNodesReachable full_node_list action_cb _EPO_PING_INTERVAL N/A N/A N/A ToStderr Please investigate and start stopped instances manually N/A N/A constants EXIT_FAILURE N/A N/A constants EXIT_SUCCESS N/A _EpoOff N/A N/A opts node_list inst_map N/A N/A N/A Does the actual power off.

  @param opts: The command line options selected by the user
  @param node_list: The list of nodes to operate on (all need to support OOB)
  @param inst_map: A dict of inst -> nodes mapping
  @return: The desired exit status

   N/A N/A N/A _InstanceStart opts N/A N/A inst_map keys False no_remember True N/A N/A N/A ToStderr Please investigate and stop instances manually before continuing N/A N/A constants EXIT_FAILURE N/A N/A node_list N/A N/A N/A constants EXIT_SUCCESS N/A N/A _OobPower opts node_list False N/A N/A N/A constants EXIT_SUCCESS N/A N/A N/A constants EXIT_FAILURE N/A Epo N/A N/A opts args qcl _on_fn _off_fn _confirm_fn _stdout_fn _stderr_fn N/A None _EpoOn _EpoOff ConfirmOperation ToStdout ToStderr N/A N/A EPO operations.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should contain only one element, the subcommand
  @rtype: int
  @return: the desired exit code

   N/A N/A N/A opts groups N/A opts show_all N/A N/A N/A _stderr_fn Only one of --groups or --all are allowed N/A N/A constants EXIT_FAILURE N/A N/A N/A args N/A opts show_all N/A N/A N/A _stderr_fn Arguments in combination with --all are not allowed N/A N/A constants EXIT_FAILURE N/A N/A qcl None N/A N/A qcl N/A GetClient N/A N/A opts groups N/A N/A node_query_list N/A N/A itertools chain N/A N/A qcl QueryGroups args N/A node_list False N/A N/A node_query_list args N/A result N/A N/A qcl QueryNodes node_query_list N/A name master pinst_list sinst_list powered offline False N/A all_nodes N/A map N/A compat fst result N/A node_list N/A N/A inst_map N/A N/A N/A node master pinsts sinsts powered offline result N/A N/A N/A offline N/A N/A inst N/A pinsts sinsts N/A N/A N/A inst inst_map N/A N/A N/A master N/A N/A N/A N/A N/A inst_map N/A inst add node N/A N/A master N/A N/A N/A inst_map N/A inst N/A set N/A N/A N/A inst_map N/A inst N/A set N/A node N/A N/A master N/A opts on N/A N/A N/A N/A N/A master N/A N/A opts show_all N/A N/A N/A _stderr_fn %s is the master node, please do a master-failover to another node not affected by the EPO or use --all if you intend to shutdown the whole cluster node N/A N/A constants EXIT_FAILURE N/A N/A N/A powered None N/A N/A N/A _stdout_fn Node %s does not support out-of-band handling, it can not be handled in a fully automated manner node N/A N/A N/A powered N/A opts on N/A N/A N/A _stdout_fn Node %s is already in desired power state, skipping node N/A N/A N/A N/A offline N/A offline powered N/A N/A N/A N/A node_list append node N/A N/A N/A N/A opts force N/A _confirm_fn all_nodes nodes epo N/A N/A N/A constants EXIT_FAILURE N/A N/A opts on N/A N/A N/A _on_fn opts all_nodes node_list inst_map N/A N/A N/A _off_fn opts node_list inst_map N/A RemoveRepair N/A N/A opts args N/A N/A N/A Uncoditionally remove a repair event

  @param opts: the command line options selected by the user (ignored)
  @type args: list
  @param args: one element, the uuid of the event to remove
  @rtype: int
  @return: the desired exit code

   N/A uuid N/A args N/A 0 N/A N/A N/A N/A N/A wconfd Client RmMaintdIncident uuid N/A 0 N/A _GetCreateCommand N/A N/A info N/A N/A N/A buf N/A StringIO N/A N/A N/A buf write gnt-cluster init N/A N/A PrintIPolicyCommand buf N/A info N/A ipolicy False N/A N/A N/A buf write N/A N/A N/A buf write N/A info N/A name N/A N/A N/A buf getvalue N/A ShowCreateCommand N/A N/A opts args N/A N/A N/A Shows the command that can be used to re-create the cluster.

  Currently it works only for ipolicy specs.

   N/A cl N/A GetClient N/A result N/A N/A cl QueryClusterInfo N/A N/A ToStdout N/A _GetCreateCommand result N/A _RunCommandAndReport N/A N/A cmd N/A N/A N/A Run a command and report its output, iff it failed.

  @param cmd: the command to execute
  @type cmd: list
  @rtype: bool
  @return: False, if the execution failed.

   N/A result N/A N/A utils RunCmd cmd N/A N/A result failed N/A N/A N/A ToStderr N/A Command %s failed: %s; Output %s N/A cmd N/A result fail_reason N/A result output N/A False N/A True N/A _VerifyCommand N/A N/A cmd N/A N/A N/A Verify that a given command succeeds on all online nodes.

  As this function is intended to run during upgrades, it
  is implemented in such a way that it still works, if all Ganeti
  daemons are down.
  @param cmd: a list of unquoted shell arguments
  @type cmd: list
  @rtype: list
  @return: the list of node names that are online where
      the command failed.

   N/A command N/A N/A N/A utils text ShellQuoteArgs N/A N/A str val N/A val cmd N/A N/A _VerifyCommandRaw command N/A _VerifyCommandRaw N/A N/A command N/A N/A N/A Verify that a given command succeeds on all online nodes.

  As this function is intended to run during upgrades, it
  is implemented in such a way that it still works, if all Ganeti
  daemons are down.
  @param cmd: a bare string to pass to SSH. The caller must do their
              own shell/ssh escaping.
  @type cmd: string
  @rtype: list
  @return: the list of node names that are online where
      the command failed.

   N/A nodes N/A N/A N/A N/A ssconf SimpleStore GetOnlineNodeList N/A master_node N/A N/A N/A N/A ssconf SimpleStore GetMasterNode N/A cluster_name N/A N/A N/A N/A ssconf SimpleStore GetClusterName N/A N/A master_node nodes N/A N/A N/A N/A nodes remove master_node N/A N/A N/A nodes append master_node N/A failed N/A N/A srun N/A N/A ssh SshRunner cluster_name cluster_name N/A name nodes N/A N/A result N/A N/A srun Run name N/A constants SSH_LOGIN_USER command N/A N/A N/A result exit_code 0 N/A N/A N/A N/A failed append name N/A failed N/A _VerifyVersionInstalled N/A N/A versionstring N/A N/A N/A Verify that the given version of ganeti is installed on all online nodes.

  Do nothing, if this is the case, otherwise print an appropriate
  message to stderr.

  @param versionstring: the version to check for
  @type versionstring: string
  @rtype: bool
  @return: True, if the version is installed on all online nodes

   N/A badnodes N/A _VerifyCommand N/A test -d N/A N/A N/A os path join N/A pathutils PKGLIBDIR versionstring N/A badnodes N/A N/A N/A ToStderr N/A Ganeti version %s not installed on nodes %s N/A versionstring N/A N/A ,  join badnodes N/A False N/A True N/A _GetRunning N/A N/A N/A N/A N/A Determine the list of running jobs.

  @rtype: list
  @return: the number of jobs still running

   N/A cl N/A GetClient N/A qfilter N/A N/A qlang MakeSimpleFilter status N/A frozenset N/A N/A constants JOB_STATUS_RUNNING N/A N/A len N/A N/A N/A cl Query N/A constants QR_JOB N/A qfilter data N/A _SetGanetiVersionAndEnsure N/A N/A versionstring N/A N/A N/A Symlink the active version of ganeti to the given versionstring,
  and run the ensure-dirs script.

  @type versionstring: string
  @rtype: list
  @return: the list of nodes where the version change failed

   N/A N/A constants HAS_GNU_LN N/A N/A link_lib_cmd N/A ln -s -f -T N/A N/A N/A os path join N/A pathutils PKGLIBDIR versionstring N/A N/A N/A os path join N/A pathutils SYSCONFDIR ganeti/lib N/A link_share_cmd N/A ln -s -f -T N/A N/A N/A os path join N/A pathutils SHAREDIR versionstring N/A N/A N/A os path join N/A pathutils SYSCONFDIR ganeti/share N/A cmds N/A link_lib_cmd link_share_cmd N/A N/A rm_lib_cmd N/A rm -f N/A N/A N/A os path join N/A pathutils SYSCONFDIR ganeti/lib N/A link_lib_cmd N/A ln -s -f N/A N/A N/A os path join N/A pathutils PKGLIBDIR versionstring N/A N/A N/A os path join N/A pathutils SYSCONFDIR ganeti/lib N/A rm_share_cmd N/A rm -f N/A N/A N/A os path join N/A pathutils SYSCONFDIR ganeti/share N/A ln_share_cmd N/A ln -s -f N/A N/A N/A os path join N/A pathutils SHAREDIR versionstring N/A N/A N/A os path join N/A pathutils SYSCONFDIR ganeti/share N/A cmds N/A rm_lib_cmd link_lib_cmd rm_share_cmd ln_share_cmd N/A N/A N/A cmds append N/A N/A pathutils ENSURE_DIRS N/A quoted_cmds N/A N/A N/A N/A utils text ShellQuoteArgs cmd N/A cmd cmds N/A cmd N/A N/A  &&  join quoted_cmds N/A failed N/A _VerifyCommandRaw cmd N/A N/A list N/A set failed N/A _ExecuteCommands N/A N/A fns N/A N/A N/A Execute a list of functions, in reverse order.

  @type fns: list of functions.
  @param fns: the functions to be executed.

   N/A fn N/A reversed fns N/A N/A N/A fn N/A _GetConfigVersion N/A N/A N/A N/A N/A Determine the version the configuration file currently has.

  @rtype: tuple or None
  @return: (major, minor, revision) if the version can be determined,
      None otherwise

   N/A config_data N/A N/A serializer LoadJson N/A N/A utils ReadFile N/A pathutils CLUSTER_CONF_FILE N/A N/A N/A config_version N/A config_data N/A version N/A N/A N/A KeyError N/A N/A None N/A N/A N/A utils SplitVersion config_version N/A _ReadIntentToUpgrade N/A N/A N/A N/A N/A Read the file documenting the intent to upgrade the cluster.

  @rtype: (string, string) or (None, None)
  @return: (old version, version to upgrade to), if the file exists,
      and (None, None) otherwise.

   N/A N/A N/A N/A N/A os path isfile N/A pathutils INTENT_TO_UPGRADE N/A N/A N/A None None N/A contentstring N/A N/A utils ReadFile N/A pathutils INTENT_TO_UPGRADE N/A contents N/A N/A utils UnescapeAndSplit contentstring N/A N/A N/A len contents 3 N/A N/A N/A None None N/A N/A N/A contents N/A 0 N/A contents N/A 1 N/A _WriteIntentToUpgrade N/A N/A version N/A N/A N/A Write file documenting the intent to upgrade the cluster.

  @type version: string
  @param version: the version we intent to upgrade to

   N/A N/A N/A utils WriteFile N/A pathutils INTENT_TO_UPGRADE data N/A N/A utils EscapeAndJoin N/A N/A constants RELEASE_VERSION version N/A %d N/A N/A os getpid N/A _UpgradeBeforeConfigurationChange N/A N/A versionstring N/A N/A N/A 
  Carry out all the tasks necessary for an upgrade that happen before
  the configuration file, or Ganeti version, changes.

  @type versionstring: string
  @param versionstring: the version to upgrade to
  @rtype: (bool, list)
  @return: tuple of a bool indicating success and a list of rollback tasks

   N/A rollback N/A N/A N/A ToStdoutAndLoginfo Verifying %s present on all nodes versionstring N/A N/A N/A _VerifyVersionInstalled versionstring N/A N/A N/A False rollback N/A N/A _WriteIntentToUpgrade versionstring N/A N/A N/A rollback append N/A N/A N/A N/A N/A N/A utils RunCmd N/A rm -f N/A pathutils INTENT_TO_UPGRADE N/A N/A ToStdoutAndLoginfo Draining queue N/A client N/A GetClient N/A N/A N/A client SetQueueDrainFlag True N/A N/A N/A rollback append N/A N/A N/A N/A N/A N/A N/A GetClient SetQueueDrainFlag False N/A N/A N/A utils SimpleRetry 0 _GetRunning N/A constants UPGRADE_QUEUE_POLL_INTERVAL N/A constants UPGRADE_QUEUE_DRAIN_TIMEOUT N/A N/A N/A ToStderr Failed to completely empty the queue. N/A N/A False rollback N/A N/A ToStdoutAndLoginfo Pausing the watcher for one hour. N/A N/A N/A rollback append N/A N/A N/A N/A N/A N/A N/A GetClient SetWatcherPause None N/A N/A N/A N/A GetClient SetWatcherPause N/A N/A N/A time time N/A 60 60 N/A N/A ToStdoutAndLoginfo Stopping daemons on master node. N/A N/A N/A _RunCommandAndReport N/A N/A pathutils DAEMON_UTIL stop-all N/A N/A N/A False rollback N/A N/A ToStdoutAndLoginfo Stopping daemons everywhere. N/A N/A N/A rollback append N/A N/A N/A N/A N/A _VerifyCommand N/A N/A pathutils DAEMON_UTIL start-all N/A badnodes N/A _VerifyCommand N/A N/A pathutils DAEMON_UTIL stop-all N/A badnodes N/A N/A N/A ToStderr N/A Failed to stop daemons on %s. N/A N/A N/A ,  join badnodes N/A N/A False rollback N/A backuptar N/A N/A N/A os path join N/A pathutils BACKUP_DIR N/A ganeti%d.tar N/A N/A time time N/A N/A ToStdoutAndLoginfo Backing up configuration as %s backuptar N/A N/A N/A _RunCommandAndReport N/A mkdir -p N/A pathutils BACKUP_DIR N/A N/A N/A False rollback N/A N/A _ tmp_name N/A N/A tempfile mkstemp prefix backuptar dir N/A pathutils BACKUP_DIR N/A N/A N/A _RunCommandAndReport N/A tar -cf tmp_name --exclude=queue/archive N/A pathutils DATA_DIR N/A N/A N/A False rollback N/A N/A N/A os rename tmp_name backuptar N/A N/A True rollback N/A _VersionSpecificDowngrade N/A N/A N/A N/A N/A 
  Perform any additional downrade tasks that are version specific
  and need to be done just after the configuration downgrade. This
  function needs to be idempotent, so that it can be redone if the
  downgrade procedure gets interrupted after changing the
  configuration.

  Note that this function has to be reset with every version bump.

  @return: True upon success
   N/A N/A ToStdoutAndLoginfo Performing version-specific downgrade tasks. N/A True N/A _SwitchVersionAndConfig N/A N/A versionstring downgrade N/A N/A N/A 
  Switch to the new Ganeti version and change the configuration,
  in correct order.

  @type versionstring: string
  @param versionstring: the version to change to
  @type downgrade: bool
  @param downgrade: True, if the configuration should be downgraded
  @rtype: (bool, list)
  @return: tupe of a bool indicating success, and a list of
      additional rollback tasks

   N/A rollback N/A N/A downgrade N/A N/A N/A ToStdoutAndLoginfo Downgrading configuration N/A N/A N/A _RunCommandAndReport N/A N/A pathutils CFGUPGRADE --downgrade -f N/A N/A N/A False rollback N/A N/A N/A _VersionSpecificDowngrade N/A N/A N/A False rollback N/A N/A ToStdoutAndLoginfo Switching to version %s on all nodes versionstring N/A N/A N/A rollback append N/A N/A N/A N/A N/A _SetGanetiVersionAndEnsure N/A constants DIR_VERSION N/A badnodes N/A _SetGanetiVersionAndEnsure versionstring N/A badnodes N/A N/A N/A ToStderr N/A Failed to switch to Ganeti version %s on nodes %s N/A versionstring N/A N/A ,  join badnodes N/A N/A downgrade N/A N/A N/A False rollback N/A N/A downgrade N/A N/A N/A ToStdoutAndLoginfo Upgrading configuration N/A N/A N/A _RunCommandAndReport N/A N/A pathutils CFGUPGRADE -f N/A N/A N/A False rollback N/A N/A True rollback N/A _UpgradeAfterConfigurationChange N/A N/A oldversion N/A N/A N/A 
  Carry out the upgrade actions necessary after switching to the new
  Ganeti version and updating the configuration.

  As this part is run at a time where the new version of Ganeti is already
  running, no communication should happen via luxi, as this is not a stable
  interface. Also, as the configuration change is the point of no return,
  all actions are pushed through, even if some of them fail.

  @param oldversion: the version the upgrade started from
  @type oldversion: string
  @rtype: int
  @return: the intended return value

   N/A returnvalue 0 N/A N/A ToStdoutAndLoginfo Starting daemons everywhere. N/A badnodes N/A _VerifyCommand N/A N/A pathutils DAEMON_UTIL start-all N/A badnodes N/A N/A N/A ToStderr N/A Warning: failed to start daemons on %s. N/A N/A N/A ,  join badnodes N/A returnvalue 1 N/A N/A ToStdoutAndLoginfo Redistributing the configuration. N/A N/A N/A _RunCommandAndReport N/A gnt-cluster redist-conf --yes-do-it N/A N/A returnvalue 1 N/A N/A ToStdoutAndLoginfo Restarting daemons everywhere. N/A badnodes N/A _VerifyCommand N/A N/A pathutils DAEMON_UTIL stop-all N/A N/A N/A badnodes extend N/A _VerifyCommand N/A N/A pathutils DAEMON_UTIL start-all N/A badnodes N/A N/A N/A ToStderr N/A Warning: failed to start daemons on %s. N/A N/A N/A ,  join N/A list N/A set badnodes N/A returnvalue 1 N/A N/A ToStdoutAndLoginfo Undraining the queue. N/A N/A N/A _RunCommandAndReport N/A gnt-cluster queue undrain N/A N/A returnvalue 1 N/A N/A _RunCommandAndReport N/A rm -f N/A pathutils INTENT_TO_UPGRADE N/A N/A ToStdoutAndLoginfo Running post-upgrade hooks N/A N/A N/A _RunCommandAndReport N/A N/A pathutils POST_UPGRADE oldversion N/A N/A returnvalue 1 N/A N/A ToStdoutAndLoginfo Unpausing the watcher. N/A N/A N/A _RunCommandAndReport N/A gnt-cluster watcher continue N/A N/A returnvalue 1 N/A N/A ToStdoutAndLoginfo Verifying cluster. N/A N/A N/A _RunCommandAndReport N/A gnt-cluster verify N/A N/A returnvalue 1 N/A returnvalue N/A UpgradeGanetiCommand N/A N/A opts args N/A N/A N/A Upgrade a cluster to a new ganeti version.

  @param opts: the command line options selected by the user
  @type args: list
  @param args: should be an empty list
  @rtype: int
  @return: the desired exit code

   N/A N/A N/A N/A N/A opts resume N/A N/A opts to None N/A N/A opts resume N/A N/A opts to None N/A N/A N/A ToStderr Precisely one of the options --to and --resume has to be given N/A 1 N/A N/A N/A opts resume N/A N/A N/A oldversion versionstring N/A _ReadIntentToUpgrade N/A N/A versionstring None N/A N/A N/A versionstring N/A opts to N/A N/A N/A ToStderr An upgrade is already in progress. Target version matches, resuming. N/A N/A opts resume True N/A N/A opts to None N/A N/A N/A ToStderr N/A An upgrade from %s to %s is in progress; use --resume to finish it first N/A oldversion versionstring N/A 1 N/A N/A N/A utils SetupLogging N/A pathutils LOG_COMMANDS gnt-cluster upgrade debug 1 N/A oldversion N/A constants RELEASE_VERSION N/A N/A opts resume N/A N/A N/A N/A ssconf CheckMaster False N/A N/A oldversion versionstring N/A _ReadIntentToUpgrade N/A N/A versionstring None N/A N/A 0 N/A version N/A N/A N/A utils version ParseVersion versionstring N/A N/A version None N/A N/A 1 N/A configversion N/A _GetConfigVersion N/A N/A configversion None N/A N/A 1 N/A config_already_modified N/A N/A N/A utils IsCorrectConfigVersion version configversion N/A N/A N/A versionstring N/A constants DIR_VERSION N/A configversion N/A N/A constants CONFIG_MAJOR N/A constants CONFIG_MINOR N/A constants CONFIG_REVISION N/A N/A config_already_modified N/A N/A N/A _VerifyCommand N/A N/A pathutils DAEMON_UTIL start-all N/A N/A versionstring N/A opts to N/A config_already_modified False N/A version N/A N/A N/A utils version ParseVersion versionstring N/A N/A version None N/A N/A N/A ToStderr N/A Could not parse version string %s versionstring N/A 1 N/A msg N/A N/A N/A utils version UpgradeRange version N/A N/A msg None N/A N/A N/A ToStderr N/A Cannot upgrade to %s: %s N/A versionstring msg N/A 1 N/A N/A config_already_modified N/A N/A N/A success rollback N/A _UpgradeBeforeConfigurationChange versionstring N/A N/A success N/A N/A N/A _ExecuteCommands rollback N/A 1 N/A N/A rollback N/A N/A downgrade N/A N/A N/A utils version ShouldCfgdowngrade version N/A N/A success additionalrollback N/A _SwitchVersionAndConfig versionstring downgrade N/A N/A success N/A N/A N/A N/A rollback extend additionalrollback N/A N/A _ExecuteCommands rollback N/A 1 N/A N/A _UpgradeAfterConfigurationChange oldversion N/A N/A commands N/A init destroy rename redist-conf verify verify-disks repair-disk-sizes master-failover master-ping version getmaster copyfile command info list-tags add-tags remove-tags search-tags queue watcher modify renew-crypto epo activate-master-ip deactivate-master-ip show-ispecs-cmd upgrade remove-repair N/A InitCluster N/A N/A ArgHost min 1 max 1 N/A N/A N/A BACKEND_OPT CP_SIZE_OPT ENABLED_HV_OPT GLOBAL_FILEDIR_OPT HVLIST_OPT MAC_PREFIX_OPT MASTER_NETDEV_OPT MASTER_NETMASK_OPT NIC_PARAMS_OPT NOMODIFY_ETCHOSTS_OPT NOMODIFY_SSH_SETUP_OPT SECONDARY_IP_OPT VG_NAME_OPT MAINTAIN_NODE_HEALTH_OPT UIDPOOL_OPT DRBD_HELPER_OPT DEFAULT_IALLOCATOR_OPT DEFAULT_IALLOCATOR_PARAMS_OPT PRIMARY_IP_VERSION_OPT PREALLOC_WIPE_DISKS_OPT NODE_PARAMS_OPT GLOBAL_SHARED_FILEDIR_OPT USE_EXTERNAL_MIP_SCRIPT DISK_PARAMS_OPT HV_STATE_OPT DISK_STATE_OPT ENABLED_DISK_TEMPLATES_OPT IPOLICY_STD_SPECS_OPT GLOBAL_GLUSTER_FILEDIR_OPT INSTALL_IMAGE_OPT ZEROING_IMAGE_OPT COMPRESSION_TOOLS_OPT ENABLED_USER_SHUTDOWN_OPT SSH_KEY_BITS_OPT SSH_KEY_TYPE_OPT INSTANCE_POLICY_OPTS SPLIT_ISPECS_OPTS [opts...] <cluster_name> Initialises a new cluster configuration N/A DestroyCluster ARGS_NONE N/A YES_DOIT_OPT Destroy cluster N/A RenameCluster N/A N/A ArgHost min 1 max 1 N/A FORCE_OPT DRY_RUN_OPT <new_name> Renames the cluster N/A RedistributeConfig ARGS_NONE N/A SUBMIT_OPTS N/A DRY_RUN_OPT PRIORITY_OPT FORCE_DISTRIBUTION Forces a push of the configuration file and ssconf files to the nodes in the cluster N/A VerifyCluster ARGS_NONE N/A VERBOSE_OPT DEBUG_SIMERR_OPT ERROR_CODES_OPT NONPLUS1_OPT PRIORITY_OPT NODEGROUP_OPT IGNORE_ERRORS_OPT VERIFY_CLUTTER_OPT Does a check on the cluster configuration N/A VerifyDisks ARGS_NONE N/A PRIORITY_OPT NODEGROUP_OPT Does a check on the cluster disk status N/A RepairDiskSizes ARGS_MANY_INSTANCES N/A DRY_RUN_OPT PRIORITY_OPT [instance...] Updates mismatches in recorded disk sizes N/A MasterFailover ARGS_NONE N/A NOVOTING_OPT FORCE_FAILOVER Makes the current node the master N/A MasterPing ARGS_NONE N/A Checks if the master is alive N/A ShowClusterVersion ARGS_NONE N/A Shows the cluster version N/A ShowClusterMaster ARGS_NONE N/A Shows the cluster master N/A ClusterCopyFile N/A N/A ArgFile min 1 max 1 N/A NODE_LIST_OPT USE_REPL_NET_OPT NODEGROUP_OPT [-n node...] <filename> Copies a file to all (or only some) nodes N/A RunClusterCommand N/A N/A ArgCommand min 1 N/A NODE_LIST_OPT NODEGROUP_OPT SHOW_MACHINE_OPT FAILURE_ONLY_OPT [-n node...] <command> Runs a command on all (or only some) nodes N/A ShowClusterConfig ARGS_NONE N/A ROMAN_OPT [--roman] Show cluster configuration N/A ListTags ARGS_NONE N/A List the tags of the cluster N/A AddTags N/A N/A ArgUnknown N/A N/A TAG_SRC_OPT PRIORITY_OPT SUBMIT_OPTS tag... Add tags to the cluster N/A RemoveTags N/A N/A ArgUnknown N/A N/A TAG_SRC_OPT PRIORITY_OPT SUBMIT_OPTS tag... Remove tags from the cluster N/A SearchTags N/A N/A ArgUnknown min 1 max 1 N/A PRIORITY_OPT Searches the tags on all objects on the cluster for a given pattern (regex) N/A QueueOps N/A N/A ArgChoice min 1 max 1 choices N/A drain undrain info N/A drain|undrain|info Change queue properties N/A WatcherOps N/A N/A ArgChoice min 1 max 1 choices N/A pause continue info N/A ArgSuggest min 0 max 1 choices N/A 30m 1h 4h N/A {pause <timespec>|continue|info} Change watcher properties N/A SetClusterParams ARGS_NONE N/A N/A N/A N/A N/A N/A FORCE_OPT BACKEND_OPT CP_SIZE_OPT RQL_OPT MAX_TRACK_OPT INSTALL_IMAGE_OPT INSTANCE_COMMUNICATION_NETWORK_OPT ENABLED_HV_OPT HVLIST_OPT MAC_PREFIX_OPT MASTER_NETDEV_OPT MASTER_NETMASK_OPT NIC_PARAMS_OPT VG_NAME_OPT MAINTAIN_NODE_HEALTH_OPT UIDPOOL_OPT ADD_UIDS_OPT REMOVE_UIDS_OPT DRBD_HELPER_OPT DEFAULT_IALLOCATOR_OPT DEFAULT_IALLOCATOR_PARAMS_OPT RESERVED_LVS_OPT DRY_RUN_OPT PRIORITY_OPT PREALLOC_WIPE_DISKS_OPT NODE_PARAMS_OPT USE_EXTERNAL_MIP_SCRIPT DISK_PARAMS_OPT HV_STATE_OPT DISK_STATE_OPT SUBMIT_OPTS N/A ENABLED_DISK_TEMPLATES_OPT IPOLICY_STD_SPECS_OPT MODIFY_ETCHOSTS_OPT ENABLED_USER_SHUTDOWN_OPT INSTANCE_POLICY_OPTS N/A GLOBAL_FILEDIR_OPT GLOBAL_SHARED_FILEDIR_OPT ZEROING_IMAGE_OPT COMPRESSION_TOOLS_OPT N/A ENABLED_DATA_COLLECTORS_OPT DATA_COLLECTOR_INTERVAL_OPT DIAGNOSE_DATA_COLLECTOR_FILENAME_OPT MAINT_INTERVAL_OPT MAINT_BALANCE_OPT MAINT_BALANCE_THRESHOLD_OPT [opts...] Alters the parameters of the cluster N/A RenewCrypto ARGS_NONE N/A NEW_CLUSTER_CERT_OPT NEW_RAPI_CERT_OPT RAPI_CERT_OPT NEW_CONFD_HMAC_KEY_OPT FORCE_OPT NEW_CLUSTER_DOMAIN_SECRET_OPT CLUSTER_DOMAIN_SECRET_OPT NEW_SPICE_CERT_OPT SPICE_CERT_OPT SPICE_CACERT_OPT NEW_NODE_CERT_OPT NEW_SSH_KEY_OPT NOSSH_KEYCHECK_OPT VERBOSE_OPT SSH_KEY_BITS_OPT SSH_KEY_TYPE_OPT [opts...] Renews cluster certificates, keys and secrets N/A Epo N/A N/A ArgUnknown N/A FORCE_OPT ON_OPT GROUPS_OPT ALL_OPT OOB_TIMEOUT_OPT SHUTDOWN_TIMEOUT_OPT POWER_DELAY_OPT [opts...] [args] Performs an emergency power-off on given args N/A ActivateMasterIp ARGS_NONE N/A Activates the master IP N/A DeactivateMasterIp ARGS_NONE N/A CONFIRM_OPT Deactivates the master IP N/A ShowCreateCommand ARGS_NONE N/A Show the command line to re-create the cluster N/A UpgradeGanetiCommand ARGS_NONE N/A TO_OPT RESUME_OPT Upgrade (or downgrade) to a new Ganeti version N/A RemoveRepair N/A N/A ArgUnknown N/A <uuid> Remove a repair event from the list of pending events N/A aliases N/A masterfailover show master-failover info Main N/A N/A N/A N/A N/A N/A GenericMain commands override N/A tag_type N/A constants TAG_CLUSTER aliases aliases N/A