Change async static route call to sync
If we use async call to update static route, since static route op has dependency relationship with interface/vnic, error would raise if interface/vnic call is executed before asyn static route is executed completely. Closes-bug: #1566753 Change-Id: I4b910a33b03e12d207f32091d7185f0f72823ce0
This commit is contained in:
parent
ca22c27587
commit
051f55e266
@ -226,7 +226,7 @@ class Vcns(object):
|
||||
return self.do_request(HTTP_GET, uri)
|
||||
|
||||
def update_routes(self, edge_id, routes):
|
||||
uri = "%s/%s/routing/config/static?async=true" % (URI_PREFIX, edge_id)
|
||||
uri = "%s/%s/routing/config/static" % (URI_PREFIX, edge_id)
|
||||
return self.do_request(HTTP_PUT, uri, routes)
|
||||
|
||||
def create_lswitch(self, lsconfig):
|
||||
|
Loading…
Reference in New Issue
Block a user