Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad ListLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call Call NameLoad NameLoad NameLoad NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str AttributeLoad NameLoad attr NameLoad ExceptHandler type NameLoad name NameStore body If CompareNotEq Call NameLoad NameLoad Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpOr BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad IfExp BoolOpOr UnaryOpNot NameLoad CompareIn NameLoad NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad For NameStore BinOpSub NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad For NameStore NameLoad body If BoolOpOr UnaryOpNot NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str handlers ExceptHandler type NameLoad name NameStore body If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Break If BoolOpAnd NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse If BoolOpAnd UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If NameLoad body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Assign NameStore Str If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore SetComp SubscriptLoad NameLoad Index Str comprehension NameStore BoolOpOr SubscriptLoad NameLoad Index Str ListLoad Assign NameStore SetComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str If CompareNotEq NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Return CompareEq SubscriptLoad NameLoad Index Str NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str Str Call NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Dict Str AttributeLoad SubscriptLoad NameLoad Index Num attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad keyword AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad keyword AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Break orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Break decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Num Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Call NameLoad AttributeLoad NameLoad attr Return Dict Str Str Str NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Return ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Return If Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list decorator_list
N/A N/A collections N/A os N/A eventlet neutron_lib constants neutron_lib exceptions oslo_config cfg oslo_log log logging N/A oslo_messaging oslo_service loopingcall oslo_utils importutils neutron._i18n _ _LE _LI _LW neutron.agent.linux dhcp neutron.agent.linux external_process neutron.agent.metadata driver metadata_driver neutron.agent rpc agent_rpc neutron.common constants n_const neutron.common rpc n_rpc neutron.common topics neutron.common utils neutron context neutron manager N/A LOG N/A N/A logging getLogger __name__ DhcpAgent N/A N/A manager Manager N/A N/A DHCP agent service manager.

    Note that the public methods of this class are exposed as the server side
    of an rpc interface.  The neutron server uses
    neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyApi as the
    client side to execute the methods here.  For more information about
    changing rpc interfaces, see doc/source/devref/rpc_api.rst.
     N/A target N/A N/A oslo_messaging Target version 1.0 __init__ N/A N/A self host conf N/A None None N/A N/A N/A N/A N/A super DhcpAgent self __init__ host host N/A N/A self needs_resync_reasons N/A N/A collections defaultdict list N/A N/A self conf N/A conf N/A cfg CONF N/A N/A self cache N/A NetworkCache N/A N/A self dhcp_driver_cls N/A N/A importutils import_class N/A N/A self conf dhcp_driver N/A ctx N/A N/A context get_admin_context_without_session N/A N/A self plugin_rpc N/A DhcpPluginApi N/A topics PLUGIN ctx N/A N/A self conf host N/A dhcp_dir N/A N/A N/A os path dirname N/A /%s/dhcp/ N/A N/A self conf state_path N/A N/A N/A utils ensure_dir dhcp_dir N/A N/A self dhcp_version N/A N/A N/A self dhcp_driver_cls check_version N/A N/A N/A self _populate_networks_cache N/A N/A self _metadata_routers N/A N/A N/A self _process_monitor N/A N/A external_process ProcessMonitor config N/A self conf resource_type dhcp N/A init_host N/A N/A self N/A N/A N/A N/A N/A self sync_state N/A _populate_networks_cache N/A N/A self N/A N/A N/A Populate the networks cache when the DHCP-agent starts. N/A N/A N/A existing_networks N/A N/A N/A self dhcp_driver_cls existing_dhcp_networks N/A self conf N/A net_id existing_networks N/A N/A net N/A N/A dhcp NetModel N/A id subnets ports net_id N/A N/A N/A N/A N/A N/A self cache put net N/A N/A N/A NotImplementedError N/A N/A N/A N/A LOG debug The '%s' DHCP-driver does not support retrieving of a list of existing networks N/A N/A self conf dhcp_driver N/A after_start N/A N/A self N/A N/A N/A N/A N/A self run N/A N/A N/A LOG info N/A _LI DHCP agent started N/A run N/A N/A self N/A N/A N/A Activate the DHCP agent. N/A N/A N/A self sync_state N/A N/A N/A self periodic_resync N/A call_driver N/A N/A self action network N/A action_kwargs N/A N/A Invoke an action on a DHCP driver instance. N/A N/A N/A LOG debug Calling driver for network: %(net)s action: %(action)s N/A net action N/A network id action N/A N/A N/A driver N/A N/A self dhcp_driver_cls N/A self conf network N/A self _process_monitor N/A self dhcp_version N/A self plugin_rpc N/A N/A N/A getattr driver action action_kwargs N/A True N/A N/A N/A N/A exceptions Conflict N/A N/A N/A N/A LOG warning N/A _LW Unable to %(action)s dhcp for %(net_id)s: there is a conflict with its current state; please check that the network and/or its subnet(s) still exist. N/A net_id action N/A network id action N/A N/A Exception N/A e N/A N/A N/A N/A getattr e exc_type IpAddressGenerationFailure N/A N/A N/A N/A self schedule_resync e N/A network id N/A N/A N/A N/A isinstance e N/A oslo_messaging RemoteError N/A N/A e exc_type NetworkNotFound N/A isinstance e N/A exceptions NetworkNotFound N/A N/A N/A N/A LOG debug Network %s has been deleted. N/A network id N/A N/A N/A N/A LOG exception N/A _LE Unable to %(action)s dhcp for %(net_id)s. N/A net_id action N/A network id action N/A schedule_resync N/A N/A self reason network_id N/A None N/A N/A Schedule a resync for a given network and reason. If no network is
        specified, resync all networks.
         N/A N/A N/A N/A N/A self needs_resync_reasons N/A network_id append reason N/A sync_state N/A N/A self networks N/A None N/A N/A Sync the local DHCP state with Neutron. If no networks are passed,
        or 'None' is one of the networks, sync all of the networks.
         N/A only_nets N/A set N/A N/A N/A networks N/A None networks N/A networks N/A N/A N/A LOG info N/A _LI Synchronizing state N/A pool N/A N/A eventlet GreenPool N/A N/A self conf num_sync_threads N/A known_network_ids N/A set N/A N/A N/A self cache get_network_ids N/A N/A N/A active_networks N/A N/A N/A self plugin_rpc get_active_networks_info N/A N/A N/A LOG info N/A _LI All active networks have been fetched through RPC. N/A active_network_ids N/A set N/A N/A network id N/A network active_networks N/A deleted_id N/A known_network_ids active_network_ids N/A N/A N/A N/A N/A N/A self disable_dhcp_helper deleted_id N/A N/A N/A Exception N/A e N/A N/A N/A N/A self schedule_resync e deleted_id N/A N/A N/A LOG exception N/A _LE Unable to sync network state on deleted network %s deleted_id N/A network active_networks N/A N/A N/A N/A only_nets N/A N/A network id known_network_ids N/A N/A network id only_nets N/A N/A N/A N/A pool spawn N/A self safe_configure_dhcp_for_network network N/A N/A N/A pool waitall N/A N/A N/A LOG info N/A _LI Synchronizing state complete N/A N/A N/A Exception N/A e N/A N/A only_nets N/A N/A network_id only_nets N/A N/A N/A N/A self schedule_resync e network_id N/A N/A N/A N/A self schedule_resync e N/A N/A N/A LOG exception N/A _LE Unable to sync network state. N/A N/A N/A utils synchronized dhcp-agent _periodic_resync_helper N/A N/A self N/A N/A N/A Resync the dhcp state at the configured interval. N/A True N/A N/A N/A N/A eventlet sleep N/A N/A self conf resync_interval N/A N/A self needs_resync_reasons N/A N/A reasons N/A self needs_resync_reasons N/A N/A self needs_resync_reasons N/A N/A collections defaultdict list N/A N/A net r N/A N/A reasons items N/A N/A N/A net N/A N/A net * N/A N/A N/A LOG debug resync (%(network)s): %(reason)s N/A reason network r net N/A N/A N/A self sync_state N/A N/A reasons keys N/A N/A N/A utils exception_logger periodic_resync N/A N/A self N/A N/A N/A Spawn a thread to periodically resync the dhcp state. N/A N/A N/A eventlet spawn N/A self _periodic_resync_helper N/A safe_get_network_info N/A N/A self network_id N/A N/A N/A N/A N/A network N/A N/A N/A self plugin_rpc get_network_info network_id N/A N/A network N/A N/A N/A N/A LOG debug Network %s has been deleted. network_id N/A network N/A N/A N/A Exception N/A e N/A N/A N/A N/A self schedule_resync e network_id N/A N/A N/A LOG exception N/A _LE Network %s info call failed. network_id N/A enable_dhcp_helper N/A N/A self network_id N/A N/A N/A Enable DHCP for a network that meets enabling criteria. N/A network N/A N/A self safe_get_network_info network_id N/A network N/A N/A N/A N/A self configure_dhcp_for_network network N/A safe_configure_dhcp_for_network N/A N/A self network N/A N/A N/A N/A N/A network_id N/A N/A network get id N/A N/A N/A LOG info N/A _LI Starting network %s dhcp configuration network_id N/A N/A N/A self configure_dhcp_for_network network N/A N/A N/A LOG info N/A _LI Finished network %s dhcp configuration network_id N/A N/A N/A N/A N/A exceptions NetworkNotFound RuntimeError N/A N/A N/A N/A LOG warning N/A _LW Network %s may have been deleted and its resources may have already been disposed. N/A network id N/A N/A N/A utils exception_logger configure_dhcp_for_network N/A N/A self network N/A N/A N/A N/A N/A network admin_state_up N/A N/A N/A enable_metadata N/A N/A N/A self dhcp_driver_cls should_enable_metadata N/A self conf network N/A dhcp_network_enabled False N/A subnet N/A network subnets N/A N/A N/A subnet enable_dhcp N/A N/A N/A N/A self call_driver enable network N/A N/A dhcp_network_enabled True N/A N/A N/A N/A self cache put network N/A N/A N/A enable_metadata dhcp_network_enabled N/A N/A subnet N/A network subnets N/A N/A N/A N/A N/A subnet ip_version 4 N/A subnet enable_dhcp N/A N/A N/A N/A self enable_isolated_metadata_proxy network N/A N/A N/A N/A N/A N/A N/A self conf force_metadata N/A N/A N/A self conf enable_isolated_metadata N/A N/A N/A N/A self disable_isolated_metadata_proxy network N/A disable_dhcp_helper N/A N/A self network_id N/A N/A N/A Disable DHCP for a network known to the agent. N/A network N/A N/A N/A self cache get_network_by_id network_id N/A network N/A N/A N/A N/A self conf enable_isolated_metadata N/A N/A N/A N/A self disable_isolated_metadata_proxy network N/A N/A N/A self call_driver disable network N/A N/A N/A N/A N/A self cache remove network N/A refresh_dhcp_helper N/A N/A self network_id N/A N/A N/A Refresh or disable DHCP for a network depending on the current state
        of the network.
         N/A old_network N/A N/A N/A self cache get_network_by_id network_id N/A N/A old_network N/A N/A N/A N/A self enable_dhcp_helper network_id N/A network N/A N/A self safe_get_network_info network_id N/A N/A network N/A N/A N/A old_cidrs N/A set N/A N/A s cidr N/A s N/A old_network subnets N/A s enable_dhcp N/A new_cidrs N/A set N/A N/A s cidr N/A s N/A network subnets N/A s enable_dhcp N/A N/A new_cidrs N/A old_cidrs new_cidrs N/A N/A N/A N/A self call_driver reload_allocations network N/A N/A N/A N/A self cache put network N/A N/A new_cidrs N/A N/A N/A N/A self call_driver restart network N/A N/A N/A N/A N/A self cache put network N/A N/A N/A N/A self disable_dhcp_helper N/A network id N/A network_create_end N/A N/A self context payload N/A N/A N/A Handle the network.create.end notification event. N/A network_id N/A N/A payload N/A network N/A id N/A N/A N/A self enable_dhcp_helper network_id N/A N/A N/A utils synchronized dhcp-agent network_update_end N/A N/A self context payload N/A N/A N/A Handle the network.update.end notification event. N/A network_id N/A N/A payload N/A network N/A id N/A N/A N/A payload N/A network N/A admin_state_up N/A N/A N/A N/A self enable_dhcp_helper network_id N/A N/A N/A N/A self disable_dhcp_helper network_id N/A N/A N/A utils synchronized dhcp-agent network_delete_end N/A N/A self context payload N/A N/A N/A Handle the network.delete.end notification event. N/A N/A N/A self disable_dhcp_helper N/A payload N/A network_id N/A N/A N/A utils synchronized dhcp-agent subnet_update_end N/A N/A self context payload N/A N/A N/A Handle the subnet.update.end notification event. N/A network_id N/A N/A payload N/A subnet N/A network_id N/A N/A N/A self refresh_dhcp_helper network_id N/A N/A N/A utils synchronized dhcp-agent N/A subnet_create_end subnet_update_end subnet_delete_end N/A N/A self context payload N/A N/A N/A Handle the subnet.delete.end notification event. N/A subnet_id N/A payload N/A subnet_id N/A network N/A N/A N/A self cache get_network_by_subnet_id subnet_id N/A network N/A N/A N/A N/A self refresh_dhcp_helper N/A network id N/A N/A N/A utils synchronized dhcp-agent port_update_end N/A N/A self context payload N/A N/A N/A Handle the port.update.end notification event. N/A updated_port N/A N/A dhcp DictModel N/A payload N/A port N/A network N/A N/A N/A self cache get_network_by_id N/A updated_port network_id N/A network N/A N/A N/A N/A LOG info N/A _LI Trigger reload_allocations for port %s updated_port N/A driver_action reload_allocations N/A N/A N/A self _is_port_on_this_agent updated_port N/A N/A orig N/A N/A N/A self cache get_port_by_id N/A updated_port N/A id N/A old_ips N/A N/A i N/A ip_address N/A i N/A N/A orig N/A fixed_ips N/A N/A new_ips N/A N/A i N/A ip_address N/A i N/A updated_port N/A fixed_ips N/A N/A old_ips new_ips N/A N/A driver_action restart N/A N/A N/A N/A self cache put_port updated_port N/A N/A N/A self call_driver driver_action network N/A N/A N/A utils synchronized dhcp-agent _is_port_on_this_agent N/A N/A self port N/A N/A N/A thishost N/A N/A utils get_dhcp_agent_device_id N/A port N/A network_id N/A N/A self conf host N/A N/A N/A port N/A device_id thishost N/A N/A port_create_end port_update_end port_delete_end N/A N/A self context payload N/A N/A N/A Handle the port.delete.end notification event. N/A port N/A N/A N/A self cache get_port_by_id N/A payload N/A port_id N/A port N/A N/A network N/A N/A N/A self cache get_network_by_id N/A port network_id N/A N/A N/A N/A self cache remove_port port N/A N/A N/A self call_driver reload_allocations network N/A N/A N/A utils synchronized dhcp-agent enable_isolated_metadata_proxy N/A N/A self network N/A N/A N/A kwargs N/A network_id N/A network id N/A N/A N/A self conf enable_metadata_network N/A N/A router_ports N/A port N/A port N/A network ports N/A N/A port device_owner N/A constants ROUTER_INTERFACE_OWNERS N/A router_ports N/A N/A N/A N/A len router_ports 1 N/A N/A N/A N/A LOG warning N/A _LW %(port_num)d router ports found on the metadata access network. Only the port %(port_id)s, for router %(router_id)s will be considered N/A port_num port_id router_id N/A len router_ports N/A N/A router_ports N/A 0 id N/A N/A router_ports N/A 0 device_id N/A kwargs N/A router_id N/A N/A router_ports N/A 0 device_id N/A N/A N/A self _metadata_routers N/A N/A network id N/A N/A router_ports N/A 0 device_id N/A N/A N/A N/A metadata_driver MetadataDriver spawn_monitored_metadata_proxy N/A self _process_monitor N/A network namespace N/A dhcp METADATA_PORT N/A self conf kwargs N/A disable_isolated_metadata_proxy N/A N/A self network N/A N/A N/A N/A N/A N/A self conf enable_metadata_network N/A N/A network id N/A self _metadata_routers N/A N/A uuid N/A N/A self _metadata_routers N/A N/A network id N/A is_router_id True N/A N/A uuid N/A network id N/A is_router_id False N/A N/A N/A N/A metadata_driver MetadataDriver destroy_monitored_metadata_proxy N/A self _process_monitor uuid N/A self conf N/A is_router_id N/A N/A N/A N/A self _metadata_routers N/A N/A network id N/A N/A DhcpPluginApi N/A object N/A N/A Agent side of the dhcp rpc API.

    This class implements the client side of an rpc interface.  The server side
    of this interface can be found in
    neutron.api.rpc.handlers.dhcp_rpc.DhcpRpcCallback.  For more information
    about changing rpc interfaces, see doc/source/devref/rpc_api.rst.

    API version history:
        1.0 - Initial version.
        1.1 - Added get_active_networks_info, create_dhcp_port,
              and update_dhcp_port methods.

     __init__ N/A N/A self topic context host N/A N/A N/A N/A self context context N/A N/A self host host N/A target N/A N/A oslo_messaging Target topic topic namespace N/A n_const RPC_NAMESPACE_DHCP_PLUGIN version 1.0 N/A N/A self client N/A N/A n_rpc get_client target N/A get_active_networks_info N/A N/A self N/A N/A N/A Make a remote process call to retrieve all network info. N/A cctxt N/A N/A N/A self client prepare version 1.1 N/A networks N/A N/A cctxt call N/A self context get_active_networks_info host N/A self host N/A N/A N/A N/A dhcp NetModel n N/A n networks N/A get_network_info N/A N/A self network_id N/A N/A N/A Make a remote process call to retrieve network info. N/A cctxt N/A N/A N/A self client prepare N/A network N/A N/A cctxt call N/A self context get_network_info network_id network_id host N/A self host N/A network N/A N/A N/A N/A dhcp NetModel network N/A create_dhcp_port N/A N/A self port N/A N/A N/A Make a remote process call to create the dhcp port. N/A cctxt N/A N/A N/A self client prepare version 1.1 N/A port N/A N/A cctxt call N/A self context create_dhcp_port port port host N/A self host N/A port N/A N/A N/A N/A dhcp DictModel port N/A update_dhcp_port N/A N/A self port_id port N/A N/A N/A Make a remote process call to update the dhcp port. N/A cctxt N/A N/A N/A self client prepare version 1.1 N/A port N/A N/A cctxt call N/A self context update_dhcp_port port_id port_id port port host N/A self host N/A port N/A N/A N/A N/A dhcp DictModel port N/A release_dhcp_port N/A N/A self network_id device_id N/A N/A N/A Make a remote process call to release the dhcp port. N/A cctxt N/A N/A N/A self client prepare N/A N/A N/A cctxt call N/A self context release_dhcp_port network_id network_id device_id device_id host N/A self host N/A N/A NetworkCache N/A object N/A N/A Agent cache of the current network state. __init__ N/A N/A self N/A N/A N/A N/A self cache N/A N/A N/A self subnet_lookup N/A N/A N/A self port_lookup N/A N/A get_network_ids N/A N/A self N/A N/A N/A N/A N/A N/A self cache keys N/A get_network_by_id N/A N/A self network_id N/A N/A N/A N/A N/A N/A self cache get network_id N/A get_network_by_subnet_id N/A N/A self subnet_id N/A N/A N/A N/A N/A N/A self cache get N/A N/A N/A self subnet_lookup get subnet_id N/A get_network_by_port_id N/A N/A self port_id N/A N/A N/A N/A N/A N/A self cache get N/A N/A N/A self port_lookup get port_id N/A put N/A N/A self network N/A N/A N/A N/A N/A network id N/A self cache N/A N/A N/A N/A self remove N/A N/A self cache N/A N/A network id N/A N/A N/A self cache N/A N/A network id network N/A subnet N/A network subnets N/A N/A N/A N/A self subnet_lookup N/A N/A subnet id N/A network id N/A port N/A network ports N/A N/A N/A N/A self port_lookup N/A N/A port id N/A network id N/A remove N/A N/A self network N/A N/A N/A N/A N/A self cache N/A N/A network id N/A subnet N/A network subnets N/A N/A N/A N/A self subnet_lookup N/A N/A subnet id N/A port N/A network ports N/A N/A N/A N/A self port_lookup N/A N/A port id N/A put_port N/A N/A self port N/A N/A N/A network N/A N/A self get_network_by_id N/A port network_id N/A index N/A range N/A len N/A network ports N/A N/A N/A N/A N/A N/A network ports N/A index id N/A port id N/A N/A N/A N/A network ports N/A index port N/A N/A N/A N/A N/A N/A network ports append port N/A N/A N/A self port_lookup N/A N/A port id N/A network id N/A remove_port N/A N/A self port N/A N/A N/A network N/A N/A self get_network_by_port_id N/A port id N/A index N/A range N/A len N/A network ports N/A N/A N/A N/A N/A network ports N/A index port N/A N/A N/A N/A network ports N/A index N/A N/A N/A self port_lookup N/A N/A port id N/A N/A get_port_by_id N/A N/A self port_id N/A N/A N/A network N/A N/A self get_network_by_port_id port_id N/A network N/A N/A port N/A network ports N/A N/A N/A N/A port id port_id N/A N/A port N/A get_state N/A N/A self N/A N/A N/A net_ids N/A N/A self get_network_ids N/A num_nets N/A len net_ids N/A num_subnets 0 N/A num_ports 0 N/A net_id net_ids N/A N/A network N/A N/A self get_network_by_id net_id N/A num_subnets N/A len N/A network subnets N/A num_ports N/A len N/A network ports N/A N/A networks subnets ports num_nets num_subnets num_ports N/A N/A DhcpAgentWithStateReport N/A DhcpAgent N/A __init__ N/A N/A self host conf N/A None None N/A N/A N/A N/A N/A super DhcpAgentWithStateReport self __init__ host host conf conf N/A N/A self state_rpc N/A N/A agent_rpc PluginReportStateAPI N/A topics REPORTS N/A N/A self agent_state N/A binary host availability_zone topic configurations start_flag agent_type neutron-dhcp-agent host N/A N/A N/A self conf AGENT availability_zone N/A topics DHCP_AGENT N/A dhcp_driver dhcp_lease_duration log_agent_heartbeats N/A N/A self conf dhcp_driver N/A N/A self conf dhcp_lease_duration N/A N/A N/A self conf AGENT log_agent_heartbeats True N/A constants AGENT_TYPE_DHCP N/A report_interval N/A N/A N/A self conf AGENT report_interval N/A report_interval N/A N/A N/A self heartbeat N/A N/A loopingcall FixedIntervalLoopingCall N/A self _report_state N/A N/A N/A N/A self heartbeat start interval report_interval N/A _report_state N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self agent_state get configurations update N/A N/A N/A self cache get_state N/A ctx N/A N/A context get_admin_context_without_session N/A agent_status N/A N/A N/A self state_rpc report_state ctx N/A self agent_state True N/A N/A agent_status N/A n_const AGENT_REVIVED N/A N/A N/A N/A LOG info N/A _LI Agent has just been revived. Scheduling full sync N/A N/A N/A self schedule_resync Agent has just been revived N/A N/A N/A AttributeError N/A N/A N/A N/A LOG warning N/A _LW Neutron server does not support state report. State report for this agent will be disabled. N/A N/A N/A N/A self heartbeat stop N/A N/A N/A self run N/A N/A N/A Exception N/A N/A N/A N/A LOG exception N/A _LE Failed reporting state! N/A N/A N/A N/A N/A self agent_state pop start_flag None N/A N/A N/A N/A self run N/A agent_updated N/A N/A self context payload N/A N/A N/A Handle the agent_updated notification event. N/A N/A N/A self schedule_resync N/A N/A _ Agent updated: %(payload)s N/A payload payload N/A N/A N/A LOG info N/A _LI agent_updated by server side %s! payload N/A after_start N/A N/A self N/A N/A N/A N/A N/A LOG info N/A _LI DHCP agent started N/A N/A