Clean edge vnic bindings for a clean backup edge
When collecting one service edge to backup edge pool, the patch would delete all its edge vnic bindings to ensure we have one clean backup edge for other service support. Change-Id: I2a88c3265e2e24e0e250a1845c410a4e827dc606
This commit is contained in:
parent
36675790c7
commit
ac231d7914
@ -669,10 +669,11 @@ class EdgeManager(object):
|
||||
appliance_size=binding['appliance_size'], dist=dist)
|
||||
task.wait(task_const.TaskState.RESULT)
|
||||
|
||||
# Refresh edge_vnic_bindings
|
||||
if not dist and binding['edge_id']:
|
||||
# Clean all edge vnic bindings
|
||||
nsxv_db.clean_edge_vnic_binding(
|
||||
context.session, binding['edge_id'])
|
||||
# Refresh edge_vnic_bindings for centralized router
|
||||
if not dist and binding['edge_id']:
|
||||
nsxv_db.init_edge_vnic_binding(
|
||||
context.session, binding['edge_id'])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user