mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge pull request #1194 from GNS3/direct-file-uploads
Endpoint for obtaining direct action on compute
This commit is contained in:
commit
4cae6b678a
5 files changed
+69
-1
No files matched your search
@@ -477,6 +477,10 @@ class Compute:
|
||||
host = "127.0.0.1"
|
||||
return "{}://{}:{}/v2/compute{}".format(self._protocol, host, self._port, path)
|
||||
|
||||
def get_url(self, path):
|
||||
""" Returns URL for specific path at Compute"""
|
||||
return self._getUrl(path)
|
||||
|
||||
@asyncio.coroutine
|
||||
def _run_http_query(self, method, path, data=None, timeout=20, raw=False):
|
||||
with Timeout(timeout):
|
||||
|
||||
Reference in new issue
Block a user