neutron/neutron/tests/unit/agent/dhcp
Kevin Benton 33d3b8ce76 L3 agent: match format used by iptables
This fixes the iptables rules generated by the L3 agent
(SNAT, DNAT, set-mark and metadata), and the DHCP agent
(checksum-fill) to match the format that will be returned
by iptables-save to prevent excessive extra replacement
work done by the iptables manager.

It also fixes the iptables test that was not passing the
expected arguments (-p PROTO -m PROTO) for block rules.

A simple test was added to the L3 agent to ensure that the
rules have converged during the normal lifecycle tests.

Closes-Bug: #1566007
Change-Id: I5e8e27cdbf0d0448011881614671efe53bb1b6a1
(cherry picked from commit b8d520ffe2)
2016-04-06 09:22:10 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_agent.py L3 agent: match format used by iptables 2016-04-06 09:22:10 +00:00