Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore TupleLoad Str Str Str Str body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Index Str If CompareGt NameLoad BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num body Return NameLoad Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad DictComp NameLoad IfExp CompareNotEq NameLoad Str NameLoad Str comprehension TupleStore NameStore NameStore NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad If NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr NameLoad orelse TryExcept body Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad NameLoad attr Num NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Str Str Str Str Lambda arguments args defaults Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot AttributeLoad NameLoad attr Num NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse If AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Return Call NameLoad NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str Str For NameStore NameLoad body If CompareEq NameLoad Call AttributeLoad Str attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareEq NameLoad Call AttributeLoad Str attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call Call NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call Call NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call Call NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call Call NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call Call NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr Str Str NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str Str If CompareNotIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Assign NameStore Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Lambda arguments args NameParam defaults NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad body Return NameLoad If Call NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body TryExcept body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num body TryExcept body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Assign NameStore AttributeLoad NameLoad attr TryExcept body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Str BinOpMult NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpMult NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str IfExp CompareIn Str NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad TryExcept body If NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore GeneratorExp SubscriptLoad AttributeLoad NameLoad attr Index Str comprehension NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Continue AugAssignAdd NameStore Call NameLoad NameLoad Str Num AugAssignAdd NameStore Call NameLoad NameLoad Str Num handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore DictComp SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body For NameStore BinOpSub NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore BinOpSub NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore BinOpBitAnd NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpOr CompareNotEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str CompareNotEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str CompareNotEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body If UnaryOpNot BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq SubscriptLoad NameLoad Index Str Str body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad With Call AttributeLoad NameLoad attr body For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad With Call AttributeLoad NameLoad attr body For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr keyword Str attr Str keyword NameLoad For NameStore BinOpSub NameLoad NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad For NameStore BinOpSub NameLoad NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword BoolOpOr AttributeLoad NameLoad attr Str keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str Str keyword Call AttributeLoad NameLoad attr Str Str keyword ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return ListComp Dict Str Str Str Str AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad CompareNotEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Raise Call NameLoad Str If UnaryOpNot NameLoad body If UnaryOpNot Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword ListLoad Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad Dict Str Str Str Str Str Str Num Str Str Str NameLoad NameLoad Dict Str Str Str Str Str Str Str Str NameLoad NameLoad keyword ListLoad Dict Str AttributeLoad NameLoad attr keyword IfExp CompareIsNot NameLoad NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr body Continue TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If NameLoad body For NameStore SubscriptLoad NameLoad Index Str body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad BinOpDiv NameLoad Num If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return orelse If CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Dict Str NameLoad Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore DictComp SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore BinOpAdd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str NameLoad AttributeLoad NameLoad attr NameLoad Str If NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad orelse Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str ListLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore Dict Str AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Dict Str NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str NameLoad Return AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str If Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Return Assign NameStore Call AttributeLoad NameLoad attr Str Dict If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Dict Str Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str ListLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str NameLoad AttributeLoad NameLoad attr Str ListLoad Dict Str Str Str Str NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Dict Str Str NameLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str TryExcept body If UnaryOpNot NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword NameLoad Index Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Str CompareNotEq Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str keyword Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Dict Str NameLoad Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Dict Str NameLoad If Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr attr keyword Str body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad TryExcept body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str keyword Num keyword Num body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str UnaryOpUSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A datetime N/A dateutil.parser N/A logging N/A re N/A time N/A uuid django.conf settings django_settings django.core.exceptions ObjectDoesNotExist MultipleObjectsReturned django.db transaction django.utils six dateparse timezone requests ConnectionError keystoneclient.auth.identity v2 keystoneclient.service_catalog ServiceCatalog keystoneclient session keystone_session ceilometerclient client ceilometer_client cinderclient.v1 client cinder_client glanceclient.v1 client glance_client keystoneclient.v2_0 client keystone_client neutronclient.v2_0 client neutron_client novaclient.v1_1 client nova_client cinderclient exceptions cinder_exceptions glanceclient exc glance_exceptions keystoneclient exceptions keystone_exceptions neutronclient.client exceptions neutron_exceptions novaclient exceptions nova_exceptions nodeconductor.core.models StateMixin nodeconductor.core.tasks send_task nodeconductor.structure ServiceBackend ServiceBackendError log_backend_action nodeconductor.structure.log event_logger nodeconductor.openstack models N/A logger N/A N/A logging getLogger __name__ OpenStackBackendError N/A ServiceBackendError N/A N/A N/A OpenStackSession N/A dict N/A N/A  Serializable session  __init__ N/A N/A self ks_session verify_ssl N/A None False credentials N/A N/A N/A self keystone_session ks_session N/A N/A N/A self keystone_session N/A N/A auth_plugin N/A N/A v2 Password credentials N/A N/A self keystone_session N/A N/A keystone_session Session auth auth_plugin verify verify_ssl N/A N/A N/A N/A N/A N/A self keystone_session get_token N/A N/A N/A N/A N/A keystone_exceptions AuthorizationFailure N/A keystone_exceptions ConnectionRefused N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A opt N/A auth_ref auth_url tenant_id tenant_name N/A N/A N/A self N/A opt N/A getattr N/A self auth opt N/A __getattr__ N/A N/A self name N/A N/A N/A N/A getattr N/A self keystone_session name N/A recover N/A N/A cls session verify_ssl N/A False N/A N/A N/A N/A N/A isinstance session dict N/A N/A N/A session get auth_ref N/A N/A N/A OpenStackBackendError Invalid OpenStack session N/A args N/A auth_url token N/A session N/A auth_url N/A N/A N/A session N/A auth_ref N/A token N/A id N/A N/A session N/A tenant_id N/A N/A N/A args N/A tenant_id N/A session N/A tenant_id N/A N/A N/A session N/A tenant_name N/A N/A N/A args N/A tenant_name N/A session N/A tenant_name N/A ks_session N/A N/A keystone_session Session auth N/A N/A v2 Token args verify verify_ssl N/A N/A cls ks_session ks_session tenant_id N/A session N/A tenant_id tenant_name N/A session N/A tenant_name N/A classmethod validate N/A N/A self N/A N/A N/A expiresat N/A N/A N/A dateutil parser parse N/A N/A N/A N/A self auth auth_ref N/A token N/A expires N/A N/A expiresat N/A N/A N/A timezone now N/A N/A datetime timedelta minutes 10 N/A N/A True N/A N/A OpenStackBackendError OpenStack session is expired N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A k N/A N/A k password v *** N/A N/A k v self N/A N/A OpenStackClient N/A object N/A N/A  Generic OpenStack client.  __init__ N/A N/A self session verify_ssl N/A None False credentials N/A N/A N/A self verify_ssl verify_ssl N/A session N/A N/A N/A isinstance session dict N/A N/A N/A N/A logger info Trying to recover OpenStack session. N/A N/A self session N/A N/A OpenStackSession recover session verify_ssl verify_ssl N/A N/A N/A N/A self session validate N/A N/A N/A self session session N/A N/A N/A N/A N/A self session N/A OpenStackSession verify_ssl verify_ssl credentials N/A N/A N/A AttributeError N/A e N/A N/A N/A N/A logger error Failed to create OpenStack session. N/A N/A N/A six reraise OpenStackBackendError e N/A keystone N/A N/A self N/A N/A N/A N/A N/A keystone_client Client session N/A N/A self session keystone_session N/A property nova N/A N/A self N/A N/A N/A N/A N/A N/A N/A nova_client Client session N/A N/A self session keystone_session N/A N/A N/A N/A N/A nova_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to create nova client: %s e N/A N/A N/A six reraise OpenStackBackendError e N/A property neutron N/A N/A self N/A N/A N/A N/A N/A N/A N/A neutron_client Client session N/A N/A self session keystone_session N/A N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to create neutron client: %s e N/A N/A N/A six reraise OpenStackBackendError e N/A property cinder N/A N/A self N/A N/A N/A N/A N/A N/A N/A cinder_client Client session N/A N/A self session keystone_session N/A N/A N/A N/A N/A cinder_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to create cinder client: %s e N/A N/A N/A six reraise OpenStackBackendError e N/A property glance N/A N/A self N/A N/A N/A catalog N/A N/A ServiceCatalog factory N/A N/A N/A self session auth auth_ref N/A endpoint N/A N/A catalog url_for service_type image N/A kwargs N/A token insecure timeout ssl_compression N/A N/A N/A self session get_token N/A N/A self verify_ssl 600 True N/A N/A N/A glance_client Client endpoint kwargs N/A property ceilometer N/A N/A self N/A N/A N/A catalog N/A N/A ServiceCatalog factory N/A N/A N/A self session auth auth_ref N/A endpoint N/A N/A catalog url_for service_type metering N/A kwargs N/A token endpoint insecure timeout ssl_compression N/A N/A N/A N/A N/A N/A N/A self session get_token endpoint N/A N/A self verify_ssl 600 True N/A N/A N/A ceilometer_client Client 2 kwargs N/A property N/A OpenStackBackend N/A ServiceBackend N/A N/A DEFAULT_TENANT admin __init__ N/A N/A self settings tenant_id N/A None N/A N/A N/A self settings settings N/A N/A self tenant_id tenant_id N/A get_client N/A N/A self name admin N/A None False N/A N/A credentials N/A auth_url username password N/A N/A self settings backend_url N/A N/A self settings username N/A N/A self settings password N/A N/A admin N/A N/A N/A N/A self tenant_id N/A N/A N/A OpenStackBackendError Can't create tenant session, please provide tenant ID N/A N/A credentials N/A tenant_id N/A self tenant_id N/A N/A N/A N/A self settings options N/A N/A N/A credentials N/A tenant_name N/A N/A N/A N/A self settings options get tenant_name N/A self DEFAULT_TENANT N/A N/A N/A credentials N/A tenant_name N/A self DEFAULT_TENANT N/A attr_name N/A admin admin_session session N/A client N/A getattr self attr_name None N/A N/A hasattr self attr_name N/A N/A client N/A getattr self attr_name N/A N/A client N/A OpenStackClient credentials N/A N/A setattr self attr_name client N/A name N/A N/A N/A getattr client name N/A N/A client N/A __getattr__ N/A N/A self name N/A N/A N/A clients N/A keystone nova neutron cinder glance ceilometer N/A client clients N/A N/A N/A name N/A N/A {}_client format client N/A N/A N/A N/A self get_client client admin False N/A N/A name N/A N/A {}_admin_client format client N/A N/A N/A N/A self get_client client admin True N/A N/A AttributeError N/A '%s' object has no attribute '%s' N/A N/A N/A self __class__ __name__ name N/A ping N/A N/A self raise_exception N/A False N/A N/A True N/A ping_resource N/A N/A self instance N/A N/A N/A N/A N/A N/A N/A N/A N/A self nova_client servers get N/A instance backend_id N/A N/A N/A N/A ConnectionError N/A nova_exceptions ClientException N/A N/A False N/A N/A True N/A sync N/A N/A self N/A N/A N/A N/A N/A N/A N/A self pull_flavors N/A N/A N/A self pull_images N/A N/A N/A N/A N/A nova_exceptions ClientException N/A glance_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to synchronize OpenStack service %s N/A N/A self settings backend_url N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully synchronized OpenStack service %s N/A N/A self settings backend_url N/A provision N/A N/A self instance flavor image ssh_key N/A None None None kwargs N/A N/A ssh_key N/A N/A N/A instance key_name N/A N/A self get_key_name ssh_key N/A N/A instance key_fingerprint N/A ssh_key fingerprint N/A N/A kwargs N/A public_key N/A ssh_key public_key N/A N/A instance flavor_name N/A flavor name N/A N/A instance cores N/A flavor cores N/A N/A instance ram N/A flavor ram N/A N/A instance flavor_disk N/A flavor disk N/A N/A instance disk N/A N/A instance system_volume_size N/A instance data_volume_size N/A image N/A N/A N/A instance image_name N/A image name N/A N/A instance min_disk N/A image min_disk N/A N/A instance min_ram N/A image min_ram N/A N/A N/A instance save N/A N/A kwargs N/A backend_flavor_id N/A flavor backend_id N/A image N/A N/A N/A kwargs N/A backend_image_id N/A image backend_id N/A N/A N/A send_task openstack provision N/A N/A instance uuid hex kwargs N/A destroy N/A N/A self instance force N/A False N/A N/A N/A N/A instance schedule_deletion N/A N/A N/A instance save N/A N/A N/A send_task openstack destroy N/A N/A instance uuid hex force force N/A start N/A N/A self instance N/A N/A N/A N/A N/A instance schedule_starting N/A N/A N/A instance save N/A N/A N/A send_task openstack start N/A N/A instance uuid hex N/A stop N/A N/A self instance N/A N/A N/A N/A N/A instance schedule_stopping N/A N/A N/A instance save N/A N/A N/A send_task openstack stop N/A N/A instance uuid hex N/A restart N/A N/A self instance N/A N/A N/A N/A N/A instance schedule_restarting N/A N/A N/A instance save N/A N/A N/A send_task openstack restart N/A N/A instance uuid hex N/A get_key_name N/A N/A self public_key N/A N/A N/A safe_name N/A N/A self sanitize_key_name N/A public_key name N/A key_name N/A N/A {0}-{1} format N/A N/A public_key uuid hex safe_name N/A key_name N/A sanitize_key_name N/A N/A self key_name N/A N/A N/A N/A N/A N/A re sub [^-a-zA-Z0-9 _]+ _ key_name N/A 17 N/A add_ssh_key N/A N/A self ssh_key service_project_link N/A N/A N/A N/A N/A service_project_link tenant None N/A N/A key_name N/A N/A self get_key_name ssh_key N/A N/A N/A self get_or_create_ssh_key_for_tenant N/A service_project_link tenant key_name N/A ssh_key fingerprint N/A ssh_key public_key N/A get_or_create_ssh_key_for_tenant N/A N/A self tenant key_name fingerprint public_key N/A N/A N/A nova N/A self nova_client N/A N/A N/A N/A N/A N/A nova keypairs find fingerprint fingerprint N/A N/A N/A N/A nova_exceptions NotFound N/A N/A N/A N/A N/A N/A N/A nova keypairs create name key_name public_key public_key N/A N/A N/A N/A N/A nova_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Propagating ssh public key %s to backend key_name N/A N/A N/A N/A nova_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Skipped propagating ssh public key %s to backend key_name N/A remove_ssh_key N/A N/A self ssh_key service_project_link N/A N/A N/A N/A N/A service_project_link tenant None N/A N/A N/A N/A self remove_ssh_key_from_tenant N/A service_project_link tenant ssh_key N/A remove_ssh_key_from_tenant N/A N/A self tenant key_name fingerprint N/A N/A N/A nova N/A self nova_client N/A keys N/A N/A N/A nova keypairs findall fingerprint fingerprint N/A key keys N/A N/A N/A N/A key name key_name N/A N/A N/A N/A N/A nova keypairs delete key N/A N/A N/A logger info Deleted ssh public key %s from backend key_name N/A N/A log_backend_action _get_instance_state N/A N/A self instance N/A N/A N/A nova_to_nodeconductor N/A ACTIVE BUILDING ERROR UNKNOWN HARD_REBOOT REBOOT REBUILD PASSWORD PAUSED RESCUED RESIZED REVERT_RESIZE SHUTOFF STOPPED SUSPENDED VERIFY_RESIZE N/A N/A N/A models Instance States ONLINE N/A N/A N/A models Instance States PROVISIONING N/A N/A N/A models Instance States ERRED N/A N/A N/A models Instance States ERRED N/A N/A N/A models Instance States STOPPING N/A N/A N/A models Instance States STOPPING N/A N/A N/A models Instance States STARTING N/A N/A N/A models Instance States ONLINE N/A N/A N/A models Instance States OFFLINE N/A N/A N/A models Instance States ONLINE N/A N/A N/A models Instance States OFFLINE N/A N/A N/A models Instance States STOPPING N/A N/A N/A models Instance States OFFLINE N/A N/A N/A models Instance States OFFLINE N/A N/A N/A models Instance States OFFLINE N/A N/A N/A models Instance States OFFLINE N/A N/A N/A nova_to_nodeconductor get N/A instance status N/A N/A N/A models Instance States ERRED N/A _get_current_properties N/A N/A self model N/A N/A N/A N/A N/A p backend_id p N/A p N/A N/A N/A model objects filter settings N/A self settings N/A _are_rules_equal N/A N/A self backend_rule nc_rule N/A N/A N/A N/A N/A backend_rule N/A from_port N/A nc_rule from_port N/A N/A False N/A N/A N/A backend_rule N/A to_port N/A nc_rule to_port N/A N/A False N/A N/A N/A backend_rule N/A ip_protocol N/A nc_rule protocol N/A N/A False N/A N/A N/A N/A N/A backend_rule N/A ip_range get cidr N/A nc_rule cidr N/A N/A False N/A True N/A _are_security_groups_equal N/A N/A self backend_security_group nc_security_group N/A N/A N/A N/A N/A backend_security_group name N/A nc_security_group name N/A N/A False N/A N/A N/A len N/A backend_security_group rules N/A N/A N/A nc_security_group rules count N/A N/A False N/A N/A backend_rule nc_rule N/A zip N/A backend_security_group rules N/A N/A N/A nc_security_group rules all N/A N/A N/A N/A N/A self _are_rules_equal backend_rule nc_rule N/A N/A False N/A True N/A _normalize_security_group_rule N/A N/A self rule N/A N/A N/A N/A N/A rule N/A ip_protocol None N/A N/A N/A rule N/A ip_protocol N/A N/A cidr N/A rule N/A ip_range N/A N/A N/A N/A rule N/A ip_range N/A cidr 0.0.0.0/0 N/A rule N/A _wait_for_instance_status N/A N/A self server_id nova complete_status error_status retries poll_interval N/A None 300 3 N/A N/A N/A N/A self _wait_for_object_status server_id N/A N/A nova servers get complete_status error_status retries poll_interval N/A _wait_for_volume_status N/A N/A self volume_id cinder complete_status error_status retries poll_interval N/A None 300 3 N/A N/A N/A N/A self _wait_for_object_status volume_id N/A N/A cinder volumes get complete_status error_status retries poll_interval N/A _wait_for_snapshot_status N/A N/A self snapshot_id cinder complete_status error_status retries poll_interval N/A 90 3 N/A N/A N/A N/A self _wait_for_object_status snapshot_id N/A N/A cinder volume_snapshots get complete_status error_status retries poll_interval N/A _wait_for_backup_status N/A N/A self backup cinder complete_status error_status retries poll_interval N/A 90 3 N/A N/A N/A N/A self _wait_for_object_status backup N/A N/A cinder backups get complete_status error_status retries poll_interval N/A _wait_for_object_status N/A N/A self obj_id client_get_method complete_status error_status retries poll_interval N/A None 30 3 N/A N/A complete_state_predicate N/A N/A N/A o N/A N/A N/A o status complete_status N/A N/A error_status None N/A N/A error_state_predicate N/A N/A N/A o N/A N/A N/A o status error_status N/A N/A error_state_predicate N/A N/A N/A _ N/A False N/A _ N/A range retries N/A N/A obj N/A client_get_method obj_id N/A N/A complete_state_predicate obj N/A N/A True N/A N/A error_state_predicate obj N/A N/A False N/A N/A N/A time sleep poll_interval N/A N/A False N/A _wait_for_volume_deletion N/A N/A self volume_id cinder retries poll_interval N/A 90 3 N/A N/A N/A N/A _ N/A range retries N/A N/A N/A N/A N/A cinder volumes get volume_id N/A N/A N/A time sleep poll_interval N/A False N/A N/A N/A N/A cinder_exceptions NotFound N/A N/A True N/A _wait_for_snapshot_deletion N/A N/A self snapshot_id cinder retries poll_interval N/A 90 3 N/A N/A N/A N/A _ N/A range retries N/A N/A N/A N/A N/A cinder volume_snapshots get snapshot_id N/A N/A N/A time sleep poll_interval N/A False N/A N/A N/A N/A N/A cinder_exceptions NotFound N/A keystone_exceptions NotFound N/A N/A True N/A _wait_for_instance_deletion N/A N/A self backend_instance_id retries poll_interval N/A 90 3 N/A N/A nova N/A self nova_client N/A N/A N/A _ N/A range retries N/A N/A N/A N/A N/A nova servers get backend_instance_id N/A N/A N/A time sleep poll_interval N/A False N/A N/A N/A N/A nova_exceptions NotFound N/A N/A True N/A pull_flavors N/A N/A self N/A N/A N/A nova N/A self nova_admin_client N/A N/A N/A transaction atomic N/A N/A cur_flavors N/A N/A self _get_current_properties N/A models Flavor N/A backend_flavor N/A N/A N/A nova flavors findall is_public True N/A N/A N/A N/A cur_flavors pop N/A backend_flavor id None N/A N/A N/A N/A N/A models Flavor objects update_or_create settings N/A self settings backend_id N/A backend_flavor id defaults N/A name cores ram disk N/A backend_flavor name N/A backend_flavor vcpus N/A backend_flavor ram N/A N/A self gb2mb N/A backend_flavor disk N/A N/A N/A N/A N/A N/A N/A models Flavor objects filter backend_id__in N/A N/A cur_flavors keys delete N/A pull_images N/A N/A self N/A N/A N/A glance N/A self glance_admin_client N/A N/A N/A transaction atomic N/A N/A cur_images N/A N/A self _get_current_properties N/A models Image N/A backend_image N/A N/A N/A glance images list N/A N/A N/A N/A backend_image is_public N/A N/A backend_image deleted N/A N/A N/A N/A cur_images pop N/A backend_image id None N/A N/A N/A N/A N/A models Image objects update_or_create settings N/A self settings backend_id N/A backend_image id defaults N/A name min_ram min_disk N/A backend_image name N/A backend_image min_ram N/A N/A self gb2mb N/A backend_image min_disk N/A N/A N/A N/A N/A N/A N/A models Image objects filter backend_id__in N/A N/A cur_images keys delete N/A push_tenant_quotas N/A N/A self tenant quotas N/A N/A N/A N/A instances quotas N/A N/A quotas_ratios N/A N/A N/A django_settings NODECONDUCTOR get OPENSTACK_QUOTAS_INSTANCE_RATIOS N/A N/A volume_ratio N/A N/A quotas_ratios get volumes 4 N/A snapshots_ratio N/A N/A quotas_ratios get snapshots 20 N/A N/A quotas N/A volumes N/A volume_ratio N/A quotas N/A instances N/A N/A quotas N/A snapshots N/A snapshots_ratio N/A quotas N/A instances N/A cinder_quotas N/A gigabytes volumes snapshots N/A N/A storage quotas N/A N/A self mb2gb N/A N/A quotas get storage None N/A N/A quotas get volumes N/A N/A quotas get snapshots N/A cinder_quotas N/A k v N/A N/A k v N/A N/A cinder_quotas items N/A v None N/A nova_quotas N/A instances cores N/A N/A quotas get instances N/A N/A quotas get vcpu N/A nova_quotas N/A k v N/A N/A k v N/A N/A nova_quotas items N/A v None N/A neutron_quotas N/A security_group security_group_rule N/A N/A quotas get security_group_count N/A N/A quotas get security_group_rule_count N/A neutron_quotas N/A k v N/A N/A k v N/A N/A neutron_quotas items N/A v None N/A N/A N/A cinder_quotas N/A N/A N/A N/A N/A N/A self cinder_client quotas update N/A tenant backend_id cinder_quotas N/A nova_quotas N/A N/A N/A N/A N/A N/A self nova_client quotas update N/A tenant backend_id nova_quotas N/A neutron_quotas N/A N/A N/A N/A N/A self neutron_client update_quota N/A tenant backend_id N/A quota neutron_quotas N/A N/A N/A Exception N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action push quotas for tenant pull_tenant_quotas N/A N/A self tenant N/A N/A N/A nova N/A self nova_client N/A neutron N/A self neutron_client N/A cinder N/A self cinder_client N/A service_project_link N/A tenant service_project_link N/A N/A N/A nova_quotas N/A N/A N/A nova quotas get tenant_id N/A tenant backend_id N/A cinder_quotas N/A N/A N/A cinder quotas get tenant_id N/A tenant backend_id N/A neutron_quotas N/A N/A N/A neutron show_quota tenant_id N/A tenant backend_id N/A quota N/A N/A N/A N/A N/A nova_exceptions ClientException N/A cinder_exceptions ClientException N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A service_project_link set_quota_limit ram N/A nova_quotas ram N/A N/A N/A service_project_link set_quota_limit vcpu N/A nova_quotas cores N/A N/A N/A service_project_link set_quota_limit storage N/A N/A self gb2mb N/A cinder_quotas gigabytes N/A N/A N/A service_project_link set_quota_limit instances N/A nova_quotas instances N/A N/A N/A service_project_link set_quota_limit security_group_count N/A neutron_quotas N/A security_group N/A N/A N/A service_project_link set_quota_limit security_group_rule_count N/A neutron_quotas N/A security_group_rule N/A N/A N/A service_project_link set_quota_limit floating_ip_count N/A neutron_quotas N/A floatingip N/A N/A N/A volumes N/A N/A N/A cinder volumes list N/A snapshots N/A N/A N/A cinder volume_snapshots list N/A instances N/A N/A N/A nova servers list N/A security_groups N/A N/A N/A nova security_groups list N/A floating_ips N/A N/A N/A neutron list_floatingips tenant_id N/A tenant backend_id N/A floatingips N/A flavors N/A N/A flavor id flavor N/A flavor N/A N/A N/A nova flavors list N/A N/A ram vcpu N/A 0 0 N/A flavor_id N/A N/A N/A instance flavor N/A id N/A instance instances N/A N/A N/A N/A flavor N/A N/A flavors get flavor_id N/A N/A N/A nova flavors get flavor_id N/A N/A N/A N/A nova_exceptions NotFound N/A N/A N/A N/A logger warning Cannot find flavor with id %s flavor_id N/A N/A ram N/A getattr flavor ram 0 N/A vcpu N/A getattr flavor vcpus 0 N/A N/A N/A N/A N/A nova_exceptions ClientException N/A cinder_exceptions ClientException N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A service_project_link set_quota_usage ram ram N/A N/A N/A service_project_link set_quota_usage vcpu vcpu N/A N/A N/A service_project_link set_quota_usage storage N/A sum N/A N/A N/A self gb2mb N/A v size N/A v N/A volumes snapshots N/A N/A N/A service_project_link set_quota_usage instances N/A len instances fail_silently True N/A N/A N/A service_project_link set_quota_usage security_group_count N/A len security_groups N/A N/A N/A service_project_link set_quota_usage security_group_rule_count N/A len N/A sum N/A N/A sg rules N/A sg security_groups N/A N/A N/A N/A service_project_link set_quota_usage floating_ip_count N/A len floating_ips N/A N/A log_backend_action pull quotas for tenant pull_tenant_floating_ips N/A N/A self tenant N/A N/A N/A service_project_link N/A tenant service_project_link N/A neutron N/A self neutron_client N/A N/A N/A nc_floating_ips N/A N/A ip backend_id ip N/A ip N/A N/A N/A service_project_link floating_ips all N/A N/A N/A backend_floating_ips N/A N/A ip N/A id ip N/A ip N/A N/A N/A neutron list_floatingips tenant_id N/A self tenant_id N/A floatingips N/A N/A N/A ip get floating_ip_address N/A N/A ip get status N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A backend_ids N/A set N/A N/A backend_floating_ips keys N/A nc_ids N/A set N/A N/A nc_floating_ips keys N/A N/A N/A transaction atomic N/A N/A ip_id N/A nc_ids backend_ids N/A N/A ip N/A nc_floating_ips N/A ip_id N/A N/A N/A ip delete N/A N/A N/A logger info Deleted stale floating IP port %s in database N/A ip uuid N/A ip_id N/A backend_ids nc_ids N/A N/A ip N/A backend_floating_ips N/A ip_id N/A created_ip N/A N/A N/A service_project_link floating_ips create status N/A ip N/A status backend_id N/A ip N/A id address N/A ip N/A floating_ip_address backend_network_id N/A ip N/A floating_network_id N/A N/A N/A logger info Created new floating IP port %s in database N/A created_ip uuid N/A ip_id N/A nc_ids backend_ids N/A N/A nc_ip N/A nc_floating_ips N/A ip_id N/A backend_ip N/A backend_floating_ips N/A ip_id N/A N/A N/A N/A nc_ip status N/A backend_ip N/A status N/A N/A nc_ip address N/A backend_ip N/A floating_ip_address N/A N/A nc_ip backend_network_id N/A backend_ip N/A floating_network_id N/A N/A N/A N/A N/A N/A nc_ip status BOOKED N/A N/A backend_ip N/A status DOWN N/A N/A N/A nc_ip status N/A backend_ip N/A status N/A N/A nc_ip address N/A backend_ip N/A floating_ip_address N/A N/A nc_ip backend_network_id N/A backend_ip N/A floating_network_id N/A N/A N/A nc_ip save N/A N/A N/A logger info Updated existing floating IP port %s in database N/A nc_ip uuid N/A N/A N/A Exception N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action pull floating IPs for tenant pull_tenant_security_groups N/A N/A self tenant N/A N/A N/A nova N/A self nova_client N/A service_project_link N/A tenant service_project_link N/A N/A N/A N/A N/A backend_security_groups N/A N/A N/A nova security_groups list N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A nonexistent_groups N/A N/A unsynchronized_groups N/A N/A extra_groups N/A N/A N/A service_project_link security_groups exclude backend_id__in N/A N/A g id N/A g backend_security_groups N/A N/A N/A transaction atomic N/A N/A backend_group backend_security_groups N/A N/A N/A N/A nc_group N/A N/A N/A service_project_link security_groups get backend_id N/A backend_group id N/A N/A N/A N/A self _are_security_groups_equal backend_group nc_group N/A N/A N/A N/A unsynchronized_groups append backend_group N/A N/A N/A N/A N/A models SecurityGroup DoesNotExist N/A N/A N/A N/A nonexistent_groups append backend_group N/A N/A N/A extra_groups delete N/A extra_groups N/A N/A N/A N/A logger debug Deleted stale security group: %s. N/A N/A  , join N/A N/A %s (PK: %s) N/A N/A sg name N/A sg pk N/A sg extra_groups N/A backend_group unsynchronized_groups N/A N/A nc_security_group N/A N/A N/A service_project_link security_groups get backend_id N/A backend_group id N/A N/A N/A backend_group name N/A nc_security_group name N/A N/A N/A nc_security_group name N/A backend_group name N/A N/A nc_security_group state N/A N/A StateMixin States OK N/A N/A N/A nc_security_group save N/A N/A N/A self pull_security_group_rules nc_security_group N/A N/A N/A logger debug Updated existing security group %s (PK: %s). N/A nc_security_group name N/A nc_security_group pk N/A backend_group nonexistent_groups N/A N/A nc_security_group N/A N/A N/A service_project_link security_groups create backend_id N/A backend_group id name N/A backend_group name state N/A N/A StateMixin States OK N/A N/A N/A self pull_security_group_rules nc_security_group N/A N/A N/A logger debug Created new security group %s (PK: %s). N/A nc_security_group name N/A nc_security_group pk N/A N/A N/A Exception N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action pull security groups for tenant pull_security_group_rules N/A N/A self security_group N/A N/A N/A nova N/A self nova_client N/A backend_security_group N/A N/A N/A nova security_groups get group_id N/A security_group backend_id N/A backend_rules N/A N/A N/A self _normalize_security_group_rule r N/A r N/A backend_security_group rules N/A nonexistent_rules N/A N/A unsynchronized_rules N/A N/A extra_rules N/A N/A N/A security_group rules exclude backend_id__in N/A N/A r N/A id N/A r backend_rules N/A N/A N/A transaction atomic N/A N/A backend_rule backend_rules N/A N/A N/A N/A nc_rule N/A N/A N/A security_group rules get backend_id N/A backend_rule N/A id N/A N/A N/A N/A self _are_rules_equal backend_rule nc_rule N/A N/A N/A N/A unsynchronized_rules append backend_rule N/A N/A N/A N/A N/A N/A security_group rules model DoesNotExist N/A N/A N/A N/A nonexistent_rules append backend_rule N/A N/A N/A extra_rules delete N/A N/A N/A logger info Deleted stale security group rules in database N/A backend_rule unsynchronized_rules N/A N/A N/A N/A N/A N/A N/A security_group rules filter backend_id N/A backend_rule N/A id update from_port N/A backend_rule N/A from_port to_port N/A backend_rule N/A to_port protocol N/A backend_rule N/A ip_protocol cidr N/A N/A backend_rule N/A ip_range N/A cidr N/A N/A N/A logger debug Updated existing security group rules in database N/A backend_rule nonexistent_rules N/A N/A rule N/A N/A N/A security_group rules create from_port N/A backend_rule N/A from_port to_port N/A backend_rule N/A to_port protocol N/A backend_rule N/A ip_protocol cidr N/A N/A backend_rule N/A ip_range N/A cidr backend_id N/A backend_rule N/A id N/A N/A N/A logger info Created new security group rule %s in database N/A rule id N/A sync_instance_security_groups N/A N/A self instance N/A N/A N/A nova N/A self nova_client N/A server_id N/A instance backend_id N/A backend_ids N/A set N/A N/A g id N/A g N/A N/A N/A nova servers list_security_group server_id N/A nc_ids N/A set N/A N/A N/A N/A N/A N/A N/A N/A models SecurityGroup objects filter instance_groups__instance__backend_id server_id exclude backend_id values_list backend_id flat True N/A group_id N/A backend_ids nc_ids N/A N/A N/A N/A N/A N/A N/A nova servers remove_security_group server_id group_id N/A N/A N/A N/A nova_exceptions ClientException N/A N/A N/A N/A logger exception Failed to remove security group %s from instance %s group_id server_id N/A N/A N/A N/A logger info Removed security group %s from instance %s group_id server_id N/A group_id N/A nc_ids backend_ids N/A N/A N/A N/A N/A N/A N/A nova servers add_security_group server_id group_id N/A N/A N/A N/A nova_exceptions ClientException N/A N/A N/A N/A logger exception Failed to add security group %s to instance %s group_id server_id N/A N/A N/A N/A logger info Added security group %s to instance %s group_id server_id N/A create_tenant N/A N/A self tenant N/A N/A N/A keystone N/A self keystone_admin_client N/A N/A N/A backend_tenant N/A N/A N/A keystone tenants create tenant_name N/A tenant name description N/A tenant description N/A N/A tenant backend_id N/A backend_tenant id N/A N/A N/A tenant save update_fields N/A backend_id N/A N/A N/A N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action pull_tenant N/A N/A self tenant N/A N/A N/A keystone N/A self keystone_admin_client N/A N/A N/A tenant backend_id N/A N/A N/A OpenStackBackendError Cannot pull tenant without backend_id N/A N/A N/A backend_tenant N/A N/A N/A keystone tenants get N/A tenant backend_id N/A N/A N/A N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A tenant name N/A backend_tenant name N/A N/A tenant description N/A backend_tenant description N/A N/A N/A tenant save N/A N/A log_backend_action add_admin_user_to_tenant N/A N/A self tenant N/A N/A N/A  Add user from openstack settings to new tenant  N/A keystone N/A self keystone_admin_client N/A N/A N/A admin_user N/A N/A N/A keystone users find name N/A N/A self settings username N/A admin_role N/A N/A N/A keystone roles find name admin N/A N/A N/A N/A N/A N/A keystone roles add_user_role user N/A admin_user id role N/A admin_role id tenant N/A tenant backend_id N/A N/A N/A N/A keystone_exceptions Conflict N/A N/A N/A N/A N/A N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action create_tenant_user N/A N/A self tenant N/A N/A N/A keystone N/A self keystone_client N/A N/A N/A user N/A N/A N/A keystone users create name N/A tenant user_username password N/A tenant user_password N/A admin_role N/A N/A N/A keystone roles find name Member N/A N/A N/A N/A keystone roles add_user_role user N/A user id role N/A admin_role id tenant N/A tenant backend_id N/A N/A N/A N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action add user to tenant get_instance N/A N/A self instance_id N/A N/A N/A N/A N/A nova N/A self nova_client N/A cinder N/A self cinder_client N/A instance N/A N/A N/A nova servers get instance_id N/A N/A N/A attached_volume_ids N/A N/A v volumeId N/A v N/A N/A N/A nova volumes get_server_volumes instance_id N/A N/A N/A len attached_volume_ids 2 N/A N/A N/A OpenStackBackendError Only instances with 2 volumes are supported N/A volume_id attached_volume_ids N/A N/A volume N/A N/A N/A cinder volumes get volume_id N/A N/A N/A volume bootable true N/A N/A system_volume volume N/A N/A N/A N/A volume bootable false N/A N/A data_volume volume N/A flavor N/A N/A N/A nova flavors get N/A N/A instance flavor N/A id N/A cores N/A flavor vcpus N/A ram N/A flavor ram N/A ips N/A N/A net_conf N/A N/A N/A instance addresses values N/A N/A ip net_conf N/A N/A N/A N/A ip N/A OS-EXT-IPS:type fixed N/A N/A N/A ips N/A internal N/A ip N/A addr N/A N/A N/A ip N/A OS-EXT-IPS:type floating N/A N/A N/A ips N/A external N/A ip N/A addr N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to lookup instance %s information instance_id N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A d N/A N/A dateparse parse_datetime N/A N/A N/A instance to_dict N/A OS-SRV-USG:launched_at N/A N/A N/A N/A KeyError ValueError N/A N/A launch_time None N/A N/A N/A N/A timezone is_naive d N/A N/A launch_time N/A N/A timezone make_aware d N/A timezone utc N/A N/A instance nc_model_data N/A dict name N/A N/A instance name N/A instance id key_name N/A N/A instance key_name start_time launch_time state N/A N/A self _get_instance_state instance created N/A N/A dateparse parse_datetime N/A instance created cores cores ram ram disk N/A N/A self gb2mb N/A N/A system_volume size N/A data_volume size system_volume_id N/A system_volume id system_volume_size N/A N/A self gb2mb N/A system_volume size data_volume_id N/A data_volume id data_volume_size N/A N/A self gb2mb N/A data_volume size internal_ips N/A N/A ips get internal external_ips N/A N/A ips get external security_groups N/A N/A sg N/A name N/A sg N/A instance security_groups N/A N/A N/A N/A N/A glance_exceptions ClientException N/A cinder_exceptions ClientException N/A nova_exceptions ClientException N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A instance N/A get_resources_for_import N/A N/A self N/A N/A N/A cur_instances N/A N/A N/A N/A N/A N/A models Instance objects all values_list backend_id flat True N/A N/A N/A instances N/A N/A N/A N/A self nova_client servers list N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A id name created_at status N/A instance id N/A N/A instance name N/A instance id N/A instance created N/A instance status N/A instance instances N/A N/A N/A instance id cur_instances N/A N/A N/A self _get_instance_state instance N/A N/A N/A models Instance States ERRED N/A get_managed_resources N/A N/A self N/A N/A N/A N/A N/A ids N/A N/A instance id N/A instance N/A N/A N/A N/A self nova_client servers list N/A N/A N/A N/A N/A models Instance objects filter backend_id__in ids N/A N/A N/A N/A nova_exceptions ClientException N/A N/A N/A N/A provision_instance N/A N/A self instance backend_flavor_id backend_image_id system_volume_id data_volume_id skip_external_ip_assignment public_key N/A None None None None False None N/A N/A N/A N/A logger info About to provision instance %s N/A instance uuid N/A N/A N/A nova N/A self nova_client N/A cinder N/A self cinder_client N/A neutron N/A self neutron_client N/A backend_flavor N/A N/A N/A nova flavors get backend_flavor_id N/A service_project_link N/A instance service_project_link N/A tenant N/A service_project_link tenant N/A N/A N/A N/A N/A neutron show_network N/A service_project_link internal_network_id N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A N/A N/A N/A logger exception Internal network with id of %s was not found N/A service_project_link internal_network_id N/A N/A OpenStackBackendError Unable to find network to attach instance to N/A N/A skip_external_ip_assignment N/A N/A N/A N/A N/A N/A N/A N/A service_project_link floating_ips filter status DOWN exists N/A N/A N/A N/A self allocate_floating_ip_address tenant N/A floating_ip N/A N/A N/A N/A N/A service_project_link floating_ips filter status DOWN first N/A N/A instance external_ips N/A floating_ip address N/A N/A floating_ip status BOOKED N/A N/A N/A floating_ip save update_fields N/A status N/A N/A instance key_name N/A N/A backend_public_key N/A N/A self get_or_create_ssh_key_for_tenant tenant N/A instance key_name N/A instance key_fingerprint public_key N/A N/A backend_public_key None N/A N/A system_volume_id N/A N/A system_volume_name N/A N/A {0}-system format N/A instance name N/A N/A N/A logger info Creating volume %s for instance %s system_volume_name N/A instance uuid N/A system_volume N/A N/A N/A cinder volumes create size N/A N/A self mb2gb N/A instance system_volume_size display_name system_volume_name display_description imageRef backend_image_id N/A system_volume_id N/A system_volume id N/A N/A data_volume_id N/A N/A data_volume_name N/A N/A {0}-data format N/A instance name N/A N/A N/A logger info Creating volume %s for instance %s data_volume_name N/A instance uuid N/A data_volume N/A N/A N/A cinder volumes create size N/A N/A self mb2gb N/A instance data_volume_size display_name data_volume_name display_description N/A data_volume_id N/A data_volume id N/A N/A N/A N/A self _wait_for_volume_status system_volume_id cinder available error N/A N/A N/A N/A logger error Failed to provision instance %s: timed out waiting for system volume %s to become available N/A instance uuid system_volume_id N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to provision N/A instance uuid N/A N/A N/A N/A self _wait_for_volume_status data_volume_id cinder available error N/A N/A N/A N/A logger error Failed to provision instance %s: timed out waiting for data volume %s to become available N/A instance uuid data_volume_id N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to provision N/A instance uuid N/A security_group_ids N/A N/A N/A instance security_groups values_list security_group__backend_id flat True N/A server_create_parameters N/A dict name N/A instance name image None flavor backend_flavor block_device_mapping_v2 N/A N/A boot_index destination_type device_type source_type uuid delete_on_termination 0 volume disk volume system_volume_id True N/A destination_type device_type source_type uuid delete_on_termination volume disk volume data_volume_id True nics N/A N/A net-id N/A service_project_link internal_network_id key_name N/A N/A backend_public_key None N/A backend_public_key name None security_groups security_group_ids N/A availability_zone N/A service_project_link availability_zone N/A availability_zone N/A N/A N/A server_create_parameters N/A availability_zone availability_zone N/A N/A instance user_data N/A N/A N/A server_create_parameters N/A userdata N/A instance user_data N/A server N/A N/A N/A nova servers create server_create_parameters N/A N/A instance backend_id N/A server id N/A N/A instance system_volume_id system_volume_id N/A N/A instance data_volume_id data_volume_id N/A N/A N/A instance save N/A N/A N/A N/A self _wait_for_instance_status N/A server id nova ACTIVE N/A N/A N/A N/A logger error Failed to provision instance %s: timed out waiting for instance to become online N/A instance uuid N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to provision N/A instance uuid N/A N/A N/A logger debug About to infer internal ip addresses of instance %s N/A instance uuid N/A N/A N/A server N/A N/A N/A nova servers get N/A server id N/A fixed_address N/A N/A N/A N/A N/A N/A server addresses values N/A 0 N/A 0 N/A addr N/A N/A N/A N/A N/A nova_exceptions ClientException KeyError IndexError N/A N/A N/A N/A logger exception Failed to infer internal ip addresses of instance %s N/A instance uuid N/A N/A N/A instance internal_ips fixed_address N/A N/A N/A instance save N/A N/A N/A logger info Successfully inferred internal ip addresses of instance %s N/A instance uuid N/A N/A N/A self push_floating_ip_to_instance instance server N/A backend_security_groups N/A N/A server list_security_group N/A bsg backend_security_groups N/A N/A N/A N/A N/A N/A N/A instance security_groups filter security_group__name N/A bsg name exists N/A N/A N/A N/A N/A security_group N/A N/A N/A service_project_link security_groups get name N/A bsg name N/A N/A N/A N/A N/A models SecurityGroup DoesNotExist N/A N/A N/A N/A logger error N/A SPL %s (PK: %s) does not have security group "%s", but its instance %s (PK: %s) has. N/A service_project_link N/A service_project_link pk N/A bsg name instance N/A instance pk N/A N/A N/A N/A N/A instance security_groups create security_group security_group N/A N/A N/A N/A N/A glance_exceptions ClientException N/A cinder_exceptions ClientException N/A nova_exceptions ClientException N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A logger exception Failed to provision instance %s N/A instance uuid N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully provisioned instance %s N/A instance uuid N/A pull_tenant_instances N/A N/A self tenant N/A N/A N/A spl N/A tenant service_project_link N/A States N/A N/A models Instance States N/A instance N/A N/A N/A spl instances filter state__in N/A N/A States ONLINE N/A States OFFLINE N/A N/A N/A N/A instance_data N/A N/A N/A self get_instance N/A instance backend_id nc_model_data N/A N/A N/A OpenStackBackendError N/A e N/A N/A N/A N/A logger error Cannot get data for instance %s (PK: %s). Error: %s instance N/A instance pk e N/A N/A N/A instance ram N/A instance_data N/A ram N/A N/A instance cores N/A instance_data N/A cores N/A N/A instance disk N/A instance_data N/A disk N/A N/A instance system_volume_size N/A instance_data N/A system_volume_size N/A N/A instance data_volume_size N/A instance_data N/A data_volume_size N/A N/A N/A instance save N/A N/A N/A logger info Instance %s (PK: %s) has been successfully pulled from OpenStack. instance N/A instance pk N/A N/A log_backend_action pull instances for tenant cleanup N/A N/A self dryrun N/A True N/A N/A N/A N/A self tenant_id N/A N/A N/A N/A logger info N/A Nothing to cleanup, tenant_id of %s is not set self N/A N/A neutron N/A self neutron_admin_client N/A floatingips N/A N/A neutron list_floatingips tenant_id N/A self tenant_id N/A floatingips N/A N/A floatingip N/A floatingips N/A floatingips N/A N/A N/A N/A logger info Deleting floating IP %s from tenant %s N/A floatingip N/A id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_floatingip N/A floatingip N/A id N/A N/A N/A N/A neutron_exceptions NotFound N/A N/A N/A N/A logger debug Floating IP %s is already gone from tenant %s N/A floatingip N/A id N/A self tenant_id N/A ports N/A N/A neutron list_ports tenant_id N/A self tenant_id N/A ports N/A N/A port N/A ports N/A ports N/A N/A N/A N/A logger info Deleting port %s from tenant %s N/A port N/A id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron remove_interface_router N/A port N/A device_id N/A port_id N/A port N/A id N/A N/A N/A N/A neutron_exceptions NotFound N/A N/A N/A N/A logger debug Port %s is already gone from tenant %s N/A port N/A id N/A self tenant_id N/A routers N/A N/A neutron list_routers tenant_id N/A self tenant_id N/A routers N/A N/A router N/A routers N/A routers N/A N/A N/A N/A logger info Deleting router %s from tenant %s N/A router N/A id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_router N/A router N/A id N/A N/A N/A N/A neutron_exceptions NotFound N/A N/A N/A N/A logger debug Router %s is already gone from tenant %s N/A router N/A id N/A self tenant_id N/A networks N/A N/A neutron list_networks tenant_id N/A self tenant_id N/A networks N/A N/A network N/A networks N/A networks N/A N/A subnet N/A network N/A subnets N/A N/A N/A N/A logger info Deleting subnetwork %s from tenant %s subnet N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_subnet subnet N/A N/A N/A N/A neutron_exceptions NotFound N/A N/A N/A N/A logger info Subnetwork %s is already gone from tenant %s subnet N/A self tenant_id N/A N/A N/A logger info Deleting network %s from tenant %s N/A network N/A id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_network N/A network N/A id N/A N/A N/A N/A neutron_exceptions NotFound N/A N/A N/A N/A logger debug Network %s is already gone from tenant %s N/A network N/A id N/A self tenant_id N/A nova N/A self nova_client N/A sgroups N/A N/A N/A nova security_groups list N/A sgroup sgroups N/A N/A N/A N/A logger info Deleting security group %s from tenant %s N/A sgroup id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A sgroup delete N/A servers N/A N/A N/A nova servers list N/A server servers N/A N/A N/A N/A logger info Deleting server %s from tenant %s N/A server id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A server delete N/A cinder N/A self cinder_client N/A snapshots N/A N/A N/A cinder volume_snapshots list N/A snapshot snapshots N/A N/A N/A N/A logger info Deleting snapshots %s from tenant %s N/A snapshot id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A snapshot delete N/A volumes N/A N/A N/A cinder volumes list N/A volume volumes N/A N/A N/A N/A logger info Deleting volume %s from tenant %s N/A volume id N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A volume delete N/A keystone N/A self keystone_admin_client N/A N/A N/A logger info Deleting tenant %s N/A self tenant_id N/A N/A dryrun N/A N/A N/A N/A N/A keystone tenants delete N/A self tenant_id N/A cleanup_tenant N/A N/A self tenant dryrun N/A True N/A N/A N/A N/A tenant backend_id N/A N/A N/A OpenStackBackendError Method `cleanup_tenant` should not be called if tenant has no backend_id N/A neutron N/A self neutron_admin_client N/A floatingips N/A N/A neutron list_floatingips tenant_id N/A tenant backend_id N/A floatingips N/A N/A floatingip N/A floatingips N/A floatingips N/A N/A N/A N/A logger info Deleting floating IP %s from tenant %s N/A floatingip N/A id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_floatingip N/A floatingip N/A id N/A N/A N/A N/A N/A neutron_exceptions NotFound N/A keystone_exceptions ClientException N/A N/A N/A N/A logger debug Floating IP %s is already gone from tenant %s N/A floatingip N/A id N/A tenant backend_id N/A ports N/A N/A neutron list_ports tenant_id N/A tenant backend_id N/A ports N/A N/A port N/A ports N/A ports N/A N/A N/A N/A logger info Deleting port %s from tenant %s N/A port N/A id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron remove_interface_router N/A port N/A device_id N/A port_id N/A port N/A id N/A N/A N/A N/A N/A neutron_exceptions NotFound N/A keystone_exceptions ClientException N/A N/A N/A N/A logger debug Port %s is already gone from tenant %s N/A port N/A id N/A tenant backend_id N/A routers N/A N/A neutron list_routers tenant_id N/A tenant backend_id N/A routers N/A N/A router N/A routers N/A routers N/A N/A N/A N/A logger info Deleting router %s from tenant %s N/A router N/A id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_router N/A router N/A id N/A N/A N/A N/A N/A neutron_exceptions NotFound N/A keystone_exceptions ClientException N/A N/A N/A N/A logger debug Router %s is already gone from tenant %s N/A router N/A id N/A tenant backend_id N/A networks N/A N/A neutron list_networks tenant_id N/A tenant backend_id N/A networks N/A N/A network N/A networks N/A networks N/A N/A subnet N/A network N/A subnets N/A N/A N/A N/A logger info Deleting subnetwork %s from tenant %s subnet N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_subnet subnet N/A N/A N/A N/A N/A neutron_exceptions NotFound N/A keystone_exceptions ClientException N/A N/A N/A N/A logger info Subnetwork %s is already gone from tenant %s subnet N/A tenant backend_id N/A N/A N/A logger info Deleting network %s from tenant %s N/A network N/A id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A neutron delete_network N/A network N/A id N/A N/A N/A N/A N/A neutron_exceptions NotFound N/A keystone_exceptions ClientException N/A N/A N/A N/A logger debug Network %s is already gone from tenant %s N/A network N/A id N/A tenant backend_id N/A nova N/A self nova_client N/A sgroups N/A N/A N/A nova security_groups list N/A sgroup sgroups N/A N/A N/A N/A logger info Deleting security group %s from tenant %s N/A sgroup id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A sgroup delete N/A N/A N/A N/A N/A nova_exceptions ClientException N/A keystone_exceptions ClientException N/A N/A N/A N/A logger debug Cannot delete %s from tenant %s sgroup N/A tenant backend_id N/A servers N/A N/A N/A nova servers list N/A server servers N/A N/A N/A N/A logger info Deleting server %s from tenant %s N/A server id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A server delete N/A cinder N/A self cinder_client N/A snapshots N/A N/A N/A cinder volume_snapshots list N/A snapshot snapshots N/A N/A N/A N/A logger info Deleting snapshots %s from tenant %s N/A snapshot id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A snapshot delete N/A volumes N/A N/A N/A cinder volumes list N/A volume volumes N/A N/A N/A N/A logger info Deleting volume %s from tenant %s N/A volume id N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A volume delete N/A keystone N/A self keystone_client N/A N/A N/A user N/A N/A N/A keystone users find name N/A tenant user_username N/A N/A N/A logger info Deleting user %s that was connected to tenant %s N/A user name N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A user delete N/A N/A N/A N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger error Cannot delete user %s from tenant %s. Error: %s N/A tenant user_username N/A tenant backend_id e N/A keystone N/A self keystone_admin_client N/A N/A N/A logger info Deleting tenant %s N/A tenant backend_id N/A N/A dryrun N/A N/A N/A N/A N/A N/A N/A keystone tenants delete N/A tenant backend_id N/A N/A N/A N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action cleanup_instance N/A N/A self backend_id external_ips internal_ips system_volume_id data_volume_id N/A None None None None None N/A N/A nova N/A self nova_client N/A N/A N/A N/A nova servers delete backend_id N/A cinder N/A self cinder_client N/A N/A N/A N/A cinder volumes delete system_volume_id N/A N/A N/A N/A cinder volumes delete data_volume_id N/A extend_disk N/A N/A self instance N/A N/A N/A nova N/A self nova_client N/A cinder N/A self cinder_client N/A N/A N/A logger debug About to extend disk for instance %s N/A instance uuid N/A N/A N/A volume N/A N/A N/A cinder volumes get N/A instance data_volume_id N/A server_id N/A instance backend_id N/A volume_id N/A volume id N/A new_core_size N/A instance data_volume_size N/A old_core_size N/A N/A self gb2mb N/A volume size N/A new_backend_size N/A N/A self mb2gb new_core_size N/A new_core_size_gib N/A int N/A round N/A new_core_size 1024.0 N/A N/A old_core_size new_core_size N/A N/A N/A N/A logger info Not extending volume %s: it is already of size %d MiB volume_id new_core_size N/A N/A N/A N/A old_core_size new_core_size N/A N/A N/A N/A logger warning Not extending volume %s: desired size %d MiB is less then current size %d MiB volume_id new_core_size old_core_size N/A N/A N/A N/A event_logger openstack_volume error Virtual machine {resource_name} disk extension has failed due to new size being less than old size. event_type resource_volume_extension_failed event_context N/A resource instance N/A N/A N/A N/A N/A nova volumes delete_server_volume server_id volume_id N/A N/A N/A N/A self _wait_for_volume_status volume_id cinder available error N/A N/A N/A N/A logger error Failed to extend volume: timed out waiting volume %s to detach from instance %s volume_id N/A instance uuid N/A N/A OpenStackBackendError N/A Timed out waiting volume %s to detach from instance %s N/A volume_id N/A instance uuid N/A N/A N/A N/A N/A N/A N/A self _extend_volume cinder volume new_backend_size N/A storage_delta N/A new_core_size old_core_size N/A N/A N/A N/A instance service_project_link add_quota_usage storage storage_delta N/A N/A N/A N/A cinder_exceptions OverLimit N/A e N/A N/A N/A N/A logger warning Failed to extend volume: exceeded quota limit while trying to extend volume %s N/A volume id N/A N/A N/A N/A event_logger openstack_volume error Virtual machine {resource_name} disk extension has failed due to quota limits. event_type resource_volume_extension_failed event_context N/A resource instance N/A N/A instance data_volume_size old_core_size N/A N/A N/A instance save N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A N/A nova volumes create_server_volume server_id volume_id None N/A N/A N/A N/A self _wait_for_volume_status volume_id cinder in-use error N/A N/A N/A N/A logger error Failed to extend volume: timed out waiting volume %s to attach to instance %s volume_id N/A instance uuid N/A N/A OpenStackBackendError N/A Timed out waiting volume %s to attach to instance %s N/A volume_id N/A instance uuid N/A N/A N/A N/A cinder_exceptions OverLimit N/A N/A N/A N/A N/A N/A nova_exceptions ClientException N/A cinder_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to extend disk of an instance %s N/A instance uuid N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully extended disk of an instance %s N/A instance uuid N/A N/A N/A N/A event_logger openstack_volume info Virtual machine {resource_name} disk has been extended to {volume_size} GB. event_type resource_volume_extension_succeeded event_context N/A resource volume_size instance new_core_size_gib N/A _push_security_group_rules N/A N/A self security_group N/A N/A N/A  Helper method   N/A nova N/A self nova_client N/A backend_security_group N/A N/A N/A nova security_groups get group_id N/A security_group backend_id N/A backend_rules N/A N/A rule N/A id N/A N/A self _normalize_security_group_rule rule N/A rule N/A backend_security_group rules N/A nonexistent_rules N/A N/A unsynchronized_rules N/A N/A extra_rule_ids N/A N/A backend_rules keys N/A nc_rule N/A N/A N/A security_group rules all N/A N/A N/A N/A nc_rule backend_id backend_rules N/A N/A N/A N/A nonexistent_rules append nc_rule N/A N/A backend_rule N/A backend_rules N/A N/A nc_rule backend_id N/A N/A N/A N/A self _are_rules_equal backend_rule nc_rule N/A N/A N/A N/A unsynchronized_rules append nc_rule N/A N/A N/A extra_rule_ids remove N/A nc_rule backend_id N/A backend_rule_id extra_rule_ids N/A N/A N/A N/A logger debug About to delete security group rule with id %s in backend backend_rule_id N/A N/A N/A N/A N/A N/A nova security_group_rules delete backend_rule_id N/A N/A N/A N/A nova_exceptions ClientException N/A N/A N/A N/A logger exception Failed to remove rule with id %s from security group %s in backend backend_rule_id security_group N/A N/A N/A N/A logger info Security group rule with id %s successfully deleted in backend backend_rule_id N/A nc_rule unsynchronized_rules N/A N/A N/A N/A logger debug About to delete security group rule with id %s N/A nc_rule backend_id N/A N/A N/A N/A N/A N/A nova security_group_rules delete N/A nc_rule backend_id N/A N/A N/A N/A nova_exceptions ClientException N/A N/A N/A N/A logger exception Failed to remove rule with id %s from security group %s in backend N/A nc_rule backend_id security_group N/A N/A N/A N/A logger info Security group rule with id %s successfully deleted in backend N/A nc_rule backend_id N/A nc_rule N/A unsynchronized_rules nonexistent_rules N/A N/A N/A N/A logger debug About to create security group rule with id %s in backend N/A nc_rule id N/A N/A N/A N/A N/A nc_rule protocol N/A N/A nc_rule_protocol None N/A N/A nc_rule_protocol N/A nc_rule protocol N/A N/A N/A N/A nova security_group_rules create parent_group_id N/A security_group backend_id ip_protocol nc_rule_protocol from_port N/A nc_rule from_port to_port N/A nc_rule to_port cidr N/A nc_rule cidr N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to create rule %s for security group %s in backend nc_rule security_group N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Security group rule with id %s successfully created in backend N/A nc_rule id N/A create_security_group N/A N/A self security_group N/A N/A N/A nova N/A self nova_client N/A N/A N/A backend_security_group N/A N/A N/A nova security_groups create name N/A security_group name description N/A N/A security_group backend_id N/A backend_security_group id N/A N/A N/A security_group save N/A N/A N/A self _push_security_group_rules security_group N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action delete_security_group N/A N/A self security_group N/A N/A N/A nova N/A self nova_client N/A N/A N/A N/A N/A N/A nova security_groups delete N/A security_group backend_id N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action update_security_group N/A N/A self security_group N/A N/A N/A nova N/A self nova_client N/A N/A N/A backend_security_group N/A N/A N/A nova security_groups find id N/A security_group backend_id N/A N/A N/A backend_security_group name N/A security_group name N/A N/A N/A N/A N/A nova security_groups update backend_security_group name N/A security_group name description N/A N/A N/A self _push_security_group_rules security_group N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action create_external_network N/A N/A self tenant neutron network_ip network_prefix vlan_id vxlan_id ips_count N/A None None None N/A N/A service_project_link N/A tenant service_project_link N/A N/A tenant external_network_id N/A N/A N/A N/A self connect_tenant_to_external_network tenant N/A tenant external_network_id N/A neutron N/A self neutron_admin_client N/A network_name N/A N/A nc-{0}-ext-net format N/A N/A N/A uuid uuid4 hex N/A network N/A name tenant_id router:external provider:physical_network network_name N/A service_project_link tenant_id True physnet1 N/A vlan_id N/A N/A N/A network N/A provider:network_type vlan N/A N/A network N/A provider:segmentation_id vlan_id N/A N/A vxlan_id N/A N/A N/A network N/A provider:network_type vxlan N/A N/A network N/A provider:segmentation_id vxlan_id N/A N/A N/A OpenStackBackendError VLAN or VXLAN ID should be provided. N/A create_response N/A N/A neutron create_network N/A networks N/A network N/A network_id N/A N/A N/A create_response N/A networks N/A 0 N/A id N/A N/A N/A logger info External network with name %s has been created. network_name N/A N/A tenant external_network_id network_id N/A N/A N/A tenant save update_fields N/A external_network_id N/A subnet_name N/A N/A {0}-sn01 format network_name N/A cidr N/A N/A {0}/{1} format network_ip network_prefix N/A subnet_data N/A network_id tenant_id cidr name ip_version enable_dhcp N/A service_project_link external_network_id N/A service_project_link tenant_id cidr subnet_name 4 False N/A create_response N/A N/A neutron create_subnet N/A subnets N/A subnet_data N/A N/A N/A logger info Subnet with name %s has been created. subnet_name N/A N/A N/A self get_or_create_router network_name N/A N/A N/A create_response N/A subnets N/A 0 N/A id N/A floating_ip N/A floating_network_id N/A service_project_link external_network_id N/A N/A N/A vlan_id None N/A ips_count None N/A N/A i N/A range ips_count N/A N/A ip N/A N/A N/A neutron create_floatingip N/A floatingip floating_ip N/A floatingip N/A N/A N/A logger info Floating ip %s for external network %s has been created. N/A ip N/A floating_ip_address network_name N/A N/A service_project_link external_network_id N/A N/A log_backend_action create external network for tenant detect_external_network N/A N/A self tenant N/A N/A N/A neutron N/A self neutron_admin_client N/A routers N/A N/A N/A neutron list_routers tenant_id N/A tenant backend_id N/A routers N/A N/A bool routers N/A N/A router N/A routers N/A 0 N/A N/A N/A N/A logger warning Tenant %s (PK: %s) does not have connected routers. tenant N/A tenant pk N/A N/A ext_gw N/A N/A router get external_gateway_info N/A N/A N/A network_id ext_gw N/A N/A N/A tenant external_network_id N/A ext_gw N/A network_id N/A N/A N/A tenant save N/A N/A N/A logger info Found and set external network with id %s for tenant %s (PK: %s) N/A ext_gw N/A network_id tenant N/A tenant pk N/A delete_external_network N/A N/A self tenant N/A N/A N/A neutron N/A self neutron_admin_client N/A N/A N/A floating_ips N/A N/A N/A neutron list_floatingips floating_network_id N/A tenant external_network_id N/A floatingips N/A ip floating_ips N/A N/A N/A N/A neutron delete_floatingip N/A ip N/A id N/A N/A N/A logger info Floating IP with id %s has been deleted. N/A ip N/A id N/A ports N/A N/A N/A neutron list_ports network_id N/A tenant external_network_id N/A ports N/A port ports N/A N/A N/A N/A neutron remove_interface_router N/A port N/A device_id N/A port_id N/A port N/A id N/A N/A N/A logger info Port with id %s has been deleted. N/A port N/A id N/A subnets N/A N/A N/A neutron list_subnets network_id N/A tenant external_network_id N/A subnets N/A subnet subnets N/A N/A N/A N/A neutron delete_subnet N/A subnet N/A id N/A N/A N/A logger info Subnet with id %s has been deleted. N/A subnet N/A id N/A N/A N/A neutron delete_network N/A tenant external_network_id N/A N/A N/A logger info External network with id %s has been deleted. N/A tenant external_network_id N/A N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A tenant external_network_id N/A N/A N/A tenant save N/A N/A log_backend_action delete tenant external network create_internal_network N/A N/A self tenant N/A N/A N/A neutron N/A self neutron_admin_client N/A network_name N/A N/A {0}-int-net format N/A tenant name N/A N/A N/A network N/A name tenant_id network_name N/A self tenant_id N/A create_response N/A N/A neutron create_network N/A networks N/A network N/A internal_network_id N/A N/A N/A create_response N/A networks N/A 0 N/A id N/A subnet_name N/A N/A nc-{0}-subnet01 format network_name N/A N/A N/A logger info Creating subnet %s for tenant "%s" (PK: %s). subnet_name N/A tenant name N/A tenant pk N/A subnet_data N/A network_id tenant_id cidr allocation_pools name ip_version enable_dhcp internal_network_id N/A tenant backend_id 192.168.42.0/24 N/A N/A start end 192.168.42.10 192.168.42.250 subnet_name 4 True N/A create_response N/A N/A neutron create_subnet N/A subnets N/A subnet_data N/A N/A N/A self get_or_create_router network_name N/A N/A N/A create_response N/A subnets N/A 0 N/A id N/A N/A N/A N/A N/A keystone_exceptions ClientException N/A neutron_exceptions NeutronException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A tenant internal_network_id internal_network_id N/A N/A N/A tenant save update_fields N/A internal_network_id N/A N/A log_backend_action create internal network for tenant allocate_floating_ip_address N/A N/A self tenant N/A N/A N/A neutron N/A self neutron_admin_client N/A N/A N/A ip_address N/A N/A N/A neutron create_floatingip N/A floatingip N/A floating_network_id tenant_id N/A tenant external_network_id N/A tenant backend_id N/A floatingip N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A N/A N/A tenant service_project_link floating_ips create status DOWN address N/A ip_address N/A floating_ip_address backend_id N/A ip_address N/A id backend_network_id N/A ip_address N/A floating_network_id N/A N/A log_backend_action allocate floating IP for tenant assign_floating_ip_to_instance N/A N/A self instance floating_ip N/A N/A N/A nova N/A self nova_admin_client N/A N/A N/A N/A nova servers add_floating_ip server N/A instance backend_id address N/A floating_ip address N/A N/A floating_ip status ACTIVE N/A N/A N/A floating_ip save N/A N/A instance external_ips N/A floating_ip address N/A N/A N/A instance save N/A N/A N/A logger info Floating IP %s was successfully assigned to the instance with id %s. N/A floating_ip address N/A instance uuid N/A push_floating_ip_to_instance N/A N/A self instance server N/A N/A N/A N/A N/A N/A instance external_ips N/A N/A instance internal_ips N/A N/A N/A N/A N/A logger debug About to add external ip %s to instance %s N/A instance external_ips N/A instance uuid N/A service_project_link N/A instance service_project_link N/A N/A N/A floating_ip N/A N/A N/A service_project_link floating_ips get status__in N/A BOOKED DOWN address N/A instance external_ips backend_network_id N/A service_project_link external_network_id N/A N/A N/A server add_floating_ip address N/A instance external_ips fixed_address N/A instance internal_ips N/A N/A N/A N/A N/A nova_exceptions ClientException ObjectDoesNotExist MultipleObjectsReturned KeyError IndexError N/A N/A N/A N/A logger exception Failed to add external ip %s to instance %s N/A instance external_ips N/A instance uuid N/A N/A N/A instance set_erred N/A N/A instance error_message N/A Failed to add external ip %s to instance %s N/A N/A instance external_ips N/A instance uuid N/A N/A N/A instance save N/A N/A N/A floating_ip status ACTIVE N/A N/A N/A floating_ip save N/A N/A N/A logger info Successfully added external ip %s to instance %s N/A instance external_ips N/A instance uuid N/A connect_tenant_to_external_network N/A N/A self tenant external_network_id N/A N/A N/A neutron N/A self neutron_admin_client N/A N/A N/A logger debug About to create external network for tenant "%s" (PK: %s) N/A tenant name N/A tenant pk N/A N/A N/A response N/A N/A neutron show_network external_network_id N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A logger exception External network %s does not exist. Stale data in database? external_network_id N/A N/A N/A six reraise OpenStackBackendError e N/A network_name N/A N/A response N/A network N/A name N/A subnet_id N/A N/A N/A response N/A network N/A subnets N/A 0 N/A N/A N/A self get_or_create_router network_name subnet_id external True network_id N/A N/A response N/A network N/A id N/A N/A tenant external_network_id external_network_id N/A N/A N/A tenant save N/A N/A N/A logger info Router between external network %s and tenant %s was successfully created external_network_id N/A tenant backend_id N/A external_network_id N/A get_or_create_router N/A N/A self network_name subnet_id external network_id N/A False None N/A N/A neutron N/A self neutron_admin_client N/A tenant_id N/A self tenant_id N/A router_name N/A N/A {0}-router format network_name N/A routers N/A N/A N/A neutron list_routers tenant_id tenant_id N/A routers N/A routers N/A N/A N/A N/A logger info Router(s) in tenant with id %s already exist(s). tenant_id N/A router N/A routers N/A 0 N/A N/A router N/A N/A N/A neutron create_router N/A router N/A name tenant_id router_name tenant_id N/A router N/A N/A N/A logger info Router %s has been created. N/A router N/A name N/A N/A N/A N/A external N/A N/A ports N/A N/A N/A neutron list_ports device_id N/A router N/A id tenant_id tenant_id N/A ports N/A N/A ports N/A N/A N/A N/A neutron add_interface_router N/A router N/A id N/A subnet_id subnet_id N/A N/A N/A logger info Internal subnet %s was connected to the router %s. subnet_id router_name N/A N/A N/A N/A logger info Internal subnet %s is already connected to the router %s. subnet_id router_name N/A N/A N/A N/A N/A N/A router get external_gateway_info N/A N/A N/A N/A router N/A external_gateway_info get network_id network_id N/A N/A N/A N/A neutron add_gateway_router N/A router N/A id N/A network_id network_id N/A N/A N/A logger info External network %s was connected to the router %s. network_id router_name N/A N/A N/A N/A logger info External network %s is already connected to router %s. network_id router_name N/A N/A N/A N/A neutron_exceptions NeutronClientException N/A e N/A N/A N/A N/A logger warning e N/A N/A router N/A id N/A start_instance N/A N/A self instance N/A N/A N/A nova N/A self nova_client N/A N/A N/A logger debug About to start instance %s N/A instance uuid N/A N/A N/A backend_instance N/A N/A N/A nova servers find id N/A instance backend_id N/A backend_instance_state N/A N/A self _get_instance_state backend_instance N/A N/A backend_instance_state N/A N/A N/A models Instance States ONLINE N/A N/A N/A N/A logger warning Instance %s is already started N/A instance uuid N/A N/A N/A N/A N/A nova servers start N/A instance backend_id N/A N/A N/A N/A self _wait_for_instance_status N/A instance backend_id nova ACTIVE N/A N/A N/A N/A logger error Failed to start instance %s N/A instance uuid N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to start N/A instance uuid N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to start instance %s N/A instance uuid N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully started instance %s N/A instance uuid N/A stop_instance N/A N/A self instance N/A N/A N/A nova N/A self nova_client N/A N/A N/A logger debug About to stop instance %s N/A instance uuid N/A N/A N/A backend_instance N/A N/A N/A nova servers find id N/A instance backend_id N/A backend_instance_state N/A N/A self _get_instance_state backend_instance N/A N/A backend_instance_state N/A N/A N/A models Instance States OFFLINE N/A N/A N/A N/A logger warning Instance %s is already stopped N/A instance uuid N/A N/A N/A N/A N/A nova servers stop N/A instance backend_id N/A N/A N/A N/A self _wait_for_instance_status N/A instance backend_id nova SHUTOFF N/A N/A N/A N/A logger error Failed to stop instance %s N/A instance uuid N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to stop N/A instance uuid N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to stop instance %s N/A instance uuid N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A instance start_time None N/A N/A N/A instance save update_fields N/A start_time N/A N/A N/A logger info Successfully stopped instance %s N/A instance uuid N/A restart_instance N/A N/A self instance N/A N/A N/A nova N/A self nova_client N/A N/A N/A logger debug About to restart instance %s N/A instance uuid N/A N/A N/A N/A N/A N/A nova servers reboot N/A instance backend_id N/A N/A N/A N/A self _wait_for_instance_status N/A instance backend_id nova ACTIVE retries 80 N/A N/A N/A N/A logger error Failed to restart instance %s N/A instance uuid N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to restart N/A instance uuid N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to restart instance %s N/A instance uuid N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully restarted instance %s N/A instance uuid N/A delete_instance N/A N/A self instance N/A N/A N/A nova N/A self nova_client N/A N/A N/A logger info About to delete instance %s N/A instance uuid N/A N/A N/A N/A N/A N/A nova servers delete N/A instance backend_id N/A N/A N/A N/A self _wait_for_instance_deletion N/A instance backend_id N/A N/A N/A N/A logger info Failed to delete instance %s N/A instance uuid N/A N/A N/A N/A event_logger resource error Virtual machine {resource_name} deletion has failed. event_type resource_deletion_failed event_context N/A resource instance N/A N/A OpenStackBackendError N/A Timed out waiting for instance %s to get deleted N/A instance uuid N/A N/A N/A N/A nova_exceptions ClientException N/A e N/A N/A N/A N/A logger info Failed to delete instance %s N/A instance uuid N/A N/A N/A N/A event_logger resource error Virtual machine {resource_name} deletion has failed. event_type resource_deletion_failed event_context N/A resource instance N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully deleted instance %s N/A instance uuid N/A N/A N/A N/A event_logger resource info Virtual machine {resource_name} has been deleted. event_type resource_deletion_succeeded event_context N/A resource instance N/A N/A N/A N/A N/A N/A N/A instance service_project_link floating_ips filter address N/A instance external_ips update status DOWN N/A N/A N/A N/A logger info Successfully released floating ip %s from instance %s N/A instance external_ips N/A instance uuid N/A create_snapshots N/A N/A self service_project_link volume_ids prefix N/A Cloned volume N/A N/A cinder N/A self cinder_client N/A N/A N/A logger debug About to snapshot volumes %s N/A N/A ,  join volume_ids N/A N/A N/A snapshot_ids N/A N/A volume_id volume_ids N/A N/A snapshot N/A N/A self create_snapshot volume_id cinder N/A N/A N/A service_project_link add_quota_usage storage N/A N/A self gb2mb N/A snapshot size N/A N/A N/A snapshot_ids append N/A snapshot id N/A N/A N/A N/A N/A cinder_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to snapshot volumes %s N/A N/A ,  join volume_ids N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully created snapshots %s for volumes. N/A N/A ,  join snapshot_ids N/A snapshot_ids N/A delete_snapshots N/A N/A self service_project_link snapshot_ids N/A N/A N/A cinder N/A self cinder_client N/A N/A N/A logger debug About to delete volumes %s  N/A N/A ,  join snapshot_ids N/A N/A N/A snapshot_id snapshot_ids N/A N/A N/A N/A logger debug About to delete a snapshot %s snapshot_id N/A size N/A N/A N/A N/A cinder volume_snapshots get snapshot_id size N/A N/A N/A N/A self _wait_for_snapshot_status snapshot_id cinder available error poll_interval 60 retries 30 N/A N/A N/A OpenStackBackendError Timed out waiting for snapshot %s to become available snapshot_id N/A N/A N/A N/A cinder volume_snapshots delete snapshot_id N/A N/A N/A self _wait_for_snapshot_deletion snapshot_id cinder N/A N/A N/A N/A service_project_link add_quota_usage storage N/A N/A N/A self gb2mb size N/A N/A N/A logger info Successfully deleted a snapshot %s snapshot_id N/A N/A N/A N/A logger exception Failed to delete snapshot %s snapshot_id N/A N/A N/A N/A N/A cinder_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to delete snapshots %s N/A N/A ,  join snapshot_ids N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully deleted snapshots %s N/A N/A ,  join snapshot_ids N/A create_volume_from_snapshot N/A N/A self snapshot_id prefix N/A Promoted volume N/A N/A cinder N/A self cinder_client N/A snapshot N/A N/A N/A cinder volume_snapshots get snapshot_id N/A volume_size N/A snapshot size N/A volume_name N/A prefix N/A  %s N/A snapshot volume_id N/A N/A N/A logger debug About to create temporary volume from snapshot %s snapshot_id N/A created_volume N/A N/A N/A cinder volumes create volume_size snapshot_id snapshot_id display_name volume_name N/A volume_id N/A created_volume id N/A N/A N/A N/A self _wait_for_volume_status volume_id cinder available error N/A N/A N/A OpenStackBackendError Timed out creating temporary volume from snapshot %s snapshot_id N/A N/A N/A logger info Successfully created temporary volume %s from snapshot %s volume_id snapshot_id N/A volume_id N/A promote_snapshots_to_volumes N/A N/A self service_project_link snapshot_ids prefix N/A Promoted volume N/A N/A cinder N/A self cinder_client N/A N/A N/A logger debug About to promote snapshots %s N/A N/A ,  join snapshot_ids N/A N/A N/A promoted_volume_ids N/A N/A snapshot_id snapshot_ids N/A N/A snapshot N/A N/A N/A cinder volume_snapshots get snapshot_id N/A promoted_volume_id N/A N/A self create_volume_from_snapshot snapshot_id prefix prefix N/A N/A N/A promoted_volume_ids append promoted_volume_id N/A N/A N/A service_project_link add_quota_usage storage N/A N/A self gb2mb N/A snapshot size N/A N/A N/A N/A N/A cinder_exceptions ClientException N/A keystone_exceptions ClientException N/A e N/A N/A N/A N/A logger exception Failed to promote snapshots %s N/A N/A ,  join snapshot_ids N/A N/A N/A six reraise OpenStackBackendError e N/A N/A N/A N/A logger info Successfully promoted volumes %s N/A N/A ,  join promoted_volume_ids N/A promoted_volume_ids N/A update_tenant N/A N/A self tenant N/A N/A N/A keystone N/A self keystone_admin_client N/A N/A N/A N/A N/A N/A keystone tenants update N/A tenant backend_id name N/A tenant name description N/A tenant description N/A N/A N/A N/A keystone_exceptions NotFound N/A e N/A N/A N/A N/A logger error Tenant with id %s does not exist N/A tenant backend_id N/A N/A N/A six reraise OpenStackBackendError e N/A N/A log_backend_action create_snapshot N/A N/A self volume_id cinder N/A N/A N/A 
        Create snapshot from volume

        :param: volume id
        :type volume_id: str
        :returns: snapshot id
        :rtype: str
         N/A snapshot N/A N/A N/A cinder volume_snapshots create volume_id force True display_name N/A snapshot_from_volume_%s volume_id N/A N/A N/A logger debug N/A About to create temporary snapshot %s N/A snapshot id N/A N/A N/A N/A self _wait_for_snapshot_status N/A snapshot id cinder available error N/A N/A N/A N/A logger error Timed out creating snapshot for volume %s volume_id N/A N/A OpenStackBackendError N/A N/A N/A logger info Successfully created snapshot %s for volume %s N/A snapshot id volume_id N/A snapshot N/A N/A