neutron/neutron/tests/unit
Swaminathan Vasudevan 158f9eabe2 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

Change-Id: I37e0d0d723fcc727faa09028045b776957c75a82
2016-01-13 18:57:35 +00:00
..
agent Static routes not added to qrouter namespace for DVR 2016-01-13 18:57:35 +00:00
api Merge "Remove duplicated code in attribute.py" 2015-12-21 17:08:38 +00:00
callbacks Improve callback registry devref documentation and usability 2015-08-12 10:15:07 -07:00
cmd Add IPDevice.exists() method 2015-10-01 13:47:07 -04:00
common Merge "Make sure we return unicode strings for process output" 2015-11-24 05:13:18 +00:00
core_extensions QoS core extension: fixed dict extension when QoS policy is unset 2015-08-08 15:44:27 +02:00
db Use the constant HOST_ID instead of 'binding:host_id' 2015-12-20 14:00:29 +00:00
debug Use the constant HOST_ID instead of 'binding:host_id' 2015-12-20 14:00:29 +00:00
extensions Merge "Corrected wrong ethertype exception message" 2015-12-21 17:10:17 +00:00
hacking HACKING: fix edge case with log hints 2015-12-02 06:52:25 -08:00
ipam Merge "Use compare-and-swap for IpamAvailabilityRange" 2015-11-20 22:05:59 +00:00
notifiers Add option for nova endpoint type 2015-12-10 08:40:36 +00:00
objects Use DEVICE_OWNER_COMPUTE constant everywhere 2015-11-14 18:54:17 +01:00
plugins Use the constant HOST_ID instead of 'binding:host_id' 2015-12-20 14:00:29 +00:00
quota Fixed a bunch of typos throughout Neutron 2015-10-30 08:54:41 -05:00
scheduler Merge "DVR:Fix _notify_l3_agent_new_port for proper arp update" 2015-12-22 11:14:54 +00:00
services Get rid of ConfigParser code in ProviderConfiguration 2015-09-21 10:55:56 -07:00
tests Merge "Different approach to indicate failure on SystemExit" 2015-07-16 06:57:16 +00:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py Context: Remove logic for read_deleted and deprecate it 2015-06-09 13:50:03 -07:00
dummy_plugin.py Fixed a bunch of typos throughout Neutron 2015-10-30 08:54:41 -05:00
extension_stubs.py Removes the use of mutables as default args 2015-10-29 07:57:31 -07:00
test_auth.py Use assertFalse(observed) instead of assertEqual(False, observed) 2015-11-12 22:50:57 +09:00
test_context.py Support Unicode request_id on Python 3 2015-11-27 16:21:16 +01:00
test_manager.py Fix Neutron flavor framework 2015-11-19 11:27:05 -08:00
test_policy.py Use DEVICE_OWNER_* for 'network:*' constants 2015-11-16 20:45:36 -08:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Make sure we return unicode strings for process output 2015-11-20 16:49:51 +01:00
testlib_api.py Improve fixture usage. 2015-07-01 14:53:48 +12:00