neutron/neutron/tests/unit/agent
Swaminathan Vasudevan 4bb364044b Static routes not added to qrouter namespace for DVR
Today static routes are added to the SNAT namespace
for DVR routers. But they are not added to the qrouter
namespace.

Also while configuring the static routes to SNAT
namespace, the router is not checked for the existence
of the gateway.

When routes are added to a router without a gateway the
routes are only configured in the router namespace, but
when a gateway is set later, those routes have to be
populated in the snat_namespace as well.

This patch addresses the above mentioned issues.

Closes-Bug: #1499785
Closes-Bug: #1499787

Conflicts:
	neutron/agent/l3/dvr_edge_router.py
        neutron/tests/functional/agent/test_l3_agent.py
	neutron/tests/functional/agent/l3/framework.py
	neutron/tests/functional/agent/l3/test_dvr_router.py

Change-Id: I37e0d0d723fcc727faa09028045b776957c75a82
(cherry picked from commit 158f9eabe2)
2016-02-09 14:42:34 +02:00
..
common Better tolerate deleted OVS ports in OVS agent 2015-11-01 17:34:10 +00:00
dhcp Cleanup dhcp namespace upon dhcp setup. 2015-11-14 13:40:19 +01:00
l2 No network devices on network attached qos policies 2015-09-16 15:11:04 +02:00
l3 Static routes not added to qrouter namespace for DVR 2016-02-09 14:42:34 +02:00
linux Merge "Add compatibility with iproute2 >= 4.0" into stable/liberty 2015-12-24 08:17:32 +00:00
metadata metadata: don't crash proxy on non-unicode user data 2015-10-02 15:54:26 +00:00
ovsdb ovsdb: attempt to enable connection_uri for native impl on startup 2015-06-25 10:09:42 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_rpc.py Fix a microsecond format of isoformat() 2015-07-28 13:54:56 +09:00
test_securitygroups_rpc.py Use diffs for iptables restore instead of all rules 2015-12-09 15:55:17 +00:00