Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body With Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list decorator_list
N/A neutron_lib constants neutron context neutron.db models_v2 neutron.extensions portbindings neutron.plugins.ml2.drivers.l2pop db l2pop_db neutron.plugins.ml2 models neutron.tests.common helpers neutron.tests.unit testlib_api TestL2PopulationDBTestCase N/A N/A testlib_api SqlTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestL2PopulationDBTestCase self setUp N/A N/A self ctx N/A N/A context get_admin_context N/A test_get_agent_by_host N/A N/A self N/A N/A N/A N/A N/A helpers register_l3_agent N/A N/A N/A helpers register_dhcp_agent N/A N/A N/A helpers register_ovs_agent N/A agent N/A N/A l2pop_db get_agent_by_host N/A N/A self ctx session N/A helpers HOST N/A N/A N/A self assertEqual N/A constants AGENT_TYPE_OVS N/A agent agent_type N/A test_get_agent_by_host_no_candidate N/A N/A self N/A N/A N/A N/A N/A helpers register_l3_agent N/A N/A N/A helpers register_dhcp_agent N/A agent N/A N/A l2pop_db get_agent_by_host N/A N/A self ctx session N/A helpers HOST N/A N/A N/A self assertIsNone agent N/A _setup_port_binding N/A N/A self network_id dvr N/A network_id True N/A N/A N/A N/A N/A N/A self ctx session begin subtransactions True N/A N/A N/A N/A N/A N/A self ctx session add N/A N/A models_v2 Network id network_id N/A device_owner N/A dvr N/A constants DEVICE_OWNER_DVR_INTERFACE N/A N/A N/A N/A N/A self ctx session add N/A N/A models_v2 Port id port_id network_id network_id mac_address 00:11:22:33:44:55 admin_state_up True status N/A constants PORT_STATUS_ACTIVE device_id device_owner device_owner N/A port_binding_cls N/A dvr N/A models DVRPortBinding N/A models PortBinding N/A binding_kwarg N/A port_id host vif_type vnic_type port_id N/A helpers HOST N/A portbindings VIF_TYPE_UNBOUND N/A portbindings VNIC_NORMAL N/A dvr N/A N/A N/A binding_kwarg N/A router_id router_id N/A N/A binding_kwarg N/A status N/A constants PORT_STATUS_DOWN N/A N/A N/A N/A N/A self ctx session add N/A port_binding_cls binding_kwarg N/A test_get_dvr_active_network_ports N/A N/A self N/A N/A N/A N/A N/A self _setup_port_binding N/A N/A N/A helpers register_l3_agent N/A N/A N/A helpers register_dhcp_agent N/A N/A N/A helpers register_ovs_agent N/A tunnel_network_ports N/A N/A l2pop_db get_dvr_active_network_ports N/A N/A self ctx session network_id N/A N/A N/A self assertEqual 1 N/A len tunnel_network_ports N/A N/A _ agent N/A tunnel_network_ports N/A 0 N/A N/A N/A self assertEqual N/A constants AGENT_TYPE_OVS N/A agent agent_type N/A test_get_dvr_active_network_ports_no_candidate N/A N/A self N/A N/A N/A N/A N/A self _setup_port_binding N/A N/A N/A helpers register_l3_agent N/A N/A N/A helpers register_dhcp_agent N/A tunnel_network_ports N/A N/A l2pop_db get_dvr_active_network_ports N/A N/A self ctx session network_id N/A N/A N/A self assertEqual 0 N/A len tunnel_network_ports N/A test_get_nondvr_active_network_ports N/A N/A self N/A N/A N/A N/A N/A self _setup_port_binding dvr False N/A N/A N/A helpers register_l3_agent N/A N/A N/A helpers register_dhcp_agent N/A N/A N/A helpers register_ovs_agent N/A fdb_network_ports N/A N/A l2pop_db get_nondvr_active_network_ports N/A N/A self ctx session network_id N/A N/A N/A self assertEqual 1 N/A len fdb_network_ports N/A N/A _ agent N/A fdb_network_ports N/A 0 N/A N/A N/A self assertEqual N/A constants AGENT_TYPE_OVS N/A agent agent_type N/A test_get_nondvr_active_network_ports_no_candidate N/A N/A self N/A N/A N/A N/A N/A self _setup_port_binding dvr False N/A N/A N/A helpers register_l3_agent N/A N/A N/A helpers register_dhcp_agent N/A fdb_network_ports N/A N/A l2pop_db get_nondvr_active_network_ports N/A N/A self ctx session network_id N/A N/A N/A self assertEqual 0 N/A len fdb_network_ports N/A N/A