Merge branch '2.1' into 2.2

# Conflicts:
#	gns3server/version.py
#	requirements.txt
This commit is contained in:
grossmj 2018-06-10 21:19:55 +07:00
commit 96d5e351f7
235 changed files with 3037 additions and 864 deletions

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:55 GMT Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id} X-Route: /v2/compute/projects/{project_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7 HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:44 GMT Date: Thu, 07 Jun 2018 08:13:16 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:43 GMT Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:46 GMT Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7 HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:52 GMT Date: Thu, 07 Jun 2018 08:13:23 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:49 GMT Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -0,0 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}

View File

@ -0,0 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:08 GMT Date: Thu, 07 Jun 2018 08:13:40 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio' curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio HTTP/1.1 DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -6,10 +6,10 @@ GET /v2/compute/capabilities HTTP/1.1
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 347 Content-Length: 366
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:42 GMT Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/capabilities X-Route: /v2/compute/capabilities
{ {
@ -25,9 +25,10 @@ X-Route: /v2/compute/capabilities
"atm_switch", "atm_switch",
"qemu", "qemu",
"vmware", "vmware",
"traceng",
"docker", "docker",
"iou" "iou"
], ],
"platform": "linuxdebian", "platform": "linuxdebian",
"version": "2.1.2dev1" "version": "2.1.7dev1"
} }

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 149 Content-Length: 149
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/iou/images X-Route: /v2/compute/iou/images
[ [

View File

@ -6,10 +6,10 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 1461 Content-Length: 4266
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:54 GMT Date: Thu, 07 Jun 2018 08:13:24 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/network/interfaces X-Route: /v2/compute/network/interfaces
[ [
@ -75,5 +75,113 @@ X-Route: /v2/compute/network/interfaces
"netmask": "", "netmask": "",
"special": true, "special": true,
"type": "ethernet" "type": "ethernet"
},
{
"id": "vmnet1",
"ip_address": "172.20.1.1",
"mac_address": "00:50:56:c0:00:01",
"name": "vmnet1",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet10",
"ip_address": "172.20.10.1",
"mac_address": "00:50:56:c0:00:0a",
"name": "vmnet10",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet11",
"ip_address": "172.20.11.1",
"mac_address": "00:50:56:c0:00:0b",
"name": "vmnet11",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet12",
"ip_address": "172.20.12.1",
"mac_address": "00:50:56:c0:00:0c",
"name": "vmnet12",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet13",
"ip_address": "172.20.13.1",
"mac_address": "00:50:56:c0:00:0d",
"name": "vmnet13",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet14",
"ip_address": "172.20.14.1",
"mac_address": "00:50:56:c0:00:0e",
"name": "vmnet14",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet15",
"ip_address": "172.20.15.1",
"mac_address": "00:50:56:c0:00:0f",
"name": "vmnet15",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet16",
"ip_address": "172.20.16.1",
"mac_address": "00:50:56:c0:00:10",
"name": "vmnet16",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet17",
"ip_address": "172.20.17.1",
"mac_address": "00:50:56:c0:00:11",
"name": "vmnet17",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet18",
"ip_address": "172.20.18.1",
"mac_address": "00:50:56:c0:00:12",
"name": "vmnet18",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet19",
"ip_address": "172.20.19.1",
"mac_address": "00:50:56:c0:00:13",
"name": "vmnet19",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet8",
"ip_address": "192.168.100.1",
"mac_address": "00:50:56:c0:00:08",
"name": "vmnet8",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
} }
] ]

View File

@ -6,19 +6,21 @@ GET /v2/compute/projects HTTP/1.1
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 198 Content-Length: 252
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:55 GMT Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects X-Route: /v2/compute/projects
[ [
{ {
"name": "test", "name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
"variables": null
}, },
{ {
"name": "test", "name": "test",
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
"variables": null
} }
] ]

View File

