Merge "NSXAdmin: Fix nsx-v gw-edge deploy witho no default-gw"

This commit is contained in:
Jenkins 2017-08-10 15:10:37 +00:00 committed by Gerrit Code Review
commit 79a0bdc824

View File

@ -175,6 +175,8 @@ def create_bgp_gw(resource, event, trigger, **kwargs):
LOG.error(msg) LOG.error(msg)
return return
default_gw = default_gw[1] default_gw = default_gw[1]
else:
default_gw = None
config.register_nsxv_azs(cfg.CONF, cfg.CONF.nsxv.availability_zones) config.register_nsxv_azs(cfg.CONF, cfg.CONF.nsxv.availability_zones)
az_hint = properties.get('az-hint', 'default') az_hint = properties.get('az-hint', 'default')