Merge "create_router cannot take enable_snat=False"
This commit is contained in:
commit
1362b033ac
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user