neutron/neutron/tests/unit/agent/metadata
Kevin Benton a43b11e0aa 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 11:06:44 -07:00
..
__init__.py Revert "Revert "Add metadata proxy L3 agent driver"" 2015-01-06 21:41:39 +00:00
test_agent.py Merge "Allow overriding of the neutron endpoint URL in metadata agent" 2015-07-29 14:16:00 +00:00
test_driver.py L3 agent: match format used by iptables 2016-04-06 11:06:44 -07:00
test_namespace_proxy.py metadata: don't crash proxy on non-unicode user data 2015-10-02 15:54:26 +00:00