neutron/neutron/api
Kevin Benton a80924dc3e Don't update port with host id of None
In the L3 RPC code if the host for a port is not
present, it ends up calling update_port with the
host_id set to None. This does not update the host
id at all because it's treated as an unset attribute
which leads to the same thing happening on the next
iteration. These pointless update calls are expensive
because they involve a semaphore and calls to mechanism
drivers.

This patch adjusts the logic to only send a port
update if it actually has a host to ensure is on
the port.

Change-Id: Ic55496dd2ba3abcef0a2de9fc8699c391b79fa51
Partial-Bug: #1445412
2015-04-25 10:17:07 -07:00
..
rpc Don't update port with host id of None 2015-04-25 10:17:07 -07:00
v2 Moving VLAN Transparency support from core to extension 2015-04-08 08:35:13 -07:00
views Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
api_common.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
extensions.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
versions.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00