Merge "Change async static route call to sync"
This commit is contained in:
commit
2da49e896a
@ -230,7 +230,7 @@ class Vcns(object):
|
|||||||
return self.do_request(HTTP_GET, uri)
|
return self.do_request(HTTP_GET, uri)
|
||||||
|
|
||||||
def update_routes(self, edge_id, routes):
|
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)
|
return self.do_request(HTTP_PUT, uri, routes)
|
||||||
|
|
||||||
def create_lswitch(self, lsconfig):
|
def create_lswitch(self, lsconfig):
|
||||||
|
Loading…
Reference in New Issue
Block a user