V2T migration: handle empty tier0 route redistribution
Change-Id: Ica20c41cc8c103b778fe174121d386cb5667e2c7
This commit is contained in:
parent
439d07bdfb
commit
8fddbd4267
|
@ -95,7 +95,11 @@ def migration_tier0_redistribute(resource, event, trigger, **kwargs):
|
|||
tier0)
|
||||
except Exception:
|
||||
LOG.error("Did not find Tier0 %s", tier0)
|
||||
return
|
||||
continue
|
||||
if not orig_conf:
|
||||
LOG.info("Tier0 %s does not have route redistribution config",
|
||||
tier0)
|
||||
continue
|
||||
fixed_conf = copy.deepcopy(orig_conf)
|
||||
if ((not orig_conf['bgp_enabled'] and
|
||||
not orig_conf['ospf_enabled']) or
|
||||
|
|
Loading…
Reference in New Issue