Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad keyword Str keyword ListLoad keyword ListLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad keyword Str keyword ListLoad keyword ListLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword NameLoad keyword Str keyword Num keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword ListLoad NameLoad Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Str keyword NameLoad keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad keyword ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad keyword ListLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad NameLoad keyword ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad keyword ListLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad NameStore body With Call AttributeLoad NameLoad attr NameLoad NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr ListLoad Str Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body With Call AttributeLoad NameLoad attr NameLoad NameStore body Assign AttributeStore NameLoad attr ListLoad Str Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore ListLoad Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr BoolOpOr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr keyword NameLoad comprehension NameStore NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore ListLoad Str Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameStore body Assign AttributeStore AttributeLoad SubscriptLoad NameLoad Index Str attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad TupleLoad Str Str TupleLoad Str Str Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Str NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Str Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Str NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Str Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assign AttributeStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assign AttributeStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assign AttributeStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad keyword ListLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword NameLoad keyword ListLoad keyword ListLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call NameLoad keyword Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad keyword Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Dict If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign NameStore Call Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword ListLoad NameLoad keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword ListLoad NameLoad keyword ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str keyword ListLoad NameLoad keyword ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Call NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Call NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad NameLoad Assign NameStore BoolOpOr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str Str Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign NameStore ListLoad Str orelse Assign NameStore ListLoad Str Str Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str Str Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str Str Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr ListLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Str With Call AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword BinOpAdd Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Str With Call AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str With Call AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str Assign NameStore Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Index Num With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Dict Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword ListLoad Call NameLoad keyword Num Call NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num decorator_list decorator_list
N/A N/A collections N/A copy N/A sys N/A uuid N/A eventlet N/A mock neutron_lib constants const neutron_lib exceptions oslo_config cfg N/A oslo_messaging N/A testtools neutron.agent.common config neutron.agent.dhcp agent dhcp_agent neutron.agent.dhcp config dhcp_config neutron.agent dhcp_agent entry neutron.agent.linux dhcp neutron.agent.linux interface neutron.common config common_config neutron.common constants n_const neutron.common utils neutron context neutron.tests base N/A HOSTNAME hostname N/A dev_man N/A dhcp DeviceManager N/A rpc_api N/A dhcp_agent DhcpPluginApi N/A DEVICE_MANAGER N/A %s.%s N/A N/A dev_man __module__ N/A dev_man __name__ N/A DHCP_PLUGIN N/A %s.%s N/A N/A rpc_api __module__ N/A rpc_api __name__ N/A fake_tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa N/A fake_subnet1_allocation_pools N/A N/A dhcp DictModel N/A dict id start 172.9.9.2 end 172.9.9.254 N/A fake_subnet1 N/A N/A dhcp DictModel N/A dict id bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb network_id 12345678-1234-5678-1234567890ab cidr 172.9.9.0/24 enable_dhcp True name tenant_id fake_tenant_id gateway_ip 172.9.9.1 host_routes N/A dns_nameservers N/A ip_version 4 ipv6_ra_mode None ipv6_address_mode None allocation_pools fake_subnet1_allocation_pools N/A fake_subnet2_allocation_pools N/A N/A dhcp DictModel N/A dict id start 172.9.8.2 end 172.9.8.254 N/A fake_subnet2 N/A N/A dhcp DictModel N/A dict id dddddddd-dddd-dddd-dddddddddddd network_id 12345678-1234-5678-1234567890ab cidr 172.9.8.0/24 enable_dhcp False name tenant_id fake_tenant_id gateway_ip 172.9.8.1 host_routes N/A dns_nameservers N/A ip_version 4 allocation_pools fake_subnet2_allocation_pools N/A fake_subnet3 N/A N/A dhcp DictModel N/A dict id bbbbbbbb-1111-2222-bbbbbbbbbbbb network_id 12345678-1234-5678-1234567890ab cidr 192.168.1.1/24 enable_dhcp True N/A fake_ipv6_subnet N/A N/A dhcp DictModel N/A dict id bbbbbbbb-1111-2222-bbbbbbbbbbbb network_id 12345678-1234-5678-1234567890ab cidr 2001:0db8::0/64 enable_dhcp True tenant_id fake_tenant_id gateway_ip 2001:0db8::1 ip_version 6 ipv6_ra_mode slaac ipv6_address_mode None N/A fake_meta_subnet N/A N/A dhcp DictModel N/A dict id bbbbbbbb-1111-2222-bbbbbbbbbbbb network_id 12345678-1234-5678-1234567890ab cidr 169.254.169.252/30 gateway_ip 169.254.169.253 enable_dhcp True N/A fake_fixed_ip1 N/A N/A dhcp DictModel N/A dict id subnet_id N/A fake_subnet1 id ip_address 172.9.9.9 N/A fake_fixed_ip2 N/A N/A dhcp DictModel N/A dict id subnet_id N/A fake_subnet1 id ip_address 172.9.9.10 N/A fake_fixed_ipv6 N/A N/A dhcp DictModel N/A dict id subnet_id N/A fake_ipv6_subnet id ip_address 2001:db8::a8bb:ccff:fedd:ee99 N/A fake_meta_fixed_ip N/A N/A dhcp DictModel N/A dict id subnet fake_meta_subnet ip_address 169.254.169.254 N/A fake_allocation_pool_subnet1 N/A N/A dhcp DictModel N/A dict id start 172.9.9.2 end 172.9.9.254 N/A fake_port1 N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-1234567890ab device_id dhcp-12345678-1234-aaaa-1234567890ab device_owner allocation_pools fake_subnet1_allocation_pools mac_address aa:bb:cc:dd:ee:ff network_id 12345678-1234-5678-1234567890ab fixed_ips N/A fake_fixed_ip1 N/A fake_dhcp_port N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-123456789022 device_id dhcp-12345678-1234-aaaa-123456789022 device_owner N/A const DEVICE_OWNER_DHCP allocation_pools fake_subnet1_allocation_pools mac_address aa:bb:cc:dd:ee:22 network_id 12345678-1234-5678-1234567890ab fixed_ips N/A fake_fixed_ip2 N/A fake_port2 N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-123456789000 device_id dhcp-12345678-1234-aaaa-123456789000 device_owner mac_address aa:bb:cc:dd:ee:99 network_id 12345678-1234-5678-1234567890ab fixed_ips N/A fake_fixed_ip2 N/A fake_ipv6_port N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-123456789000 device_owner mac_address aa:bb:cc:dd:ee:99 network_id 12345678-1234-5678-1234567890ab fixed_ips N/A fake_fixed_ipv6 N/A fake_meta_port N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-1234567890ab mac_address aa:bb:cc:dd:ee:ff network_id 12345678-1234-5678-1234567890ab device_owner N/A const DEVICE_OWNER_ROUTER_INTF device_id forzanapoli fixed_ips N/A fake_meta_fixed_ip N/A fake_meta_dvr_port N/A N/A dhcp DictModel N/A N/A fake_meta_port copy N/A N/A fake_meta_dvr_port device_owner N/A const DEVICE_OWNER_DVR_INTERFACE N/A fake_dist_port N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-1234567890ab mac_address aa:bb:cc:dd:ee:ff network_id 12345678-1234-5678-1234567890ab device_owner N/A const DEVICE_OWNER_DVR_INTERFACE device_id forzanapoli fixed_ips N/A fake_meta_fixed_ip N/A FAKE_NETWORK_UUID 12345678-1234-5678-1234567890ab N/A FAKE_NETWORK_DHCP_NS N/A qdhcp-%s FAKE_NETWORK_UUID N/A fake_network N/A N/A dhcp NetModel N/A dict id FAKE_NETWORK_UUID tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_subnet1 fake_subnet2 ports N/A fake_port1 N/A fake_network_ipv6 N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_ipv6_subnet ports N/A fake_ipv6_port N/A fake_network_ipv6_ipv4 N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_ipv6_subnet fake_subnet1 ports N/A fake_port1 N/A isolated_network N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_subnet1 ports N/A fake_port1 N/A nonisolated_dist_network N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_subnet1 ports N/A fake_port1 fake_port2 N/A empty_network N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_subnet1 ports N/A N/A fake_meta_network N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_meta_subnet ports N/A fake_meta_port N/A fake_meta_dvr_network N/A N/A dhcp NetModel N/A N/A fake_meta_network copy N/A N/A fake_meta_dvr_network ports N/A fake_meta_dvr_port N/A fake_dist_network N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A fake_meta_subnet ports N/A fake_meta_port fake_dist_port N/A fake_down_network N/A N/A dhcp NetModel N/A dict id 12345678-dddd-dddd-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up False subnets N/A ports N/A TestDhcpAgent N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestDhcpAgent self setUp N/A N/A N/A entry register_options N/A cfg CONF N/A N/A N/A N/A cfg CONF set_override interface_driver neutron.agent.linux.interface.NullDriver N/A N/A N/A N/A cfg CONF set_override report_interval 0 AGENT N/A N/A self driver_cls_p N/A N/A mock patch neutron.agent.dhcp.agent.importutils.import_class N/A N/A self driver N/A N/A mock Mock name driver N/A N/A N/A N/A self driver existing_dhcp_networks return_value N/A N/A N/A self driver_cls N/A N/A N/A self driver_cls_p start N/A N/A N/A self driver_cls return_value N/A self driver N/A N/A self mock_makedirs_p N/A N/A mock patch os.makedirs N/A N/A self mock_makedirs N/A N/A N/A self mock_makedirs_p start N/A N/A self mock_ip_wrapper_p N/A N/A mock patch neutron.agent.linux.ip_lib.IPWrapper N/A N/A self mock_ip_wrapper N/A N/A N/A self mock_ip_wrapper_p start N/A test_init_host N/A N/A self N/A N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A mock patch object dhcp sync_state sync_state N/A N/A N/A N/A dhcp init_host N/A N/A N/A sync_state assert_called_once_with N/A test_dhcp_agent_manager N/A N/A self N/A N/A N/A state_rpc_str neutron.agent.rpc.PluginReportStateAPI N/A N/A N/A N/A cfg CONF set_override report_interval 1 AGENT N/A N/A N/A N/A mock patch object N/A dhcp_agent DhcpAgentWithStateReport sync_state autospec True mock_sync_state N/A N/A N/A N/A N/A mock patch object N/A dhcp_agent DhcpAgentWithStateReport periodic_resync autospec True mock_periodic_resync N/A N/A N/A N/A mock patch state_rpc_str state_rpc N/A N/A N/A N/A N/A mock patch object sys argv sys_argv N/A N/A N/A sys_argv return_value N/A dhcp --config-file N/A N/A base etcdir neutron.conf N/A N/A N/A N/A cfg CONF register_opts N/A dhcp_config DHCP_AGENT_OPTS N/A N/A N/A config register_interface_driver_opts_helper N/A cfg CONF N/A N/A N/A config register_agent_state_opts_helper N/A cfg CONF N/A N/A N/A N/A cfg CONF register_opts N/A interface OPTS N/A N/A N/A common_config init N/A N/A sys argv N/A 1 N/A agent_mgr N/A N/A dhcp_agent DhcpAgentWithStateReport testhost N/A N/A N/A N/A eventlet greenthread sleep 1 N/A N/A N/A agent_mgr after_start N/A N/A N/A mock_sync_state assert_called_once_with agent_mgr N/A N/A N/A mock_periodic_resync assert_called_once_with agent_mgr N/A N/A N/A state_rpc assert_has_calls N/A N/A N/A mock call N/A mock ANY N/A N/A N/A N/A mock call report_state N/A mock ANY N/A mock ANY N/A mock ANY N/A test_dhcp_agent_main_agent_manager N/A N/A self N/A N/A N/A logging_str neutron.agent.common.config.setup_logging N/A launcher_str oslo_service.service.ServiceLauncher N/A N/A N/A mock patch logging_str N/A N/A N/A N/A N/A mock patch object sys argv sys_argv N/A N/A N/A N/A mock patch launcher_str launcher N/A N/A N/A sys_argv return_value N/A dhcp --config-file N/A N/A base etcdir neutron.conf N/A N/A N/A entry main N/A N/A N/A launcher assert_has_calls N/A N/A N/A mock call N/A cfg CONF N/A N/A N/A N/A mock call launch_service N/A mock ANY N/A N/A N/A N/A mock call wait N/A test_run_completes_single_pass N/A N/A self N/A N/A N/A N/A N/A mock patch DEVICE_MANAGER N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A attrs_to_mock N/A dict N/A N/A a N/A mock DEFAULT N/A a N/A sync_state periodic_resync N/A N/A N/A N/A mock patch multiple dhcp attrs_to_mock mocks N/A N/A N/A N/A dhcp run N/A N/A N/A N/A mocks N/A sync_state assert_called_once_with N/A N/A N/A N/A mocks N/A periodic_resync assert_called_once_with N/A test_call_driver N/A N/A self N/A N/A N/A network N/A N/A mock Mock N/A N/A network id 1 N/A dhcp N/A N/A dhcp_agent DhcpAgent N/A cfg CONF N/A N/A N/A self assertTrue N/A N/A dhcp call_driver foo network N/A N/A N/A N/A self driver assert_called_once_with N/A cfg CONF N/A mock ANY N/A mock ANY N/A mock ANY N/A mock ANY N/A _test_call_driver_failure N/A N/A self exc trace_level expected_sync N/A None exception True N/A N/A network N/A N/A mock Mock N/A N/A network id 1 N/A N/A N/A N/A N/A self driver return_value foo side_effect N/A exc Exception N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A mock patch object dhcp schedule_resync schedule_resync N/A N/A N/A N/A self assertIsNone N/A N/A dhcp call_driver foo network N/A N/A N/A N/A self driver assert_called_once_with N/A cfg CONF N/A mock ANY N/A mock ANY N/A mock ANY N/A mock ANY N/A N/A N/A self assertEqual expected_sync N/A schedule_resync called N/A test_call_driver_ip_address_generation_failure N/A N/A self N/A N/A N/A error N/A N/A oslo_messaging RemoteError exc_type IpAddressGenerationFailure N/A N/A N/A self _test_call_driver_failure exc error expected_sync False N/A test_call_driver_failure N/A N/A self N/A N/A N/A N/A N/A self _test_call_driver_failure N/A test_call_driver_remote_error_net_not_found N/A N/A self N/A N/A N/A N/A N/A self _test_call_driver_failure exc N/A N/A oslo_messaging RemoteError exc_type NetworkNotFound trace_level warning N/A test_call_driver_network_not_found N/A N/A self N/A N/A N/A N/A N/A self _test_call_driver_failure exc N/A N/A exceptions NetworkNotFound net_id 1 trace_level warning N/A test_call_driver_conflict N/A N/A self N/A N/A N/A N/A N/A self _test_call_driver_failure exc N/A N/A exceptions Conflict trace_level warning expected_sync False N/A _test_sync_state_helper N/A N/A self known_net_ids active_net_ids N/A N/A N/A active_networks N/A set N/A N/A N/A mock Mock id netid N/A netid active_net_ids N/A N/A N/A mock patch DHCP_PLUGIN plug N/A N/A mock_plugin N/A N/A mock Mock N/A N/A N/A mock_plugin get_active_networks_info return_value active_networks N/A N/A plug return_value mock_plugin N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A attrs_to_mock N/A dict N/A N/A a N/A mock DEFAULT N/A a N/A disable_dhcp_helper cache safe_configure_dhcp_for_network N/A N/A N/A N/A mock patch multiple dhcp attrs_to_mock mocks N/A N/A N/A N/A N/A mocks N/A cache get_network_ids return_value known_net_ids N/A N/A N/A dhcp sync_state N/A diff N/A N/A set known_net_ids N/A set active_net_ids N/A exp_disable N/A N/A N/A mock call net_id N/A net_id diff N/A N/A N/A N/A mocks N/A cache assert_has_calls N/A N/A N/A N/A mock call get_network_ids N/A N/A N/A N/A mocks N/A disable_dhcp_helper assert_has_calls exp_disable N/A test_sync_state_initial N/A N/A self N/A N/A N/A N/A N/A self _test_sync_state_helper N/A N/A a N/A test_sync_state_same N/A N/A self N/A N/A N/A N/A N/A self _test_sync_state_helper N/A a N/A a N/A test_sync_state_disabled_net N/A N/A self N/A N/A N/A N/A N/A self _test_sync_state_helper N/A b N/A a N/A test_sync_state_waitall N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A N/A dhcp_agent eventlet GreenPool waitall w N/A N/A active_net_ids N/A 1 2 3 4 5 N/A known_net_ids N/A 1 2 3 4 5 N/A N/A N/A self _test_sync_state_helper known_net_ids active_net_ids N/A N/A N/A w assert_called_once_with N/A test_sync_state_for_all_networks_plugin_error N/A N/A self N/A N/A N/A N/A N/A mock patch DHCP_PLUGIN plug N/A N/A mock_plugin N/A N/A mock Mock N/A N/A N/A mock_plugin get_active_networks_info side_effect Exception N/A N/A plug return_value mock_plugin N/A N/A N/A N/A mock patch object N/A dhcp_agent LOG exception log N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A mock patch object dhcp schedule_resync schedule_resync N/A N/A N/A N/A dhcp sync_state N/A N/A N/A self assertTrue N/A log called N/A N/A N/A self assertTrue N/A schedule_resync called N/A test_sync_state_for_one_network_plugin_error N/A N/A self N/A N/A N/A N/A N/A mock patch DHCP_PLUGIN plug N/A N/A mock_plugin N/A N/A mock Mock N/A exc N/A Exception N/A N/A N/A mock_plugin get_active_networks_info side_effect exc N/A N/A plug return_value mock_plugin N/A N/A N/A N/A mock patch object N/A dhcp_agent LOG exception log N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A mock patch object dhcp schedule_resync schedule_resync N/A N/A N/A N/A dhcp sync_state N/A foo_network N/A N/A N/A self assertTrue N/A log called N/A N/A N/A schedule_resync assert_called_with exc foo_network N/A test_periodic_resync N/A N/A self N/A N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A mock patch object N/A dhcp_agent eventlet spawn spawn N/A N/A N/A N/A dhcp periodic_resync N/A N/A N/A spawn assert_called_once_with N/A dhcp _periodic_resync_helper N/A test_report_state_revival_logic N/A N/A self N/A N/A N/A dhcp N/A N/A dhcp_agent DhcpAgentWithStateReport HOSTNAME N/A N/A N/A N/A mock patch object N/A dhcp state_rpc report_state report_state N/A N/A N/A N/A N/A mock patch object dhcp run N/A N/A N/A report_state return_value N/A n_const AGENT_ALIVE N/A N/A N/A dhcp _report_state N/A N/A N/A self assertEqual N/A N/A dhcp needs_resync_reasons N/A N/A report_state return_value N/A n_const AGENT_REVIVED N/A N/A N/A dhcp _report_state N/A N/A N/A self assertEqual N/A N/A dhcp needs_resync_reasons N/A None N/A Agent has just been revived N/A test_periodic_resync_helper N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A dhcp_agent eventlet sleep sleep N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A resync_reasons N/A N/A collections OrderedDict N/A N/A a reason1 N/A b reason2 N/A N/A dhcp needs_resync_reasons resync_reasons N/A N/A N/A N/A mock patch object dhcp sync_state sync_state N/A N/A N/A sync_state side_effect RuntimeError N/A N/A N/A testtools ExpectedException RuntimeError N/A N/A N/A N/A dhcp _periodic_resync_helper N/A N/A N/A sync_state assert_called_once_with N/A N/A resync_reasons keys N/A N/A N/A sleep assert_called_once_with N/A N/A dhcp conf resync_interval N/A N/A N/A self assertEqual N/A len N/A dhcp needs_resync_reasons 0 N/A test_populate_cache_on_start_without_active_networks_support N/A N/A self N/A N/A N/A N/A N/A N/A self driver existing_dhcp_networks side_effect NotImplementedError N/A N/A N/A N/A mock patch object N/A dhcp_agent LOG debug log N/A N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A N/A self driver existing_dhcp_networks assert_called_once_with N/A dhcp conf N/A N/A N/A self assertFalse N/A N/A N/A dhcp cache get_network_ids N/A N/A N/A self assertTrue N/A log called N/A test_populate_cache_on_start N/A N/A self N/A N/A N/A networks N/A aaa bbb N/A N/A N/A N/A self driver existing_dhcp_networks return_value networks N/A dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A N/A N/A N/A self driver existing_dhcp_networks assert_called_once_with N/A dhcp conf N/A N/A N/A self assertEqual N/A set networks N/A set N/A N/A N/A dhcp cache get_network_ids N/A test_none_interface_driver N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override interface_driver None N/A N/A N/A self assertRaises SystemExit N/A dhcp DeviceManager N/A cfg CONF None N/A test_nonexistent_interface_driver N/A N/A self N/A N/A N/A N/A N/A N/A self driver_cls_p stop N/A N/A N/A self addCleanup N/A N/A self driver_cls_p start N/A N/A N/A N/A cfg CONF set_override interface_driver foo.bar N/A N/A N/A self assertRaises SystemExit N/A dhcp DeviceManager N/A cfg CONF None N/A N/A TestLogArgs N/A N/A base BaseTestCase N/A test_log_args_without_log_dir_and_file N/A N/A self N/A N/A N/A conf_dict N/A debug verbose log_dir log_file use_syslog syslog_log_facility True False None None True LOG_USER N/A conf N/A N/A dhcp DictModel conf_dict N/A expected_args N/A --debug --use-syslog --syslog-log-facility=LOG_USER N/A args N/A N/A config get_log_args conf log_file_name N/A N/A N/A self assertEqual expected_args args N/A test_log_args_without_log_file N/A N/A self N/A N/A N/A conf_dict N/A debug verbose log_dir log_file use_syslog syslog_log_facility True True /etc/tests None False LOG_USER N/A conf N/A N/A dhcp DictModel conf_dict N/A expected_args N/A --debug --verbose --log-file=log_file_name --log-dir=/etc/tests N/A args N/A N/A config get_log_args conf log_file_name N/A N/A N/A self assertEqual expected_args args N/A test_log_args_with_log_dir_and_file N/A N/A self N/A N/A N/A conf_dict N/A debug verbose log_dir log_file use_syslog syslog_log_facility True False /etc/tests tests/filelog False LOG_USER N/A conf N/A N/A dhcp DictModel conf_dict N/A expected_args N/A --debug --log-file=log_file_name --log-dir=/etc/tests/tests N/A args N/A N/A config get_log_args conf log_file_name N/A N/A N/A self assertEqual expected_args args N/A test_log_args_without_log_dir N/A N/A self N/A N/A N/A conf_dict N/A debug verbose log_file log_dir use_syslog syslog_log_facility True False tests/filelog None False LOG_USER N/A conf N/A N/A dhcp DictModel conf_dict N/A expected_args N/A --debug --log-file=log_file_name --log-dir=tests N/A args N/A N/A config get_log_args conf log_file_name N/A N/A N/A self assertEqual expected_args args N/A test_log_args_with_filelog_and_syslog N/A N/A self N/A N/A N/A conf_dict N/A debug verbose log_file log_dir use_syslog syslog_log_facility True True tests/filelog /etc/tests True LOG_USER N/A conf N/A N/A dhcp DictModel conf_dict N/A expected_args N/A --debug --verbose --log-file=log_file_name --log-dir=/etc/tests/tests N/A args N/A N/A config get_log_args conf log_file_name N/A N/A N/A self assertEqual expected_args args N/A N/A TestDhcpAgentEventHandler N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestDhcpAgentEventHandler self setUp N/A N/A N/A config register_interface_driver_opts_helper N/A cfg CONF N/A N/A N/A N/A cfg CONF set_override interface_driver neutron.agent.linux.interface.NullDriver N/A N/A N/A entry register_options N/A cfg CONF N/A N/A self plugin_p N/A N/A mock patch DHCP_PLUGIN N/A plugin_cls N/A N/A N/A self plugin_p start N/A N/A self plugin N/A N/A mock Mock N/A N/A plugin_cls return_value N/A self plugin N/A N/A self cache_p N/A N/A mock patch neutron.agent.dhcp.agent.NetworkCache N/A cache_cls N/A N/A N/A self cache_p start N/A N/A self cache N/A N/A mock Mock N/A N/A cache_cls return_value N/A self cache N/A N/A self mock_makedirs_p N/A N/A mock patch os.makedirs N/A N/A self mock_makedirs N/A N/A N/A self mock_makedirs_p start N/A N/A self mock_init_p N/A N/A mock patch neutron.agent.dhcp.agent.DhcpAgent._populate_networks_cache N/A N/A self mock_init N/A N/A N/A self mock_init_p start N/A N/A self dhcp N/A N/A dhcp_agent DhcpAgent HOSTNAME N/A N/A self call_driver_p N/A N/A N/A mock patch object N/A self dhcp call_driver N/A N/A self call_driver N/A N/A N/A self call_driver_p start N/A N/A self schedule_resync_p N/A N/A N/A mock patch object N/A self dhcp schedule_resync N/A N/A self schedule_resync N/A N/A N/A self schedule_resync_p start N/A N/A self external_process_p N/A N/A mock patch neutron.agent.linux.external_process.ProcessManager N/A N/A self external_process N/A N/A N/A self external_process_p start N/A _process_manager_constructor_call N/A N/A self ns N/A FAKE_NETWORK_DHCP_NS N/A N/A N/A N/A mock call conf N/A cfg CONF uuid FAKE_NETWORK_UUID namespace ns default_cmd_callback N/A mock ANY N/A _enable_dhcp_helper N/A N/A self network enable_isolated_metadata is_isolated_network N/A False False N/A N/A N/A N/A self dhcp _process_monitor N/A N/A mock Mock N/A enable_isolated_metadata N/A N/A N/A N/A N/A cfg CONF set_override enable_isolated_metadata True N/A N/A N/A N/A self plugin get_network_info return_value network N/A N/A N/A N/A self dhcp enable_dhcp_helper N/A network id N/A N/A N/A N/A self plugin assert_has_calls N/A N/A N/A N/A mock call get_network_info N/A network id N/A N/A N/A N/A self call_driver assert_called_once_with enable network N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call put network N/A N/A is_isolated_network enable_isolated_metadata N/A N/A N/A N/A N/A self external_process assert_has_calls N/A N/A N/A self _process_manager_constructor_call N/A N/A N/A N/A mock call enable N/A N/A N/A enable_isolated_metadata N/A N/A N/A N/A N/A self external_process assert_has_calls N/A N/A N/A self _process_manager_constructor_call ns None N/A N/A N/A N/A mock call disable N/A N/A N/A N/A self assertFalse N/A N/A self external_process call_count N/A test_enable_dhcp_helper_enable_metadata_isolated_network N/A N/A self N/A N/A N/A N/A N/A self _enable_dhcp_helper isolated_network enable_isolated_metadata True is_isolated_network True N/A test_enable_dhcp_helper_enable_metadata_no_gateway N/A N/A self N/A N/A N/A isolated_network_no_gateway N/A N/A copy deepcopy isolated_network N/A N/A N/A N/A isolated_network_no_gateway subnets N/A 0 gateway_ip None N/A N/A N/A self _enable_dhcp_helper isolated_network_no_gateway enable_isolated_metadata True is_isolated_network True N/A test_enable_dhcp_helper_enable_metadata_nonisolated_network N/A N/A self N/A N/A N/A nonisolated_network N/A N/A copy deepcopy isolated_network N/A N/A N/A N/A nonisolated_network ports N/A 0 device_owner N/A const DEVICE_OWNER_ROUTER_INTF N/A N/A N/A N/A N/A N/A nonisolated_network ports N/A 0 fixed_ips N/A 0 ip_address 172.9.9.1 N/A N/A N/A self _enable_dhcp_helper nonisolated_network enable_isolated_metadata True is_isolated_network False N/A test_enable_dhcp_helper_enable_metadata_nonisolated_dist_network N/A N/A self N/A N/A N/A N/A N/A N/A nonisolated_dist_network ports N/A 0 device_owner N/A const DEVICE_OWNER_ROUTER_INTF N/A N/A N/A N/A N/A N/A nonisolated_dist_network ports N/A 0 fixed_ips N/A 0 ip_address 172.9.9.1 N/A N/A N/A N/A nonisolated_dist_network ports N/A 1 device_owner N/A const DEVICE_OWNER_DVR_INTERFACE N/A N/A N/A N/A N/A N/A nonisolated_dist_network ports N/A 1 fixed_ips N/A 0 ip_address 172.9.9.1 N/A N/A N/A self _enable_dhcp_helper nonisolated_dist_network enable_isolated_metadata True is_isolated_network False N/A test_enable_dhcp_helper_enable_metadata_empty_network N/A N/A self N/A N/A N/A N/A N/A self _enable_dhcp_helper empty_network enable_isolated_metadata True is_isolated_network True N/A test_enable_dhcp_helper_enable_metadata_ipv6_ipv4_network N/A N/A self N/A N/A N/A N/A N/A self _enable_dhcp_helper fake_network_ipv6_ipv4 enable_isolated_metadata True is_isolated_network True N/A test_enable_dhcp_helper_driver_failure_ipv6_ipv4_network N/A N/A self N/A N/A N/A N/A N/A N/A self plugin get_network_info return_value fake_network_ipv6_ipv4 N/A N/A N/A self call_driver return_value False N/A N/A N/A N/A cfg CONF set_override enable_isolated_metadata True N/A N/A N/A N/A mock patch object N/A self dhcp enable_isolated_metadata_proxy enable_metadata N/A N/A N/A N/A N/A self dhcp enable_dhcp_helper N/A fake_network_ipv6_ipv4 id N/A N/A N/A N/A self plugin assert_has_calls N/A N/A N/A N/A mock call get_network_info N/A fake_network_ipv6_ipv4 id N/A N/A N/A N/A self call_driver assert_called_once_with enable fake_network_ipv6_ipv4 N/A N/A N/A self assertFalse N/A N/A self cache called N/A N/A N/A self assertFalse N/A enable_metadata called N/A N/A N/A self assertFalse N/A N/A self external_process called N/A test_enable_dhcp_helper N/A N/A self N/A N/A N/A N/A N/A self _enable_dhcp_helper fake_network N/A test_enable_dhcp_helper_ipv6_network N/A N/A self N/A N/A N/A N/A N/A self _enable_dhcp_helper fake_network_ipv6 N/A test_enable_dhcp_helper_down_network N/A N/A self N/A N/A N/A N/A N/A N/A self plugin get_network_info return_value fake_down_network N/A N/A N/A N/A self dhcp enable_dhcp_helper N/A fake_down_network id N/A N/A N/A N/A self plugin assert_has_calls N/A N/A N/A N/A mock call get_network_info N/A fake_down_network id N/A N/A N/A self assertFalse N/A N/A self call_driver called N/A N/A N/A self assertFalse N/A N/A self cache called N/A N/A N/A self assertFalse N/A N/A self external_process called N/A test_enable_dhcp_helper_network_none N/A N/A self N/A N/A N/A N/A N/A N/A self plugin get_network_info return_value None N/A N/A N/A N/A self dhcp enable_dhcp_helper fake_id N/A N/A N/A N/A self plugin assert_has_calls N/A N/A N/A N/A mock call get_network_info fake_id N/A N/A N/A self assertFalse N/A N/A self call_driver called N/A N/A N/A self assertFalse N/A N/A N/A self dhcp schedule_resync called N/A test_enable_dhcp_helper_exception_during_rpc N/A N/A self N/A N/A N/A N/A N/A N/A self plugin get_network_info side_effect Exception N/A N/A N/A N/A mock patch object N/A dhcp_agent LOG exception log N/A N/A N/A N/A N/A self dhcp enable_dhcp_helper N/A fake_network id N/A N/A N/A N/A self plugin assert_has_calls N/A N/A N/A N/A mock call get_network_info N/A fake_network id N/A N/A N/A self assertFalse N/A N/A self call_driver called N/A N/A N/A self assertTrue N/A log called N/A N/A N/A self assertTrue N/A N/A self schedule_resync called N/A N/A N/A self assertFalse N/A N/A self cache called N/A N/A N/A self assertFalse N/A N/A self external_process called N/A test_enable_dhcp_helper_driver_failure N/A N/A self N/A N/A N/A N/A N/A N/A self plugin get_network_info return_value fake_network N/A N/A N/A self call_driver return_value False N/A N/A N/A N/A cfg CONF set_override enable_isolated_metadata True N/A N/A N/A N/A self dhcp enable_dhcp_helper N/A fake_network id N/A N/A N/A N/A self plugin assert_has_calls N/A N/A N/A N/A mock call get_network_info N/A fake_network id N/A N/A N/A N/A self call_driver assert_called_once_with enable fake_network N/A N/A N/A self assertFalse N/A N/A self cache called N/A N/A N/A self assertFalse N/A N/A self external_process called N/A _disable_dhcp_helper_known_network N/A N/A self isolated_metadata N/A False N/A N/A isolated_metadata N/A N/A N/A N/A N/A cfg CONF set_override enable_isolated_metadata True N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self dhcp disable_dhcp_helper N/A fake_network id N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id N/A fake_network id N/A N/A N/A N/A self call_driver assert_called_once_with disable fake_network N/A isolated_metadata N/A N/A N/A N/A N/A self external_process assert_has_calls N/A N/A N/A self _process_manager_constructor_call ns None N/A N/A N/A N/A mock call disable N/A N/A N/A N/A self assertFalse N/A N/A self external_process call_count N/A test_disable_dhcp_helper_known_network_isolated_metadata N/A N/A self N/A N/A N/A N/A N/A self _disable_dhcp_helper_known_network isolated_metadata True N/A test_disable_dhcp_helper_known_network N/A N/A self N/A N/A N/A N/A N/A self _disable_dhcp_helper_known_network N/A test_disable_dhcp_helper_unknown_network N/A N/A self N/A N/A N/A N/A N/A N/A self cache get_network_by_id return_value None N/A N/A N/A N/A self dhcp disable_dhcp_helper abcdef N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id abcdef N/A N/A N/A self assertEqual 0 N/A N/A self call_driver call_count N/A N/A N/A self assertFalse N/A N/A self external_process called N/A _disable_dhcp_helper_driver_failure N/A N/A self isolated_metadata N/A False N/A N/A isolated_metadata N/A N/A N/A N/A N/A cfg CONF set_override enable_isolated_metadata True N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A self call_driver return_value False N/A N/A N/A N/A self dhcp disable_dhcp_helper N/A fake_network id N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id N/A fake_network id N/A N/A N/A N/A self call_driver assert_called_once_with disable fake_network N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id N/A fake_network id N/A isolated_metadata N/A N/A N/A N/A N/A self external_process assert_has_calls N/A N/A N/A self _process_manager_constructor_call ns None N/A N/A N/A N/A mock call disable N/A N/A N/A N/A self assertFalse N/A N/A self external_process call_count N/A test_disable_dhcp_helper_driver_failure_isolated_metadata N/A N/A self N/A N/A N/A N/A N/A self _disable_dhcp_helper_driver_failure isolated_metadata True N/A test_disable_dhcp_helper_driver_failure N/A N/A self N/A N/A N/A N/A N/A self _disable_dhcp_helper_driver_failure N/A test_enable_isolated_metadata_proxy N/A N/A self N/A N/A N/A N/A N/A self dhcp _process_monitor N/A N/A mock Mock N/A N/A N/A N/A self dhcp enable_isolated_metadata_proxy fake_network N/A N/A N/A N/A self external_process assert_has_calls N/A N/A N/A self _process_manager_constructor_call N/A N/A N/A N/A mock call enable N/A test_disable_isolated_metadata_proxy N/A N/A self N/A N/A N/A method_path neutron.agent.metadata.driver.MetadataDriver.destroy_monitored_metadata_proxy N/A N/A N/A mock patch method_path destroy N/A N/A N/A N/A N/A self dhcp disable_isolated_metadata_proxy fake_network N/A N/A N/A destroy assert_called_once_with N/A N/A self dhcp _process_monitor N/A fake_network id N/A cfg CONF N/A _test_enable_isolated_metadata_proxy N/A N/A self network N/A N/A N/A N/A N/A N/A cfg CONF set_override enable_metadata_network True N/A N/A N/A N/A cfg CONF set_override debug True N/A N/A N/A N/A cfg CONF set_override verbose False N/A N/A N/A N/A cfg CONF set_override log_file test.log N/A method_path neutron.agent.metadata.driver.MetadataDriver.spawn_monitored_metadata_proxy N/A N/A N/A mock patch method_path spawn N/A N/A N/A N/A N/A self dhcp enable_isolated_metadata_proxy network N/A N/A N/A spawn assert_called_once_with N/A N/A self dhcp _process_monitor N/A network namespace N/A dhcp METADATA_PORT N/A cfg CONF router_id forzanapoli N/A test_enable_isolated_metadata_proxy_with_metadata_network N/A N/A self N/A N/A N/A N/A N/A self _test_enable_isolated_metadata_proxy fake_meta_network N/A test_enable_isolated_metadata_proxy_with_metadata_network_dvr N/A N/A self N/A N/A N/A N/A N/A self _test_enable_isolated_metadata_proxy fake_meta_dvr_network N/A test_enable_isolated_metadata_proxy_with_dist_network N/A N/A self N/A N/A N/A N/A N/A self _test_enable_isolated_metadata_proxy fake_dist_network N/A _test_disable_isolated_metadata_proxy N/A N/A self network N/A N/A N/A N/A N/A N/A cfg CONF set_override enable_metadata_network True N/A method_path neutron.agent.metadata.driver.MetadataDriver.destroy_monitored_metadata_proxy N/A N/A N/A mock patch method_path destroy N/A N/A N/A N/A N/A self dhcp enable_isolated_metadata_proxy network N/A N/A N/A N/A self dhcp disable_isolated_metadata_proxy network N/A N/A N/A destroy assert_called_once_with N/A N/A self dhcp _process_monitor forzanapoli N/A cfg CONF N/A test_disable_isolated_metadata_proxy_with_metadata_network N/A N/A self N/A N/A N/A N/A N/A self _test_disable_isolated_metadata_proxy fake_meta_network N/A test_disable_isolated_metadata_proxy_with_metadata_network_dvr N/A N/A self N/A N/A N/A N/A N/A self _test_disable_isolated_metadata_proxy fake_meta_dvr_network N/A test_disable_isolated_metadata_proxy_with_dist_network N/A N/A self N/A N/A N/A N/A N/A self _test_disable_isolated_metadata_proxy fake_dist_network N/A test_network_create_end N/A N/A self N/A N/A N/A payload N/A dict network N/A dict id N/A fake_network id N/A N/A N/A N/A mock patch object N/A self dhcp enable_dhcp_helper enable N/A N/A N/A N/A N/A self dhcp network_create_end None payload N/A N/A N/A enable assert_called_once_with N/A fake_network id N/A test_network_update_end_admin_state_up N/A N/A self N/A N/A N/A payload N/A dict network N/A dict id N/A fake_network id admin_state_up True N/A N/A N/A N/A mock patch object N/A self dhcp enable_dhcp_helper enable N/A N/A N/A N/A N/A self dhcp network_update_end None payload N/A N/A N/A enable assert_called_once_with N/A fake_network id N/A test_network_update_end_admin_state_down N/A N/A self N/A N/A N/A payload N/A dict network N/A dict id N/A fake_network id admin_state_up False N/A N/A N/A N/A mock patch object N/A self dhcp disable_dhcp_helper disable N/A N/A N/A N/A N/A self dhcp network_update_end None payload N/A N/A N/A disable assert_called_once_with N/A fake_network id N/A test_network_delete_end N/A N/A self N/A N/A N/A payload N/A dict network_id N/A fake_network id N/A N/A N/A N/A mock patch object N/A self dhcp disable_dhcp_helper disable N/A N/A N/A N/A N/A self dhcp network_delete_end None payload N/A N/A N/A disable assert_called_once_with N/A fake_network id N/A test_refresh_dhcp_helper_no_dhcp_enabled_networks N/A N/A self N/A N/A N/A network N/A N/A dhcp NetModel N/A dict id net-id tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A ports N/A N/A N/A N/A N/A self cache get_network_by_id return_value network N/A N/A N/A N/A self plugin get_network_info return_value network N/A N/A N/A N/A mock patch object N/A self dhcp disable_dhcp_helper disable N/A N/A N/A N/A N/A self dhcp refresh_dhcp_helper N/A network id N/A N/A N/A disable assert_called_once_with N/A network id N/A N/A N/A self assertFalse N/A N/A self cache called N/A N/A N/A self assertFalse N/A N/A self call_driver called N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id net-id N/A test_refresh_dhcp_helper_exception_during_rpc N/A N/A self N/A N/A N/A network N/A N/A dhcp NetModel N/A dict id net-id tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa admin_state_up True subnets N/A ports N/A N/A N/A N/A N/A self cache get_network_by_id return_value network N/A N/A N/A N/A self plugin get_network_info side_effect Exception N/A N/A N/A N/A mock patch object N/A dhcp_agent LOG exception log N/A N/A N/A N/A N/A self dhcp refresh_dhcp_helper N/A network id N/A N/A N/A self assertFalse N/A N/A self call_driver called N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id net-id N/A N/A N/A self assertTrue N/A log called N/A N/A N/A self assertTrue N/A N/A N/A self dhcp schedule_resync called N/A test_subnet_update_end N/A N/A self N/A N/A N/A payload N/A dict subnet N/A dict network_id N/A fake_network id N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self plugin get_network_info return_value fake_network N/A N/A N/A N/A self dhcp subnet_update_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call put fake_network N/A N/A N/A N/A self call_driver assert_called_once_with reload_allocations fake_network N/A test_subnet_update_end_restart N/A N/A self N/A N/A N/A new_state N/A N/A dhcp NetModel N/A dict id N/A fake_network id tenant_id N/A fake_network tenant_id admin_state_up True subnets N/A fake_subnet1 fake_subnet3 ports N/A fake_port1 N/A payload N/A dict subnet N/A dict network_id N/A fake_network id N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self plugin get_network_info return_value new_state N/A N/A N/A N/A self dhcp subnet_update_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call put new_state N/A N/A N/A N/A self call_driver assert_called_once_with restart new_state N/A test_subnet_update_end_delete_payload N/A N/A self N/A N/A N/A prev_state N/A N/A dhcp NetModel N/A dict id N/A fake_network id tenant_id N/A fake_network tenant_id admin_state_up True subnets N/A fake_subnet1 fake_subnet3 ports N/A fake_port1 N/A payload N/A dict subnet_id N/A fake_subnet1 id N/A N/A N/A N/A self cache get_network_by_subnet_id return_value prev_state N/A N/A N/A N/A self cache get_network_by_id return_value prev_state N/A N/A N/A N/A self plugin get_network_info return_value fake_network N/A N/A N/A N/A self dhcp subnet_delete_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_subnet_id bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb N/A N/A N/A mock call get_network_by_id 12345678-1234-5678-1234567890ab N/A N/A N/A mock call put fake_network N/A N/A N/A N/A self call_driver assert_called_once_with restart fake_network N/A test_port_update_end N/A N/A self N/A N/A N/A payload N/A dict port fake_port2 N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self cache get_port_by_id return_value fake_port2 N/A N/A N/A N/A self dhcp port_update_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id N/A fake_port2 network_id N/A N/A N/A mock call put_port N/A mock ANY N/A N/A N/A N/A self call_driver assert_called_once_with reload_allocations fake_network N/A test_port_update_change_ip_on_port N/A N/A self N/A N/A N/A payload N/A dict port fake_port1 N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A updated_fake_port1 N/A N/A copy deepcopy fake_port1 N/A N/A N/A N/A updated_fake_port1 fixed_ips N/A 0 ip_address 172.9.9.99 N/A N/A N/A N/A self cache get_port_by_id return_value updated_fake_port1 N/A N/A N/A N/A self dhcp port_update_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_network_by_id N/A fake_port1 network_id N/A N/A N/A mock call put_port N/A mock ANY N/A N/A N/A N/A self call_driver assert_has_calls N/A N/A N/A N/A mock call call_driver reload_allocations fake_network N/A test_port_update_change_ip_on_dhcp_agents_port N/A N/A self N/A N/A N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self cache get_port_by_id return_value fake_port1 N/A payload N/A dict port N/A N/A copy deepcopy fake_port1 N/A device_id N/A N/A utils get_dhcp_agent_device_id N/A N/A payload N/A port N/A network_id N/A N/A N/A self dhcp conf host N/A N/A N/A N/A N/A payload N/A port N/A fixed_ips N/A 0 N/A ip_address 172.9.9.99 N/A N/A N/A payload N/A port N/A device_id device_id N/A N/A N/A N/A self dhcp port_update_end None payload N/A N/A N/A N/A self call_driver assert_has_calls N/A N/A N/A N/A mock call call_driver restart fake_network N/A test_port_update_on_dhcp_agents_port_no_ip_change N/A N/A self N/A N/A N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self cache get_port_by_id return_value fake_port1 N/A payload N/A dict port fake_port1 N/A device_id N/A N/A utils get_dhcp_agent_device_id N/A N/A payload N/A port N/A network_id N/A N/A N/A self dhcp conf host N/A N/A N/A payload N/A port N/A device_id device_id N/A N/A N/A N/A self dhcp port_update_end None payload N/A N/A N/A N/A self call_driver assert_has_calls N/A N/A N/A N/A mock call call_driver reload_allocations fake_network N/A test_port_delete_end N/A N/A self N/A N/A N/A payload N/A dict port_id N/A fake_port2 id N/A N/A N/A N/A self cache get_network_by_id return_value fake_network N/A N/A N/A N/A self cache get_port_by_id return_value fake_port2 N/A N/A N/A N/A self dhcp port_delete_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_port_by_id N/A fake_port2 id N/A N/A N/A mock call get_network_by_id N/A fake_network id N/A N/A N/A mock call remove_port fake_port2 N/A N/A N/A N/A self call_driver assert_has_calls N/A N/A N/A N/A mock call call_driver reload_allocations fake_network N/A test_port_delete_end_unknown_port N/A N/A self N/A N/A N/A payload N/A dict port_id unknown N/A N/A N/A N/A self cache get_port_by_id return_value None N/A N/A N/A N/A self dhcp port_delete_end None payload N/A N/A N/A N/A self cache assert_has_calls N/A N/A N/A N/A mock call get_port_by_id unknown N/A N/A N/A self assertEqual N/A N/A self call_driver call_count 0 N/A N/A TestDhcpPluginApiProxy N/A N/A base BaseTestCase N/A _test_dhcp_api N/A N/A self method N/A kwargs N/A N/A ctxt N/A N/A context get_admin_context N/A proxy N/A N/A dhcp_agent DhcpPluginApi foo ctxt host foo N/A N/A N/A N/A mock patch object N/A proxy client call rpc_mock N/A N/A N/A N/A N/A mock patch object N/A proxy client prepare prepare_mock N/A N/A N/A prepare_mock return_value N/A proxy client N/A N/A rpc_mock return_value N/A N/A kwargs pop return_value N/A N/A prepare_args N/A N/A N/A version kwargs N/A N/A N/A prepare_args N/A version N/A N/A kwargs pop version N/A retval N/A N/A getattr proxy method kwargs N/A N/A N/A self assertEqual retval N/A rpc_mock return_value N/A N/A N/A prepare_mock assert_called_once_with prepare_args N/A N/A kwargs N/A host N/A proxy host N/A N/A N/A rpc_mock assert_called_once_with ctxt method kwargs N/A test_get_active_networks_info N/A N/A self N/A N/A N/A N/A N/A self _test_dhcp_api get_active_networks_info version 1.1 N/A test_get_network_info N/A N/A self N/A N/A N/A N/A N/A self _test_dhcp_api get_network_info network_id fake_id return_value None N/A test_create_dhcp_port N/A N/A self N/A N/A N/A N/A N/A self _test_dhcp_api create_dhcp_port port fake_port return_value None version 1.1 N/A test_update_dhcp_port N/A N/A self N/A N/A N/A N/A N/A self _test_dhcp_api update_dhcp_port port_id fake_id port fake_port return_value None version 1.1 N/A test_release_dhcp_port N/A N/A self N/A N/A N/A N/A N/A self _test_dhcp_api release_dhcp_port network_id fake_id device_id fake_id_2 N/A N/A TestNetworkCache N/A N/A base BaseTestCase N/A test_put_network N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_network N/A N/A N/A self assertEqual N/A nc cache N/A N/A fake_network id fake_network N/A N/A N/A self assertEqual N/A nc subnet_lookup N/A N/A fake_subnet1 id N/A fake_subnet2 id N/A fake_network id N/A fake_network id N/A N/A N/A self assertEqual N/A nc port_lookup N/A N/A fake_port1 id N/A fake_network id N/A test_put_network_existing N/A N/A self N/A N/A N/A prev_network_info N/A N/A mock Mock N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A N/A mock patch object nc remove remove N/A N/A N/A N/A nc cache N/A N/A fake_network id prev_network_info N/A N/A N/A nc put fake_network N/A N/A N/A remove assert_called_once_with prev_network_info N/A N/A N/A self assertEqual N/A nc cache N/A N/A fake_network id fake_network N/A N/A N/A self assertEqual N/A nc subnet_lookup N/A N/A fake_subnet1 id N/A fake_subnet2 id N/A fake_network id N/A fake_network id N/A N/A N/A self assertEqual N/A nc port_lookup N/A N/A fake_port1 id N/A fake_network id N/A test_remove_network N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A nc cache N/A N/A fake_network id fake_network N/A N/A nc subnet_lookup N/A N/A fake_subnet1 id N/A fake_subnet2 id N/A fake_network id N/A fake_network id N/A N/A nc port_lookup N/A N/A fake_port1 id N/A fake_network id N/A N/A N/A nc remove fake_network N/A N/A N/A self assertEqual N/A len N/A nc cache 0 N/A N/A N/A self assertEqual N/A len N/A nc subnet_lookup 0 N/A N/A N/A self assertEqual N/A len N/A nc port_lookup 0 N/A test_get_network_by_id N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_network N/A N/A N/A self assertEqual N/A N/A nc get_network_by_id N/A fake_network id fake_network N/A test_get_network_ids N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_network N/A N/A N/A self assertEqual N/A list N/A N/A nc get_network_ids N/A N/A fake_network id N/A test_get_network_by_subnet_id N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_network N/A N/A N/A self assertEqual N/A N/A nc get_network_by_subnet_id N/A fake_subnet1 id fake_network N/A test_get_network_by_port_id N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_network N/A N/A N/A self assertEqual N/A N/A nc get_network_by_port_id N/A fake_port1 id fake_network N/A test_put_port N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa subnets N/A fake_subnet1 ports N/A fake_port1 N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_net N/A N/A N/A nc put_port fake_port2 N/A N/A N/A self assertEqual N/A len N/A nc port_lookup 2 N/A N/A N/A self assertIn fake_port2 N/A fake_net ports N/A test_put_port_existing N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa subnets N/A fake_subnet1 ports N/A fake_port1 fake_port2 N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_net N/A N/A N/A nc put_port fake_port2 N/A N/A N/A self assertEqual N/A len N/A nc port_lookup 2 N/A N/A N/A self assertIn fake_port2 N/A fake_net ports N/A test_remove_port_existing N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa subnets N/A fake_subnet1 ports N/A fake_port1 fake_port2 N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_net N/A N/A N/A nc remove_port fake_port2 N/A N/A N/A self assertEqual N/A len N/A nc port_lookup 1 N/A N/A N/A self assertNotIn fake_port2 N/A fake_net ports N/A test_get_port_by_id N/A N/A self N/A N/A N/A nc N/A N/A dhcp_agent NetworkCache N/A N/A N/A nc put fake_network N/A N/A N/A self assertEqual N/A N/A nc get_port_by_id N/A fake_port1 id fake_port1 N/A N/A FakePort1 N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self id eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee N/A N/A FakeV4Subnet N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self id dddddddd-dddd-dddd-dddd-dddddddddddd N/A N/A self ip_version 4 N/A N/A self cidr 192.168.0.0/24 N/A N/A self gateway_ip 192.168.0.1 N/A N/A self enable_dhcp True N/A N/A FakeV4SubnetOutsideGateway N/A FakeV4Subnet N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super FakeV4SubnetOutsideGateway self __init__ N/A N/A self gateway_ip 192.168.1.1 N/A N/A FakeV4SubnetNoGateway N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self id eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee N/A N/A self ip_version 4 N/A N/A self cidr 192.168.1.0/24 N/A N/A self gateway_ip None N/A N/A self enable_dhcp True N/A N/A FakeV4Network N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self id aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa N/A N/A self subnets N/A N/A FakeV4Subnet N/A N/A self ports N/A N/A FakePort1 N/A N/A self namespace qdhcp-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa N/A N/A FakeV4NetworkOutsideGateway N/A FakeV4Network N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super FakeV4NetworkOutsideGateway self __init__ N/A N/A self subnets N/A N/A FakeV4SubnetOutsideGateway N/A N/A FakeV4NetworkNoSubnet N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self id aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa N/A N/A self subnets N/A N/A N/A self ports N/A N/A N/A FakeV4NetworkNoGateway N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self id cccccccc-cccc-cccc-cccc-cccccccccccc N/A N/A self subnets N/A N/A FakeV4SubnetNoGateway N/A N/A self ports N/A N/A FakePort1 N/A N/A TestDeviceManager N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestDeviceManager self setUp N/A N/A N/A config register_interface_driver_opts_helper N/A cfg CONF N/A N/A N/A N/A cfg CONF register_opts N/A dhcp_config DHCP_AGENT_OPTS N/A N/A N/A N/A cfg CONF set_override interface_driver neutron.agent.linux.interface.NullDriver N/A N/A N/A N/A cfg CONF set_override enable_isolated_metadata True N/A N/A self ensure_device_is_ready_p N/A N/A mock patch neutron.agent.linux.ip_lib.ensure_device_is_ready N/A N/A self ensure_device_is_ready N/A N/A N/A self ensure_device_is_ready_p start N/A N/A self dvr_cls_p N/A N/A mock patch neutron.agent.linux.interface.NullDriver N/A N/A self iproute_cls_p N/A N/A mock patch neutron.agent.linux.ip_lib.IpRouteCommand N/A driver_cls N/A N/A N/A self dvr_cls_p start N/A iproute_cls N/A N/A N/A self iproute_cls_p start N/A N/A self mock_driver N/A N/A mock MagicMock N/A N/A N/A self mock_driver DEV_NAME_LEN N/A N/A interface LinuxInterfaceDriver DEV_NAME_LEN N/A N/A N/A self mock_driver use_gateway_ips False N/A N/A self mock_iproute N/A N/A mock MagicMock N/A N/A driver_cls return_value N/A self mock_driver N/A N/A iproute_cls return_value N/A self mock_iproute N/A iptables_cls_p N/A N/A mock patch neutron.agent.linux.iptables_manager.IptablesManager N/A iptables_cls N/A N/A iptables_cls_p start N/A N/A self iptables_inst N/A N/A mock Mock N/A N/A iptables_cls return_value N/A self iptables_inst N/A N/A self mangle_inst N/A N/A mock Mock N/A N/A N/A self iptables_inst ipv4 N/A mangle N/A self mangle_inst N/A N/A self mock_ip_wrapper_p N/A N/A mock patch neutron.agent.linux.ip_lib.IPWrapper N/A N/A self mock_ip_wrapper N/A N/A N/A self mock_ip_wrapper_p start N/A _test_setup_helper N/A N/A self device_is_ready net port N/A None None N/A N/A net N/A net fake_network N/A port N/A port fake_port1 N/A plugin N/A N/A mock Mock N/A N/A N/A plugin create_dhcp_port return_value N/A port fake_port1 N/A N/A N/A self ensure_device_is_ready return_value device_is_ready N/A N/A N/A N/A self mock_driver get_device_name return_value tap12345678-12 N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A dh _set_default_route N/A N/A mock Mock N/A N/A dh _cleanup_stale_devices N/A N/A mock Mock N/A interface_name N/A N/A dh setup net N/A N/A N/A self assertEqual interface_name tap12345678-12 N/A N/A N/A plugin assert_has_calls N/A N/A N/A N/A mock call create_dhcp_port N/A port N/A name admin_state_up network_id tenant_id fixed_ips device_id True N/A net id N/A net tenant_id N/A N/A subnet_id N/A N/A N/A port fixed_ips N/A 0 subnet_id N/A mock ANY N/A N/A port fake_ipv6_port N/A N/A expected_ips N/A 169.254.169.254/16 N/A N/A expected_ips N/A 172.9.9.9/24 169.254.169.254/16 N/A expected N/A N/A N/A N/A mock call get_device_name port N/A N/A N/A mock call init_l3 tap12345678-12 expected_ips namespace N/A net namespace N/A N/A device_is_ready N/A N/A N/A N/A expected insert 1 N/A N/A N/A mock call plug N/A net id N/A port id tap12345678-12 aa:bb:cc:dd:ee:ff namespace N/A net namespace mtu None N/A N/A N/A N/A self mock_driver assert_has_calls expected N/A N/A N/A N/A dh _set_default_route assert_called_once_with net tap12345678-12 N/A test_setup N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override enable_metadata_network False N/A N/A N/A self _test_setup_helper False N/A N/A N/A N/A cfg CONF set_override enable_metadata_network True N/A N/A N/A self _test_setup_helper False N/A test_setup_calls_fill_dhcp_udp_checksums N/A N/A self N/A N/A N/A N/A N/A self _test_setup_helper False N/A rule N/A -p udp -m udp --dport %d -j CHECKSUM --checksum-fill N/A const DHCP_RESPONSE_PORT N/A expected N/A N/A N/A N/A mock call add_rule POSTROUTING rule N/A N/A N/A N/A self mangle_inst assert_has_calls expected N/A test_setup_create_dhcp_port N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A plugin N/A N/A mock Mock N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value None N/A net N/A N/A copy deepcopy fake_network N/A N/A N/A plugin create_dhcp_port return_value fake_dhcp_port N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A N/A dh setup net N/A N/A N/A plugin assert_has_calls N/A N/A N/A N/A mock call create_dhcp_port N/A port N/A name admin_state_up network_id tenant_id fixed_ips device_id True N/A net id N/A net tenant_id N/A N/A subnet_id N/A N/A N/A fake_dhcp_port fixed_ips N/A 0 subnet_id N/A mock ANY N/A N/A N/A self assertIn fake_dhcp_port N/A net ports N/A test_setup_plug_exception N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A N/A N/A plugin create_dhcp_port return_value fake_dhcp_port N/A N/A N/A self ensure_device_is_ready return_value False N/A N/A N/A N/A self mock_driver get_device_name return_value tap12345678-12 N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A dh _set_default_route N/A N/A mock Mock N/A N/A dh _cleanup_stale_devices N/A N/A mock Mock N/A N/A dh driver N/A N/A mock Mock N/A N/A N/A N/A dh driver plug side_effect N/A OSError N/A net N/A N/A copy deepcopy fake_network N/A N/A N/A self assertRaises OSError N/A dh setup net N/A N/A N/A N/A plugin release_dhcp_port assert_called_once_with N/A net id N/A mock ANY N/A test_setup_ipv6 N/A N/A self N/A N/A N/A N/A N/A self _test_setup_helper True net fake_network_ipv6 port fake_ipv6_port N/A test_setup_device_is_ready N/A N/A self N/A N/A N/A N/A N/A self _test_setup_helper True N/A test_create_dhcp_port_raise_conflict N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A N/A plugin create_dhcp_port return_value None N/A N/A N/A self assertRaises N/A exceptions Conflict N/A dh setup_dhcp_port fake_network N/A test_create_dhcp_port_create_new N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A N/A plugin create_dhcp_port return_value N/A N/A fake_network ports N/A 0 N/A N/A N/A dh setup_dhcp_port fake_network N/A N/A N/A plugin assert_has_calls N/A N/A N/A N/A mock call create_dhcp_port N/A port N/A name admin_state_up network_id tenant_id fixed_ips device_id True N/A fake_network id N/A fake_network tenant_id N/A N/A subnet_id N/A fake_fixed_ip1 subnet_id N/A mock ANY N/A test_create_dhcp_port_update_add_subnet N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A fake_network_copy N/A N/A copy deepcopy fake_network N/A N/A N/A N/A fake_network_copy ports N/A 0 device_id N/A N/A dh get_device_id fake_network N/A N/A N/A N/A fake_network_copy subnets N/A 1 enable_dhcp True N/A N/A N/A plugin update_dhcp_port return_value N/A N/A fake_network ports N/A 0 N/A N/A N/A dh setup_dhcp_port fake_network_copy N/A port_body N/A port N/A network_id fixed_ips N/A fake_network id N/A N/A subnet_id ip_address N/A fake_fixed_ip1 subnet_id N/A fake_fixed_ip1 ip_address N/A subnet_id N/A fake_subnet2 id N/A N/A N/A plugin assert_has_calls N/A N/A N/A N/A mock call update_dhcp_port N/A N/A N/A fake_network_copy ports N/A 0 id port_body N/A test_update_dhcp_port_raises_conflict N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A fake_network_copy N/A N/A copy deepcopy fake_network N/A N/A N/A N/A fake_network_copy ports N/A 0 device_id N/A N/A dh get_device_id fake_network N/A N/A N/A N/A fake_network_copy subnets N/A 1 enable_dhcp True N/A N/A N/A plugin update_dhcp_port return_value None N/A N/A N/A self assertRaises N/A exceptions Conflict N/A dh setup_dhcp_port fake_network_copy N/A test_create_dhcp_port_no_update_or_create N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A fake_network_copy N/A N/A copy deepcopy fake_network N/A N/A N/A N/A fake_network_copy ports N/A 0 device_id N/A N/A dh get_device_id fake_network N/A N/A N/A dh setup_dhcp_port fake_network_copy N/A N/A N/A self assertFalse N/A N/A plugin setup_dhcp_port called N/A N/A N/A self assertFalse N/A N/A plugin update_dhcp_port called N/A test_setup_dhcp_port_with_non_enable_dhcp_subnet N/A N/A self N/A N/A N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A fake_network_copy N/A N/A copy deepcopy fake_network N/A N/A N/A N/A fake_network_copy ports N/A 0 device_id N/A N/A dh get_device_id fake_network N/A N/A N/A plugin update_dhcp_port return_value fake_port1 N/A N/A N/A self assertEqual N/A fake_subnet1 id N/A N/A N/A N/A N/A dh setup_dhcp_port fake_network_copy fixed_ips N/A 0 subnet_id N/A test_destroy N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id FAKE_NETWORK_UUID tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa N/A N/A N/A mock patch neutron.agent.linux.interface.NullDriver dvr_cls N/A N/A mock_driver N/A N/A mock MagicMock N/A N/A N/A mock_driver get_device_name return_value tap12345678-12 N/A N/A dvr_cls return_value mock_driver N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A N/A dh destroy fake_net tap12345678-12 N/A N/A N/A dvr_cls assert_called_once_with N/A cfg CONF N/A N/A N/A mock_driver assert_has_calls N/A N/A N/A N/A mock call unplug tap12345678-12 namespace N/A qdhcp- N/A fake_net id N/A N/A N/A plugin assert_has_calls N/A N/A N/A N/A mock call release_dhcp_port N/A fake_net id N/A mock ANY N/A test_destroy_with_none N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id FAKE_NETWORK_UUID tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa N/A N/A N/A mock patch neutron.agent.linux.interface.NullDriver dvr_cls N/A N/A mock_driver N/A N/A mock MagicMock N/A N/A N/A mock_driver get_device_name return_value tap12345678-12 N/A N/A dvr_cls return_value mock_driver N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A N/A dh destroy fake_net None N/A N/A N/A dvr_cls assert_called_once_with N/A cfg CONF N/A N/A N/A plugin assert_has_calls N/A N/A N/A N/A mock call release_dhcp_port N/A fake_net id N/A mock ANY N/A N/A N/A self assertFalse N/A mock_driver called N/A test_get_interface_name N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa N/A fake_port N/A N/A dhcp DictModel N/A dict id 12345678-1234-aaaa-1234567890ab mac_address aa:bb:cc:dd:ee:ff N/A N/A N/A mock patch neutron.agent.linux.interface.NullDriver dvr_cls N/A N/A mock_driver N/A N/A mock MagicMock N/A N/A N/A mock_driver get_device_name return_value tap12345678-12 N/A N/A dvr_cls return_value mock_driver N/A plugin N/A N/A mock Mock N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF plugin N/A N/A N/A dh get_interface_name fake_net fake_port N/A N/A N/A dvr_cls assert_called_once_with N/A cfg CONF N/A N/A N/A mock_driver assert_has_calls N/A N/A N/A N/A mock call get_device_name fake_port N/A N/A N/A self assertEqual N/A len N/A plugin mock_calls 0 N/A test_get_device_id N/A N/A self N/A N/A N/A fake_net N/A N/A dhcp NetModel N/A dict id 12345678-1234-5678-1234567890ab tenant_id aaaaaaaa-aaaa-aaaa-aaaaaaaaaaaa N/A expected dhcp1ae5f96c-c527-5079-82ea-371a01645457-12345678-1234-5678-1234567890ab N/A local_hostname N/A N/A N/A N/A N/A cfg CONF host split . N/A 0 N/A N/A N/A mock patch uuid.uuid5 uuid5 N/A N/A N/A uuid5 return_value 1ae5f96c-c527-5079-82ea-371a01645457 N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A self assertEqual N/A N/A dh get_device_id fake_net expected N/A N/A N/A uuid5 assert_called_once_with N/A uuid NAMESPACE_DNS local_hostname N/A test_update N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override enable_metadata_network False N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A dh _set_default_route N/A N/A mock Mock N/A network N/A N/A mock Mock N/A N/A N/A dh update network ns-12345678-12 N/A N/A N/A N/A dh _set_default_route assert_called_once_with network ns-12345678-12 N/A N/A N/A N/A cfg CONF set_override enable_metadata_network True N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A dh _set_default_route N/A N/A mock Mock N/A N/A N/A dh update N/A FakeV4Network ns-12345678-12 N/A N/A N/A self assertTrue N/A N/A dh _set_default_route called N/A test_set_default_route N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value None N/A network N/A FakeV4Network N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A N/A N/A device route add_gateway assert_called_once_with 192.168.0.1 N/A test_set_default_route_outside_subnet N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value None N/A network N/A FakeV4NetworkOutsideGateway N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A N/A N/A device route add_route assert_called_once_with 192.168.1.1 scope link N/A N/A N/A N/A N/A device route add_gateway assert_called_once_with 192.168.1.1 N/A test_set_default_route_no_subnet N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value None N/A network N/A FakeV4NetworkNoSubnet N/A N/A network namespace qdhcp-1234 N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A self assertFalse N/A N/A N/A device route add_gateway called N/A test_set_default_route_no_subnet_delete_gateway N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value N/A dict gateway 192.168.0.1 N/A network N/A FakeV4NetworkNoSubnet N/A N/A network namespace qdhcp-1234 N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A N/A N/A device route delete_gateway assert_called_once_with 192.168.0.1 N/A N/A N/A self assertFalse N/A N/A N/A device route add_gateway called N/A test_set_default_route_no_gateway N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value N/A dict gateway 192.168.0.1 N/A network N/A FakeV4NetworkNoGateway N/A N/A network namespace qdhcp-1234 N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A N/A N/A device route delete_gateway assert_called_once_with 192.168.0.1 N/A N/A N/A self assertFalse N/A N/A N/A device route add_gateway called N/A test_set_default_route_do_nothing N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value N/A dict gateway 192.168.0.1 N/A network N/A FakeV4Network N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A self assertFalse N/A N/A N/A device route add_gateway called N/A test_set_default_route_change_gateway N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value N/A dict gateway 192.168.0.2 N/A network N/A FakeV4Network N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A N/A N/A device route add_gateway assert_called_once_with 192.168.0.1 N/A test_set_default_route_change_gateway_outside_subnet N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route list_onlink_routes return_value N/A N/A cidr 192.168.2.1 N/A N/A N/A N/A device route get_gateway return_value N/A dict gateway 192.168.2.1 N/A network N/A FakeV4NetworkOutsideGateway N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertEqual N/A N/A N/A device route list_onlink_routes call_count 2 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A N/A N/A device route delete_route assert_called_once_with 192.168.2.1 scope link N/A N/A N/A N/A N/A device route add_route assert_called_once_with 192.168.1.1 scope link N/A N/A N/A N/A N/A device route add_gateway assert_called_once_with 192.168.1.1 N/A test_set_default_route_two_subnets N/A N/A self N/A N/A N/A dh N/A N/A dhcp DeviceManager N/A cfg CONF None N/A N/A N/A N/A mock patch object N/A dhcp ip_lib IPDevice mock_IPDevice N/A N/A device N/A N/A mock Mock N/A N/A mock_IPDevice return_value device N/A N/A N/A N/A device route get_gateway return_value None N/A network N/A FakeV4Network N/A subnet2 N/A FakeV4Subnet N/A N/A subnet2 gateway_ip 192.168.1.1 N/A N/A network subnets N/A subnet2 N/A FakeV4Subnet N/A N/A N/A dh _set_default_route network tap-name N/A N/A N/A self assertEqual N/A N/A N/A device route get_gateway call_count 1 N/A N/A N/A self assertFalse N/A N/A N/A device route delete_gateway called N/A N/A N/A N/A N/A device route add_gateway assert_called_once_with 192.168.1.1 N/A N/A TestDictModel N/A N/A base BaseTestCase N/A test_basic_dict N/A N/A self N/A N/A N/A d N/A dict a 1 b 2 N/A m N/A N/A dhcp DictModel d N/A N/A N/A self assertEqual N/A m a 1 N/A N/A N/A self assertEqual N/A m b 2 N/A test_dict_has_sub_dict N/A N/A self N/A N/A N/A d N/A dict a N/A dict b 2 N/A m N/A N/A dhcp DictModel d N/A N/A N/A self assertEqual N/A N/A m a b 2 N/A test_dict_contains_list N/A N/A self N/A N/A N/A d N/A dict a N/A 1 2 N/A m N/A N/A dhcp DictModel d N/A N/A N/A self assertEqual N/A m a N/A 1 2 N/A test_dict_contains_list_of_dicts N/A N/A self N/A N/A N/A d N/A dict a N/A N/A dict b 2 N/A dict c 3 N/A m N/A N/A dhcp DictModel d N/A N/A N/A self assertEqual N/A N/A N/A m a N/A 0 b 2 N/A N/A N/A self assertEqual N/A N/A N/A m a N/A 1 c 3 N/A N/A