9ba23658a3
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 |
||
---|---|---|
.. | ||
metering | ||
quota | ||
__init__.py | ||
test_agents_db.py | ||
test_allowedaddresspairs_db.py | ||
test_db_base_plugin_v2.py | ||
test_dvr_mac_db.py | ||
test_ipam_backend_mixin.py | ||
test_ipam_pluggable_backend.py | ||
test_l3_dvr_db.py | ||
test_l3_hamode_db.py | ||
test_migration.py | ||
test_securitygroups_db.py |