Merge "Do not specify vnic index while setting DGW"
This commit is contained in:
commit
e1121a5b73
@ -856,7 +856,6 @@ class EdgeApplianceDriver(object):
|
||||
# for speedup
|
||||
return task_constants.TaskStatus.ABORT
|
||||
gateway = task.userdata['gateway']
|
||||
gateway_vnic_index = task.userdata['gateway_vnic_index']
|
||||
routes = task.userdata['routes']
|
||||
LOG.debug("VCNS: start updating routes for %s", edge_id)
|
||||
static_routes = []
|
||||
@ -883,8 +882,7 @@ class EdgeApplianceDriver(object):
|
||||
if gateway:
|
||||
request["defaultRoute"] = {
|
||||
"description": "default-gateway",
|
||||
"gatewayAddress": gateway,
|
||||
"vnic": gateway_vnic_index
|
||||
"gatewayAddress": gateway
|
||||
}
|
||||
try:
|
||||
self.vcns.update_routes(edge_id, request)
|
||||
|
Loading…
Reference in New Issue
Block a user