neutron/neutron/tests/unit
Cedric Brandily cf84ec4c10 Allow to define enable_snat default value
Currently neutron resets enable_snat attribute to True when enable_snat
is not provided in router external_gateway_info. But in some deployments
(private/enterprise clouds) such behavior is not the expected default
one as snat/nat/floating-ips is not used (at least by default).

This change defines the option enable_snat_by_default which allows
deployers to set enable_snat default value when neutron resets it. The
option default value is True for backward compatibility.

DocImpact
APIImpact
Closes-Bug: #1388858
Change-Id: I455a552230ec89fe907a087c1de8c8144b5d086e
2015-05-07 00:10:50 +02:00
..
agent Add IP version support to all ip_lib code 2015-05-04 11:00:10 -04:00
api Refactor RESOURCE_ATTRIBUTE_MAP cleanup 2015-04-22 12:02:34 -02:30
callbacks Add weak reference test for callback manager 2015-04-23 06:55:03 -07:00
cmd Reorganize unit test tree 2015-04-06 23:28:31 +00:00
common Defer creation of router JSON in get_routers RPC 2015-04-20 20:42:13 -07:00
db Merge "Disembowel register_l3_agent code duplication in tests" 2015-04-30 20:06:47 +00:00
debug Reorganize unit test tree 2015-04-06 23:28:31 +00:00
extensions Allow to define enable_snat default value 2015-05-07 00:10:50 +02:00
hacking Migrate to oslo.log 2015-03-12 11:22:56 +01:00
ipam Reorganize unit test tree 2015-04-06 23:28:31 +00:00
notifiers Reorganize unit test tree 2015-04-06 23:28:31 +00:00
plugins Merge "l2pop UT: Simplify migration tests" 2015-05-03 09:58:12 +00:00
scheduler Disembowel register_l3_agent code duplication in tests 2015-04-29 14:05:21 -04:00
services Disembowel register_l3_agent code duplication in tests 2015-04-29 14:05:21 -04:00
tests Reorganize unit test tree 2015-04-06 23:28:31 +00:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
database_stubs.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
dummy_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extension_stubs.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_auth.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_context.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_ipam.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_manager.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_policy.py Remove backward compatibility for check_is_admin 2015-04-23 07:10:34 -07:00
test_wsgi.py Refactor socket ssl wrapping 2015-04-24 13:21:49 +03:00
testlib_api.py Simplify retargetable test framework 2015-03-31 20:13:04 +00:00