neutron/neutron/tests/unit/plugins/ml2
Dane LeBlanc aeb5efe3fb Re-use context session in ML2 DB get_port_binding_host
This patch modifies ML2 DB get_port_binding_host method so that it
reuses the existing context session to do the database query
rather than creating a new database session.

Note that there are other methods in ML2 DB that do not re-use
the caller's session (get_port_from_device_mac() and
get_sg_ids_grouped_by_port()). These will be modified using
a separate bug (https://bugs.launchpad.net/neutron/+bug/1441205).
Change-Id: I8aafb0a70f40f9306ccc366e5db6860c92c48cce
Closes-Bug: #1440183
2015-04-08 11:09:56 -04:00
..
db Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
drivers Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
extensions Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_agent_scheduler.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_db.py Re-use context session in ML2 DB get_port_binding_host 2015-04-08 11:09:56 -04:00
test_driver_context.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_ext_portsecurity.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_extension_driver_api.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_plugin.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_port_binding.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_rpc.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_security_group.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00