Merge "create_router cannot take enable_snat=False"

This commit is contained in:
Jenkins 2015-11-02 08:49:05 +00:00 committed by Gerrit Code Review
commit 1362b033ac

View File

@ -221,7 +221,7 @@ class BaseNetworkTest(tempest.test.BaseTestCase):
ext_gw_info = {}
if external_network_id:
ext_gw_info['network_id'] = external_network_id
if enable_snat:
if enable_snat is not None:
ext_gw_info['enable_snat'] = enable_snat
body = cls.client.create_router(
router_name, external_gateway_info=ext_gw_info,