@ -6,13 +6,14 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 80 Content-Length: 103
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:55 GMT Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id} X-Route: /v2/compute/projects/{project_id}
{ {
"name": "test", "name": "test",
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02" "project_id": "40010203-0405-0607-0809-0a0b0c0d0e02",
"variables": null
} }

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f HTTP/1.1
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 1584 Content-Length: 2926
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:42 GMT Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{ {
@ -48,11 +48,71 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "p2p0", "name": "p2p0",
"special": true, "special": true,
"type": "ethernet" "type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet11",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet12",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet13",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet14",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet15",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet16",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet17",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet18",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet19",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
} }
], ],
"name": "Cloud 1", "name": "Cloud 1",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/870c464a-d236-4a5e-8a1d-87893c493f4c", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/b766dfcb-041e-48a5-a06e-612c4628a95f",
"node_id": "870c464a-d236-4a5e-8a1d-87893c493f4c", "node_id": "b766dfcb-041e-48a5-a06e-612c4628a95f",
"ports_mapping": [ "ports_mapping": [
{ {
"interface": "en0", "interface": "en0",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1 HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 665 Content-Length: 665
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} 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, "l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/f1e67396-246b-4edb-bfeb-cfd6bd028ae1", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/00997700-f754-409b-bbf9-2774b17ade3c",
"node_id": "f1e67396-246b-4edb-bfeb-cfd6bd028ae1", "node_id": "00997700-f754-409b-bbf9-2774b17ade3c",
"nvram": 128, "nvram": 128,
"path": "iou.bin", "path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55 HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94 HTTP/1.1
@ -8,13 +8,13 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 335 Content-Length: 335
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{ {
"name": "Nat 1", "name": "Nat 1",
"node_id": "2d520206-fba0-4b14-9fac-c065701eab55", "node_id": "d84b342a-2d54-444d-bb3b-61d7ff3cfa94",
"ports_mapping": [ "ports_mapping": [
{ {
"interface": "virbr0", "interface": "virbr0",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519 HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 1468 Content-Length: 1468
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:55 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{ {
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "", "kernel_image": "",
"kernel_image_md5sum": null, "kernel_image_md5sum": null,
"legacy_networking": false, "legacy_networking": false,
"mac_address": "00:dd:80:85:19:00", "mac_address": "0c:dd:80:8f:9b:00",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/24403711-3db5-4cae-abae-956bfbf08519", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
"node_id": "24403711-3db5-4cae-abae-956bfbf08519", "node_id": "6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
"options": "", "options": "",
"platform": "x86_64", "platform": "x86_64",
"process_priority": "low", "process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 256, "ram": 256,
"status": "stopped", "status": "stopped",
"usage": "" "usage": ""

View File

@ -0,0 +1,26 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 487
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/64614fb7-5040-4046-893d-35a8b6c75bb7",
"node_id": "64614fb7-5040-4046-893d-35a8b6c75bb7",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0 HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994 HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 465 Content-Length: 465
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{ {
@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false, "linked_clone": false,
"name": "VMTEST", "name": "VMTEST",
"node_directory": null, "node_directory": null,
"node_id": "0e9631fd-c8b4-4a21-bba1-2fe71d2387e0", "node_id": "afe8cb47-ddf2-4563-b821-12e9207ab994",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0, "ram": 0,
"status": "stopped", "status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15 HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 688 Content-Length: 688
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:59 GMT Date: Thu, 07 Jun 2018 08:13:31 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
{ {
@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
"headless": false, "headless": false,
"linked_clone": false, "linked_clone": false,
"name": "VMTEST", "name": "VMTEST",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/1cb7bfee-78f2-442d-8c62-da5fba43c91a", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/574e26a7-a3be-4770-9a5e-1976b6621a15",
"node_id": "1cb7bfee-78f2-442d-8c62-da5fba43c91a", "node_id": "574e26a7-a3be-4770-9a5e-1976b6621a15",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped", "status": "stopped",
"use_any_adapter": false, "use_any_adapter": false,

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7' curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7 HTTP/1.1 GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821 HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 428 Content-Length: 428
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:42 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} 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": 5004,
"console_type": "telnet", "console_type": "telnet",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/30bdb318-3e61-4679-a102-bf397bcaf821",
"node_id": "ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7", "node_id": "30bdb318-3e61-4679-a102-bf397bcaf821",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped" "status": "stopped"
} }

View File

@ -12,8 +12,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 212 Content-Length: 212
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/qemu/binaries X-Route: /v2/compute/qemu/binaries
[ [

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 39 Content-Length: 39
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/qemu/capabilities X-Route: /v2/compute/qemu/capabilities
{ {

View File

@ -8,11 +8,11 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 49 Content-Length: 49
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/version X-Route: /v2/compute/version
{ {
"local": true, "local": true,
"version": "2.1.2dev1" "version": "2.1.7dev1"
} }

View File

@ -9,13 +9,14 @@ POST /v2/compute/projects HTTP/1.1
HTTP/1.1 201 HTTP/1.1 201
Connection: close Connection: close
Content-Length: 80 Content-Length: 103
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:54 GMT Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects X-Route: /v2/compute/projects
{ {
"name": "test", "name": "test",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f" "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"variables": null
} }

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:55 GMT Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/close X-Route: /v2/compute/projects/{project_id}/close

View File

@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201 HTTP/1.1 201
Connection: close Connection: close
Content-Length: 1584 Content-Length: 2926
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:42 GMT Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{ {
@ -50,11 +50,71 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"name": "p2p0", "name": "p2p0",
"special": true, "special": true,
"type": "ethernet" "type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet11",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet12",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet13",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet14",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet15",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet16",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet17",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet18",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet19",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
} }
], ],
"name": "Cloud 1", "name": "Cloud 1",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5c51574-0032-419f-af7e-87edd8cab649", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
"node_id": "f5c51574-0032-419f-af7e-87edd8cab649", "node_id": "bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
"ports_mapping": [ "ports_mapping": [
{ {
"interface": "en0", "interface": "en0",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/dbff6f53-7446-4c8f-bebb-38b568b1edc6/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/be3c2398-9092-4d78-92af-215ba584ca89/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/dbff6f53-7446-4c8f-bebb-38b568b1edc6/adapters/0/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/be3c2398-9092-4d78-92af-215ba584ca89/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:43 GMT Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22a7d45d-7024-4303-bfd6-bedd6bab4037/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/3d15b76d-633d-495e-969f-bbada9d23583/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/22a7d45d-7024-4303-bfd6-bedd6bab4037/adapters/0/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3d15b76d-633d-495e-969f-bbada9d23583/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:46 GMT Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/283cc38e-c13f-41e9-951e-42c9723fb3bc/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/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/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/283cc38e-c13f-41e9-951e-42c9723fb3bc/adapters/0/ports/0/start_capture HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/adapters/0/ports/0/start_capture HTTP/1.1
{ {
"capture_file_name": "test.pcap", "capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB" "data_link_type": "DLT_EN10MB"
@ -11,8 +11,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 145 Content-Length: 145
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:46 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,8 +1,8 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate' -d '{"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate' -d '{"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate HTTP/1.1
{ {
"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d" "destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"
} }
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 4 Content-Length: 4
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
true true

View File

@ -1,9 +1,9 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a", "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": "aa8e15e5-218e-4333-9ef0-08b09f4841eb", "path": "iou.bin", "startup_config_content": "hostname test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
{ {
"name": "PC TEST 1", "name": "PC TEST 1",
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a", "node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
"path": "iou.bin", "path": "iou.bin",
"startup_config_content": "hostname test" "startup_config_content": "hostname test"
} }
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 665 Content-Length: 665
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes 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, "l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2a40df31-c258-409e-8aa3-466baab4bb1a", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/aa8e15e5-218e-4333-9ef0-08b09f4841eb",
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a", "node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
"nvram": 128, "nvram": 128,
"path": "iou.bin", "path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio HTTP/1.1
{ {
"ethernet_device": "bridge0", "ethernet_device": "bridge0",
"type": "nio_ethernet" "type": "nio_ethernet"
@ -11,8 +11,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 64 Content-Length: 64
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/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/17acdd5b-0e7e-43d0-97ad-56b3c028b933/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/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/adapters/0/ports/0/start_capture HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5b-0e7e-43d0-97ad-56b3c028b933/adapters/0/ports/0/start_capture HTTP/1.1
{ {
"capture_file_name": "test.pcap", "capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB" "data_link_type": "DLT_EN10MB"
@ -11,8 +11,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 145 Content-Length: 145
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,8 +1,8 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate' -d '{"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate' -d '{"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate HTTP/1.1
{ {
"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d" "destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"
} }
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 4 Content-Length: 4
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
true true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start' -d '{"iourc_content": "test"}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start HTTP/1.1
{ {
"iourc_content": "test" "iourc_content": "test"
} }
@ -10,8 +10,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 665 Content-Length: 665
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start 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, "l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/7aaf8730-a591-434b-832c-545c3fdace21", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/b4040cc6-0b70-4855-a036-1b978d3851d7",
"node_id": "7aaf8730-a591-434b-832c-545c3fdace21", "node_id": "b4040cc6-0b70-4855-a036-1b978d3851d7",
"nvram": 128, "nvram": 128,
"path": "iou.bin", "path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:47 GMT Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop

View File

@ -10,13 +10,13 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 335 Content-Length: 335
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes X-Route: /v2/compute/projects/{project_id}/nat/nodes
{ {
"name": "Nat 1", "name": "Nat 1",
"node_id": "bb9f6090-ce62-461c-8457-babcbabe1417", "node_id": "86f1f9e2-6d50-405f-93a2-dfa80867011a",
"ports_mapping": [ "ports_mapping": [
{ {
"interface": "virbr0", "interface": "virbr0",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/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/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/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/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/adapters/0/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -8,8 +8,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 25 Content-Length: 25
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:54 GMT Date: Thu, 07 Jun 2018 08:13:24 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/ports/udp X-Route: /v2/compute/projects/{project_id}/ports/udp
{ {

View File

@ -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": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "ram": 1024}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64", "ram": 1024}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
{ {
"hda_disk_image": "linux\u8f7d.img", "hda_disk_image": "linux\u8f7d.img",
"name": "PC TEST 1", "name": "PC TEST 1",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 1024 "ram": 1024
} }
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 1514 Content-Length: 1514
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:55 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{ {
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
"kernel_image": "", "kernel_image": "",
"kernel_image_md5sum": null, "kernel_image_md5sum": null,
"legacy_networking": false, "legacy_networking": false,
"mac_address": "00:dd:80:61:ca:00", "mac_address": "0c:dd:80:55:b9:00",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c5506ba4-66a1-4b97-b632-0b73291161ca", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ae5793fb-4872-4b81-8255-3203266a55b9",
"node_id": "c5506ba4-66a1-4b97-b632-0b73291161ca", "node_id": "ae5793fb-4872-4b81-8255-3203266a55b9",
"options": "", "options": "",
"platform": "x86_64", "platform": "x86_64",
"process_priority": "low", "process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 1024, "ram": 1024,
"status": "stopped", "status": "stopped",
"usage": "" "usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61a9f99e-3542-49a5-b082-fd154577b1da/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/efed1192-7f96-4a02-bea0-62b706547da4/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/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/adapters/1/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,8 +1,8 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate' -d '{"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate' -d '{"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate HTTP/1.1
{ {
"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4" "destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"
} }
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 4 Content-Length: 4
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
true true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start HTTP/1.1
{} {}
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 1468 Content-Length: 1468
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{ {
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
"kernel_image": "", "kernel_image": "",
"kernel_image_md5sum": null, "kernel_image_md5sum": null,
"legacy_networking": false, "legacy_networking": false,
"mac_address": "00:dd:80:db:d2:00", "mac_address": "0c:dd:80:53:7f:00",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/549b4a45-e05f-46f7-9162-9c8917cfdbd2", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d49b3617-cdad-4d3c-99e7-77ae9aad537f",
"node_id": "549b4a45-e05f-46f7-9162-9c8917cfdbd2", "node_id": "d49b3617-cdad-4d3c-99e7-77ae9aad537f",
"options": "", "options": "",
"platform": "x86_64", "platform": "x86_64",
"process_priority": "low", "process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 256, "ram": 256,
"status": "stopped", "status": "stopped",
"usage": "" "usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend

View File

@ -0,0 +1,28 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes' -d '{"name": "TraceNG TEST 1"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes HTTP/1.1
{
"name": "TraceNG TEST 1"
}
HTTP/1.1 201
Connection: close
Content-Length: 487
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
"node_id": "e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -0,0 +1,25 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -0,0 +1,17 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate' -d '{"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate HTTP/1.1
{
"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
true

View File

@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload

View File

@ -0,0 +1,28 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start' -d '{"destination": "192.168.1.2"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start HTTP/1.1
{
"destination": "192.168.1.2"
}
HTTP/1.1 200
Connection: close
Content-Length: 487
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/4422948c-70b0-42ab-8448-ad136e433915",
"node_id": "4422948c-70b0-42ab-8448-ad136e433915",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop

View File

@ -12,8 +12,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 459 Content-Length: 459
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{ {
@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
"linked_clone": false, "linked_clone": false,
"name": "VM1", "name": "VM1",
"node_directory": null, "node_directory": null,
"node_id": "dbbae445-fdee-4985-ab03-9fd20c4dd5c1", "node_id": "e649e24c-a24b-4f43-8d60-42a054924fde",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0, "ram": 0,
"status": "stopped", "status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/acf82559-f05c-4623-8607-f4725c99dd19/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/de29fdcc-31c0-4884-9f3e-70ca810e4226/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/acf82559-f05c-4623-8607-f4725c99dd19/adapters/0/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de29fdcc-31c0-4884-9f3e-70ca810e4226/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend

View File

@ -12,8 +12,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 688 Content-Length: 688
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes X-Route: /v2/compute/projects/{project_id}/vmware/nodes
{ {
@ -25,8 +25,8 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes
"headless": false, "headless": false,
"linked_clone": false, "linked_clone": false,
"name": "VM1", "name": "VM1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/363338c7-451e-4f3d-a74a-5d7400b2325b", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/049de18e-e9b8-4b96-85b7-b81ef50ca43b",
"node_id": "363338c7-451e-4f3d-a74a-5d7400b2325b", "node_id": "049de18e-e9b8-4b96-85b7-b81ef50ca43b",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped", "status": "stopped",
"use_any_adapter": false, "use_any_adapter": false,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/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/a5bc0194-75eb-4b7f-a078-e201109e2054/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/8bd601b4-b70c-455d-86a8-656a844523bf/adapters/0/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a5bc0194-75eb-4b7f-a078-e201109e2054/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:06 GMT Date: Thu, 07 Jun 2018 08:13:38 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:05 GMT Date: Thu, 07 Jun 2018 08:13:36 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:04 GMT Date: Thu, 07 Jun 2018 08:13:35 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:00 GMT Date: Thu, 07 Jun 2018 08:13:32 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:01 GMT Date: Thu, 07 Jun 2018 08:13:33 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:02 GMT Date: Thu, 07 Jun 2018 08:13:34 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend

View File

@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 428 Content-Length: 428
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:42 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes 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": 5004,
"console_type": "telnet", "console_type": "telnet",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/de5b89af-2907-411f-bc88-d7aacc015763", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/dd2fd65a-97d2-4e59-9627-b733fe88ee78",
"node_id": "de5b89af-2907-411f-bc88-d7aacc015763", "node_id": "dd2fd65a-97d2-4e59-9627-b733fe88ee78",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped" "status": "stopped"
} }

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eb360fb6-4941-4f14-9145-e7d64369bc3c/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/b1f7cb30-08aa-48cb-9059-2e741c8148aa/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/eb360fb6-4941-4f14-9145-e7d64369bc3c/adapters/0/ports/0/nio HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b1f7cb30-08aa-48cb-9059-2e741c8148aa/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,8 +1,8 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate' -d '{"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate' -d '{"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate HTTP/1.1
{ {
"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6" "destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"
} }
@ -10,8 +10,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 4 Content-Length: 4
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
true true

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start HTTP/1.1
{} {}
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 428 Content-Length: 428
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start 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": 5004,
"console_type": "telnet", "console_type": "telnet",
"name": "PC TEST 1", "name": "PC TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/9c0b927b-a48b-41c7-ad94-4006669f49f5", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
"node_id": "9c0b927b-a48b-41c7-ad94-4006669f49f5", "node_id": "a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped" "status": "stopped"
} }

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop' -d '{}' curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop HTTP/1.1 POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop HTTP/1.1
{} {}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:11 GMT Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop

View File

@ -17,7 +17,7 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 0 Content-Length: 0
Content-Type: application/octet-stream Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:15:57 GMT Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/qemu/img X-Route: /v2/compute/qemu/img

View File

@ -0,0 +1,31 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/51010203-0405-0607-0809-0a0b0c0d0e0f' -d '{"variables": [{"name": "TEST1", "value": "VAL1"}]}'
PUT /v2/compute/projects/51010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1
{
"variables": [
{
"name": "TEST1",
"value": "VAL1"
}
]
}
HTTP/1.1 200
Connection: close
Content-Length: 183
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
"variables": [
{
"name": "TEST1",
"value": "VAL1"
}
]
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43' -d '{"name": "test"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43 HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828 HTTP/1.1
{ {
"name": "test" "name": "test"
} }
@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 1581 Content-Length: 2923
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:46 GMT Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{ {
@ -50,11 +50,71 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "p2p0", "name": "p2p0",
"special": true, "special": true,
"type": "ethernet" "type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet11",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet12",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet13",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet14",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet15",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet16",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet17",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet18",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet19",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
} }
], ],
"name": "test", "name": "test",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5393b54-aad6-4233-acfa-ab20d9cb0e43", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/d964862d-8fa4-4d41-8b95-539c987d5828",
"node_id": "f5393b54-aad6-4233-acfa-ab20d9cb0e43", "node_id": "d964862d-8fa4-4d41-8b95-539c987d5828",
"ports_mapping": [ "ports_mapping": [
{ {
"interface": "en0", "interface": "en0",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/adapters/0/ports/0/nio HTTP/1.1
{ {
"filters": {}, "filters": {},
"lport": 4242, "lport": 4242,
@ -14,8 +14,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 108 Content-Length: 108
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:43 GMT Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,9 +1,10 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "extra_hosts": "test:127.0.0.1", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3 HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f HTTP/1.1
{ {
"console": 5006, "console": 5006,
"environment": "GNS3=1\nGNS4=0", "environment": "GNS3=1\nGNS4=0",
"extra_hosts": "test:127.0.0.1",
"name": "test", "name": "test",
"start_command": "yes" "start_command": "yes"
} }
@ -11,10 +12,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396
HTTP/1.1 200 HTTP/1.1 200
Connection: close Connection: close
Content-Length: 653 Content-Length: 690
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:46 GMT Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{ {
@ -27,10 +28,11 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"console_type": "telnet", "console_type": "telnet",
"container_id": "8bd8153ea8f5", "container_id": "8bd8153ea8f5",
"environment": "GNS3=1\nGNS4=0", "environment": "GNS3=1\nGNS4=0",
"extra_hosts": "test:127.0.0.1",
"image": "nginx:latest", "image": "nginx:latest",
"name": "test", "name": "test",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/22396e9c-c6a0-4d55-82f0-fff20006a4a3", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/d7e6571d-5d3c-42e3-9c88-5837c862a30f",
"node_id": "22396e9c-c6a0-4d55-82f0-fff20006a4a3", "node_id": "d7e6571d-5d3c-42e3-9c88-5837c862a30f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes", "start_command": "yes",
"status": "stopped" "status": "stopped"

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/28827b16-356e-45b5-9615-f9cba6ae1c8d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/28827b16-356e-45b5-9615-f9cba6ae1c8d/adapters/0/ports/0/nio HTTP/1.1
{ {
"lport": 4242, "lport": 4242,
"rhost": "127.0.0.1", "rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:46 GMT Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/526cbb33-9ffb-4ad3-8d63-ab26b94cfb73' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/526cbb33-9ffb-4ad3-8d63-ab26b94cfb73 HTTP/1.1
{ {
"console": 5005, "console": 5005,
"ethernet_adapters": 4, "ethernet_adapters": 4,
@ -17,8 +17,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 660 Content-Length: 660
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{ {
@ -30,8 +30,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": true, "l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test", "name": "test",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2e54bfd5-33e4-4958-9eb5-9344095bcf3c", "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/526cbb33-9ffb-4ad3-8d63-ab26b94cfb73",
"node_id": "2e54bfd5-33e4-4958-9eb5-9344095bcf3c", "node_id": "526cbb33-9ffb-4ad3-8d63-ab26b94cfb73",
"nvram": 2048, "nvram": 2048,
"path": "iou.bin", "path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4a3b6244-dcac-45f5-94d0-c86f960489dc/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4a3b6244-dcac-45f5-94d0-c86f960489dc/adapters/1/ports/0/nio HTTP/1.1
{ {
"filters": {}, "filters": {},
"lport": 4242, "lport": 4242,
@ -14,8 +14,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 89 Content-Length: 89
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:48 GMT Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187' -d '{"name": "test"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d7edeb26-7166-4019-92e8-ac656548da7b' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187 HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d7edeb26-7166-4019-92e8-ac656548da7b HTTP/1.1
{ {
"name": "test" "name": "test"
} }
@ -10,13 +10,13 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 334 Content-Length: 334
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:54 GMT Date: Thu, 07 Jun 2018 08:13:24 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{ {
"name": "test", "name": "test",
"node_id": "c567edc8-9230-41b5-a32c-cda1403eb187", "node_id": "d7edeb26-7166-4019-92e8-ac656548da7b",
"ports_mapping": [ "ports_mapping": [
{ {
"interface": "virbr0", "interface": "virbr0",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a5334edf-1b67-43f5-8ec4-403d55a29e3b/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a5334edf-1b67-43f5-8ec4-403d55a29e3b/adapters/0/ports/0/nio HTTP/1.1
{ {
"filters": {}, "filters": {},
"lport": 4242, "lport": 4242,
@ -14,8 +14,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 108 Content-Length: 108
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e5160c4-dafe-4e46-abfc-9a43b94d4750' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504 HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e5160c4-dafe-4e46-abfc-9a43b94d4750 HTTP/1.1
{ {
"console": 5006, "console": 5006,
"hdb_disk_image": "linux\u8f7d.img", "hdb_disk_image": "linux\u8f7d.img",
@ -13,8 +13,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 1509 Content-Length: 1509
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{ {
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "", "kernel_image": "",
"kernel_image_md5sum": null, "kernel_image_md5sum": null,
"legacy_networking": false, "legacy_networking": false,
"mac_address": "00:dd:80:45:04:00", "mac_address": "0c:dd:80:47:50:00",
"name": "test", "name": "test",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/2b036990-caf0-422c-b18b-5b218bbe4504", "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7e5160c4-dafe-4e46-abfc-9a43b94d4750",
"node_id": "2b036990-caf0-422c-b18b-5b218bbe4504", "node_id": "7e5160c4-dafe-4e46-abfc-9a43b94d4750",
"options": "", "options": "",
"platform": "x86_64", "platform": "x86_64",
"process_priority": "low", "process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 1024, "ram": 1024,
"status": "stopped", "status": "stopped",
"usage": "" "usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/92635984-c34c-4e50-a07e-499fe66a14f4/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/92635984-c34c-4e50-a07e-499fe66a14f4/adapters/1/ports/0/nio HTTP/1.1
{ {
"filters": {}, "filters": {},
"lport": 4242, "lport": 4242,
@ -14,8 +14,8 @@ HTTP/1.1 201
Connection: close Connection: close
Content-Length: 108 Content-Length: 108
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:56 GMT Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{ {

View File

@ -0,0 +1,29 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/865521e4-1ebf-4c23-bedf-01263f49e78d' -d '{"ip_address": "192.168.1.1", "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/865521e4-1ebf-4c23-bedf-01263f49e78d HTTP/1.1
{
"ip_address": "192.168.1.1",
"name": "test"
}
HTTP/1.1 200
Connection: close
Content-Length: 488
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "192.168.1.1",
"name": "test",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/865521e4-1ebf-4c23-bedf-01263f49e78d",
"node_id": "865521e4-1ebf-4c23-bedf-01263f49e78d",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -0,0 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/20aef678-88ed-4b4e-b834-df52f40d90f4/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/20aef678-88ed-4b4e-b834-df52f40d90f4/adapters/0/ports/0/nio HTTP/1.1
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 108
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d' -d '{"console": 5005, "name": "test"}' curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eb7c0cfb-20e4-403d-8ce0-53e4a1138183' -d '{"console": 5005, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d HTTP/1.1 PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eb7c0cfb-20e4-403d-8ce0-53e4a1138183 HTTP/1.1
{ {
"console": 5005, "console": 5005,
"name": "test" "name": "test"
@ -11,8 +11,8 @@ HTTP/1.1 200
Connection: close Connection: close
Content-Length: 463 Content-Length: 463
Content-Type: application/json Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:58 GMT Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.2dev1 Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{ {
@ -25,7 +25,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false, "linked_clone": false,
"name": "test", "name": "test",
"node_directory": null, "node_directory": null,
"node_id": "07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d", "node_id": "eb7c0cfb-20e4-403d-8ce0-53e4a1138183",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0, "ram": 0,
"status": "stopped", "status": "stopped",

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