Merge "Fix Edge appliance rename failure"
This commit is contained in:
commit
f6ca6eb13a
@ -127,8 +127,10 @@ class Vcns(object):
|
|||||||
uri += "?async=true"
|
uri += "?async=true"
|
||||||
return self.do_request(HTTP_POST, uri, request, decode=False)
|
return self.do_request(HTTP_POST, uri, request, decode=False)
|
||||||
|
|
||||||
def update_edge(self, edge_id, request):
|
def update_edge(self, edge_id, request, async=False):
|
||||||
uri = "%s/%s?async=true" % (URI_PREFIX, edge_id)
|
uri = "%s/%s" % (URI_PREFIX, edge_id)
|
||||||
|
if async:
|
||||||
|
uri += "?async=true"
|
||||||
return self.do_request(HTTP_PUT, uri, request, decode=False)
|
return self.do_request(HTTP_PUT, uri, request, decode=False)
|
||||||
|
|
||||||
def get_edge_id(self, job_id):
|
def get_edge_id(self, job_id):
|
||||||
|
Loading…
Reference in New Issue
Block a user