NSXv: Fix admin util member IP overwrite
Admin utility overwrote the IPs of the metadata proxy members while attempting an update of the DHCP/router edge members. Change-Id: Ie82cd57bf42584976dc4d7874bdddcf2592c15bc
This commit is contained in:
parent
2ffa65f5b9
commit
59bda83bc4
@ -102,7 +102,7 @@ def nsx_redo_metadata_cfg_for_az(az, edgeapi):
|
||||
router_bindings = nsxv_db.get_nsxv_router_bindings(
|
||||
edgeapi.context.session,
|
||||
filters={'edge_type': [nsxv_constants.SERVICE_EDGE],
|
||||
'availability_zones': az.name})
|
||||
'availability_zone': az.name})
|
||||
edge_ids = list(set([binding['edge_id'] for binding in router_bindings
|
||||
if (binding['router_id'] not in set(md_rtr_ids)
|
||||
and not binding['router_id'].startswith(
|
||||
|
Loading…
Reference in New Issue
Block a user