NSX|V: ensure correct parameter is passed
The callback complete_edge_creation has a number of parameters that do not need to be passed. Here we make sure that the new ones past are the correct ones. Change-Id: I2a512058b7ab7acc845dc3b4a2bbe7cd3701102b
This commit is contained in:
parent
363ae9446e
commit
e016bb7558
@ -444,7 +444,7 @@ class EdgeApplianceDriver(object):
|
||||
|
||||
self.callbacks.complete_edge_creation(
|
||||
context, edge_id, name, router_id, dist, True,
|
||||
availability_zone, deploy_metadata)
|
||||
availability_zone, deploy_metadata=deploy_metadata)
|
||||
|
||||
except exceptions.VcnsApiException:
|
||||
self.callbacks.complete_edge_creation(
|
||||
|
@ -720,7 +720,7 @@ class EdgeManager(object):
|
||||
with locking.LockManager.get_lock(str(edge_id)):
|
||||
self.nsxv_manager.callbacks.complete_edge_creation(
|
||||
context, edge_id, lrouter['name'], lrouter['id'], dist,
|
||||
True, deploy_metadata)
|
||||
True, deploy_metadata=deploy_metadata)
|
||||
|
||||
try:
|
||||
self.nsxv_manager.rename_edge(edge_id, name)
|
||||
|
Loading…
Reference in New Issue
Block a user