mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-17 22:08:35 +00:00
Merge branch '2.1' into 2.2
# Conflicts: # gns3server/compute/docker/docker_vm.py # gns3server/version.py
This commit is contained in:
commit
033f005bde
21
CHANGELOG
21
CHANGELOG
@ -1,5 +1,26 @@
|
||||
# Change Log
|
||||
|
||||
## 2.1.8 14/06/2018
|
||||
|
||||
* 'caplog.text()' syntax is deprecated, use 'caplog.text' property instead.
|
||||
* Remove problematic pytest-capturelog dev dependency.
|
||||
* Fix API status code for start/stop/suspend/reload a node. Fixes #1353. Fix issues with test. Update documentation.
|
||||
* Don't send variables to computes where are empty, Ref: #1340
|
||||
|
||||
## 2.1.7 12/06/2018
|
||||
|
||||
* Don't release NIO UDP ports when updating docker container.
|
||||
* Timeout for stream file.
|
||||
* Fix switching console type from telnet to VNC throws error.
|
||||
* Fix timeout error with "save as" for large projects.
|
||||
* Update API documentation
|
||||
* Add API endpoint to return all links attached to a node.
|
||||
* Fix issue with some SVG symbols that could not be used in GNS3. This was due to the height and width values being percentages.
|
||||
* Show correct free disk space value.
|
||||
* Force prompt-toolkit to version 1.0.15
|
||||
* Remove unwanted trailing characters and other white spaces when reading .md5sum files.
|
||||
* Change order to find vnetlib on Windows (PATH -> Registry -> Default directories).
|
||||
|
||||
## 2.1.6 22/05/2018
|
||||
|
||||
* Locks down async-timeout<3.0.0 for P3.4 support; Fixes: #1331
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f95094c7-e60b-494a-9e2e-1029e8ba7520'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f95094c7-e60b-494a-9e2e-1029e8ba7520 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:16 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:53 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cb9bad9b-ce54-4e3d-bfc8-ce71102679f3/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cb9bad9b-ce54-4e3d-bfc8-ce71102679f3/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f1895cc9-b108-4d2d-9124-4dce48c1c129/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f1895cc9-b108-4d2d-9124-4dce48c1c129/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66c8500b-f0d5-44c9-82c1-0d3da540244e'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66c8500b-f0d5-44c9-82c1-0d3da540244e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d6229240-1a46-4d3c-a1a9-337d26a77b5e/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d6229240-1a46-4d3c-a1a9-337d26a77b5e/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a2593fd-366d-4522-a97e-073a181286d2'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a2593fd-366d-4522-a97e-073a181286d2 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:23 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2ba5227f-4507-4711-844a-99dec989438e/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2ba5227f-4507-4711-844a-99dec989438e/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3473a78b-a3f5-4881-8b9e-f19aa53bd728'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3473a78b-a3f5-4881-8b9e-f19aa53bd728 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7c89c8c7-e145-4025-a087-a7d7e07d608f/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7c89c8c7-e145-4025-a087-a7d7e07d608f/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9ec32584-d2e6-4755-9e90-43a6f183eb4b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9ec32584-d2e6-4755-9e90-43a6f183eb4b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0d9d51bc-c5a5-45a9-ad54-5f6e9f363cdf/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0d9d51bc-c5a5-45a9-ad54-5f6e9f363cdf/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e829e5dc-bd64-4143-ae29-fae4badae401/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e829e5dc-bd64-4143-ae29-fae4badae401/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:59 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d5bc283f-2d66-4cf6-8ee2-98ad1262b32f/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d5bc283f-2d66-4cf6-8ee2-98ad1262b32f/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:40 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:09 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffbdfb95-bf03-4183-8a10-9d33f16ac422'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffbdfb95-bf03-4183-8a10-9d33f16ac422 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4696f8f1-830d-4075-bd0e-717732c8dec5/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4696f8f1-830d-4075-bd0e-717732c8dec5/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 366
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -30,5 +30,5 @@ X-Route: /v2/compute/capabilities
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.1.7dev1"
|
||||
"version": "2.1.8dev1"
|
||||
}
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
|
@ -6,79 +6,52 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 4266
|
||||
Content-Length: 2298
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:24 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "bridge0",
|
||||
"ip_address": "",
|
||||
"mac_address": "ca:2a:14:12:34:00",
|
||||
"name": "bridge0",
|
||||
"netmask": "",
|
||||
"id": "docker0",
|
||||
"ip_address": "172.17.0.1",
|
||||
"mac_address": "02:42:3f:1f:8d:78",
|
||||
"name": "docker0",
|
||||
"netmask": "255.255.0.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "en0",
|
||||
"ip_address": "",
|
||||
"mac_address": "c8:2a:14:21:cf:c8",
|
||||
"name": "en0",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "en1",
|
||||
"ip_address": "192.168.1.10",
|
||||
"mac_address": "10:9a:dd:a4:f1:6a",
|
||||
"name": "en1",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "en2",
|
||||
"ip_address": "",
|
||||
"mac_address": "d2:00:18:cc:6a:60",
|
||||
"name": "en2",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "fw0",
|
||||
"ip_address": "",
|
||||
"mac_address": "c8:2a:14:ff:fe:8c:c6:a6",
|
||||
"name": "fw0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "lo0",
|
||||
"id": "lo",
|
||||
"ip_address": "127.0.0.1",
|
||||
"mac_address": "",
|
||||
"name": "lo0",
|
||||
"mac_address": "00:00:00:00:00:00",
|
||||
"name": "lo",
|
||||
"netmask": "255.0.0.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "p2p0",
|
||||
"id": "virbr0",
|
||||
"ip_address": "192.168.122.1",
|
||||
"mac_address": "00:00:00:00:00:00",
|
||||
"name": "virbr0",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "virbr0-nic",
|
||||
"ip_address": "",
|
||||
"mac_address": "02:9a:dd:a4:f1:6a",
|
||||
"name": "p2p0",
|
||||
"mac_address": "52:54:00:cb:6a:77",
|
||||
"name": "virbr0-nic",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet1",
|
||||
"ip_address": "172.20.1.1",
|
||||
"ip_address": "172.16.1.1",
|
||||
"mac_address": "00:50:56:c0:00:01",
|
||||
"name": "vmnet1",
|
||||
"netmask": "255.255.255.0",
|
||||
@ -86,102 +59,48 @@ X-Route: /v2/compute/network/interfaces
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet10",
|
||||
"ip_address": "172.20.10.1",
|
||||
"mac_address": "00:50:56:c0:00:0a",
|
||||
"name": "vmnet10",
|
||||
"id": "vmnet2",
|
||||
"ip_address": "172.16.2.1",
|
||||
"mac_address": "00:50:56:c0:00:02",
|
||||
"name": "vmnet2",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet11",
|
||||
"ip_address": "172.20.11.1",
|
||||
"mac_address": "00:50:56:c0:00:0b",
|
||||
"name": "vmnet11",
|
||||
"id": "vmnet3",
|
||||
"ip_address": "172.16.3.1",
|
||||
"mac_address": "00:50:56:c0:00:03",
|
||||
"name": "vmnet3",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet12",
|
||||
"ip_address": "172.20.12.1",
|
||||
"mac_address": "00:50:56:c0:00:0c",
|
||||
"name": "vmnet12",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet13",
|
||||
"ip_address": "172.20.13.1",
|
||||
"mac_address": "00:50:56:c0:00:0d",
|
||||
"name": "vmnet13",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet14",
|
||||
"ip_address": "172.20.14.1",
|
||||
"mac_address": "00:50:56:c0:00:0e",
|
||||
"name": "vmnet14",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet15",
|
||||
"ip_address": "172.20.15.1",
|
||||
"mac_address": "00:50:56:c0:00:0f",
|
||||
"name": "vmnet15",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet16",
|
||||
"ip_address": "172.20.16.1",
|
||||
"mac_address": "00:50:56:c0:00:10",
|
||||
"name": "vmnet16",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet17",
|
||||
"ip_address": "172.20.17.1",
|
||||
"mac_address": "00:50:56:c0:00:11",
|
||||
"name": "vmnet17",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet18",
|
||||
"ip_address": "172.20.18.1",
|
||||
"mac_address": "00:50:56:c0:00:12",
|
||||
"name": "vmnet18",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet19",
|
||||
"ip_address": "172.20.19.1",
|
||||
"mac_address": "00:50:56:c0:00:13",
|
||||
"name": "vmnet19",
|
||||
"id": "vmnet4",
|
||||
"ip_address": "172.16.10.1",
|
||||
"mac_address": "00:50:56:c0:00:04",
|
||||
"name": "vmnet4",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet8",
|
||||
"ip_address": "192.168.100.1",
|
||||
"ip_address": "192.168.195.1",
|
||||
"mac_address": "00:50:56:c0:00:08",
|
||||
"name": "vmnet8",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "wlp58s0",
|
||||
"ip_address": "192.168.208.79",
|
||||
"mac_address": "9c:b6:d0:dc:20:29",
|
||||
"name": "wlp58s0",
|
||||
"netmask": "255.255.248.0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
}
|
||||
]
|
||||
|
@ -8,19 +8,19 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 252
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"variables": null
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"variables": null
|
||||
}
|
||||
]
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
@ -1,51 +1,36 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b81b6f71-e77e-4b7b-8db9-916d4fa832e3'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b81b6f71-e77e-4b7b-8db9-916d4fa832e3 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2926
|
||||
Content-Length: 1608
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"name": "docker0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"name": "lo",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"name": "virbr0-nic",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -55,52 +40,17 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet11",
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet12",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet13",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet14",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet15",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet16",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -108,29 +58,22 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "wlp58s0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/b766dfcb-041e-48a5-a06e-612c4628a95f",
|
||||
"node_id": "b766dfcb-041e-48a5-a06e-612c4628a95f",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/builtin/b81b6f71-e77e-4b7b-8db9-916d4fa832e3",
|
||||
"node_id": "b81b6f71-e77e-4b7b-8db9-916d4fa832e3",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
"name": "en0",
|
||||
"interface": "wlp58s0",
|
||||
"name": "wlp58s0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en1",
|
||||
"name": "en1",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en2",
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 665
|
||||
Content-Length: 614
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/00997700-f754-409b-bbf9-2774b17ade3c",
|
||||
"node_id": "00997700-f754-409b-bbf9-2774b17ade3c",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604",
|
||||
"node_id": "2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/aa1d9e41-69f6-4963-9d02-480579c677ba'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/aa1d9e41-69f6-4963-9d02-480579c677ba HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,13 +8,13 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "d84b342a-2d54-444d-bb3b-61d7ff3cfa94",
|
||||
"node_id": "aa1d9e41-69f6-4963-9d02-480579c677ba",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e8bbffed-1df7-4d26-a087-da71227cbfeb'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e8bbffed-1df7-4d26-a087-da71227cbfeb HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Length: 1380
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:8f:9b:00",
|
||||
"mac_address": "0c:dd:80:bf:eb:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
|
||||
"node_id": "6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/e8bbffed-1df7-4d26-a087-da71227cbfeb",
|
||||
"node_id": "e8bbffed-1df7-4d26-a087-da71227cbfeb",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/31217585-67d0-48b8-b629-97282dd2529e'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/31217585-67d0-48b8-b629-97282dd2529e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 487
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/64614fb7-5040-4046-893d-35a8b6c75bb7",
|
||||
"node_id": "64614fb7-5040-4046-893d-35a8b6c75bb7",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/31217585-67d0-48b8-b629-97282dd2529e",
|
||||
"node_id": "31217585-67d0-48b8-b629-97282dd2529e",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/49b530f4-2887-4493-8863-5ba7b7ca65c6'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/49b530f4-2887-4493-8863-5ba7b7ca65c6 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 465
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "afe8cb47-ddf2-4563-b821-12e9207ab994",
|
||||
"node_id": "49b530f4-2887-4493-8863-5ba7b7ca65c6",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1da29a87-e7df-48f5-a409-2627e47f6895'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1da29a87-e7df-48f5-a409-2627e47f6895 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 688
|
||||
Content-Length: 593
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:31 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:00 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -21,10 +21,10 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/574e26a7-a3be-4770-9a5e-1976b6621a15",
|
||||
"node_id": "574e26a7-a3be-4770-9a5e-1976b6621a15",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/1da29a87-e7df-48f5-a409-2627e47f6895",
|
||||
"node_id": "1da29a87-e7df-48f5-a409-2627e47f6895",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_get0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_get0/test.vmx"
|
||||
}
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/30bdb318-3e61-4679-a102-bf397bcaf821",
|
||||
"node_id": "30bdb318-3e61-4679-a102-bf397bcaf821",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7",
|
||||
"node_id": "2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -12,8 +12,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
|
@ -8,11 +8,11 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.1.7dev1"
|
||||
"version": "2.1.8dev1"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -8,46 +8,31 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 2926
|
||||
Content-Length: 1608
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"name": "docker0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"name": "lo",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"name": "virbr0-nic",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -57,52 +42,17 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet11",
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet12",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet13",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet14",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet15",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet16",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -110,29 +60,22 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "wlp58s0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
|
||||
"node_id": "bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/builtin/6afa389a-7677-4c7c-9ba4-92c792d58254",
|
||||
"node_id": "6afa389a-7677-4c7c-9ba4-92c792d58254",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
"name": "en0",
|
||||
"interface": "wlp58s0",
|
||||
"name": "wlp58s0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en1",
|
||||
"name": "en1",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en2",
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/be3c2398-9092-4d78-92af-215ba584ca89/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d65cf983-0042-48a7-866c-e14a2acb09b4/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/be3c2398-9092-4d78-92af-215ba584ca89/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d65cf983-0042-48a7-866c-e14a2acb09b4/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3d15b76d-633d-495e-969f-bbada9d23583/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/dff4edfe-a290-47c3-aa89-599e848cdffd/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3d15b76d-633d-495e-969f-bbada9d23583/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/dff4edfe-a290-47c3-aa89-599e848cdffd/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:53 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b4be74c6-88ef-496b-b0d4-988282e777cb/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b4be74c6-88ef-496b-b0d4-988282e777cb/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -9,12 +9,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cf
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Length: 94
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-23/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6dcbdc92-435a-4b17-beaf-8ec8ab75a2e3/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6dcbdc92-435a-4b17-beaf-8ec8ab75a2e3/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate' -d '{"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/321e9656-62f1-4e50-a390-4296f37c9f19/duplicate' -d '{"destination_node_id": "0c4fae0a-6712-4fb2-a85f-713c204de98f"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/321e9656-62f1-4e50-a390-4296f37c9f19/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"
|
||||
"destination_node_id": "0c4fae0a-6712-4fb2-a85f-713c204de98f"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "f327173c-2a79-4dee-b57f-eb60c907483b", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
|
||||
"node_id": "f327173c-2a79-4dee-b57f-eb60c907483b",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
@ -11,10 +11,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 665
|
||||
Content-Length: 614
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
@ -26,8 +26,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/aa8e15e5-218e-4333-9ef0-08b09f4841eb",
|
||||
"node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/f327173c-2a79-4dee-b57f-eb60c907483b",
|
||||
"node_id": "f327173c-2a79-4dee-b57f-eb60c907483b",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8df211ee-c604-4870-b13e-b175a3dff8d7/adapters/1/ports/0/nio' -d '{"ethernet_device": "docker0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8df211ee-c604-4870-b13e-b175a3dff8d7/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"ethernet_device": "docker0",
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
||||
@ -11,11 +11,11 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"ethernet_device": "docker0",
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5b-0e7e-43d0-97ad-56b3c028b933/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98f97bfa-322d-425a-ba2e-d03486033ae9/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5b-0e7e-43d0-97ad-56b3c028b933/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98f97bfa-322d-425a-ba2e-d03486033ae9/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -9,12 +9,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Length: 94
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-23/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/751ce475-5613-443f-8780-5b5972a90129/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/751ce475-5613-443f-8780-5b5972a90129/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate' -d '{"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8142c124-6d3f-4625-a823-4bf6cc153ab1/duplicate' -d '{"destination_node_id": "71b49bc3-8bd3-4c5f-aea9-5d10e9e6f925"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8142c124-6d3f-4625-a823-4bf6cc153ab1/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"
|
||||
"destination_node_id": "71b49bc3-8bd3-4c5f-aea9-5d10e9e6f925"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b2581707-0cb5-489c-b5c8-bd3eaacdd553/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b2581707-0cb5-489c-b5c8-bd3eaacdd553/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/32cba1e5-0164-45a4-872f-82a5f6ef03a4/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/32cba1e5-0164-45a4-872f-82a5f6ef03a4/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 665
|
||||
Content-Length: 614
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -23,8 +23,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/b4040cc6-0b70-4855-a036-1b978d3851d7",
|
||||
"node_id": "b4040cc6-0b70-4855-a036-1b978d3851d7",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/32cba1e5-0164-45a4-872f-82a5f6ef03a4",
|
||||
"node_id": "32cba1e5-0164-45a4-872f-82a5f6ef03a4",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6efba87-de17-4acf-8b20-d87707995a8c/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6efba87-de17-4acf-8b20-d87707995a8c/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
||||
|
@ -10,13 +10,13 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "86f1f9e2-6d50-405f-93a2-dfa80867011a",
|
||||
"node_id": "c7f8a476-550c-44a3-8f05-bf466a41269a",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4c485c6e-cdbe-4c02-aecb-c2d5e780660a/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4c485c6e-cdbe-4c02-aecb-c2d5e780660a/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:24 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
@ -1,20 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1514
|
||||
Content-Length: 1426
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:55:b9:00",
|
||||
"mac_address": "0c:dd:80:13:88:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ae5793fb-4872-4b81-8255-3203266a55b9",
|
||||
"node_id": "ae5793fb-4872-4b81-8255-3203266a55b9",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/996eaefe-4054-4d06-b168-fca77cf51388",
|
||||
"node_id": "996eaefe-4054-4d06-b168-fca77cf51388",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/adapters/1/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5b7ad468-5b30-4ec8-9598-2273b87a2a27/adapters/1/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5b7ad468-5b30-4ec8-9598-2273b87a2a27/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate' -d '{"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/81abf90e-540d-4753-9886-ba6f78507f77/duplicate' -d '{"destination_node_id": "15910e58-81d1-49a5-bf21-6140656abef1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/81abf90e-540d-4753-9886-ba6f78507f77/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"
|
||||
"destination_node_id": "15910e58-81d1-49a5-bf21-6140656abef1"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b809392f-2cca-4018-b52a-78f58c1f9b2d/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b809392f-2cca-4018-b52a-78f58c1f9b2d/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a675150-a956-4af9-a768-6c76f3c2a0e6/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a675150-a956-4af9-a768-6c76f3c2a0e6/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ec1a8d6-2783-4a93-81d3-52ef72e786b0/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ec1a8d6-2783-4a93-81d3-52ef72e786b0/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Length: 1380
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:53:7f:00",
|
||||
"mac_address": "0c:dd:80:86:b0:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d49b3617-cdad-4d3c-99e7-77ae9aad537f",
|
||||
"node_id": "d49b3617-cdad-4d3c-99e7-77ae9aad537f",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8ec1a8d6-2783-4a93-81d3-52ef72e786b0",
|
||||
"node_id": "8ec1a8d6-2783-4a93-81d3-52ef72e786b0",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/af131f35-2b70-403f-a375-f60b84d045a2/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/af131f35-2b70-403f-a375-f60b84d045a2/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/997b4563-2e86-495f-8206-32af33114e7c/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/997b4563-2e86-495f-8206-32af33114e7c/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes HTT
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 487
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
|
||||
|
||||
{
|
||||
@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
|
||||
"node_id": "e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/1b68398c-f7fa-4b53-92f5-a1efeb16fdf3",
|
||||
"node_id": "1b68398c-f7fa-4b53-92f5-a1efeb16fdf3",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b05dd3-f373-4b2b-9365-f81465817510/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b05dd3-f373-4b2b-9365-f81465817510/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate' -d '{"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/f505e6a5-d75d-4f47-9064-c9f2d8708846/duplicate' -d '{"destination_node_id": "36bb4ff2-7fb5-4080-ba98-5fbe0625c04e"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/f505e6a5-d75d-4f47-9064-c9f2d8708846/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"
|
||||
"destination_node_id": "36bb4ff2-7fb5-4080-ba98-5fbe0625c04e"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/14c101ad-5405-46fc-b48a-b9c78cbddb7a/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/14c101ad-5405-46fc-b48a-b9c78cbddb7a/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start' -d '{"destination": "192.168.1.2"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c5b071ef-6ad6-4f0a-a98d-9246893d5381/start' -d '{"destination": "192.168.1.2"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c5b071ef-6ad6-4f0a-a98d-9246893d5381/start HTTP/1.1
|
||||
{
|
||||
"destination": "192.168.1.2"
|
||||
}
|
||||
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/442
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 487
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/4422948c-70b0-42ab-8448-ad136e433915",
|
||||
"node_id": "4422948c-70b0-42ab-8448-ad136e433915",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/c5b071ef-6ad6-4f0a-a98d-9246893d5381",
|
||||
"node_id": "c5b071ef-6ad6-4f0a-a98d-9246893d5381",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/cbc40285-fb57-4966-b9b1-7bf924c8073b/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/cbc40285-fb57-4966-b9b1-7bf924c8073b/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop
|
||||
|
||||
|
@ -12,8 +12,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 459
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "e649e24c-a24b-4f43-8d60-42a054924fde",
|
||||
"node_id": "8275c17b-1e23-4d65-ab30-be28889654ca",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de29fdcc-31c0-4884-9f3e-70ca810e4226/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a4a279d1-05d8-430b-ae0c-87e43a9f8c1c/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de29fdcc-31c0-4884-9f3e-70ca810e4226/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a4a279d1-05d8-430b-ae0c-87e43a9f8c1c/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee6d3ea2-9dd4-4188-bf11-cd7ae686f03d/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee6d3ea2-9dd4-4188-bf11-cd7ae686f03d/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/53dbeaff-87f6-4307-bf63-70ea0b2e85e7/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/53dbeaff-87f6-4307-bf63-70ea0b2e85e7/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d1bb85b-0679-43bc-9b9d-5cc5939a536a/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d1bb85b-0679-43bc-9b9d-5cc5939a536a/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1007a005-6855-4489-baa7-74027987ced8/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1007a005-6855-4489-baa7-74027987ced8/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e12f4ce0-e95d-4902-af89-7254ba139257/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e12f4ce0-e95d-4902-af89-7254ba139257/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -1,19 +1,19 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes' -d '{"linked_clone": false, "name": "VM1", "vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes' -d '{"linked_clone": false, "name": "VM1", "vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes HTTP/1.1
|
||||
{
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 688
|
||||
Content-Length: 593
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:59 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
|
||||
{
|
||||
@ -25,10 +25,10 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/049de18e-e9b8-4b96-85b7-b81ef50ca43b",
|
||||
"node_id": "049de18e-e9b8-4b96-85b7-b81ef50ca43b",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/7973e845-5a86-463b-bdbc-480cd83c76a2",
|
||||
"node_id": "7973e845-5a86-463b-bdbc-480cd83c76a2",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a5bc0194-75eb-4b7f-a078-e201109e2054/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/b36bfb79-8a80-4f43-b07c-941e627c2739/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a5bc0194-75eb-4b7f-a078-e201109e2054/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/b36bfb79-8a80-4f43-b07c-941e627c2739/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:38 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:06 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/67427544-9d8b-4848-a93a-356ef427f09c/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/67427544-9d8b-4848-a93a-356ef427f09c/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:36 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:05 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a954d747-7ec9-4795-b482-1b366dbaf646/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a954d747-7ec9-4795-b482-1b366dbaf646/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:35 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:04 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0f742ab4-7f42-4a1d-8aae-c25b8ca4fca1/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0f742ab4-7f42-4a1d-8aae-c25b8ca4fca1/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:32 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:01 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/c1411225-a163-45a3-9208-331974e57bac/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/c1411225-a163-45a3-9208-331974e57bac/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:33 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:02 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8a9d9746-9c04-48e3-9844-dcd045b82bac/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8a9d9746-9c04-48e3-9844-dcd045b82bac/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:34 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:03 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/dd2fd65a-97d2-4e59-9627-b733fe88ee78",
|
||||
"node_id": "dd2fd65a-97d2-4e59-9627-b733fe88ee78",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f5402839-7326-45d0-ba3a-e79802c4a174",
|
||||
"node_id": "f5402839-7326-45d0-ba3a-e79802c4a174",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b1f7cb30-08aa-48cb-9059-2e741c8148aa/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1cd251f2-1ae0-4db3-b65a-0b06112f257f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b1f7cb30-08aa-48cb-9059-2e741c8148aa/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1cd251f2-1ae0-4db3-b65a-0b06112f257f/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate' -d '{"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/549c8308-17b4-489a-aada-da5732a6782c/duplicate' -d '{"destination_node_id": "7584853c-5823-40a1-ad12-de25df0aceb4"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/549c8308-17b4-489a-aada-da5732a6782c/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"
|
||||
"destination_node_id": "7584853c-5823-40a1-ad12-de25df0aceb4"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e48c28b3-7ed1-474e-bf6e-7c5e34cf95c9/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e48c28b3-7ed1-474e-bf6e-7c5e34cf95c9/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b229a64-e4ea-4fa3-8fae-36076c22ad27/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b229a64-e4ea-4fa3-8fae-36076c22ad27/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
|
||||
"node_id": "a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8b229a64-e4ea-4fa3-8fae-36076c22ad27",
|
||||
"node_id": "8b229a64-e4ea-4fa3-8fae-36076c22ad27",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/26d103b2-68a8-4041-8776-b0c9af129dfb/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/26d103b2-68a8-4041-8776-b0c9af129dfb/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
||||
|
@ -17,7 +17,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
||||
|
@ -15,8 +15,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 183
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f7f02c3a-77a4-4c7f-a36c-afa04af08e8f' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f7f02c3a-77a4-4c7f-a36c-afa04af08e8f HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
@ -8,46 +8,31 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d96486
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2923
|
||||
Content-Length: 1605
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:53 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"name": "docker0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"name": "lo",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"name": "virbr0-nic",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -57,52 +42,17 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet11",
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet12",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet13",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet14",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet15",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet16",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -110,29 +60,22 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "wlp58s0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/d964862d-8fa4-4d41-8b95-539c987d5828",
|
||||
"node_id": "d964862d-8fa4-4d41-8b95-539c987d5828",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/builtin/f7f02c3a-77a4-4c7f-a36c-afa04af08e8f",
|
||||
"node_id": "f7f02c3a-77a4-4c7f-a36c-afa04af08e8f",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
"name": "en0",
|
||||
"interface": "wlp58s0",
|
||||
"name": "wlp58s0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en1",
|
||||
"name": "en1",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en2",
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6c8c9048-cce6-48dd-ba26-4cd02f323a97/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/adapters/0/ports/0/nio HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6c8c9048-cce6-48dd-ba26-4cd02f323a97/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
@ -14,8 +14,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "extra_hosts": "test:127.0.0.1", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/be93d701-3fc7-444b-980f-8b87251f3b1a' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "extra_hosts": "test:127.0.0.1", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/be93d701-3fc7-444b-980f-8b87251f3b1a HTTP/1.1
|
||||
{
|
||||
"console": 5006,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
@ -12,10 +12,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e65
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 690
|
||||
Content-Length: 639
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -31,8 +31,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"extra_hosts": "test:127.0.0.1",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/d7e6571d-5d3c-42e3-9c88-5837c862a30f",
|
||||
"node_id": "d7e6571d-5d3c-42e3-9c88-5837c862a30f",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/docker/be93d701-3fc7-444b-980f-8b87251f3b1a",
|
||||
"node_id": "be93d701-3fc7-444b-980f-8b87251f3b1a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/28827b16-356e-45b5-9615-f9cba6ae1c8d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/244e4d0a-8c9a-44c5-ba34-7432e9eef6ab/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/28827b16-356e-45b5-9615-f9cba6ae1c8d/adapters/0/ports/0/nio HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/244e4d0a-8c9a-44c5-ba34-7432e9eef6ab/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:53 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/526cbb33-9ffb-4ad3-8d63-ab26b94cfb73' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c0596699-5195-4264-9474-104e4f7fb78f' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/526cbb33-9ffb-4ad3-8d63-ab26b94cfb73 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c0596699-5195-4264-9474-104e4f7fb78f HTTP/1.1
|
||||
{
|
||||
"console": 5005,
|
||||
"ethernet_adapters": 4,
|
||||
@ -15,10 +15,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/526cbb33
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 660
|
||||
Content-Length: 609
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -30,8 +30,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/526cbb33-9ffb-4ad3-8d63-ab26b94cfb73",
|
||||
"node_id": "526cbb33-9ffb-4ad3-8d63-ab26b94cfb73",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/c0596699-5195-4264-9474-104e4f7fb78f",
|
||||
"node_id": "c0596699-5195-4264-9474-104e4f7fb78f",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4a3b6244-dcac-45f5-94d0-c86f960489dc/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cb23fedd-a9b6-4f3e-8a6d-f7d7d1a831dd/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4a3b6244-dcac-45f5-94d0-c86f960489dc/adapters/1/ports/0/nio HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cb23fedd-a9b6-4f3e-8a6d-f7d7d1a831dd/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
@ -14,8 +14,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d7edeb26-7166-4019-92e8-ac656548da7b' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/fd756ada-a45f-4f28-97a5-18f0677bfed5' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d7edeb26-7166-4019-92e8-ac656548da7b HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/fd756ada-a45f-4f28-97a5-18f0677bfed5 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
@ -10,13 +10,13 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:24 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"node_id": "d7edeb26-7166-4019-92e8-ac656548da7b",
|
||||
"node_id": "fd756ada-a45f-4f28-97a5-18f0677bfed5",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a5334edf-1b67-43f5-8ec4-403d55a29e3b/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/88e43fa4-28a5-40dc-824a-1f504f25e1d9/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a5334edf-1b67-43f5-8ec4-403d55a29e3b/adapters/0/ports/0/nio HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/88e43fa4-28a5-40dc-824a-1f504f25e1d9/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
@ -14,8 +14,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e5160c4-dafe-4e46-abfc-9a43b94d4750' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5bf81180-e252-40a9-b2c7-204c27da614a' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e5160c4-dafe-4e46-abfc-9a43b94d4750 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5bf81180-e252-40a9-b2c7-204c27da614a HTTP/1.1
|
||||
{
|
||||
"console": 5006,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
@ -11,10 +11,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e5160c
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1509
|
||||
Content-Length: 1421
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:47:50:00",
|
||||
"mac_address": "0c:dd:80:61:4a:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7e5160c4-dafe-4e46-abfc-9a43b94d4750",
|
||||
"node_id": "7e5160c4-dafe-4e46-abfc-9a43b94d4750",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/5bf81180-e252-40a9-b2c7-204c27da614a",
|
||||
"node_id": "5bf81180-e252-40a9-b2c7-204c27da614a",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/92635984-c34c-4e50-a07e-499fe66a14f4/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c2961c74-fa8a-4574-a74d-148397421b7d/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/92635984-c34c-4e50-a07e-499fe66a14f4/adapters/1/ports/0/nio HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c2961c74-fa8a-4574-a74d-148397421b7d/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
@ -14,8 +14,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/865521e4-1ebf-4c23-bedf-01263f49e78d' -d '{"ip_address": "192.168.1.1", "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/6f68f3b1-51b9-4676-a31a-97f5ac344b28' -d '{"ip_address": "192.168.1.1", "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/865521e4-1ebf-4c23-bedf-01263f49e78d HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/6f68f3b1-51b9-4676-a31a-97f5ac344b28 HTTP/1.1
|
||||
{
|
||||
"ip_address": "192.168.1.1",
|
||||
"name": "test"
|
||||
@ -9,10 +9,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8655
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 488
|
||||
Content-Length: 444
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -22,8 +22,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
"default_destination": "",
|
||||
"ip_address": "192.168.1.1",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/865521e4-1ebf-4c23-bedf-01263f49e78d",
|
||||
"node_id": "865521e4-1ebf-4c23-bedf-01263f49e78d",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/6f68f3b1-51b9-4676-a31a-97f5ac344b28",
|
||||
"node_id": "6f68f3b1-51b9-4676-a31a-97f5ac344b28",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/20aef678-88ed-4b4e-b834-df52f40d90f4/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/08ecb6d5-7173-44e9-974e-43595f8add14/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/20aef678-88ed-4b4e-b834-df52f40d90f4/adapters/0/ports/0/nio HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/08ecb6d5-7173-44e9-974e-43595f8add14/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
@ -14,8 +14,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user