remove expire_all in getting backup edges
Since expire_all may break other case's communication, we would just remove it here. Change-Id: I0e7dc3e9979287cffb184eb93d83aee28ad1cfad
This commit is contained in:
parent
bf50c26d1b
commit
7f3e8f1961
|
@ -323,9 +323,6 @@ class EdgeManager(object):
|
|||
def _get_available_router_binding(self, context,
|
||||
appliance_size=nsxv_constants.COMPACT,
|
||||
edge_type=nsxv_constants.SERVICE_EDGE):
|
||||
# Reload backup router bindings in case of getting
|
||||
# deleted router bindings
|
||||
context.session.expire_all()
|
||||
backup_router_bindings = self._get_backup_edge_bindings(
|
||||
context, appliance_size=appliance_size, edge_type=edge_type)
|
||||
while backup_router_bindings:
|
||||
|
|
Loading…
Reference in New Issue