neutron/neutron/agent/linux
Ihar Hrachyshka 59b9735af1 tests: confirm that _output_hosts_file does not log too often
I3ad7864eeb2f959549ed356a1e34fa18804395cc didn't include any regression unit
tests to validate that the method won't ever log too often again,
reintroducing performance drop in later patches. It didn't play well
with stable backports of the fix, where context was lost when doing the
backport, that left the bug unfixed in stable/juno even though the patch
was merged there [1].

The patch adds an explicit note in the code that suggests not to add new
log messages inside the loop to avoid regression, and a unit test was
added to capture it.

Once the test is merged in master, it will be proposed for stable/juno
inclusion, with additional changes that would fix the regression again.

Conflicts:
	neutron/agent/linux/dhcp.py
	neutron/tests/unit/test_linux_dhcp.py

Local changes:
- remove LOG.debug messages that sneaked into the for loop with a
  backport.

Related-Bug: #1414218
Change-Id: I5d43021932d6a994638c348eda277dd8337cf041
(cherry picked from commit 3b74095a93)
2015-04-23 11:37:47 +02:00
..
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
async_process.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
daemon.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
dhcp.py tests: confirm that _output_hosts_file does not log too often 2015-04-23 11:37:47 +02:00
external_process.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
interface.py Correctly mock-out 'ip route...' calls in IPv6 test 2015-02-18 15:10:08 -07:00
ip_lib.py Deletes floating ip related connection states 2014-09-23 21:48:06 +00:00
ipset_manager.py Add functional testing to ipset_manager 2014-09-12 08:44:20 +02:00
iptables_firewall.py Merge "Added TAP_DEVICE_PREFIX info to common/constants" 2014-09-23 08:01:24 +00:00
iptables_manager.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
keepalived.py Merge "SIGHUP keepalived if L3 agent restarts" into stable/juno 2015-02-12 22:31:50 +00:00
ovs_lib.py Setup br-tun in secure fail mode to avoid broadcast storms 2015-02-16 14:04:15 +00:00
ovsdb_monitor.py Fix leftover Timeout effecting most eventlet calls 2014-09-04 14:03:31 +03:00
polling.py Raise NotImplementedError instead of NotImplemented 2014-08-13 10:54:07 +02:00
ra.py Configures RADVD to send managed flag in RA 2015-02-04 10:00:29 +00:00
utils.py Fix pid file location to avoid I->J changes that break metadata 2014-10-01 16:31:27 -07:00