mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Merge branch '2.2' into pyup-update-sphinx-1.7.1-to-1.8.2
This commit is contained in:
commit
df0f0c5b83
@ -61,8 +61,6 @@ sparse_memory_support = True
|
||||
ghost_ios_support = True
|
||||
|
||||
[IOU]
|
||||
; iouyap executable path, default: search in PATH
|
||||
;iouyap_path = iouyap
|
||||
; Path of your .iourc file. If not provided, the file is searched in $HOME/.iourc
|
||||
iourc_path = /home/gns3/.iourc
|
||||
; Validate if the iourc license file is correct. If you turn this off and your licence is invalid IOU will not start and no errors will be shown.
|
||||
|
@ -1,6 +1,6 @@
|
||||
-rrequirements.txt
|
||||
|
||||
sphinx==1.8.2
|
||||
pytest==3.8.1
|
||||
pytest==4.0.0
|
||||
pep8==1.7.1
|
||||
pytest-timeout==1.2.1
|
||||
pytest-timeout==1.3.3
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d8eaa38d-0063-4477-afc4-9f0334556534'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/19e91d19-71a9-4bf5-8eb2-c2a2bea2f35b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d8eaa38d-0063-4477-afc4-9f0334556534 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/19e91d19-71a9-4bf5-8eb2-c2a2bea2f35b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:41 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:40 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d2267a86-1326-4da5-b18a-811a0a6fa9ff/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/83f94250-71bb-41db-a0e9-ae32b4c9dc34/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d2267a86-1326-4da5-b18a-811a0a6fa9ff/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/83f94250-71bb-41db-a0e9-ae32b4c9dc34/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, 16 Aug 2018 14:22:41 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ae79f459-9448-4fb9-9e40-9da73896c6cd/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c058d260-bf03-4672-a380-b18fb0058727/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ae79f459-9448-4fb9-9e40-9da73896c6cd/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c058d260-bf03-4672-a380-b18fb0058727/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, 16 Aug 2018 14:22:43 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e0005a1-5dca-48d9-817c-35f21aaef1c4'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/55a3c8a2-97bd-41cd-9246-9af1e3b1230a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e0005a1-5dca-48d9-817c-35f21aaef1c4 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/55a3c8a2-97bd-41cd-9246-9af1e3b1230a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4919875c-7855-4ea2-8a34-91f45bb8e1bc/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7808b632-cdc2-4c4e-9731-1e8d44e26023/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4919875c-7855-4ea2-8a34-91f45bb8e1bc/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7808b632-cdc2-4c4e-9731-1e8d44e26023/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, 16 Aug 2018 14:22:46 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d79de987-ccbe-4907-a330-3f9cbcf6cba6'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8d763542-81f0-4924-9dea-0cc683edf7c9'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d79de987-ccbe-4907-a330-3f9cbcf6cba6 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8d763542-81f0-4924-9dea-0cc683edf7c9 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:48 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2dce6643-e5d7-41ac-94f6-2098e4445d7a/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35f9a0f8-5fb4-4014-812c-20c3c78b6843/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2dce6643-e5d7-41ac-94f6-2098e4445d7a/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35f9a0f8-5fb4-4014-812c-20c3c78b6843/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, 16 Aug 2018 14:22:48 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/452bee0f-a2eb-4308-8a4f-19f77e18f61e'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16b16324-b001-4cc7-ba84-006c2529b8bd'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/452bee0f-a2eb-4308-8a4f-19f77e18f61e HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16b16324-b001-4cc7-ba84-006c2529b8bd HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:57 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35f8b733-3fa0-4bfa-9ebc-fe7fdca23ad1/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bbf83b5-ede3-4c76-b380-80c70e64a714/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35f8b733-3fa0-4bfa-9ebc-fe7fdca23ad1/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bbf83b5-ede3-4c76-b380-80c70e64a714/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, 16 Aug 2018 14:22:59 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:17 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/05358081-f4c6-4848-a2c1-4b6b29bb705b'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8e856e02-5a1f-4bf2-9443-71b85ce51def'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/05358081-f4c6-4848-a2c1-4b6b29bb705b HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8e856e02-5a1f-4bf2-9443-71b85ce51def HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/3472e2d0-b2a9-4e37-9bd0-263df285b533/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/423379d1-ee1c-45ec-8d8f-d2625df72ecf/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/3472e2d0-b2a9-4e37-9bd0-263df285b533/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/423379d1-ee1c-45ec-8d8f-d2625df72ecf/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, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c4a086a0-d3be-44bb-9195-1d4acc3049a6/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/486114ef-3ede-41a2-801c-85228c9946d7/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c4a086a0-d3be-44bb-9195-1d4acc3049a6/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/486114ef-3ede-41a2-801c-85228c9946d7/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, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a99d1059-7607-4a7e-8045-42656e992aee/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d4618803-39d1-4dda-8299-11d12f72077f/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a99d1059-7607-4a7e-8045-42656e992aee/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d4618803-39d1-4dda-8299-11d12f72077f/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, 16 Aug 2018 14:23:16 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7246e203-ee97-46af-9548-b465c0a6f113'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/44c633fc-932e-4dfb-84be-20155a6d979b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7246e203-ee97-46af-9548-b465c0a6f113 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/44c633fc-932e-4dfb-84be-20155a6d979b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7354ac65-220b-45de-99f3-36903af1e321/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/48d60c02-9e24-42b8-be20-07133dffe28c/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7354ac65-220b-45de-99f3-36903af1e321/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/48d60c02-9e24-42b8-be20-07133dffe28c/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, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 366
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:41 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -30,5 +30,5 @@ X-Route: /v2/compute/capabilities
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.2.0dev2"
|
||||
"version": "2.2.0dev5"
|
||||
}
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:46 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
|
@ -6,17 +6,17 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2297
|
||||
Content-Length: 2294
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "docker0",
|
||||
"ip_address": "172.17.0.1",
|
||||
"mac_address": "02:42:3d:0c:1b:8e",
|
||||
"mac_address": "02:42:1b:5e:24:0d",
|
||||
"name": "docker0",
|
||||
"netmask": "255.255.0.0",
|
||||
"special": true,
|
||||
@ -96,7 +96,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "wlp58s0",
|
||||
"ip_address": "192.168.0.110",
|
||||
"ip_address": "10.77.2.57",
|
||||
"mac_address": "9c:b6:d0:dc:20:29",
|
||||
"name": "wlp58s0",
|
||||
"netmask": "255.255.255.0",
|
||||
|
@ -8,19 +8,19 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 252
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"variables": null
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"variables": null
|
||||
}
|
||||
]
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/237fd74b-5555-4c82-84c7-db749d868cc8'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/237fd74b-5555-4c82-84c7-db749d868cc8 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1742
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:41 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/project-files/builtin/5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e",
|
||||
"node_id": "5d5f4a4d-ee99-4f1e-b1e6-aa7ac189d77e",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/builtin/237fd74b-5555-4c82-84c7-db749d868cc8",
|
||||
"node_id": "237fd74b-5555-4c82-84c7-db749d868cc8",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "wlp58s0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/24da23c5-ca8a-40e7-9027-073280a7c93d'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dc2c441a-3e84-4b87-9e87-10cb2c98fa03'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/24da23c5-ca8a-40e7-9027-073280a7c93d HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dc2c441a-3e84-4b87-9e87-10cb2c98fa03 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:46 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/project-files/iou/24da23c5-ca8a-40e7-9027-073280a7c93d",
|
||||
"node_id": "24da23c5-ca8a-40e7-9027-073280a7c93d",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/iou/dc2c441a-3e84-4b87-9e87-10cb2c98fa03",
|
||||
"node_id": "dc2c441a-3e84-4b87-9e87-10cb2c98fa03",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/19e61671-f1eb-4d3c-a36a-de70fb85f0a5'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/dcfe05a4-ccd7-427c-b967-c68faf73460e'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/19e61671-f1eb-4d3c-a36a-de70fb85f0a5 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/dcfe05a4-ccd7-427c-b967-c68faf73460e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,13 +8,13 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:48 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "19e61671-f1eb-4d3c-a36a-de70fb85f0a5",
|
||||
"node_id": "dcfe05a4-ccd7-427c-b967-c68faf73460e",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c0797ce4-96ec-4cd2-9521-d1656750a0d5'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84167c7e-415c-49b2-9d71-a4d2e4adb892'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c0797ce4-96ec-4cd2-9521-d1656750a0d5 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84167c7e-415c-49b2-9d71-a4d2e4adb892 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1381
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:53 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:54 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -43,16 +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:a0:d5:00",
|
||||
"mac_address": "0c:dd:80:b8:92:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/84167c7e-415c-49b2-9d71-a4d2e4adb892",
|
||||
"node_id": "84167c7e-415c-49b2-9d71-a4d2e4adb892",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/e8f638f9-e665-484c-92d2-dc4aa93d6cc9'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/660276d2-b580-45ab-bc32-3173a277dc5d'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/e8f638f9-e665-484c-92d2-dc4aa93d6cc9 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/660276d2-b580-45ab-bc32-3173a277dc5d HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/e8f638f9-e665-484c-92d2-dc4aa93d6cc9",
|
||||
"node_id": "e8f638f9-e665-484c-92d2-dc4aa93d6cc9",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/660276d2-b580-45ab-bc32-3173a277dc5d",
|
||||
"node_id": "660276d2-b580-45ab-bc32-3173a277dc5d",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/966c89b1-ff22-43b8-af91-f6c1289def7b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de1b5955-2b39-42b2-84a6-b28b96b1b776'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/966c89b1-ff22-43b8-af91-f6c1289def7b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de1b5955-2b39-42b2-84a6-b28b96b1b776 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 466
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -21,7 +21,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "966c89b1-ff22-43b8-af91-f6c1289def7b",
|
||||
"node_id": "de1b5955-2b39-42b2-84a6-b28b96b1b776",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cefc6d01-0b0a-4d60-80f7-0b89f43a2a97'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7eea60ce-bb21-4ec1-88a2-f928417dfaca'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cefc6d01-0b0a-4d60-80f7-0b89f43a2a97 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7eea60ce-bb21-4ec1-88a2-f928417dfaca HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 594
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:07 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:53 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -20,11 +20,11 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/7eea60ce-bb21-4ec1-88a2-f928417dfaca",
|
||||
"node_id": "7eea60ce-bb21-4ec1-88a2-f928417dfaca",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-19/test_vmware_get0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-48/test_vmware_get0/test.vmx"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4fb4e4c1-0c99-464b-a518-8682d7ce3d41'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3ca5df24-1af3-40d1-883d-8cc9a0b0687b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4fb4e4c1-0c99-464b-a518-8682d7ce3d41 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3ca5df24-1af3-40d1-883d-8cc9a0b0687b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/4fb4e4c1-0c99-464b-a518-8682d7ce3d41",
|
||||
"node_id": "4fb4e4c1-0c99-464b-a518-8682d7ce3d41",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/3ca5df24-1af3-40d1-883d-8cc9a0b0687b",
|
||||
"node_id": "3ca5df24-1af3-40d1-883d-8cc9a0b0687b",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -12,8 +12,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:00 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:19 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:04 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:33 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
|
@ -8,11 +8,11 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.2.0dev2"
|
||||
"version": "2.2.0dev5"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1742
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:41 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/project-files/builtin/febb8530-37b2-4121-afdd-ce614170245b",
|
||||
"node_id": "febb8530-37b2-4121-afdd-ce614170245b",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/builtin/35762d2a-60d6-4d32-a333-0cbc6b555fad",
|
||||
"node_id": "35762d2a-60d6-4d32-a333-0cbc6b555fad",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "wlp58s0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bbff8f30-4a35-43d9-a53c-73593708b162/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/a64874d0-1e1f-4aa2-a48d-bb03bd7e280f/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bbff8f30-4a35-43d9-a53c-73593708b162/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, 16 Aug 2018 14:22:41 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d45712a9-e9f8-451b-9174-14ccfc94dfec/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/cloud/nodes/d45712a9-e9f8-451b-9174-14ccfc94dfec/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 104
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:40 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a41f01ac-97fc-4d20-bc86-b40f6778fb5a/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a41f01ac-97fc-4d20-bc86-b40f6778fb5a/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:40 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,6 +1,6 @@
|
||||
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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b2d301f0-f4b6-4d5d-9b48-bd44898d3dcb/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/bad56b1f-39a2-4c9b-90b8-6237793dd536/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b2d301f0-f4b6-4d5d-9b48-bd44898d3dcb/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, 16 Aug 2018 14:22:42 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:41 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/571caef6-e438-48d2-aaa7-88f5c0eed2c0/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/799ef06f-46b5-47af-9682-6c2de6edc566/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/571caef6-e438-48d2-aaa7-88f5c0eed2c0/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/799ef06f-46b5-47af-9682-6c2de6edc566/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -9,12 +9,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/571c
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 94
|
||||
Content-Length: 104
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:43 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/09a4430a-4c12-4b9b-ac17-a7f83081591a/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/09a4430a-4c12-4b9b-ac17-a7f83081591a/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, 16 Aug 2018 14:22:43 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a0d11f0c-cc1a-41e5-b2fe-5d2303e49b99/duplicate' -d '{"destination_node_id": "4f58938a-d98e-4933-b0b3-ceb0534e2f33"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/424f05ae-0104-457c-88c5-a7985adeebc3/duplicate' -d '{"destination_node_id": "b7048067-799a-4bc5-9857-180c4a8b6ee3"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a0d11f0c-cc1a-41e5-b2fe-5d2303e49b99/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/424f05ae-0104-457c-88c5-a7985adeebc3/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "4f58938a-d98e-4933-b0b3-ceb0534e2f33"
|
||||
"destination_node_id": "b7048067-799a-4bc5-9857-180c4a8b6ee3"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:43 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "67e11483-dd42-4a0d-bef6-d5c8af9eaaec", "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": "88d2ce5b-f041-48ef-9f1a-a699261cfe43", "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": "67e11483-dd42-4a0d-bef6-d5c8af9eaaec",
|
||||
"node_id": "88d2ce5b-f041-48ef-9f1a-a699261cfe43",
|
||||
"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, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:46 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/project-files/iou/67e11483-dd42-4a0d-bef6-d5c8af9eaaec",
|
||||
"node_id": "67e11483-dd42-4a0d-bef6-d5c8af9eaaec",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/iou/88d2ce5b-f041-48ef-9f1a-a699261cfe43",
|
||||
"node_id": "88d2ce5b-f041-48ef-9f1a-a699261cfe43",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2bf5166d-6369-4654-995a-c8dffe61c6af/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/908b269b-9e0e-4ee8-b961-4b146381529f/adapters/1/ports/0/nio' -d '{"ethernet_device": "docker0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2bf5166d-6369-4654-995a-c8dffe61c6af/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/908b269b-9e0e-4ee8-b961-4b146381529f/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, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6836c8be-f0c2-42de-9cd6-7f33c9e8d382/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/305c77a5-c71a-4b75-834a-ccdaeae83636/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6836c8be-f0c2-42de-9cd6-7f33c9e8d382/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -9,12 +9,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/305c77a
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 94
|
||||
Content-Length: 104
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:46 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/82cb4f12-95d6-44ee-ac96-210a188b96d8/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/82cb4f12-95d6-44ee-ac96-210a188b96d8/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, 16 Aug 2018 14:22:46 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/882ebd5d-2fc9-4e9d-8b8c-f345c034c7a1/duplicate' -d '{"destination_node_id": "6266c1ee-5419-4cbb-9f43-60ece8a78f42"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1e3bda54-533f-40fe-85a0-7a483ce5af78/duplicate' -d '{"destination_node_id": "676bdcfa-f3f8-4a0c-a6fc-7c8390655f1e"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/882ebd5d-2fc9-4e9d-8b8c-f345c034c7a1/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1e3bda54-533f-40fe-85a0-7a483ce5af78/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "6266c1ee-5419-4cbb-9f43-60ece8a78f42"
|
||||
"destination_node_id": "676bdcfa-f3f8-4a0c-a6fc-7c8390655f1e"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:48 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/54ebd9d0-3036-4366-8e4f-ca7261953adf/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/277f9fbd-c38c-49ed-b930-c25a04966211/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/54ebd9d0-3036-4366-8e4f-ca7261953adf/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/277f9fbd-c38c-49ed-b930-c25a04966211/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2b4666ea-9ba2-466a-ad9e-d195c84a0d92/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29040b8a-73a5-429a-8a17-e0a1b9881bae/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2b4666ea-9ba2-466a-ad9e-d195c84a0d92/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29040b8a-73a5-429a-8a17-e0a1b9881bae/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, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:46 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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-19/test_json4/project-files/iou/2b4666ea-9ba2-466a-ad9e-d195c84a0d92",
|
||||
"node_id": "2b4666ea-9ba2-466a-ad9e-d195c84a0d92",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/iou/29040b8a-73a5-429a-8a17-e0a1b9881bae",
|
||||
"node_id": "29040b8a-73a5-429a-8a17-e0a1b9881bae",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/59c5fa96-21a0-4d57-8cd0-ebf89fbe67d1/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22f9c785-fd8a-4e24-8618-31fbdde11952/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/59c5fa96-21a0-4d57-8cd0-ebf89fbe67d1/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22f9c785-fd8a-4e24-8618-31fbdde11952/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:45 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
||||
|
@ -10,13 +10,13 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:48 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "0fb0a36d-497e-4a6e-a00a-40b4711eabe4",
|
||||
"node_id": "1d65eae5-1965-4e51-a804-45e7cf49e598",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a7d7f761-e36c-47b0-b949-4361ab8419aa/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/c324ec38-58ad-46de-b79f-527464aebae6/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/a7d7f761-e36c-47b0-b949-4361ab8419aa/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c324ec38-58ad-46de-b79f-527464aebae6/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, 16 Aug 2018 14:22:48 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e2608f97-4448-4741-8102-05184eb28ddb/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/nat/nodes/e2608f97-4448-4741-8102-05184eb28ddb/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 104
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-48/test_json4/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2050dd89-9460-4899-851d-bc8d68200aba/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2050dd89-9460-4899-851d-bc8d68200aba/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:49 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
@ -1,20 +1,19 @@
|
||||
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}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "hello.img", "name": "PC TEST 1", "qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"hda_disk_image": "hello.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1427
|
||||
Content-Length: 1420
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:53 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:53 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
@ -30,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"hda_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
|
||||
"hda_disk_image": "hello.img",
|
||||
"hda_disk_image_md5sum": "7d793037a0760186574b0282f2f435e7",
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "",
|
||||
"hdb_disk_image_md5sum": null,
|
||||
@ -48,17 +47,17 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:7a:3c:00",
|
||||
"mac_address": "0c:dd:80:8b:48:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/01026b26-6566-43ed-9334-15f96ae08b48",
|
||||
"node_id": "01026b26-6566-43ed-9334-15f96ae08b48",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a1bf07e-161e-4498-8460-0a7b7f213b19/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/bd1e09db-c54b-44a6-be27-e2348e2f9699/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/3a1bf07e-161e-4498-8460-0a7b7f213b19/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bd1e09db-c54b-44a6-be27-e2348e2f9699/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, 16 Aug 2018 14:22:58 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:15 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1de6c0bb-7b98-4ac5-b328-60fa75585484/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/qemu/nodes/1de6c0bb-7b98-4ac5-b328-60fa75585484/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:42 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/821ed200-58eb-4c58-8218-e12fbacab395/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/821ed200-58eb-4c58-8218-e12fbacab395/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:49 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80d655e8-9672-4135-84e9-e2fdeeb4860b/duplicate' -d '{"destination_node_id": "70e13ffc-681d-49ed-910b-664ed570386c"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ceb80b19-b803-405e-bb83-708bd1582893/duplicate' -d '{"destination_node_id": "87de64ac-3b54-4de4-9a40-bb3d939fb982"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80d655e8-9672-4135-84e9-e2fdeeb4860b/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ceb80b19-b803-405e-bb83-708bd1582893/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "70e13ffc-681d-49ed-910b-664ed570386c"
|
||||
"destination_node_id": "87de64ac-3b54-4de4-9a40-bb3d939fb982"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:04 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:36 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/539e7eea-8299-449e-8edc-f4dc9fc6a78e/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fd688452-617d-4a15-8fe2-b0de93baf143/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/539e7eea-8299-449e-8edc-f4dc9fc6a78e/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fd688452-617d-4a15-8fe2-b0de93baf143/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:55 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:01 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/26dbe6f7-487b-4343-8684-e0ba8ff44be7/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51174940-8e9c-4aa7-8e03-6bc09bd64a64/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/26dbe6f7-487b-4343-8684-e0ba8ff44be7/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51174940-8e9c-4aa7-8e03-6bc09bd64a64/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:56 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:05 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/23fcd2bc-9a7d-4b5f-98ac-8d89f8018e7b/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9979a593-7bf8-46ed-b99f-868c7e15c546/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/23fcd2bc-9a7d-4b5f-98ac-8d89f8018e7b/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9979a593-7bf8-46ed-b99f-868c7e15c546/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1381
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:22:55 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:55 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -43,16 +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:8e:7b:00",
|
||||
"mac_address": "0c:dd:80:c5:46:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9979a593-7bf8-46ed-b99f-868c7e15c546",
|
||||
"node_id": "9979a593-7bf8-46ed-b99f-868c7e15c546",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmp5fl9r7cg/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ee0bcce-e82e-4118-85d0-7d42adc17d20/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a837ca9-4d6e-4a37-b4a5-3553baa43e89/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ee0bcce-e82e-4118-85d0-7d42adc17d20/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a837ca9-4d6e-4a37-b4a5-3553baa43e89/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:55 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:46:55 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/987b2e4b-217e-4753-b68b-8d2446ea3c22/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e327338d-b7e4-441b-8e9c-653d2e1fb681/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/987b2e4b-217e-4753-b68b-8d2446ea3c22/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e327338d-b7e4-441b-8e9c-653d2e1fb681/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:22:55 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:03 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
|
||||
|
||||
{
|
||||
@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/7ba1137d-09a7-420b-9e8e-8db58305958b",
|
||||
"node_id": "7ba1137d-09a7-420b-9e8e-8db58305958b",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/34afb57d-616c-49a0-9520-7baae7a5c36b",
|
||||
"node_id": "34afb57d-616c-49a0-9520-7baae7a5c36b",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/80621873-7708-43c4-8ace-3f2a282262ad/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/a1f6719e-b1cf-4541-b76b-f6f94e0e2bd3/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/80621873-7708-43c4-8ace-3f2a282262ad/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/a1f6719e-b1cf-4541-b76b-f6f94e0e2bd3/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, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/17e9a5f7-dd7b-44d0-afd4-2a4ef96a5449/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/traceng/nodes/17e9a5f7-dd7b-44d0-afd4-2a4ef96a5449/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/a0055079-33cd-452a-9d9a-e3c7a3630a4f/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/a0055079-33cd-452a-9d9a-e3c7a3630a4f/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1eabddf4-b65e-4261-8b4e-713c8b2f7bbb/duplicate' -d '{"destination_node_id": "27018f55-c273-4f98-a354-ffb038d99390"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8b299776-2299-4548-b284-44388261e292/duplicate' -d '{"destination_node_id": "eaff31ca-72f8-444d-8e36-39db5096df46"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1eabddf4-b65e-4261-8b4e-713c8b2f7bbb/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8b299776-2299-4548-b284-44388261e292/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "27018f55-c273-4f98-a354-ffb038d99390"
|
||||
"destination_node_id": "eaff31ca-72f8-444d-8e36-39db5096df46"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/b52d517e-3865-4e8b-b927-f520106705ec/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4cf7c998-cef6-460a-bcc4-87a9b7f5f985/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/b52d517e-3865-4e8b-b927-f520106705ec/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4cf7c998-cef6-460a-bcc4-87a9b7f5f985/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c3b8f66c-6191-4826-82c2-3c183d2e159c/start' -d '{"destination": "192.168.1.2"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8b919d25-3cb2-488a-bd9e-47f76f2919ac/start' -d '{"destination": "192.168.1.2"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c3b8f66c-6191-4826-82c2-3c183d2e159c/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8b919d25-3cb2-488a-bd9e-47f76f2919ac/start HTTP/1.1
|
||||
{
|
||||
"destination": "192.168.1.2"
|
||||
}
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/tmp/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/c3b8f66c-6191-4826-82c2-3c183d2e159c",
|
||||
"node_id": "c3b8f66c-6191-4826-82c2-3c183d2e159c",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/8b919d25-3cb2-488a-bd9e-47f76f2919ac",
|
||||
"node_id": "8b919d25-3cb2-488a-bd9e-47f76f2919ac",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/438b6bdc-4f4b-4367-831d-253d4be4bbb6/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/af4021f0-0557-42ba-9298-6926223b96c4/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/438b6bdc-4f4b-4367-831d-253d4be4bbb6/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/af4021f0-0557-42ba-9298-6926223b96c4/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:05 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop
|
||||
|
||||
|
@ -12,8 +12,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 460
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
@ -25,7 +25,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "57acf8e0-a72c-45a2-8fcf-a065b37e9c7a",
|
||||
"node_id": "ff6783c2-697f-4bcf-b9fa-edb53a27f3dd",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
|
@ -1,6 +1,6 @@
|
||||
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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/67ca2d5c-1aa3-42ef-8449-1a81b1276f6c/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/7a48f127-6b01-43b7-8a75-3fac422bf0d2/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/67ca2d5c-1aa3-42ef-8449-1a81b1276f6c/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, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ab762ff0-4d1c-4e5d-928d-8817000a727a/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/virtualbox/nodes/ab762ff0-4d1c-4e5d-928d-8817000a727a/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3868617-7740-447d-bfac-80fc7c635356/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3868617-7740-447d-bfac-80fc7c635356/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3fad03f-5133-4ef1-8ff5-f1a240b72c14/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5f0f4d74-dbfa-4054-aa4e-f98f73e6ec8f/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3fad03f-5133-4ef1-8ff5-f1a240b72c14/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5f0f4d74-dbfa-4054-aa4e-f98f73e6ec8f/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8df4a431-7f2e-4a47-8f99-d9f14b19a4ef/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8395f347-576d-453f-8e91-73a7e0c94000/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8df4a431-7f2e-4a47-8f99-d9f14b19a4ef/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8395f347-576d-453f-8e91-73a7e0c94000/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/cdca93c2-95aa-467b-a79b-00f93d63022e/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5ac1d7f0-469c-46a6-ba2f-2e655be0c954/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/cdca93c2-95aa-467b-a79b-00f93d63022e/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5ac1d7f0-469c-46a6-ba2f-2e655be0c954/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/74be1229-8889-47a4-86cc-f9a7352d717b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7087fd64-5d2a-41e0-be41-f2c31d7a9129/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/74be1229-8889-47a4-86cc-f9a7352d717b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7087fd64-5d2a-41e0-be41-f2c31d7a9129/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0c88c5fb-baa8-4ceb-9325-6cceb4a86766/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/278f435c-3c76-4b2e-bc6c-3990a35de558/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0c88c5fb-baa8-4ceb-9325-6cceb4a86766/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/278f435c-3c76-4b2e-bc6c-3990a35de558/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
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"}'
|
||||
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-48/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-19/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-48/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
||||
|
||||
@ -12,8 +12,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 594
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:06 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
|
||||
{
|
||||
@ -24,11 +24,11 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/49236655-9204-4097-a015-bec61fd3cbdf",
|
||||
"node_id": "49236655-9204-4097-a015-bec61fd3cbdf",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-19/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-48/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ecd4a281-3878-47a1-a174-2ea3d9564b56/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/e26e5d19-c1ee-4b49-b6b3-efab00adf655/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/ecd4a281-3878-47a1-a174-2ea3d9564b56/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/e26e5d19-c1ee-4b49-b6b3-efab00adf655/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, 16 Aug 2018 14:23:14 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:05 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/50b0e36c-cb58-4936-96ea-3706cbe2f068/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/vmware/nodes/50b0e36c-cb58-4936-96ea-3706cbe2f068/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:09 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/56d5841e-0549-4bb0-b262-59eb1d0917d6/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/56d5841e-0549-4bb0-b262-59eb1d0917d6/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cb704a4-44c4-4c9e-b522-4908fd91fc68/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ab622de4-dd17-4c37-8199-8b60843b0e76/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cb704a4-44c4-4c9e-b522-4908fd91fc68/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ab622de4-dd17-4c37-8199-8b60843b0e76/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:13 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:04 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/81633c23-b08b-4797-9140-762cd25e1628/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4804f7b0-a18b-4aec-86d4-2a3434a8740d/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/81633c23-b08b-4797-9140-762cd25e1628/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4804f7b0-a18b-4aec-86d4-2a3434a8740d/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:12 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:03 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8e20d77f-8544-4c7b-bc62-80fd8fdede7f/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cb0f71cb-5ef6-416a-b610-901163c39608/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8e20d77f-8544-4c7b-bc62-80fd8fdede7f/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cb0f71cb-5ef6-416a-b610-901163c39608/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:09 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:54 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fe5caf38-15d9-445e-b85d-4b6b5a2753f0/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a1cc6c77-7400-4b9a-9aac-a3c8894e7593/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fe5caf38-15d9-445e-b85d-4b6b5a2753f0/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a1cc6c77-7400-4b9a-9aac-a3c8894e7593/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:10 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:47:55 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f5fd2ca0-cf4c-4ee0-ad66-a944cb16b3d6/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/da78a31a-37d3-42ac-b3a4-0d1992582160/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f5fd2ca0-cf4c-4ee0-ad66-a944cb16b3d6/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/da78a31a-37d3-42ac-b3a4-0d1992582160/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:11 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:02 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d6d1d1ea-ac1f-43e4-a87b-5f73ff354da5",
|
||||
"node_id": "d6d1d1ea-ac1f-43e4-a87b-5f73ff354da5",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/43b8804e-6306-47e0-92fb-3f473256427f",
|
||||
"node_id": "43b8804e-6306-47e0-92fb-3f473256427f",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/101d93e3-a6c8-4ffa-ad71-0b8ed57b3877/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/3c42dab6-f7bc-4919-9354-a2599906b3c5/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/101d93e3-a6c8-4ffa-ad71-0b8ed57b3877/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3c42dab6-f7bc-4919-9354-a2599906b3c5/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, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/dd221d24-e144-472a-87ce-063f6cd3ad00/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/vpcs/nodes/dd221d24-e144-472a-87ce-063f6cd3ad00/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:14 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67d019f0-254f-4bae-b034-fb232ad88916/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67d019f0-254f-4bae-b034-fb232ad88916/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:14 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/855cd169-cd51-4cb4-8383-9d41d4389741/duplicate' -d '{"destination_node_id": "aaa4bc31-1c8f-4f70-9de4-377be2ae0f98"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ce98b385-1603-4563-8072-65dd34f5a77b/duplicate' -d '{"destination_node_id": "3e063515-7657-4d22-88a1-0dc30df6d652"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/855cd169-cd51-4cb4-8383-9d41d4389741/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ce98b385-1603-4563-8072-65dd34f5a77b/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "aaa4bc31-1c8f-4f70-9de4-377be2ae0f98"
|
||||
"destination_node_id": "3e063515-7657-4d22-88a1-0dc30df6d652"
|
||||
}
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/81b25be4-d371-414b-bc18-f0115b77656a/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/20698d5a-3e23-4cbd-83df-38ddb68122fe/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/81b25be4-d371-414b-bc18-f0115b77656a/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/20698d5a-3e23-4cbd-83df-38ddb68122fe/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/91a04c2d-0c6c-428b-81e5-bea45f50f000/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a352368d-e7e8-4857-ab92-16b8e176cfea/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/91a04c2d-0c6c-428b-81e5-bea45f50f000/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a352368d-e7e8-4857-ab92-16b8e176cfea/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 16 Aug 2018 14:23:19 GMT
|
||||
Server: Python/3.5 GNS3/2.2.0dev2
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/tmp0fzqt09o/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/91a04c2d-0c6c-428b-81e5-bea45f50f000",
|
||||
"node_id": "91a04c2d-0c6c-428b-81e5-bea45f50f000",
|
||||
"node_directory": "/tmp/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a352368d-e7e8-4857-ab92-16b8e176cfea",
|
||||
"node_id": "a352368d-e7e8-4857-ab92-16b8e176cfea",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user