neutron/neutron/tests
Isaku Yamahata 9ba23658a3 l3_db: not use L2 plugin _get_port unnecessarily
This patch is clean up to prevent future breakage by eliminating
potentially dangerous code.

l3_db uses L2 plugin _get_port method unnecessarily instead of get_port.
It's dangerous because _get_port returns ORM db object which allows
the caller to update db rows directly. So the caller of _get_port may
update port db without notifying L2 plugin unintentionally.
In that case, L2 plugin or ML2 mechanism driver will be confused.
This patch replace _get_port with get_port method where possible.

Change-Id: I5a23f6cac5ea359645e6947fd69978f060c4ba97
Related-Bug: #1475093
2015-08-13 18:37:49 -07:00
..
api Create packages for quota modules 2015-07-28 11:55:01 -07:00
common Merge "Change prefix for namespace fixture" 2015-07-20 21:45:52 +00:00
contrib Prepare for full stack CI job 2015-06-22 11:47:54 -04:00
etc Flavor Framework implementation 2015-07-16 09:07:41 -07:00
fullstack Merge "Stop use of oslo_utils.timeutils.strtime()" 2015-07-25 22:37:12 +00:00
functional Merge "Check that VXLAN is not in use in LB VXLAN check" 2015-08-04 12:28:47 +00:00
retargetable Remove lingering traces of q_ 2015-07-07 17:04:44 -04:00
tempest Replaces reduce with six.moves.reduce for py 2/3 compatibility 2015-08-03 17:23:20 +05:30
unit l3_db: not use L2 plugin _get_port unnecessarily 2015-08-13 18:37:49 -07:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Merge "Different approach to indicate failure on SystemExit" 2015-07-16 06:57:16 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Improve fixture usage. 2015-07-01 14:53:48 +12:00