mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Use "template" to name what we use to create new nodes.
This commit is contained in:
parent
21c0a35f77
commit
d7c2e16c21
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:28 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/19e91d19-71a9-4bf5-8eb2-c2a2bea2f35b'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3360e11c-26d3-451e-816c-3b9795eb06d3'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/19e91d19-71a9-4bf5-8eb2-c2a2bea2f35b HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3360e11c-26d3-451e-816c-3b9795eb06d3 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:40 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:20 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/83f94250-71bb-41db-a0e9-ae32b4c9dc34/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/c38ef164-64b2-49be-9089-aa86a016a591/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/83f94250-71bb-41db-a0e9-ae32b4c9dc34/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/c38ef164-64b2-49be-9089-aa86a016a591/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: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:19 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/c058d260-bf03-4672-a380-b18fb0058727/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/75595095-e77d-499a-a819-53181ffcd424/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c058d260-bf03-4672-a380-b18fb0058727/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/75595095-e77d-499a-a819-53181ffcd424/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: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:21 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/55a3c8a2-97bd-41cd-9246-9af1e3b1230a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e4e9399-ab2f-4aa1-b179-0540bc0d210a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/55a3c8a2-97bd-41cd-9246-9af1e3b1230a HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e4e9399-ab2f-4aa1-b179-0540bc0d210a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:23 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/7808b632-cdc2-4c4e-9731-1e8d44e26023/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/714cfcf5-dcc5-4ade-b446-db8b7f4fbb51/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7808b632-cdc2-4c4e-9731-1e8d44e26023/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/714cfcf5-dcc5-4ade-b446-db8b7f4fbb51/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: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:24 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/8d763542-81f0-4924-9dea-0cc683edf7c9'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2bf3e396-461e-4146-a73f-03cd18003404'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8d763542-81f0-4924-9dea-0cc683edf7c9 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2bf3e396-461e-4146-a73f-03cd18003404 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:26 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/35f9a0f8-5fb4-4014-812c-20c3c78b6843/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/150a3db5-ffe5-4cd7-a46e-110de6a90cbb/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35f9a0f8-5fb4-4014-812c-20c3c78b6843/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/150a3db5-ffe5-4cd7-a46e-110de6a90cbb/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: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:25 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/16b16324-b001-4cc7-ba84-006c2529b8bd'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bdc6702-c0ad-4afd-bc6a-fd457719b87a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16b16324-b001-4cc7-ba84-006c2529b8bd HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bdc6702-c0ad-4afd-bc6a-fd457719b87a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:07 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:48 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/3bbf83b5-ede3-4c76-b380-80c70e64a714/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0102ab45-51b2-4216-9bbe-569e1b1e7f21/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bbf83b5-ede3-4c76-b380-80c70e64a714/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0102ab45-51b2-4216-9bbe-569e1b1e7f21/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: Tue, 20 Nov 2018 08:47:17 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:54 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/8e856e02-5a1f-4bf2-9443-71b85ce51def'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0c00bfff-1fe8-46bc-bf55-a17c58089f71'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8e856e02-5a1f-4bf2-9443-71b85ce51def HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0c00bfff-1fe8-46bc-bf55-a17c58089f71 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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/423379d1-ee1c-45ec-8d8f-d2625df72ecf/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b48ad6-c4a9-46bf-b356-218affe230a2/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/423379d1-ee1c-45ec-8d8f-d2625df72ecf/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b48ad6-c4a9-46bf-b356-218affe230a2/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: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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/486114ef-3ede-41a2-801c-85228c9946d7/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b2f1e9e5-7b30-4d1b-b324-4698bfe48b6c/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/486114ef-3ede-41a2-801c-85228c9946d7/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b2f1e9e5-7b30-4d1b-b324-4698bfe48b6c/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: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/d4618803-39d1-4dda-8299-11d12f72077f/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6c1f9d23-6382-4f65-ab55-c2a0fdb435d9/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d4618803-39d1-4dda-8299-11d12f72077f/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6c1f9d23-6382-4f65-ab55-c2a0fdb435d9/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: Tue, 20 Nov 2018 08:48:07 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:24 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/44c633fc-932e-4dfb-84be-20155a6d979b'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/80752573-30d2-4cf2-b7dc-545cf54ec04c'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/44c633fc-932e-4dfb-84be-20155a6d979b HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/80752573-30d2-4cf2-b7dc-545cf54ec04c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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/48d60c02-9e24-42b8-be20-07133dffe28c/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eba2cf96-4001-401b-a7fa-d8cb56c09130/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/48d60c02-9e24-42b8-be20-07133dffe28c/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eba2cf96-4001-401b-a7fa-d8cb56c09130/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: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 366
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:24 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
|
@ -6,9 +6,9 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2294
|
||||
Content-Length: 2933
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
@ -16,7 +16,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "docker0",
|
||||
"ip_address": "172.17.0.1",
|
||||
"mac_address": "02:42:1b:5e:24:0d",
|
||||
"mac_address": "02:42:c8:f1:08:fb",
|
||||
"name": "docker0",
|
||||
"netmask": "255.255.0.0",
|
||||
"special": true,
|
||||
@ -31,6 +31,33 @@ X-Route: /v2/compute/network/interfaces
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet0",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:00",
|
||||
"name": "vboxnet0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet1",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:01",
|
||||
"name": "vboxnet1",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet2",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:02",
|
||||
"name": "vboxnet2",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "virbr0",
|
||||
"ip_address": "192.168.122.1",
|
||||
@ -96,7 +123,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "wlp58s0",
|
||||
"ip_address": "10.77.2.57",
|
||||
"ip_address": "192.168.0.110",
|
||||
"mac_address": "9c:b6:d0:dc:20:29",
|
||||
"name": "wlp58s0",
|
||||
"netmask": "255.255.255.0",
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 252
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/237fd74b-5555-4c82-84c7-db749d868cc8'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2961f72c-eb53-4208-849f-5e7e00940507'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/237fd74b-5555-4c82-84c7-db749d868cc8 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2961f72c-eb53-4208-849f-5e7e00940507 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1742
|
||||
Content-Length: 2080
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
@ -24,6 +24,21 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
@ -66,8 +81,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/builtin/2961f72c-eb53-4208-849f-5e7e00940507",
|
||||
"node_id": "2961f72c-eb53-4208-849f-5e7e00940507",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "wlp58s0",
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dc2c441a-3e84-4b87-9e87-10cb2c98fa03'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f3e6c8bb-24ad-4fae-9801-3ddcaac30766'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dc2c441a-3e84-4b87-9e87-10cb2c98fa03 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f3e6c8bb-24ad-4fae-9801-3ddcaac30766 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Length: 613
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:46 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:22 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-48/test_json4/project-files/iou/dc2c441a-3e84-4b87-9e87-10cb2c98fa03",
|
||||
"node_id": "dc2c441a-3e84-4b87-9e87-10cb2c98fa03",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/iou/f3e6c8bb-24ad-4fae-9801-3ddcaac30766",
|
||||
"node_id": "f3e6c8bb-24ad-4fae-9801-3ddcaac30766",
|
||||
"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/dcfe05a4-ccd7-427c-b967-c68faf73460e'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/900de20b-6a92-43cc-a282-379b9ee1978b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/dcfe05a4-ccd7-427c-b967-c68faf73460e HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/900de20b-6a92-43cc-a282-379b9ee1978b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,13 +8,13 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:25 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": "dcfe05a4-ccd7-427c-b967-c68faf73460e",
|
||||
"node_id": "900de20b-6a92-43cc-a282-379b9ee1978b",
|
||||
"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/84167c7e-415c-49b2-9d71-a4d2e4adb892'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dfd98734-6cf7-4d50-91e4-62031ccf3bd7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84167c7e-415c-49b2-9d71-a4d2e4adb892 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dfd98734-6cf7-4d50-91e4-62031ccf3bd7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1381
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:54 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:35 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:b8:92:00",
|
||||
"mac_address": "0c:dd:80:3b:d7:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/dfd98734-6cf7-4d50-91e4-62031ccf3bd7",
|
||||
"node_id": "dfd98734-6cf7-4d50-91e4-62031ccf3bd7",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxi6put1f/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/660276d2-b580-45ab-bc32-3173a277dc5d'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/651758df-548e-4ece-8f97-1c6a5dee8c38'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/660276d2-b580-45ab-bc32-3173a277dc5d HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/651758df-548e-4ece-8f97-1c6a5dee8c38 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/660276d2-b580-45ab-bc32-3173a277dc5d",
|
||||
"node_id": "660276d2-b580-45ab-bc32-3173a277dc5d",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/651758df-548e-4ece-8f97-1c6a5dee8c38",
|
||||
"node_id": "651758df-548e-4ece-8f97-1c6a5dee8c38",
|
||||
"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/de1b5955-2b39-42b2-84a6-b28b96b1b776'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4fc74400-1849-44b6-b7dc-273152d79809'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de1b5955-2b39-42b2-84a6-b28b96b1b776 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4fc74400-1849-44b6-b7dc-273152d79809 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 466
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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": "de1b5955-2b39-42b2-84a6-b28b96b1b776",
|
||||
"node_id": "4fc74400-1849-44b6-b7dc-273152d79809",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7eea60ce-bb21-4ec1-88a2-f928417dfaca'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/84173e66-2262-40ca-b75e-736ce388a297'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7eea60ce-bb21-4ec1-88a2-f928417dfaca HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/84173e66-2262-40ca-b75e-736ce388a297 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 594
|
||||
Content-Length: 593
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:53 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:13 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/7eea60ce-bb21-4ec1-88a2-f928417dfaca",
|
||||
"node_id": "7eea60ce-bb21-4ec1-88a2-f928417dfaca",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/84173e66-2262-40ca-b75e-736ce388a297",
|
||||
"node_id": "84173e66-2262-40ca-b75e-736ce388a297",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-48/test_vmware_get0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-4/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/3ca5df24-1af3-40d1-883d-8cc9a0b0687b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/485fb23a-85ed-4368-8282-4fe27dac131c'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3ca5df24-1af3-40d1-883d-8cc9a0b0687b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/485fb23a-85ed-4368-8282-4fe27dac131c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:29 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/3ca5df24-1af3-40d1-883d-8cc9a0b0687b",
|
||||
"node_id": "3ca5df24-1af3-40d1-883d-8cc9a0b0687b",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/485fb23a-85ed-4368-8282-4fe27dac131c",
|
||||
"node_id": "485fb23a-85ed-4368-8282-4fe27dac131c",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:19 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:57 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:33 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:10 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
|
@ -11,7 +11,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 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: Tue, 20 Nov 2018 08:46:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:28 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -8,9 +8,9 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1742
|
||||
Content-Length: 2080
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
@ -26,6 +26,21 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
@ -68,8 +83,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/builtin/0d70f188-011d-4579-bea0-08e5b3cca9cf",
|
||||
"node_id": "0d70f188-011d-4579-bea0-08e5b3cca9cf",
|
||||
"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/bbff8f30-4a35-43d9-a53c-73593708b162/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/04d6296e-a130-4911-b016-53640d3b9177/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/bbff8f30-4a35-43d9-a53c-73593708b162/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/04d6296e-a130-4911-b016-53640d3b9177/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:34 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:18 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 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/462bd2f8-bef3-4e34-b838-3865eab18135/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/462bd2f8-bef3-4e34-b838-3865eab18135/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/cloud/nodes/d4571
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 104
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:40 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:20 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"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/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/cloud/nodes/a41f01ac-97fc-4d20-bc86-b40f6778fb5a/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3a44f2d8-9f17-4310-928e-09ee6c453a86/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3a44f2d8-9f17-4310-928e-09ee6c453a86/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: Tue, 20 Nov 2018 08:46:40 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:20 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/b2d301f0-f4b6-4d5d-9b48-bd44898d3dcb/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/782e459b-1d97-44a4-8e45-ca104775fde9/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/b2d301f0-f4b6-4d5d-9b48-bd44898d3dcb/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/782e459b-1d97-44a4-8e45-ca104775fde9/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:41 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:20 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/799ef06f-46b5-47af-9682-6c2de6edc566/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/92ae4335-196a-47d8-b3b8-61ddfd0585b2/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/799ef06f-46b5-47af-9682-6c2de6edc566/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/92ae4335-196a-47d8-b3b8-61ddfd0585b2/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/799e
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 104
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:21 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-48/test_json4/project-files/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/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/09a4430a-4c12-4b9b-ac17-a7f83081591a/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8daefd15-92c6-4771-9ceb-a4c237aa8a54/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8daefd15-92c6-4771-9ceb-a4c237aa8a54/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: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:21 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/424f05ae-0104-457c-88c5-a7985adeebc3/duplicate' -d '{"destination_node_id": "b7048067-799a-4bc5-9857-180c4a8b6ee3"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a2d184de-1715-40e4-8deb-febb8b6fdda4/duplicate' -d '{"destination_node_id": "b376a49d-beaf-499d-a46b-5a90bb8e2b9b"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/424f05ae-0104-457c-88c5-a7985adeebc3/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a2d184de-1715-40e4-8deb-febb8b6fdda4/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "b7048067-799a-4bc5-9857-180c4a8b6ee3"
|
||||
"destination_node_id": "b376a49d-beaf-499d-a46b-5a90bb8e2b9b"
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:44 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:21 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
|
||||
|
||||
|
@ -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": "88d2ce5b-f041-48ef-9f1a-a699261cfe43", "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": "af0c8352-3d57-4c09-b22c-75907bc83998", "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": "88d2ce5b-f041-48ef-9f1a-a699261cfe43",
|
||||
"node_id": "af0c8352-3d57-4c09-b22c-75907bc83998",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
@ -11,9 +11,9 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Length: 613
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:46 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:22 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-48/test_json4/project-files/iou/88d2ce5b-f041-48ef-9f1a-a699261cfe43",
|
||||
"node_id": "88d2ce5b-f041-48ef-9f1a-a699261cfe43",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/iou/af0c8352-3d57-4c09-b22c-75907bc83998",
|
||||
"node_id": "af0c8352-3d57-4c09-b22c-75907bc83998",
|
||||
"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/908b269b-9e0e-4ee8-b961-4b146381529f/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/d7bb14dd-29fd-439e-85e9-80b131349036/adapters/1/ports/0/nio' -d '{"ethernet_device": "docker0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/908b269b-9e0e-4ee8-b961-4b146381529f/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d7bb14dd-29fd-439e-85e9-80b131349036/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "docker0",
|
||||
"type": "nio_ethernet"
|
||||
@ -11,7 +11,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:23 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/6836c8be-f0c2-42de-9cd6-7f33c9e8d382/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/d8488cff-9b41-41ba-860c-37a504e6977a/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/6836c8be-f0c2-42de-9cd6-7f33c9e8d382/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d8488cff-9b41-41ba-860c-37a504e6977a/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/6836c8b
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 104
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:24 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-48/test_json4/project-files/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/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/82cb4f12-95d6-44ee-ac96-210a188b96d8/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/42bb9e25-5ec5-4ff2-821a-22f67d796076/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/42bb9e25-5ec5-4ff2-821a-22f67d796076/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: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:24 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/1e3bda54-533f-40fe-85a0-7a483ce5af78/duplicate' -d '{"destination_node_id": "676bdcfa-f3f8-4a0c-a6fc-7c8390655f1e"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/289e83b9-de14-4a68-888f-9935a17541f3/duplicate' -d '{"destination_node_id": "d9da492d-961c-415d-a010-236c766df202"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1e3bda54-533f-40fe-85a0-7a483ce5af78/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/289e83b9-de14-4a68-888f-9935a17541f3/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "676bdcfa-f3f8-4a0c-a6fc-7c8390655f1e"
|
||||
"destination_node_id": "d9da492d-961c-415d-a010-236c766df202"
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/277f9fbd-c38c-49ed-b930-c25a04966211/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c856690-dfe7-4b52-a60e-4138266a53bc/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/277f9fbd-c38c-49ed-b930-c25a04966211/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c856690-dfe7-4b52-a60e-4138266a53bc/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:23 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/29040b8a-73a5-429a-8a17-e0a1b9881bae/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1b5ae4df-87f3-4147-89c9-6d4b620da98e/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29040b8a-73a5-429a-8a17-e0a1b9881bae/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1b5ae4df-87f3-4147-89c9-6d4b620da98e/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
@ -8,9 +8,9 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29040b8
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Length: 613
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:46 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:22 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-48/test_json4/project-files/iou/29040b8a-73a5-429a-8a17-e0a1b9881bae",
|
||||
"node_id": "29040b8a-73a5-429a-8a17-e0a1b9881bae",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/iou/1b5ae4df-87f3-4147-89c9-6d4b620da98e",
|
||||
"node_id": "1b5ae4df-87f3-4147-89c9-6d4b620da98e",
|
||||
"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/22f9c785-fd8a-4e24-8618-31fbdde11952/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e861bf80-237e-4a67-a684-f16d95f76f10/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22f9c785-fd8a-4e24-8618-31fbdde11952/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e861bf80-237e-4a67-a684-f16d95f76f10/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:47 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:23 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: Tue, 20 Nov 2018 08:46:48 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "1d65eae5-1965-4e51-a804-45e7cf49e598",
|
||||
"node_id": "27f88559-160a-4b95-9598-18885ed04611",
|
||||
"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/c324ec38-58ad-46de-b79f-527464aebae6/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/babed314-a02e-47fa-b0f8-5303760e913a/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/c324ec38-58ad-46de-b79f-527464aebae6/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/babed314-a02e-47fa-b0f8-5303760e913a/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:25 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 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/6042edef-a8be-425d-9770-4de136ddf15b/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/6042edef-a8be-425d-9770-4de136ddf15b/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/nat/nodes/e2608f9
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 104
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 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"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/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/nat/nodes/2050dd89-9460-4899-851d-bc8d68200aba/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/479977eb-d06e-4de4-b18e-60b9091cc685/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/479977eb-d06e-4de4-b18e-60b9091cc685/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: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 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,7 +8,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
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"}'
|
||||
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/tmpxi6put1f/qemu-system-x86_64"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "hello.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64"
|
||||
"qemu_path": "/tmp/tmpxi6put1f/qemu-system-x86_64"
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1420
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:53 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:32 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
@ -47,16 +47,16 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:8b:48:00",
|
||||
"mac_address": "0c:dd:80:f3:28:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/deb71d41-dc02-40a0-b0f5-da58d5ebf328",
|
||||
"node_id": "deb71d41-dc02-40a0-b0f5-da58d5ebf328",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxi6put1f/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/bd1e09db-c54b-44a6-be27-e2348e2f9699/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/c9b6d0d4-36ff-4069-80d3-bbb3859ba03c/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/bd1e09db-c54b-44a6-be27-e2348e2f9699/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c9b6d0d4-36ff-4069-80d3-bbb3859ba03c/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:15 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:51 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 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/db42c33e-8892-463f-a07d-c14f45592ed0/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/db42c33e-8892-463f-a07d-c14f45592ed0/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:42 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:08 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"
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96d90082-9b57-4aa1-b9af-79953343098f/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96d90082-9b57-4aa1-b9af-79953343098f/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: Tue, 20 Nov 2018 08:47:49 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:09 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/ceb80b19-b803-405e-bb83-708bd1582893/duplicate' -d '{"destination_node_id": "87de64ac-3b54-4de4-9a40-bb3d939fb982"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/91a8bb18-86b6-4917-95d1-973043099b32/duplicate' -d '{"destination_node_id": "93289c0d-e0ab-4c18-8ad8-7efb9054a7d4"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ceb80b19-b803-405e-bb83-708bd1582893/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/91a8bb18-86b6-4917-95d1-973043099b32/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "87de64ac-3b54-4de4-9a40-bb3d939fb982"
|
||||
"destination_node_id": "93289c0d-e0ab-4c18-8ad8-7efb9054a7d4"
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:36 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fd688452-617d-4a15-8fe2-b0de93baf143/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/27caba61-6161-4b10-81c2-3e5a44ed2827/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fd688452-617d-4a15-8fe2-b0de93baf143/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/27caba61-6161-4b10-81c2-3e5a44ed2827/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:01 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:41 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/51174940-8e9c-4aa7-8e03-6bc09bd64a64/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18e0b3ce-3a5d-4236-bd9a-647390508908/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51174940-8e9c-4aa7-8e03-6bc09bd64a64/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18e0b3ce-3a5d-4236-bd9a-647390508908/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:05 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:46 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/9979a593-7bf8-46ed-b99f-868c7e15c546/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fe86cb53-7495-44a7-a042-e290ee7b25e0/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9979a593-7bf8-46ed-b99f-868c7e15c546/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fe86cb53-7495-44a7-a042-e290ee7b25e0/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1381
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:46:55 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:37 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:c5:46:00",
|
||||
"mac_address": "0c:dd:80:25:e0:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/fe86cb53-7495-44a7-a042-e290ee7b25e0",
|
||||
"node_id": "fe86cb53-7495-44a7-a042-e290ee7b25e0",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmp9gfhmaev/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxi6put1f/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/3a837ca9-4d6e-4a37-b4a5-3553baa43e89/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b489fa19-e27f-40d0-a2fa-165553f45b15/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a837ca9-4d6e-4a37-b4a5-3553baa43e89/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b489fa19-e27f-40d0-a2fa-165553f45b15/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:46:55 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:39 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/e327338d-b7e4-441b-8e9c-653d2e1fb681/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab82e2d8-fff4-4da6-8124-76df98117a59/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e327338d-b7e4-441b-8e9c-653d2e1fb681/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab82e2d8-fff4-4da6-8124-76df98117a59/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:03 GMT
|
||||
Date: Tue, 27 Nov 2018 15:08:44 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:10 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/34afb57d-616c-49a0-9520-7baae7a5c36b",
|
||||
"node_id": "34afb57d-616c-49a0-9520-7baae7a5c36b",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/3d90bae8-f500-428c-b8ba-f846cf6b15c4",
|
||||
"node_id": "3d90bae8-f500-428c-b8ba-f846cf6b15c4",
|
||||
"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/a1f6719e-b1cf-4541-b76b-f6f94e0e2bd3/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/306012e6-0a79-4ff5-b557-3d5a68cbbb72/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/a1f6719e-b1cf-4541-b76b-f6f94e0e2bd3/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/306012e6-0a79-4ff5-b557-3d5a68cbbb72/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:50 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9b82f609-b0ba-4f88-9faa-8a73da006b20/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9b82f609-b0ba-4f88-9faa-8a73da006b20/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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"
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5a2b83ac-7f1e-44ed-8ca2-6af8710f2456/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5a2b83ac-7f1e-44ed-8ca2-6af8710f2456/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: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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/8b299776-2299-4548-b284-44388261e292/duplicate' -d '{"destination_node_id": "eaff31ca-72f8-444d-8e36-39db5096df46"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/871f7316-89f8-4c67-99a0-01b2040557b0/duplicate' -d '{"destination_node_id": "672ee8ea-b609-4688-a938-656bb62c3a9e"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8b299776-2299-4548-b284-44388261e292/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/871f7316-89f8-4c67-99a0-01b2040557b0/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "eaff31ca-72f8-444d-8e36-39db5096df46"
|
||||
"destination_node_id": "672ee8ea-b609-4688-a938-656bb62c3a9e"
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4cf7c998-cef6-460a-bcc4-87a9b7f5f985/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5c90a6b7-2d18-4695-92d3-0e2e80b39d44/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4cf7c998-cef6-460a-bcc4-87a9b7f5f985/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5c90a6b7-2d18-4695-92d3-0e2e80b39d44/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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/8b919d25-3cb2-488a-bd9e-47f76f2919ac/start' -d '{"destination": "192.168.1.2"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/91c87d7a-a7dc-40b0-bbc6-8d399da423cb/start' -d '{"destination": "192.168.1.2"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/8b919d25-3cb2-488a-bd9e-47f76f2919ac/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/91c87d7a-a7dc-40b0-bbc6-8d399da423cb/start HTTP/1.1
|
||||
{
|
||||
"destination": "192.168.1.2"
|
||||
}
|
||||
@ -10,7 +10,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/8b919d25-3cb2-488a-bd9e-47f76f2919ac",
|
||||
"node_id": "8b919d25-3cb2-488a-bd9e-47f76f2919ac",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/91c87d7a-a7dc-40b0-bbc6-8d399da423cb",
|
||||
"node_id": "91c87d7a-a7dc-40b0-bbc6-8d399da423cb",
|
||||
"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/af4021f0-0557-42ba-9298-6926223b96c4/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0caa22ce-2d82-4e35-9134-b81ce0be322a/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/af4021f0-0557-42ba-9298-6926223b96c4/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0caa22ce-2d82-4e35-9134-b81ce0be322a/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop
|
||||
|
||||
|
@ -12,7 +12,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 460
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:11 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": "ff6783c2-697f-4bcf-b9fa-edb53a27f3dd",
|
||||
"node_id": "69d31ecf-7d5e-4285-8d3a-d64107a5d074",
|
||||
"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/67ca2d5c-1aa3-42ef-8449-1a81b1276f6c/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/add5f4bd-c6c3-4644-87c0-cc3a29a19f04/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/67ca2d5c-1aa3-42ef-8449-1a81b1276f6c/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/add5f4bd-c6c3-4644-87c0-cc3a29a19f04/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/252e91ae-28ce-4829-ae6b-da72e0aa8862/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/252e91ae-28ce-4829-ae6b-da72e0aa8862/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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"
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/436af4db-52c4-4a24-8ea5-94649a702a24/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/436af4db-52c4-4a24-8ea5-94649a702a24/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: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/5f0f4d74-dbfa-4054-aa4e-f98f73e6ec8f/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/73ae6b77-a860-4bc1-8ec6-ac332df4c077/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5f0f4d74-dbfa-4054-aa4e-f98f73e6ec8f/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/73ae6b77-a860-4bc1-8ec6-ac332df4c077/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/8395f347-576d-453f-8e91-73a7e0c94000/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e9d82843-ab73-4fd5-b3b9-cf37f5f0abca/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8395f347-576d-453f-8e91-73a7e0c94000/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e9d82843-ab73-4fd5-b3b9-cf37f5f0abca/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/5ac1d7f0-469c-46a6-ba2f-2e655be0c954/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/24470470-5111-4a16-8527-ec3c79150af6/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5ac1d7f0-469c-46a6-ba2f-2e655be0c954/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/24470470-5111-4a16-8527-ec3c79150af6/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/7087fd64-5d2a-41e0-be41-f2c31d7a9129/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d18bf8de-1b88-4548-9a66-16e3d63912c1/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7087fd64-5d2a-41e0-be41-f2c31d7a9129/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d18bf8de-1b88-4548-9a66-16e3d63912c1/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/278f435c-3c76-4b2e-bc6c-3990a35de558/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c8ded025-6c81-4d77-a7d8-e4a33fe439b3/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/278f435c-3c76-4b2e-bc6c-3990a35de558/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c8ded025-6c81-4d77-a7d8-e4a33fe439b3/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:51 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -1,18 +1,18 @@
|
||||
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"}'
|
||||
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-4/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-48/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-4/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 594
|
||||
Content-Length: 593
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:47:52 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:12 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/49236655-9204-4097-a015-bec61fd3cbdf",
|
||||
"node_id": "49236655-9204-4097-a015-bec61fd3cbdf",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/ab710add-c2df-45a0-8834-18278c4b5039",
|
||||
"node_id": "ab710add-c2df-45a0-8834-18278c4b5039",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-48/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-4/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/e26e5d19-c1ee-4b49-b6b3-efab00adf655/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/7e3b339a-753c-4e00-9dce-9d5e5321ac89/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/e26e5d19-c1ee-4b49-b6b3-efab00adf655/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7e3b339a-753c-4e00-9dce-9d5e5321ac89/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:05 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:22 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 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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/222ed2ef-64ff-4cee-a4ff-374357e2ce1a/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/222ed2ef-64ff-4cee-a4ff-374357e2ce1a/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:09 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:26 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"
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cf41140-b299-48c4-91b6-afcc950cfa03/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cf41140-b299-48c4-91b6-afcc950cfa03/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: Tue, 20 Nov 2018 08:48:11 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:27 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/ab622de4-dd17-4c37-8199-8b60843b0e76/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/2a03318b-e6aa-411e-adf8-c9a077617b0b/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ab622de4-dd17-4c37-8199-8b60843b0e76/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/2a03318b-e6aa-411e-adf8-c9a077617b0b/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:04 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:21 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/4804f7b0-a18b-4aec-86d4-2a3434a8740d/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bf4fa713-a276-4272-903c-7267be7a7879/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4804f7b0-a18b-4aec-86d4-2a3434a8740d/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bf4fa713-a276-4272-903c-7267be7a7879/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:03 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:20 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/cb0f71cb-5ef6-416a-b610-901163c39608/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/436ccb1d-f5ec-4d40-aada-2edc9128fb7b/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/cb0f71cb-5ef6-416a-b610-901163c39608/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/436ccb1d-f5ec-4d40-aada-2edc9128fb7b/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:54 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:15 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/a1cc6c77-7400-4b9a-9aac-a3c8894e7593/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fb6534ab-0be5-4042-b2a0-b754bccabd3c/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a1cc6c77-7400-4b9a-9aac-a3c8894e7593/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fb6534ab-0be5-4042-b2a0-b754bccabd3c/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:55 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:16 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/da78a31a-37d3-42ac-b3a4-0d1992582160/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/58a3c9c0-1dab-4060-932a-20a09c32e959/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/da78a31a-37d3-42ac-b3a4-0d1992582160/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/58a3c9c0-1dab-4060-932a-20a09c32e959/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:02 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:17 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:29 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/43b8804e-6306-47e0-92fb-3f473256427f",
|
||||
"node_id": "43b8804e-6306-47e0-92fb-3f473256427f",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7183320f-60b0-41e5-a8ab-36cb5039aa71",
|
||||
"node_id": "7183320f-60b0-41e5-a8ab-36cb5039aa71",
|
||||
"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/3c42dab6-f7bc-4919-9354-a2599906b3c5/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/b887eb25-593d-497a-98cc-7e54c18d3371/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/3c42dab6-f7bc-4919-9354-a2599906b3c5/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b887eb25-593d-497a-98cc-7e54c18d3371/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,7 +13,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
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"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bb4682e4-5d35-46eb-9a61-96e654d48fa6/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bb4682e4-5d35-46eb-9a61-96e654d48fa6/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:14 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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"
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/37dffeb0-51d3-470e-a5b6-87bdad30c086/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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/37dffeb0-51d3-470e-a5b6-87bdad30c086/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: Tue, 20 Nov 2018 08:48:14 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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/ce98b385-1603-4563-8072-65dd34f5a77b/duplicate' -d '{"destination_node_id": "3e063515-7657-4d22-88a1-0dc30df6d652"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3d846342-a0c3-4487-b376-ee2621513843/duplicate' -d '{"destination_node_id": "28ae0900-c4ad-4322-ae76-18032949da69"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ce98b385-1603-4563-8072-65dd34f5a77b/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3d846342-a0c3-4487-b376-ee2621513843/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "3e063515-7657-4d22-88a1-0dc30df6d652"
|
||||
"destination_node_id": "28ae0900-c4ad-4322-ae76-18032949da69"
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/20698d5a-3e23-4cbd-83df-38ddb68122fe/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19c0d2a4-b1db-49e3-94c8-c1ee2730a6ee/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/20698d5a-3e23-4cbd-83df-38ddb68122fe/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19c0d2a4-b1db-49e3-94c8-c1ee2730a6ee/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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/a352368d-e7e8-4857-ab92-16b8e176cfea/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/08909f72-c819-4605-9ba2-80e18fadd029/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a352368d-e7e8-4857-ab92-16b8e176cfea/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/08909f72-c819-4605-9ba2-80e18fadd029/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 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/tmp0a7ifw_u/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a352368d-e7e8-4857-ab92-16b8e176cfea",
|
||||
"node_id": "a352368d-e7e8-4857-ab92-16b8e176cfea",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/08909f72-c819-4605-9ba2-80e18fadd029",
|
||||
"node_id": "08909f72-c819-4605-9ba2-80e18fadd029",
|
||||
"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/8711c1dc-384e-4aa9-a1d1-1ecf167c7714/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19d38a18-5668-49a3-b510-29d8531448f7/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8711c1dc-384e-4aa9-a1d1-1ecf167c7714/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19d38a18-5668-49a3-b510-29d8531448f7/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:48:13 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:30 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
||||
|
@ -17,7 +17,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 20 Nov 2018 08:47:33 GMT
|
||||
Date: Tue, 27 Nov 2018 15:09:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user