The server has now 2 notification streams

* A new one for controller related events (compute, appliance templates etc.)
* The existing one for project related events (links, nodes etc.)
This commit is contained in:
grossmj 2018-08-16 21:31:56 +07:00
parent dac3ba19b7
commit 7f72b90b0e
364 changed files with 12364 additions and 9923 deletions

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f95094c7-e60b-494a-9e2e-1029e8ba7520'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d8eaa38d-0063-4477-afc4-9f0334556534'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f95094c7-e60b-494a-9e2e-1029e8ba7520 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d8eaa38d-0063-4477-afc4-9f0334556534 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:53 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d2267a86-1326-4da5-b18a-811a0a6fa9ff/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cb9bad9b-ce54-4e3d-bfc8-ce71102679f3/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d2267a86-1326-4da5-b18a-811a0a6fa9ff/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, 14 Jun 2018 08:34:52 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ae79f459-9448-4fb9-9e40-9da73896c6cd/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f1895cc9-b108-4d2d-9124-4dce48c1c129/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ae79f459-9448-4fb9-9e40-9da73896c6cd/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, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:43 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66c8500b-f0d5-44c9-82c1-0d3da540244e'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e0005a1-5dca-48d9-817c-35f21aaef1c4'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66c8500b-f0d5-44c9-82c1-0d3da540244e HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e0005a1-5dca-48d9-817c-35f21aaef1c4 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4919875c-7855-4ea2-8a34-91f45bb8e1bc/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d6229240-1a46-4d3c-a1a9-337d26a77b5e/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4919875c-7855-4ea2-8a34-91f45bb8e1bc/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, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:46 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a2593fd-366d-4522-a97e-073a181286d2'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d79de987-ccbe-4907-a330-3f9cbcf6cba6'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a2593fd-366d-4522-a97e-073a181286d2 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d79de987-ccbe-4907-a330-3f9cbcf6cba6 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2dce6643-e5d7-41ac-94f6-2098e4445d7a/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2ba5227f-4507-4711-844a-99dec989438e/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2dce6643-e5d7-41ac-94f6-2098e4445d7a/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, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3473a78b-a3f5-4881-8b9e-f19aa53bd728'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/452bee0f-a2eb-4308-8a4f-19f77e18f61e'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3473a78b-a3f5-4881-8b9e-f19aa53bd728 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/452bee0f-a2eb-4308-8a4f-19f77e18f61e HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:57 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35f8b733-3fa0-4bfa-9ebc-fe7fdca23ad1/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7c89c8c7-e145-4025-a087-a7d7e07d608f/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35f8b733-3fa0-4bfa-9ebc-fe7fdca23ad1/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, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:59 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9ec32584-d2e6-4755-9e90-43a6f183eb4b'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/05358081-f4c6-4848-a2c1-4b6b29bb705b'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9ec32584-d2e6-4755-9e90-43a6f183eb4b HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/05358081-f4c6-4848-a2c1-4b6b29bb705b HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/3472e2d0-b2a9-4e37-9bd0-263df285b533/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0d9d51bc-c5a5-45a9-ad54-5f6e9f363cdf/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/3472e2d0-b2a9-4e37-9bd0-263df285b533/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, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c4a086a0-d3be-44bb-9195-1d4acc3049a6/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e829e5dc-bd64-4143-ae29-fae4badae401/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c4a086a0-d3be-44bb-9195-1d4acc3049a6/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, 14 Jun 2018 08:34:59 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a99d1059-7607-4a7e-8045-42656e992aee/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d5bc283f-2d66-4cf6-8ee2-98ad1262b32f/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a99d1059-7607-4a7e-8045-42656e992aee/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, 14 Jun 2018 08:35:09 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:16 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffbdfb95-bf03-4183-8a10-9d33f16ac422'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7246e203-ee97-46af-9548-b465c0a6f113'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffbdfb95-bf03-4183-8a10-9d33f16ac422 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7246e203-ee97-46af-9548-b465c0a6f113 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7354ac65-220b-45de-99f3-36903af1e321/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4696f8f1-830d-4075-bd0e-717732c8dec5/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7354ac65-220b-45de-99f3-36903af1e321/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, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 366
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:52 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/capabilities
{
@ -30,5 +30,5 @@ X-Route: /v2/compute/capabilities
"iou"
],
"platform": "linuxdebian",
"version": "2.1.8dev1"
"version": "2.2.0dev2"
}

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 149
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:46 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/iou/images
[

View File

@ -6,17 +6,17 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 2298
Content-Length: 2297
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/network/interfaces
[
{
"id": "docker0",
"ip_address": "172.17.0.1",
"mac_address": "02:42:3f:1f:8d:78",
"mac_address": "02:42:3d:0c:1b:8e",
"name": "docker0",
"netmask": "255.255.0.0",
"special": true,
@ -96,10 +96,10 @@ X-Route: /v2/compute/network/interfaces
},
{
"id": "wlp58s0",
"ip_address": "192.168.208.79",
"ip_address": "192.168.0.110",
"mac_address": "9c:b6:d0:dc:20:29",
"name": "wlp58s0",
"netmask": "255.255.248.0",
"netmask": "255.255.255.0",
"special": false,
"type": "ethernet"
}

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 252
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 103
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}
{

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b81b6f71-e77e-4b7b-8db9-916d4fa832e3'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b81b6f71-e77e-4b7b-8db9-916d4fa832e3 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1608
Content-Length: 1742
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:52 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@ -66,8 +66,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"name": "Cloud 1",
"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",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/builtin/5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e",
"node_id": "5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e",
"ports_mapping": [
{
"interface": "wlp58s0",
@ -77,5 +77,9 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"remote_console_host": "",
"remote_console_http_path": "/",
"remote_console_port": 23,
"remote_console_type": "none",
"status": "started"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/24da23c5-ca8a-40e7-9027-073280a7c93d'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/24da23c5-ca8a-40e7-9027-073280a7c93d HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 614
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604",
"node_id": "2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/iou/24da23c5-ca8a-40e7-9027-073280a7c93d",
"node_id": "24da23c5-ca8a-40e7-9027-073280a7c93d",
"nvram": 128,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/aa1d9e41-69f6-4963-9d02-480579c677ba'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/19e61671-f1eb-4d3c-a36a-de70fb85f0a5'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/aa1d9e41-69f6-4963-9d02-480579c677ba HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/19e61671-f1eb-4d3c-a36a-de70fb85f0a5 HTTP/1.1
@ -8,13 +8,13 @@ HTTP/1.1 200
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "aa1d9e41-69f6-4963-9d02-480579c677ba",
"node_id": "19e61671-f1eb-4d3c-a36a-de70fb85f0a5",
"ports_mapping": [
{
"interface": "virbr0",

View File

@ -1,19 +1,18 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e8bbffed-1df7-4d26-a087-da71227cbfeb'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c0797ce4-96ec-4cd2-9521-d1656750a0d5'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e8bbffed-1df7-4d26-a087-da71227cbfeb HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c0797ce4-96ec-4cd2-9521-d1656750a0d5 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1380
Content-Length: 1381
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:53 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
@ -44,15 +43,16 @@ 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:bf:eb:00",
"mac_address": "0c:dd:80:a0:d5:00",
"name": "PC TEST 1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c0797ce4-96ec-4cd2-9521-d1656750a0d5",
"node_id": "c0797ce4-96ec-4cd2-9521-d1656750a0d5",
"on_close": "power_off",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/31217585-67d0-48b8-b629-97282dd2529e'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/e8f638f9-e665-484c-92d2-dc4aa93d6cc9'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/31217585-67d0-48b8-b629-97282dd2529e HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/e8f638f9-e665-484c-92d2-dc4aa93d6cc9 HTTP/1.1
@ -8,19 +8,19 @@ HTTP/1.1 200
Connection: close
Content-Length: 443
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"console": null,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/e8f638f9-e665-484c-92d2-dc4aa93d6cc9",
"node_id": "e8f638f9-e665-484c-92d2-dc4aa93d6cc9",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,19 +1,18 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/49b530f4-2887-4493-8863-5ba7b7ca65c6'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/966c89b1-ff22-43b8-af91-f6c1289def7b'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/49b530f4-2887-4493-8863-5ba7b7ca65c6 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/966c89b1-ff22-43b8-af91-f6c1289def7b HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 465
Content-Length: 466
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5004,
@ -22,7 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "49b530f4-2887-4493-8863-5ba7b7ca65c6",
"node_id": "966c89b1-ff22-43b8-af91-f6c1289def7b",
"on_close": "power_off",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,19 +1,18 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1da29a87-e7df-48f5-a409-2627e47f6895'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cefc6d01-0b0a-4d60-80f7-0b89f43a2a97'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1da29a87-e7df-48f5-a409-2627e47f6895 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cefc6d01-0b0a-4d60-80f7-0b89f43a2a97 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 593
Content-Length: 594
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:35:00 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:07 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 0,
"console": 5004,
@ -21,10 +20,11 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/cefc6d01-0b0a-4d60-80f7-0b89f43a2a97",
"node_id": "cefc6d01-0b0a-4d60-80f7-0b89f43a2a97",
"on_close": "power_off",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped",
"use_any_adapter": false,
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_get0/test.vmx"
"vmx_path": "/tmp/pytest-of-grossmj/pytest-19/test_vmware_get0/test.vmx"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4fb4e4c1-0c99-464b-a518-8682d7ce3d41'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4fb4e4c1-0c99-464b-a518-8682d7ce3d41 HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 384
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7",
"node_id": "2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/4fb4e4c1-0c99-464b-a518-8682d7ce3d41",
"node_id": "4fb4e4c1-0c99-464b-a518-8682d7ce3d41",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -12,8 +12,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 212
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:00 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/qemu/binaries
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 39
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:04 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/qemu/capabilities
{

View File

@ -8,11 +8,11 @@ HTTP/1.1 200
Connection: close
Content-Length: 49
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/version
{
"local": true,
"version": "2.1.8dev1"
"version": "2.2.0dev2"
}

View File

@ -11,8 +11,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 103
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects
{

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/close

View File

@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201
Connection: close
Content-Length: 1608
Content-Length: 1742
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:52 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{
@ -68,8 +68,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
}
],
"name": "Cloud 1",
"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",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/builtin/febb8530-37b2-4121-afdd-ce614170245b",
"node_id": "febb8530-37b2-4121-afdd-ce614170245b",
"ports_mapping": [
{
"interface": "wlp58s0",
@ -79,5 +79,9 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"remote_console_host": "",
"remote_console_http_path": "/",
"remote_console_port": 23,
"remote_console_type": "none",
"status": "started"
}

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a64874d0-1e1f-4aa2-a48d-bb03bd7e280f/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/d65cf983-0042-48a7-866c-e14a2acb09b4/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a64874d0-1e1f-4aa2-a48d-bb03bd7e280f/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, 14 Jun 2018 08:34:52 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bad56b1f-39a2-4c9b-90b8-6237793dd536/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/dff4edfe-a290-47c3-aa89-599e848cdffd/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bad56b1f-39a2-4c9b-90b8-6237793dd536/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, 14 Jun 2018 08:34:53 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:42 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/571caef6-e438-48d2-aaa7-88f5c0eed2c0/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/b4be74c6-88ef-496b-b0d4-988282e777cb/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/571caef6-e438-48d2-aaa7-88f5c0eed2c0/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -11,10 +11,10 @@ HTTP/1.1 200
Connection: close
Content-Length: 94
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:43 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-23/test_json4/tmp/captures/test.pcap"
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-19/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
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 '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f544dbe9-a742-4beb-b6de-74e3f62c0fb0/adapters/0/ports/0/stop_capture' -d '{}'
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
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f544dbe9-a742-4beb-b6de-74e3f62c0fb0/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, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:43 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,8 +1,8 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a0d11f0c-cc1a-41e5-b2fe-5d2303e49b99/duplicate' -d '{"destination_node_id": "4f58938a-d98e-4933-b0b3-ceb0534e2f33"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/321e9656-62f1-4e50-a390-4296f37c9f19/duplicate HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a0d11f0c-cc1a-41e5-b2fe-5d2303e49b99/duplicate HTTP/1.1
{
"destination_node_id": "0c4fae0a-6712-4fb2-a85f-713c204de98f"
"destination_node_id": "4f58938a-d98e-4933-b0b3-ceb0534e2f33"
}
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:43 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
true

View File

@ -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": "f327173c-2a79-4dee-b57f-eb60c907483b", "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": "67e11483-dd42-4a0d-bef6-d5c8af9eaaec", "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": "f327173c-2a79-4dee-b57f-eb60c907483b",
"node_id": "67e11483-dd42-4a0d-bef6-d5c8af9eaaec",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 614
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/f327173c-2a79-4dee-b57f-eb60c907483b",
"node_id": "f327173c-2a79-4dee-b57f-eb60c907483b",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/iou/67e11483-dd42-4a0d-bef6-d5c8af9eaaec",
"node_id": "67e11483-dd42-4a0d-bef6-d5c8af9eaaec",
"nvram": 128,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2bf5166d-6369-4654-995a-c8dffe61c6af/adapters/1/ports/0/nio' -d '{"ethernet_device": "docker0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8df211ee-c604-4870-b13e-b175a3dff8d7/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2bf5166d-6369-4654-995a-c8dffe61c6af/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "docker0",
"type": "nio_ethernet"
@ -11,8 +11,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 64
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/305c77a5-c71a-4b75-834a-ccdaeae83636/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/98f97bfa-322d-425a-ba2e-d03486033ae9/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/305c77a5-c71a-4b75-834a-ccdaeae83636/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -11,10 +11,10 @@ HTTP/1.1 200
Connection: close
Content-Length: 94
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:46 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-23/test_json4/tmp/captures/test.pcap"
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-19/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
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 '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/97585aea-38f1-48a1-8128-85d5329a173d/adapters/0/ports/0/stop_capture' -d '{}'
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
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/97585aea-38f1-48a1-8128-85d5329a173d/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, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:46 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,8 +1,8 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/882ebd5d-2fc9-4e9d-8b8c-f345c034c7a1/duplicate' -d '{"destination_node_id": "6266c1ee-5419-4cbb-9f43-60ece8a78f42"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8142c124-6d3f-4625-a823-4bf6cc153ab1/duplicate HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/882ebd5d-2fc9-4e9d-8b8c-f345c034c7a1/duplicate HTTP/1.1
{
"destination_node_id": "71b49bc3-8bd3-4c5f-aea9-5d10e9e6f925"
"destination_node_id": "6266c1ee-5419-4cbb-9f43-60ece8a78f42"
}
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b2581707-0cb5-489c-b5c8-bd3eaacdd553/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/54ebd9d0-3036-4366-8e4f-ca7261953adf/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b2581707-0cb5-489c-b5c8-bd3eaacdd553/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/54ebd9d0-3036-4366-8e4f-ca7261953adf/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2b4666ea-9ba2-466a-ad9e-d195c84a0d92/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/32cba1e5-0164-45a4-872f-82a5f6ef03a4/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2b4666ea-9ba2-466a-ad9e-d195c84a0d92/start HTTP/1.1
{
"iourc_content": "test"
}
@ -10,8 +10,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 614
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/32cba1e5-0164-45a4-872f-82a5f6ef03a4",
"node_id": "32cba1e5-0164-45a4-872f-82a5f6ef03a4",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/iou/2b4666ea-9ba2-466a-ad9e-d195c84a0d92",
"node_id": "2b4666ea-9ba2-466a-ad9e-d195c84a0d92",
"nvram": 128,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6efba87-de17-4acf-8b20-d87707995a8c/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/59c5fa96-21a0-4d57-8cd0-ebf89fbe67d1/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6efba87-de17-4acf-8b20-d87707995a8c/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/59c5fa96-21a0-4d57-8cd0-ebf89fbe67d1/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop

View File

@ -10,13 +10,13 @@ HTTP/1.1 201
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "c7f8a476-550c-44a3-8f05-bf466a41269a",
"node_id": "0fb0a36d-497e-4a6e-a00a-40b4711eabe4",
"ports_mapping": [
{
"interface": "virbr0",

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a7d7f761-e36c-47b0-b949-4361ab8419aa/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/4c485c6e-cdbe-4c02-aecb-c2d5e780660a/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a7d7f761-e36c-47b0-b949-4361ab8419aa/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, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -8,8 +8,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 25
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/ports/udp
{

View File

@ -1,24 +1,23 @@
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}'
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/tmp5fl9r7cg/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": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
"ram": 1024
}
HTTP/1.1 201
Connection: close
Content-Length: 1426
Content-Length: 1427
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:53 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
@ -49,15 +48,16 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "0c:dd:80:13:88:00",
"mac_address": "0c:dd:80:7a:3c:00",
"name": "PC TEST 1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/23785ce8-3c77-44cf-becf-f10b539a7a3c",
"node_id": "23785ce8-3c77-44cf-becf-f10b539a7a3c",
"on_close": "power_off",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a1bf07e-161e-4498-8460-0a7b7f213b19/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/5b7ad468-5b30-4ec8-9598-2273b87a2a27/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a1bf07e-161e-4498-8460-0a7b7f213b19/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, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:58 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,8 +1,8 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80d655e8-9672-4135-84e9-e2fdeeb4860b/duplicate' -d '{"destination_node_id": "70e13ffc-681d-49ed-910b-664ed570386c"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/81abf90e-540d-4753-9886-ba6f78507f77/duplicate HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80d655e8-9672-4135-84e9-e2fdeeb4860b/duplicate HTTP/1.1
{
"destination_node_id": "15910e58-81d1-49a5-bf21-6140656abef1"
"destination_node_id": "70e13ffc-681d-49ed-910b-664ed570386c"
}
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:04 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b809392f-2cca-4018-b52a-78f58c1f9b2d/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/539e7eea-8299-449e-8edc-f4dc9fc6a78e/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b809392f-2cca-4018-b52a-78f58c1f9b2d/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/539e7eea-8299-449e-8edc-f4dc9fc6a78e/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:55 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a675150-a956-4af9-a768-6c76f3c2a0e6/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/26dbe6f7-487b-4343-8684-e0ba8ff44be7/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a675150-a956-4af9-a768-6c76f3c2a0e6/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/26dbe6f7-487b-4343-8684-e0ba8ff44be7/resume HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:56 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume

View File

@ -1,19 +1,18 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ec1a8d6-2783-4a93-81d3-52ef72e786b0/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/23fcd2bc-9a7d-4b5f-98ac-8d89f8018e7b/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ec1a8d6-2783-4a93-81d3-52ef72e786b0/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/23fcd2bc-9a7d-4b5f-98ac-8d89f8018e7b/start HTTP/1.1
{}
HTTP/1.1 200
Connection: close
Content-Length: 1380
Content-Length: 1381
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:55 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
@ -44,15 +43,16 @@ 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:86:b0:00",
"mac_address": "0c:dd:80:8e:7b:00",
"name": "PC TEST 1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/23fcd2bc-9a7d-4b5f-98ac-8d89f8018e7b",
"node_id": "23fcd2bc-9a7d-4b5f-98ac-8d89f8018e7b",
"on_close": "power_off",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/af131f35-2b70-403f-a375-f60b84d045a2/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ee0bcce-e82e-4118-85d0-7d42adc17d20/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/af131f35-2b70-403f-a375-f60b84d045a2/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ee0bcce-e82e-4118-85d0-7d42adc17d20/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:55 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/997b4563-2e86-495f-8206-32af33114e7c/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/987b2e4b-217e-4753-b68b-8d2446ea3c22/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/997b4563-2e86-495f-8206-32af33114e7c/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/987b2e4b-217e-4753-b68b-8d2446ea3c22/suspend HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:55 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend

View File

@ -10,19 +10,19 @@ HTTP/1.1 201
Connection: close
Content-Length: 443
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
{
"command_line": "",
"console": 5004,
"console": null,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/7ba1137d-09a7-420b-9e8e-8db58305958b",
"node_id": "7ba1137d-09a7-420b-9e8e-8db58305958b",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/80621873-7708-43c4-8ace-3f2a282262ad/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/69b05dd3-f373-4b2b-9365-f81465817510/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/80621873-7708-43c4-8ace-3f2a282262ad/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, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,8 +1,8 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1eabddf4-b65e-4261-8b4e-713c8b2f7bbb/duplicate' -d '{"destination_node_id": "27018f55-c273-4f98-a354-ffb038d99390"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/f505e6a5-d75d-4f47-9064-c9f2d8708846/duplicate HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1eabddf4-b65e-4261-8b4e-713c8b2f7bbb/duplicate HTTP/1.1
{
"destination_node_id": "36bb4ff2-7fb5-4080-ba98-5fbe0625c04e"
"destination_node_id": "27018f55-c273-4f98-a354-ffb038d99390"
}
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/14c101ad-5405-46fc-b48a-b9c78cbddb7a/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/b52d517e-3865-4e8b-b927-f520106705ec/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/14c101ad-5405-46fc-b48a-b9c78cbddb7a/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/b52d517e-3865-4e8b-b927-f520106705ec/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c3b8f66c-6191-4826-82c2-3c183d2e159c/start' -d '{"destination": "192.168.1.2"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c5b071ef-6ad6-4f0a-a98d-9246893d5381/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c3b8f66c-6191-4826-82c2-3c183d2e159c/start HTTP/1.1
{
"destination": "192.168.1.2"
}
@ -10,19 +10,19 @@ HTTP/1.1 200
Connection: close
Content-Length: 443
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
{
"command_line": "",
"console": 5004,
"console": null,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/c3b8f66c-6191-4826-82c2-3c183d2e159c",
"node_id": "c3b8f66c-6191-4826-82c2-3c183d2e159c",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/cbc40285-fb57-4966-b9b1-7bf924c8073b/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/438b6bdc-4f4b-4367-831d-253d4be4bbb6/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/cbc40285-fb57-4966-b9b1-7bf924c8073b/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/438b6bdc-4f4b-4367-831d-253d4be4bbb6/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop

View File

@ -10,14 +10,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
HTTP/1.1 201
Connection: close
Content-Length: 459
Content-Length: 460
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5004,
@ -26,7 +25,8 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "8275c17b-1e23-4d65-ab30-be28889654ca",
"node_id": "57acf8e0-a72c-45a2-8fcf-a065b37e9c7a",
"on_close": "power_off",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7a48f127-6b01-43b7-8a75-3fac422bf0d2/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/a4a279d1-05d8-430b-ae0c-87e43a9f8c1c/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7a48f127-6b01-43b7-8a75-3fac422bf0d2/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, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee6d3ea2-9dd4-4188-bf11-cd7ae686f03d/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3fad03f-5133-4ef1-8ff5-f1a240b72c14/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee6d3ea2-9dd4-4188-bf11-cd7ae686f03d/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3fad03f-5133-4ef1-8ff5-f1a240b72c14/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/53dbeaff-87f6-4307-bf63-70ea0b2e85e7/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8df4a431-7f2e-4a47-8f99-d9f14b19a4ef/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/53dbeaff-87f6-4307-bf63-70ea0b2e85e7/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8df4a431-7f2e-4a47-8f99-d9f14b19a4ef/resume HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d1bb85b-0679-43bc-9b9d-5cc5939a536a/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/cdca93c2-95aa-467b-a79b-00f93d63022e/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d1bb85b-0679-43bc-9b9d-5cc5939a536a/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/cdca93c2-95aa-467b-a79b-00f93d63022e/start HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1007a005-6855-4489-baa7-74027987ced8/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/74be1229-8889-47a4-86cc-f9a7352d717b/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1007a005-6855-4489-baa7-74027987ced8/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/74be1229-8889-47a4-86cc-f9a7352d717b/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e12f4ce0-e95d-4902-af89-7254ba139257/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0c88c5fb-baa8-4ceb-9325-6cceb4a86766/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e12f4ce0-e95d-4902-af89-7254ba139257/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0c88c5fb-baa8-4ceb-9325-6cceb4a86766/suspend HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend

View File

@ -1,23 +1,22 @@
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"}'
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-19/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": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"
"vmx_path": "/tmp/pytest-of-grossmj/pytest-19/test_vmware_create0/test.vmx"
}
HTTP/1.1 201
Connection: close
Content-Length: 593
Content-Length: 594
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:59 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 0,
"console": 5004,
@ -25,10 +24,11 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes
"headless": false,
"linked_clone": false,
"name": "VM1",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/3f14057f-de2e-4254-b140-3ed8430c1f87",
"node_id": "3f14057f-de2e-4254-b140-3ed8430c1f87",
"on_close": "power_off",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped",
"use_any_adapter": false,
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"
"vmx_path": "/tmp/pytest-of-grossmj/pytest-19/test_vmware_create0/test.vmx"
}

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ecd4a281-3878-47a1-a174-2ea3d9564b56/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/b36bfb79-8a80-4f43-b07c-941e627c2739/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ecd4a281-3878-47a1-a174-2ea3d9564b56/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, 14 Jun 2018 08:35:06 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:14 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/67427544-9d8b-4848-a93a-356ef427f09c/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cb704a4-44c4-4c9e-b522-4908fd91fc68/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/67427544-9d8b-4848-a93a-356ef427f09c/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cb704a4-44c4-4c9e-b522-4908fd91fc68/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:05 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:13 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a954d747-7ec9-4795-b482-1b366dbaf646/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/81633c23-b08b-4797-9140-762cd25e1628/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a954d747-7ec9-4795-b482-1b366dbaf646/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/81633c23-b08b-4797-9140-762cd25e1628/resume HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:04 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:12 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0f742ab4-7f42-4a1d-8aae-c25b8ca4fca1/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8e20d77f-8544-4c7b-bc62-80fd8fdede7f/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0f742ab4-7f42-4a1d-8aae-c25b8ca4fca1/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8e20d77f-8544-4c7b-bc62-80fd8fdede7f/start HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:01 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:09 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/c1411225-a163-45a3-9208-331974e57bac/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fe5caf38-15d9-445e-b85d-4b6b5a2753f0/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/c1411225-a163-45a3-9208-331974e57bac/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fe5caf38-15d9-445e-b85d-4b6b5a2753f0/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:02 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:10 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8a9d9746-9c04-48e3-9844-dcd045b82bac/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f5fd2ca0-cf4c-4ee0-ad66-a944cb16b3d6/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8a9d9746-9c04-48e3-9844-dcd045b82bac/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f5fd2ca0-cf4c-4ee0-ad66-a944cb16b3d6/suspend HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:03 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:11 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend

View File

@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 384
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f5402839-7326-45d0-ba3a-e79802c4a174",
"node_id": "f5402839-7326-45d0-ba3a-e79802c4a174",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d6d1d1ea-ac1f-43e4-a87b-5f73ff354da5",
"node_id": "d6d1d1ea-ac1f-43e4-a87b-5f73ff354da5",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/101d93e3-a6c8-4ffa-ad71-0b8ed57b3877/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/1cd251f2-1ae0-4db3-b65a-0b06112f257f/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/101d93e3-a6c8-4ffa-ad71-0b8ed57b3877/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, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,8 +1,8 @@
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"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/855cd169-cd51-4cb4-8383-9d41d4389741/duplicate' -d '{"destination_node_id": "aaa4bc31-1c8f-4f70-9de4-377be2ae0f98"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/549c8308-17b4-489a-aada-da5732a6782c/duplicate HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/855cd169-cd51-4cb4-8383-9d41d4389741/duplicate HTTP/1.1
{
"destination_node_id": "7584853c-5823-40a1-ad12-de25df0aceb4"
"destination_node_id": "aaa4bc31-1c8f-4f70-9de4-377be2ae0f98"
}
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e48c28b3-7ed1-474e-bf6e-7c5e34cf95c9/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/81b25be4-d371-414b-bc18-f0115b77656a/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e48c28b3-7ed1-474e-bf6e-7c5e34cf95c9/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/81b25be4-d371-414b-bc18-f0115b77656a/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b229a64-e4ea-4fa3-8fae-36076c22ad27/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/91a04c2d-0c6c-428b-81e5-bea45f50f000/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b229a64-e4ea-4fa3-8fae-36076c22ad27/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/91a04c2d-0c6c-428b-81e5-bea45f50f000/start HTTP/1.1
{}
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 384
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8b229a64-e4ea-4fa3-8fae-36076c22ad27",
"node_id": "8b229a64-e4ea-4fa3-8fae-36076c22ad27",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/91a04c2d-0c6c-428b-81e5-bea45f50f000",
"node_id": "91a04c2d-0c6c-428b-81e5-bea45f50f000",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/26d103b2-68a8-4041-8776-b0c9af129dfb/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8ff2f98b-566e-46d3-8a4f-5fb3eedc2956/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/26d103b2-68a8-4041-8776-b0c9af129dfb/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8ff2f98b-566e-46d3-8a4f-5fb3eedc2956/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:35:11 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop

View File

@ -17,7 +17,7 @@ HTTP/1.1 201
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:04 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/qemu/img

View File

@ -15,8 +15,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 183
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/647c0d2d-6fda-4b31-a2f2-2d64903735f0' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f7f02c3a-77a4-4c7f-a36c-afa04af08e8f HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/647c0d2d-6fda-4b31-a2f2-2d64903735f0 HTTP/1.1
{
"name": "test"
}
@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f7f02c
HTTP/1.1 200
Connection: close
Content-Length: 1605
Content-Length: 1739
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:53 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:42 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@ -68,8 +68,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"name": "test",
"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",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/builtin/647c0d2d-6fda-4b31-a2f2-2d64903735f0",
"node_id": "647c0d2d-6fda-4b31-a2f2-2d64903735f0",
"ports_mapping": [
{
"interface": "wlp58s0",
@ -79,5 +79,9 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"remote_console_host": "",
"remote_console_http_path": "/",
"remote_console_port": 23,
"remote_console_type": "none",
"status": "started"
}

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/570c1d18-c286-4db6-aa68-f0fffda8ba9e/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/6c8c9048-cce6-48dd-ba26-4cd02f323a97/adapters/0/ports/0/nio HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/570c1d18-c286-4db6-aa68-f0fffda8ba9e/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, 14 Jun 2018 08:34:52 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:41 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5a62d308-eec9-4dc4-9771-eec28e4fbbf8' -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/be93d701-3fc7-444b-980f-8b87251f3b1a HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5a62d308-eec9-4dc4-9771-eec28e4fbbf8 HTTP/1.1
{
"console": 5006,
"environment": "GNS3=1\nGNS4=0",
@ -14,8 +14,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 639
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:43 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/docker/be93d701-3fc7-444b-980f-8b87251f3b1a",
"node_id": "be93d701-3fc7-444b-980f-8b87251f3b1a",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/docker/5a62d308-eec9-4dc4-9771-eec28e4fbbf8",
"node_id": "5a62d308-eec9-4dc4-9771-eec28e4fbbf8",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/732d14f8-b11f-4eb9-9ed9-014073548328/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/244e4d0a-8c9a-44c5-ba34-7432e9eef6ab/adapters/0/ports/0/nio HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/732d14f8-b11f-4eb9-9ed9-014073548328/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, 14 Jun 2018 08:34:53 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:42 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f9115be4-ee74-44f2-9e42-adb96be3f66a' -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/c0596699-5195-4264-9474-104e4f7fb78f HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f9115be4-ee74-44f2-9e42-adb96be3f66a HTTP/1.1
{
"console": 5005,
"ethernet_adapters": 4,
@ -17,8 +17,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 609
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:54 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
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": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/c0596699-5195-4264-9474-104e4f7fb78f",
"node_id": "c0596699-5195-4264-9474-104e4f7fb78f",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_json4/project-files/iou/f9115be4-ee74-44f2-9e42-adb96be3f66a",
"node_id": "f9115be4-ee74-44f2-9e42-adb96be3f66a",
"nvram": 2048,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e43df37-ee45-47e8-a949-700f9643a2bd/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/cb23fedd-a9b6-4f3e-8a6d-f7d7d1a831dd/adapters/1/ports/0/nio HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e43df37-ee45-47e8-a949-700f9643a2bd/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, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:45 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/f995f380-37d4-4d8d-956e-2f6dc9407ad6' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/fd756ada-a45f-4f28-97a5-18f0677bfed5 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/f995f380-37d4-4d8d-956e-2f6dc9407ad6 HTTP/1.1
{
"name": "test"
}
@ -10,13 +10,13 @@ HTTP/1.1 200
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:56 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:49 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "fd756ada-a45f-4f28-97a5-18f0677bfed5",
"node_id": "f995f380-37d4-4d8d-956e-2f6dc9407ad6",
"ports_mapping": [
{
"interface": "virbr0",

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12472b4d-2896-4351-a8e3-d3f7d2ce066e/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/88e43fa4-28a5-40dc-824a-1f504f25e1d9/adapters/0/ports/0/nio HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12472b4d-2896-4351-a8e3-d3f7d2ce066e/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, 14 Jun 2018 08:34:55 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:48 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d4daf516-44af-4e25-a632-d5015f00e6bd' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5bf81180-e252-40a9-b2c7-204c27da614a HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d4daf516-44af-4e25-a632-d5015f00e6bd HTTP/1.1
{
"console": 5006,
"hdb_disk_image": "linux\u8f7d.img",
@ -11,14 +11,13 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5bf8118
HTTP/1.1 200
Connection: close
Content-Length: 1421
Content-Length: 1422
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:57 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
@ -49,15 +48,16 @@ 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:61:4a:00",
"mac_address": "0c:dd:80:e6:bd:00",
"name": "test",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d4daf516-44af-4e25-a632-d5015f00e6bd",
"node_id": "d4daf516-44af-4e25-a632-d5015f00e6bd",
"on_close": "power_off",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/783249bc-6147-464f-843c-92edb1c5cd0d/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/c2961c74-fa8a-4574-a74d-148397421b7d/adapters/1/ports/0/nio HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/783249bc-6147-464f-843c-92edb1c5cd0d/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, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:22:58 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9cef1362-8676-4699-9e5a-a7f25716b6a1' -d '{"ip_address": "192.168.1.1", "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/6f68f3b1-51b9-4676-a31a-97f5ac344b28 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9cef1362-8676-4699-9e5a-a7f25716b6a1 HTTP/1.1
{
"ip_address": "192.168.1.1",
"name": "test"
@ -11,19 +11,19 @@ HTTP/1.1 200
Connection: close
Content-Length: 444
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"console": null,
"console_type": "none",
"default_destination": "",
"ip_address": "192.168.1.1",
"name": "test",
"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",
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/9cef1362-8676-4699-9e5a-a7f25716b6a1",
"node_id": "9cef1362-8676-4699-9e5a-a7f25716b6a1",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
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"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/43c1e85d-ab43-4267-9986-e9dc3d9bee1e/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/08ecb6d5-7173-44e9-974e-43595f8add14/adapters/0/ports/0/nio HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/43c1e85d-ab43-4267-9986-e9dc3d9bee1e/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, 14 Jun 2018 08:34:58 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:05 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5cd7514d-5ff3-4511-af4c-05760e48976a' -d '{"console": 5005, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b038f97-b154-4d70-a569-acaf770de654' -d '{"console": 5005, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5cd7514d-5ff3-4511-af4c-05760e48976a HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b038f97-b154-4d70-a569-acaf770de654 HTTP/1.1
{
"console": 5005,
"name": "test"
@ -9,14 +9,13 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5
HTTP/1.1 200
Connection: close
Content-Length: 463
Content-Length: 464
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:59 GMT
Server: Python/3.5 GNS3/2.1.8dev1
Date: Thu, 16 Aug 2018 14:23:06 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5005,
@ -25,7 +24,8 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "5cd7514d-5ff3-4511-af4c-05760e48976a",
"node_id": "7b038f97-b154-4d70-a569-acaf770de654",
"on_close": "power_off",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

Some files were not shown because too many files have changed in this diff Show More