diff --git a/docs/api/examples/compute_delete_projectsprojectid.txt b/docs/api/examples/compute_delete_projectsprojectid.txt index dc50a67c..295d5281 100644 --- a/docs/api/examples/compute_delete_projectsprojectid.txt +++ b/docs/api/examples/compute_delete_projectsprojectid.txt @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:55 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:25 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id} diff --git a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt index 5d5f84c4..e0e21c46 100644 --- a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:44 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:16 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} diff --git a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index db010a2d..c28b021c 100644 --- a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:43 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:14 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 5c69c596..9a2add93 100644 --- a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:46 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:18 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt index f7b9ec41..1d7435b5 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:20 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index c789627f..d43c031a 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:21 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt index 4a4eedcd..10cbdd32 100644 --- a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:52 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:23 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} diff --git a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 5d532ad0..df4123dd 100644 --- a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:49 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:22 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt index 1708461a..2247ad85 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index b1a1ab26..0fd45db2 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:27 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectidtracengnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidtracengnodesnodeid.txt new file mode 100644 index 00000000..317c3fc8 --- /dev/null +++ b/docs/api/examples/compute_delete_projectsprojectidtracengnodesnodeid.txt @@ -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} + diff --git a/docs/api/examples/compute_delete_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt new file mode 100644 index 00000000..1c62cad2 --- /dev/null +++ b/docs/api/examples/compute_delete_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 + diff --git a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 81893234..bb380dcf 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 7f652342..b6dfef46 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:08 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:40 GMT +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 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt index fecbd515..62cfbcb8 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index b052edd5..f2c5c54e 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +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 diff --git a/docs/api/examples/compute_get_capabilities.txt b/docs/api/examples/compute_get_capabilities.txt index 73c85e35..9174c0f1 100644 --- a/docs/api/examples/compute_get_capabilities.txt +++ b/docs/api/examples/compute_get_capabilities.txt @@ -6,10 +6,10 @@ GET /v2/compute/capabilities HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 347 +Content-Length: 366 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:42 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:14 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/capabilities { @@ -25,9 +25,10 @@ X-Route: /v2/compute/capabilities "atm_switch", "qemu", "vmware", + "traceng", "docker", "iou" ], "platform": "linuxdebian", - "version": "2.1.2dev1" + "version": "2.1.7dev1" } diff --git a/docs/api/examples/compute_get_iouimages.txt b/docs/api/examples/compute_get_iouimages.txt index b0fb48f6..2b6aea31 100644 --- a/docs/api/examples/compute_get_iouimages.txt +++ b/docs/api/examples/compute_get_iouimages.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 149 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:21 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/iou/images [ diff --git a/docs/api/examples/compute_get_networkinterfaces.txt b/docs/api/examples/compute_get_networkinterfaces.txt index 36098af1..1ce5057e 100644 --- a/docs/api/examples/compute_get_networkinterfaces.txt +++ b/docs/api/examples/compute_get_networkinterfaces.txt @@ -6,10 +6,10 @@ GET /v2/compute/network/interfaces HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 1461 +Content-Length: 4266 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:54 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:24 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/network/interfaces [ @@ -75,5 +75,113 @@ X-Route: /v2/compute/network/interfaces "netmask": "", "special": true, "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" } ] diff --git a/docs/api/examples/compute_get_projects.txt b/docs/api/examples/compute_get_projects.txt index e851566e..dfe9f6ae 100644 --- a/docs/api/examples/compute_get_projects.txt +++ b/docs/api/examples/compute_get_projects.txt @@ -6,19 +6,21 @@ GET /v2/compute/projects HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 198 +Content-Length: 252 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:55 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:25 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects [ { "name": "test", - "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" + "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f", + "variables": null }, { "name": "test", - "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" + "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b", + "variables": null } ] diff --git a/docs/api/examples/compute_get_projectsprojectid.txt b/docs/api/examples/compute_get_projectsprojectid.txt index a1e8cf1b..bb4cc65f 100644 --- a/docs/api/examples/compute_get_projectsprojectid.txt +++ b/docs/api/examples/compute_get_projectsprojectid.txt @@ -6,13 +6,14 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 80 +Content-Length: 103 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:55 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +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": "40010203-0405-0607-0809-0a0b0c0d0e02" + "project_id": "40010203-0405-0607-0809-0a0b0c0d0e02", + "variables": null } diff --git a/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt index 48e6b7e6..c56a9019 100644 --- a/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt @@ -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 Connection: close -Content-Length: 1584 +Content-Length: 2926 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:42 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:14 GMT +Server: Python/3.6 GNS3/2.1.7dev1 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", "special": true, "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", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/870c464a-d236-4a5e-8a1d-87893c493f4c", - "node_id": "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": "b766dfcb-041e-48a5-a06e-612c4628a95f", "ports_mapping": [ { "interface": "en0", diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt index 6d6f3973..ef787e19 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt @@ -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 Content-Length: 665 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} { @@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/f1e67396-246b-4edb-bfeb-cfd6bd028ae1", - "node_id": "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": "00997700-f754-409b-bbf9-2774b17ade3c", "nvram": 128, "path": "iou.bin", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", diff --git a/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt index bc6e43cf..7d406bcb 100644 --- a/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt @@ -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 Content-Length: 335 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:49 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} { "name": "Nat 1", - "node_id": "2d520206-fba0-4b14-9fac-c065701eab55", + "node_id": "d84b342a-2d54-444d-bb3b-61d7ff3cfa94", "ports_mapping": [ { "interface": "virbr0", diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt index ece08136..bd0ffdb2 100644 --- a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt @@ -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 Content-Length: 1468 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:55 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} { @@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:85:19:00", + "mac_address": "0c:dd:80:8f:9b:00", "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_id": "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": "6db387ed-c99c-4ecf-b7c5-882771ce8f9b", "options": "", "platform": "x86_64", "process_priority": "low", "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, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_get_projectsprojectidtracengnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidtracengnodesnodeid.txt new file mode 100644 index 00000000..a1c164db --- /dev/null +++ b/docs/api/examples/compute_get_projectsprojectidtracengnodesnodeid.txt @@ -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" +} diff --git a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt index b1e56213..c7907674 100644 --- a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt @@ -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 Content-Length: 465 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} { @@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} "linked_clone": false, "name": "VMTEST", "node_directory": null, - "node_id": "0e9631fd-c8b4-4a21-bba1-2fe71d2387e0", + "node_id": "afe8cb47-ddf2-4563-b821-12e9207ab994", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_get_projectsprojectidvmwarenodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvmwarenodesnodeid.txt index 2bb99c63..9ccbc5d1 100644 --- a/docs/api/examples/compute_get_projectsprojectidvmwarenodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvmwarenodesnodeid.txt @@ -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 Content-Length: 688 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:59 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:31 GMT +Server: Python/3.6 GNS3/2.1.7dev1 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, "linked_clone": false, "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_id": "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": "574e26a7-a3be-4770-9a5e-1976b6621a15", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped", "use_any_adapter": false, diff --git a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt index 84d97efe..555812d8 100644 --- a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt @@ -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 Content-Length: 428 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:42 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} { @@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} "console": 5004, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7", - "node_id": "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": "30bdb318-3e61-4679-a102-bf397bcaf821", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped" } diff --git a/docs/api/examples/compute_get_qemubinaries.txt b/docs/api/examples/compute_get_qemubinaries.txt index fd0fb43a..6ba01c3d 100644 --- a/docs/api/examples/compute_get_qemubinaries.txt +++ b/docs/api/examples/compute_get_qemubinaries.txt @@ -12,8 +12,8 @@ HTTP/1.1 200 Connection: close Content-Length: 212 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:27 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/qemu/binaries [ diff --git a/docs/api/examples/compute_get_qemucapabilities.txt b/docs/api/examples/compute_get_qemucapabilities.txt index 55bd4a8d..29c409a6 100644 --- a/docs/api/examples/compute_get_qemucapabilities.txt +++ b/docs/api/examples/compute_get_qemucapabilities.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 39 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:27 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/qemu/capabilities { diff --git a/docs/api/examples/compute_get_version.txt b/docs/api/examples/compute_get_version.txt index 1aca034a..86fadc34 100644 --- a/docs/api/examples/compute_get_version.txt +++ b/docs/api/examples/compute_get_version.txt @@ -8,11 +8,11 @@ HTTP/1.1 200 Connection: close Content-Length: 49 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:28 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/version { "local": true, - "version": "2.1.2dev1" + "version": "2.1.7dev1" } diff --git a/docs/api/examples/compute_post_projects.txt b/docs/api/examples/compute_post_projects.txt index c3c7022d..64a91447 100644 --- a/docs/api/examples/compute_post_projects.txt +++ b/docs/api/examples/compute_post_projects.txt @@ -9,13 +9,14 @@ POST /v2/compute/projects HTTP/1.1 HTTP/1.1 201 Connection: close -Content-Length: 80 +Content-Length: 103 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:54 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:25 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects { "name": "test", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f" + "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", + "variables": null } diff --git a/docs/api/examples/compute_post_projectsprojectidclose.txt b/docs/api/examples/compute_post_projectsprojectidclose.txt index 6554fc1f..e83294a7 100644 --- a/docs/api/examples/compute_post_projectsprojectidclose.txt +++ b/docs/api/examples/compute_post_projectsprojectidclose.txt @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:55 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:25 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/close diff --git a/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt b/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt index dc5c9802..b7b5597f 100644 --- a/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt @@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/ HTTP/1.1 201 Connection: close -Content-Length: 1584 +Content-Length: 2926 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:42 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:14 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/cloud/nodes { @@ -50,11 +50,71 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes "name": "p2p0", "special": true, "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", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5c51574-0032-419f-af7e-87edd8cab649", - "node_id": "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": "bd7f1bd9-2752-46bf-a09d-ba0190ac226b", "ports_mapping": [ { "interface": "en0", diff --git a/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index d68bc365..54dce5ea 100644 --- a/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:43 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:14 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index f033d818..dd8be630 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:46 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:18 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt index 4fa39c43..3a87248a 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt @@ -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", "data_link_type": "DLT_EN10MB" @@ -11,8 +11,8 @@ HTTP/1.1 200 Connection: close Content-Length: 145 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:46 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index 75805247..96418ae0 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +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 diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidduplicate.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidduplicate.txt index 952cc8b2..1eee51c5 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidduplicate.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidduplicate.txt @@ -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 Content-Length: 4 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate true diff --git a/docs/api/examples/compute_post_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt index 81cc286e..17af142f 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodes.txt @@ -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 { "name": "PC TEST 1", - "node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a", + "node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb", "path": "iou.bin", "startup_config_content": "hostname test" } @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 665 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes { @@ -26,8 +26,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2a40df31-c258-409e-8aa3-466baab4bb1a", - "node_id": "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": "aa8e15e5-218e-4333-9ef0-08b09f4841eb", "nvram": 128, "path": "iou.bin", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 0884bf6c..85352b90 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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", "type": "nio_ethernet" @@ -11,8 +11,8 @@ HTTP/1.1 201 Connection: close Content-Length: 64 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:21 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt index 0c63abaf..a64b69ea 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt @@ -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", "data_link_type": "DLT_EN10MB" @@ -11,8 +11,8 @@ HTTP/1.1 200 Connection: close Content-Length: 145 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:21 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index ca7c6451..20a43c94 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:21 GMT +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 diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidduplicate.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidduplicate.txt index 6a5bdf33..c9e8d7db 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidduplicate.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidduplicate.txt @@ -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 Content-Length: 4 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:49 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate true diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt index 9f35b297..ab47b1f4 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:20 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt index 1aded760..a74810d7 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt @@ -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" } @@ -10,8 +10,8 @@ HTTP/1.1 200 Connection: close Content-Length: 665 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start { @@ -23,8 +23,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/7aaf8730-a591-434b-832c-545c3fdace21", - "node_id": "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": "b4040cc6-0b70-4855-a036-1b978d3851d7", "nvram": 128, "path": "iou.bin", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt index 448a837b..4095d7e3 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:47 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:20 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop diff --git a/docs/api/examples/compute_post_projectsprojectidnatnodes.txt b/docs/api/examples/compute_post_projectsprojectidnatnodes.txt index e53c3018..69218470 100644 --- a/docs/api/examples/compute_post_projectsprojectidnatnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidnatnodes.txt @@ -10,13 +10,13 @@ HTTP/1.1 201 Connection: close Content-Length: 335 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:49 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/nat/nodes { "name": "Nat 1", - "node_id": "bb9f6090-ce62-461c-8457-babcbabe1417", + "node_id": "86f1f9e2-6d50-405f-93a2-dfa80867011a", "ports_mapping": [ { "interface": "virbr0", diff --git a/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 6a1c7fb3..a43119df 100644 --- a/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:49 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:22 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidportsudp.txt b/docs/api/examples/compute_post_projectsprojectidportsudp.txt index c0eab42b..f523915e 100644 --- a/docs/api/examples/compute_post_projectsprojectidportsudp.txt +++ b/docs/api/examples/compute_post_projectsprojectidportsudp.txt @@ -8,8 +8,8 @@ HTTP/1.1 201 Connection: close Content-Length: 25 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:54 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:24 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/ports/udp { diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt index 399b0eb4..a35442d2 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt @@ -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 { "hda_disk_image": "linux\u8f7d.img", "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 } @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 1514 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:55 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes { @@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:61:ca:00", + "mac_address": "0c:dd:80:55:b9:00", "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_id": "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": "ae5793fb-4872-4b81-8255-3203266a55b9", "options": "", "platform": "x86_64", "process_priority": "low", "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, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index bcac1dec..b1b42a51 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidduplicate.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidduplicate.txt index 0702c4b1..7adf563b 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidduplicate.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidduplicate.txt @@ -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 Content-Length: 4 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:27 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate true diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt index 1ef73170..f79d87ac 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt index 86644775..c689152c 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt index eff36977..e2e56169 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt @@ -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 Content-Length: 1468 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start { @@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:db:d2:00", + "mac_address": "0c:dd:80:53:7f:00", "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_id": "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": "d49b3617-cdad-4d3c-99e7-77ae9aad537f", "options": "", "platform": "x86_64", "process_priority": "low", "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, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt index 8ad14370..39846d15 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt index 605a1990..0f7ef7a9 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend diff --git a/docs/api/examples/compute_post_projectsprojectidtracengnodes.txt b/docs/api/examples/compute_post_projectsprojectidtracengnodes.txt new file mode 100644 index 00000000..97f2c15c --- /dev/null +++ b/docs/api/examples/compute_post_projectsprojectidtracengnodes.txt @@ -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" +} diff --git a/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt new file mode 100644 index 00000000..ffe0642c --- /dev/null +++ b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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" +} diff --git a/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidduplicate.txt b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidduplicate.txt new file mode 100644 index 00000000..4fa21ab9 --- /dev/null +++ b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidduplicate.txt @@ -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 diff --git a/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidreload.txt new file mode 100644 index 00000000..08df0056 --- /dev/null +++ b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidreload.txt @@ -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 + diff --git a/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidstart.txt new file mode 100644 index 00000000..d5d7f848 --- /dev/null +++ b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidstart.txt @@ -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" +} diff --git a/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidstop.txt new file mode 100644 index 00000000..18aa874e --- /dev/null +++ b/docs/api/examples/compute_post_projectsprojectidtracengnodesnodeidstop.txt @@ -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 + diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt index db20360a..37dab571 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt @@ -12,8 +12,8 @@ HTTP/1.1 201 Connection: close Content-Length: 459 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes { @@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes "linked_clone": false, "name": "VM1", "node_directory": null, - "node_id": "dbbae445-fdee-4985-ab03-9fd20c4dd5c1", + "node_id": "e649e24c-a24b-4f43-8d60-42a054924fde", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index e7270773..213cd93b 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt index 9e91965d..79c64eaa 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt index c495f6bc..4ed31787 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt index c924f306..568c2178 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt index afeb5c18..832a747f 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt index a0bbe4de..de3df106 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodes.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodes.txt index c6c3d72c..4e4a4d04 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodes.txt @@ -12,8 +12,8 @@ HTTP/1.1 201 Connection: close Content-Length: 688 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes { @@ -25,8 +25,8 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes "headless": false, "linked_clone": false, "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_id": "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": "049de18e-e9b8-4b96-85b7-b81ef50ca43b", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped", "use_any_adapter": false, diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt index a3e6933d..cc3d5187 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:06 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:38 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidreload.txt index 06974d43..c13a277b 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidreload.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:05 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:36 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidresume.txt index 58e242fd..9946d3a4 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidresume.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:04 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:35 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstart.txt index e901133f..9a94c9cb 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstart.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:00 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:32 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstop.txt index d9e0419f..d778f2ee 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidstop.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:01 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:33 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop diff --git a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidsuspend.txt index 3b954e10..c974141f 100644 --- a/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidvmwarenodesnodeidsuspend.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:02 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:34 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt index 058daa67..4224dff8 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt @@ -10,8 +10,8 @@ HTTP/1.1 201 Connection: close Content-Length: 428 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:42 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes { @@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes "console": 5004, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/de5b89af-2907-411f-bc88-d7aacc015763", - "node_id": "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": "dd2fd65a-97d2-4e59-9627-b733fe88ee78", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped" } diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 4584bfc2..01d170a2 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +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 { diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidduplicate.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidduplicate.txt index a4342f3c..479798e7 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidduplicate.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidduplicate.txt @@ -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 Content-Length: 4 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate true diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt index 4b9f57d4..65aff3d3 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt index 60ae628f..585c427c 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt @@ -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 Content-Length: 428 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start { @@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start "console": 5004, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/9c0b927b-a48b-41c7-ad94-4006669f49f5", - "node_id": "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": "a1cf1192-7d29-4fa8-8e1c-948f50eddabc", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped" } diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt index 2c6e2e70..81367f37 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt @@ -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 Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop diff --git a/docs/api/examples/compute_post_qemuimg.txt b/docs/api/examples/compute_post_qemuimg.txt index aabe42f9..3ced14d5 100644 --- a/docs/api/examples/compute_post_qemuimg.txt +++ b/docs/api/examples/compute_post_qemuimg.txt @@ -17,7 +17,7 @@ HTTP/1.1 201 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:15:57 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:27 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/qemu/img diff --git a/docs/api/examples/compute_put_projectsprojectid.txt b/docs/api/examples/compute_put_projectsprojectid.txt new file mode 100644 index 00000000..f3fec13a --- /dev/null +++ b/docs/api/examples/compute_put_projectsprojectid.txt @@ -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" + } + ] +} diff --git a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt index adbee567..0b7060c7 100644 --- a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt @@ -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" } @@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b HTTP/1.1 200 Connection: close -Content-Length: 1581 +Content-Length: 2923 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:46 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:18 GMT +Server: Python/3.6 GNS3/2.1.7dev1 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", "special": true, "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", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5393b54-aad6-4233-acfa-ab20d9cb0e43", - "node_id": "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": "d964862d-8fa4-4d41-8b95-539c987d5828", "ports_mapping": [ { "interface": "en0", diff --git a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 49cdcbc8..d57e9310 100644 --- a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 108 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:43 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:14 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt index c811bdf0..4d767ae7 100644 --- a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt @@ -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, "environment": "GNS3=1\nGNS4=0", + "extra_hosts": "test:127.0.0.1", "name": "test", "start_command": "yes" } @@ -11,10 +12,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396 HTTP/1.1 200 Connection: close -Content-Length: 653 +Content-Length: 690 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:46 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:19 GMT +Server: Python/3.6 GNS3/2.1.7dev1 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", "container_id": "8bd8153ea8f5", "environment": "GNS3=1\nGNS4=0", + "extra_hosts": "test:127.0.0.1", "image": "nginx:latest", "name": "test", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/22396e9c-c6a0-4d55-82f0-fff20006a4a3", - "node_id": "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": "d7e6571d-5d3c-42e3-9c88-5837c862a30f", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "start_command": "yes", "status": "stopped" diff --git a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 9ff834d9..6bb815a6 100644 --- a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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, "rhost": "127.0.0.1", @@ -13,8 +13,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:46 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:18 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt index ead7fafd..afdd5d50 100644 --- a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt @@ -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, "ethernet_adapters": 4, @@ -17,8 +17,8 @@ HTTP/1.1 200 Connection: close Content-Length: 660 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:20 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} { @@ -30,8 +30,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} "l1_keepalives": true, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "test", - "node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2e54bfd5-33e4-4958-9eb5-9344095bcf3c", - "node_id": "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": "526cbb33-9ffb-4ad3-8d63-ab26b94cfb73", "nvram": 2048, "path": "iou.bin", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", diff --git a/docs/api/examples/compute_put_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 1a00d6ca..7e6923df 100644 --- a/docs/api/examples/compute_put_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 89 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:48 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:21 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt index a49acf6d..9ec06a16 100644 --- a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt @@ -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" } @@ -10,13 +10,13 @@ HTTP/1.1 200 Connection: close Content-Length: 334 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:54 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:24 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} { "name": "test", - "node_id": "c567edc8-9230-41b5-a32c-cda1403eb187", + "node_id": "d7edeb26-7166-4019-92e8-ac656548da7b", "ports_mapping": [ { "interface": "virbr0", diff --git a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index bbfbb4b8..dcdc309f 100644 --- a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 108 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:49 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:22 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt index 06c76a3c..8bf78163 100644 --- a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt @@ -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, "hdb_disk_image": "linux\u8f7d.img", @@ -13,8 +13,8 @@ HTTP/1.1 200 Connection: close Content-Length: 1509 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:26 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} { @@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:45:04:00", + "mac_address": "0c:dd:80:47:50:00", "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_id": "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": "7e5160c4-dafe-4e46-abfc-9a43b94d4750", "options": "", "platform": "x86_64", "process_priority": "low", "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, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index e6e107ba..907a4ae4 100644 --- a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 108 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:56 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:27 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectidtracengnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidtracengnodesnodeid.txt new file mode 100644 index 00000000..8491d63a --- /dev/null +++ b/docs/api/examples/compute_put_projectsprojectidtracengnodesnodeid.txt @@ -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" +} diff --git a/docs/api/examples/compute_put_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt new file mode 100644 index 00000000..6b64a496 --- /dev/null +++ b/docs/api/examples/compute_put_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -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" +} diff --git a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt index d406ff89..d0388d29 100644 --- a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt @@ -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, "name": "test" @@ -11,8 +11,8 @@ HTTP/1.1 200 Connection: close Content-Length: 463 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +Server: Python/3.6 GNS3/2.1.7dev1 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, "name": "test", "node_directory": null, - "node_id": "07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d", + "node_id": "eb7c0cfb-20e4-403d-8ce0-53e4a1138183", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 4b279b92..cf882303 100644 --- a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/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/virtualbox/nodes/99c243a9-b5b5-46cc-b670-8a39dbed52e5/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/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99c243a9-b5b5-46cc-b670-8a39dbed52e5/adapters/0/ports/0/nio HTTP/1.1 { "filters": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 108 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:15:58 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:29 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeid.txt index eba662d7..3dd0ab57 100644 --- a/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0984c2d0-0a0c-4b46-ba69-16bd5c0464fe' -d '{"console": 5005, "name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/35e839a7-d13e-40e9-a240-7d9e7b7267b4' -d '{"console": 5005, "name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0984c2d0-0a0c-4b46-ba69-16bd5c0464fe HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/35e839a7-d13e-40e9-a240-7d9e7b7267b4 HTTP/1.1 { "console": 5005, "name": "test" @@ -11,8 +11,8 @@ HTTP/1.1 200 Connection: close Content-Length: 689 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:10 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:41 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id} { @@ -24,8 +24,8 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id} "headless": false, "linked_clone": false, "name": "test", - "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/0984c2d0-0a0c-4b46-ba69-16bd5c0464fe", - "node_id": "0984c2d0-0a0c-4b46-ba69-16bd5c0464fe", + "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/35e839a7-d13e-40e9-a240-7d9e7b7267b4", + "node_id": "35e839a7-d13e-40e9-a240-7d9e7b7267b4", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped", "use_any_adapter": false, diff --git a/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 1015be6a..7e53ce95 100644 --- a/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7334e124-eace-47e6-982b-ef6ce9382a7b/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/vmware/nodes/f3ad3396-ce95-4c2a-a503-6e2dccd95d34/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/vmware/nodes/7334e124-eace-47e6-982b-ef6ce9382a7b/adapters/0/ports/0/nio HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f3ad3396-ce95-4c2a-a503-6e2dccd95d34/adapters/0/ports/0/nio HTTP/1.1 { "filters": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 108 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:07 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:39 GMT +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 { diff --git a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt index a9caee6f..edbc54fc 100644 --- a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/892a8c7f-fd53-4721-a1f8-5fde82beb037' -d '{"console": 5006, "name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c90bcd9d-9dd1-4e04-80e7-b848bc3b193b' -d '{"console": 5006, "name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/892a8c7f-fd53-4721-a1f8-5fde82beb037 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c90bcd9d-9dd1-4e04-80e7-b848bc3b193b HTTP/1.1 { "console": 5006, "name": "test" @@ -11,8 +11,8 @@ HTTP/1.1 200 Connection: close Content-Length: 423 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} { @@ -20,8 +20,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} "console": 5006, "console_type": "telnet", "name": "test", - "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/892a8c7f-fd53-4721-a1f8-5fde82beb037", - "node_id": "892a8c7f-fd53-4721-a1f8-5fde82beb037", + "node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c90bcd9d-9dd1-4e04-80e7-b848bc3b193b", + "node_id": "c90bcd9d-9dd1-4e04-80e7-b848bc3b193b", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "status": "stopped" } diff --git a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 2910325e..7a658b15 100644 --- a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fa95d435-5dc4-4e82-b8a5-7977de2daae6/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/vpcs/nodes/69e5f7dc-df26-42a3-830f-14af44971d9a/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/vpcs/nodes/fa95d435-5dc4-4e82-b8a5-7977de2daae6/adapters/0/ports/0/nio HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/69e5f7dc-df26-42a3-830f-14af44971d9a/adapters/0/ports/0/nio HTTP/1.1 { "filters": {}, "lport": 4242, @@ -14,8 +14,8 @@ HTTP/1.1 201 Connection: close Content-Length: 108 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:11 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +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 { diff --git a/docs/api/examples/controller_delete_computescomputeid.txt b/docs/api/examples/controller_delete_computescomputeid.txt index 9a296e44..73a3a65e 100644 --- a/docs/api/examples/controller_delete_computescomputeid.txt +++ b/docs/api/examples/controller_delete_computescomputeid.txt @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:24 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:50 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id} diff --git a/docs/api/examples/controller_delete_projectsprojectid.txt b/docs/api/examples/controller_delete_projectsprojectid.txt index 5e3f48e5..fc6fcaac 100644 --- a/docs/api/examples/controller_delete_projectsprojectid.txt +++ b/docs/api/examples/controller_delete_projectsprojectid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/5b7149f0-17dd-48f0-a908-99dd4b4de0d4' +curl -i -X DELETE 'http://localhost:3080/v2/projects/9e8db3e4-84ad-481a-a1c5-0ffeb011c5dd' -DELETE /v2/projects/5b7149f0-17dd-48f0-a908-99dd4b4de0d4 HTTP/1.1 +DELETE /v2/projects/9e8db3e4-84ad-481a-a1c5-0ffeb011c5dd HTTP/1.1 @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:58 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id} diff --git a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt index 5c232cf7..beb0fa3f 100644 --- a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt +++ b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/3cf20b3c-0602-49a6-b593-d49b6a1a5238/drawings/df4f6a0a-429a-40c9-ae38-dbb4733d0750' +curl -i -X DELETE 'http://localhost:3080/v2/projects/80765c72-3173-4881-a32b-a77e9bf725d9/drawings/8f6238f9-93f9-49ea-acb8-46a75e77c019' -DELETE /v2/projects/3cf20b3c-0602-49a6-b593-d49b6a1a5238/drawings/df4f6a0a-429a-40c9-ae38-dbb4733d0750 HTTP/1.1 +DELETE /v2/projects/80765c72-3173-4881-a32b-a77e9bf725d9/drawings/8f6238f9-93f9-49ea-acb8-46a75e77c019 HTTP/1.1 @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/drawings/{drawing_id} diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt index 00b9e571..1860f2f1 100644 --- a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/2883d355-8b23-4ddd-a21b-ff213e485c29/links/3b6257c1-ce3b-44c8-8c6c-a0457d6e9e04' +curl -i -X DELETE 'http://localhost:3080/v2/projects/c03a601b-94f5-42b1-a5c9-52ffce68dfe6/links/3edd3d96-8054-4ef4-995f-6cdb93dbbabf' -DELETE /v2/projects/2883d355-8b23-4ddd-a21b-ff213e485c29/links/3b6257c1-ce3b-44c8-8c6c-a0457d6e9e04 HTTP/1.1 +DELETE /v2/projects/c03a601b-94f5-42b1-a5c9-52ffce68dfe6/links/3edd3d96-8054-4ef4-995f-6cdb93dbbabf HTTP/1.1 @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links/{link_id} diff --git a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt index 5b0c9f70..c30d8369 100644 --- a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/86bbdba1-356e-4abf-94af-42c002782a60/nodes/f22f2164-5f3f-4dd8-b88b-cca9e32f4f5c' +curl -i -X DELETE 'http://localhost:3080/v2/projects/6735d71f-0128-48f0-955b-db3bd252ee32/nodes/a3d1c9cd-170f-471e-8e3f-1d4637c464b6' -DELETE /v2/projects/86bbdba1-356e-4abf-94af-42c002782a60/nodes/f22f2164-5f3f-4dd8-b88b-cca9e32f4f5c HTTP/1.1 +DELETE /v2/projects/6735d71f-0128-48f0-955b-db3bd252ee32/nodes/a3d1c9cd-170f-471e-8e3f-1d4637c464b6 HTTP/1.1 @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:57 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id} diff --git a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt index 71686b4d..a818ee4f 100644 --- a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/0b8da5eb-a8e3-47a7-b74a-b8440087ad20/snapshots/47c9b602-6e34-4190-94f9-6e7bd7d18c2d' +curl -i -X DELETE 'http://localhost:3080/v2/projects/4a770bd3-f288-4339-890a-b7d94ce3ca92/snapshots/5e4ebfe2-6dc3-442e-8074-9ba65e3a6c82' -DELETE /v2/projects/0b8da5eb-a8e3-47a7-b74a-b8440087ad20/snapshots/47c9b602-6e34-4190-94f9-6e7bd7d18c2d HTTP/1.1 +DELETE /v2/projects/4a770bd3-f288-4339-890a-b7d94ce3ca92/snapshots/5e4ebfe2-6dc3-442e-8074-9ba65e3a6c82 HTTP/1.1 @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:11 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id} diff --git a/docs/api/examples/controller_get_appliances.txt b/docs/api/examples/controller_get_appliances.txt index dcb385ca..d9b3fb0b 100644 --- a/docs/api/examples/controller_get_appliances.txt +++ b/docs/api/examples/controller_get_appliances.txt @@ -6,10 +6,10 @@ GET /v2/appliances HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 2694 +Content-Length: 2690 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:12 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/appliances [ @@ -40,7 +40,7 @@ X-Route: /v2/appliances "builtin": true, "category": "guest", "compute_id": null, - "default_name_format": "{name}-{0}", + "default_name_format": "PC-{0}", "name": "VPCS", "node_type": "vpcs", "platform": null, @@ -91,7 +91,7 @@ X-Route: /v2/appliances "symbol": ":/symbols/atm_switch.svg" }, { - "appliance_id": "dd7ae518-30e9-48fd-b6de-bc9a69720c00", + "appliance_id": "04d7a206-b723-4cca-aa22-88a56b3a789e", "builtin": false, "category": "router", "compute_id": "local", diff --git a/docs/api/examples/controller_get_appliancestemplates.txt b/docs/api/examples/controller_get_appliancestemplates.txt index 21fc2b2c..edf42485 100644 --- a/docs/api/examples/controller_get_appliancestemplates.txt +++ b/docs/api/examples/controller_get_appliancestemplates.txt @@ -6,10 +6,10 @@ GET /v2/appliances/templates HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 470863 +Content-Length: 507853 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:12 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:43 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/appliances/templates [ @@ -694,6 +694,13 @@ X-Route: /v2/appliances/templates "description": "Take control of your online applications with Brocade virtual Traffic Manager (Developer Edition). Enhance customer experience, inspect traffic in real-time, control service levels to differentiate users and services, and reduce your costs with an extensible delivery platform that can grow with your business using ADC-as-a-Service. A fully functional Developer Edition which needs no license key, is limited to 1 Mbps/100 SSL tps throughput, and has access to the Brocade Community support web pages.", "documentation_url": "http://www.brocade.com/en/products-services/software-networking/application-delivery-controllers/virtual-traffic-manager.html", "images": [ + { + "download_url": "http://www1.brocade.com/forms/jsp/steelapp-traffic-manager-developer/index.jsp?src=WS&lsd=BRCD&lst=English&cn=PA-GDG-16Q1-EVAL-TrafficManagerDeveloper&intcmp=lp_en_vTMdeveloper_eval_bn_00001", + "filename": "VirtualTrafficManager-174.qcow2", + "filesize": 2036465664, + "md5sum": "3c44f385e5faf310ca8e3d46bf4e0564", + "version": "17.4" + }, { "download_url": "http://www1.brocade.com/forms/jsp/steelapp-traffic-manager-developer/index.jsp?src=WS&lsd=BRCD&lst=English&cn=PA-GDG-16Q1-EVAL-TrafficManagerDeveloper&intcmp=lp_en_vTMdeveloper_eval_bn_00001", "filename": "VirtualTrafficManager-173.qcow2", @@ -767,6 +774,12 @@ X-Route: /v2/appliances/templates "vendor_name": "Brocade", "vendor_url": "http://www.brocade.com/", "versions": [ + { + "images": { + "hda_disk_image": "VirtualTrafficManager-174.qcow2" + }, + "name": "17.4" + }, { "images": { "hda_disk_image": "VirtualTrafficManager-173.qcow2" @@ -868,6 +881,7 @@ X-Route: /v2/appliances/templates ] }, { + "availability": "free", "builtin": true, "category": "guest", "description": "The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL). We are now looking to expand on that by creating the resources needed by other communities to come together and be able to build on the CentOS Linux platform. And today we start the process by delivering a clear governance model, increased transparency and access. In the coming weeks we aim to publish our own roadmap that includes variants of the core CentOS Linux.", @@ -940,11 +954,11 @@ X-Route: /v2/appliances/templates "version": "77.20" }, { - "direct_download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty8G.qcow2/download", + "direct_download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty100G.qcow2/download", "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/", - "filename": "empty8G.qcow2", + "filename": "empty100G.qcow2", "filesize": 197120, - "md5sum": "f1d2c25b6990f99bd05b433ab603bdb4", + "md5sum": "1e6409a4523ada212dea2ebc50e50a65", "version": "1.0" } ], @@ -958,11 +972,12 @@ X-Route: /v2/appliances/templates "arch": "x86_64", "boot_priority": "dc", "console_type": "telnet", + "cpus": 2, "kvm": "require", "process_priority": "normal", - "ram": 2048 + "ram": 4096 }, - "registry_version": 3, + "registry_version": 4, "status": "experimental", "usage": "At boot choose the install on disk options. You need to open quickly the terminal after launching the appliance if you want to see the menu. You need a web browser in order to finalize the installation. You can use the firefox appliance for this.", "vendor_name": "Checkpoint", @@ -971,21 +986,21 @@ X-Route: /v2/appliances/templates { "images": { "cdrom_image": "Check_Point_R80.10_T421_Gaia.iso", - "hda_disk_image": "empty8G.qcow2" + "hda_disk_image": "empty100G.qcow2" }, "name": "80.10" }, { "images": { "cdrom_image": "Check_Point_R77.30_T204_Install_and_Upgrade.Gaia.iso", - "hda_disk_image": "empty8G.qcow2" + "hda_disk_image": "empty100G.qcow2" }, "name": "77.30" }, { "images": { "cdrom_image": "Check_Point_R77.20_T124_Install.Gaia.iso", - "hda_disk_image": "empty8G.qcow2" + "hda_disk_image": "empty100G.qcow2" }, "name": "77.20" } @@ -1341,7 +1356,7 @@ X-Route: /v2/appliances/templates "filename": "c7200-adventerprisek9-mz.124-24.T5.image", "filesize": 102345240, "md5sum": "6b89d0d804e1f2bb5b8bda66b5692047", - "version": "124-25.T5" + "version": "124-24.T5" } ], "maintainer": "GNS3 Team", @@ -1358,7 +1373,7 @@ X-Route: /v2/appliances/templates "images": { "image": "c7200-adventerprisek9-mz.124-24.T5.image" }, - "name": "124-25.T5" + "name": "124-24.T5" } ] }, @@ -1531,21 +1546,28 @@ X-Route: /v2/appliances/templates "documentation_url": "http://www.cisco.com/c/en/us/support/routers/cloud-services-router-1000v-series/products-installation-and-configuration-guides-list.html", "images": [ { - "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Fuji-16.7.1&relind=AVAILABLE&rellifecycle=ED&reltype=latest", + "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Fuji-16.7.1", "filename": "csr1000v-universalk9.16.07.01-serial.qcow2", - "filesize": 882769920, - "md5sum": "13adbfc2586d06c9802b9805168c0c44", + "filesize": 884539392, + "md5sum": "bad9000d4ae8317bbc99a34a8cdd2eb4", "version": "16.7.1" }, { - "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Denali-16.3.5&relind=AVAILABLE&rellifecycle=ED&reltype=latest", + "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Everest-16.6.2", + "filename": "csr1000v-universalk9.16.06.02-serial.qcow2", + "filesize": 1570242560, + "md5sum": "11e393b31ab9d1ace8e5f7551c491ba2", + "version": "16.6.2" + }, + { + "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Everest-16.6.1", "filename": "csr1000v-universalk9.16.06.01-serial.qcow2", "filesize": 1566179328, "md5sum": "909e74446d3ff0b82c14327c0058fdc2", "version": "16.6.1" }, { - "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Denali-16.3.5&relind=AVAILABLE&rellifecycle=ED&reltype=latest", + "download_url": "https://software.cisco.com/download/release.html?mdfid=284364978&flowid=39582&softwareid=282046477&release=Everest-16.5.2", "filename": "csr1000v-universalk9.16.05.02-serial.qcow2", "filesize": 1322385408, "md5sum": "59a84da28d59ee75176aa05ecde7f72a", @@ -1620,6 +1642,12 @@ X-Route: /v2/appliances/templates }, "name": "16.7.1" }, + { + "images": { + "hda_disk_image": "csr1000v-universalk9.16.06.02-serial.qcow2" + }, + "name": "16.6.2" + }, { "images": { "hda_disk_image": "csr1000v-universalk9.16.06.01-serial.qcow2" @@ -1725,6 +1753,7 @@ X-Route: /v2/appliances/templates ] }, { + "availability": "service-contract", "builtin": true, "category": "firewall", "description": "This is your administrative nerve center for managing critical Cisco network security solutions. It provides complete and unified management over firewalls, application control, intrusion prevention, URL filtering, and advanced malware protection. Easily go from managing a firewall to controlling applications to investigating and remediating malware outbreaks.", @@ -1850,6 +1879,7 @@ X-Route: /v2/appliances/templates ] }, { + "availability": "service-contract", "builtin": true, "category": "firewall", "description": "Cisco Firepower Threat Defense Virtual NGFW appliances combine Cisco's proven network firewall with the industry\u2019s most effective next-gen IPS and advanced malware protection. All so you can get more visibility, be more flexible, save more, and protect better.", @@ -2401,6 +2431,7 @@ X-Route: /v2/appliances/templates ] }, { + "availability": "service-contract", "builtin": true, "category": "firewall", "description": "Cisco Firepower Next-Generation IPS (NGIPS) threat appliances combine superior visibility, embedded security intelligence, automated analysis, and industry-leading threat effectiveness.", @@ -2535,6 +2566,20 @@ X-Route: /v2/appliances/templates "documentation_url": "http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/nx-osv/configuration/guide/b_NX-OSv_9000/b_NX-OSv_chapter_01.html", "first_port_name": "mgmt0", "images": [ + { + "download_url": "https://software.cisco.com/download/", + "filename": "nxosv-final.7.0.3.I7.3.qcow2", + "filesize": 983629824, + "md5sum": "9d7a20367bf681a239f14097bbce470a", + "version": "7.0.3.I7.3" + }, + { + "download_url": "https://software.cisco.com/download/", + "filename": "nxosv-final.7.0.3.I7.2.qcow2", + "filesize": 906231808, + "md5sum": "17295efb13e83b24a439148449bfd5ab", + "version": "7.0.3.I7.2" + }, { "download_url": "https://software.cisco.com/download/", "filename": "nxosv-final.7.0.3.I7.1.qcow2", @@ -2594,6 +2639,20 @@ X-Route: /v2/appliances/templates "vendor_name": "Cisco", "vendor_url": "http://www.cisco.com/", "versions": [ + { + "images": { + "bios_image": "OVMF-20160813.fd", + "hda_disk_image": "nxosv-final.7.0.3.I7.3.qcow2" + }, + "name": "7.0.3.I7.3" + }, + { + "images": { + "bios_image": "OVMF-20160813.fd", + "hda_disk_image": "nxosv-final.7.0.3.I7.2.qcow2" + }, + "name": "7.0.3.I7.2" + }, { "images": { "bios_image": "OVMF-20160813.fd", @@ -2772,6 +2831,13 @@ X-Route: /v2/appliances/templates "description": "Today\u2019s enterprises face more demands than ever, from cloud computing to 24/7 availability to increasing security threats. NetScaler ADC, an advanced software-defined application delivery controller, is your networking power player. It provides outstanding delivery of business applications\u2014to any device and any location\u2014with unmatched security, superior L4-7 load balancing, reliable GSLB, and 100 percent uptime. In fact, NetScaler ADC offers up to five times the performance of our closest competitor. Plus our TriScale technology saves you money by allowing your network to scale up or down without additional hardware costs.", "documentation_url": "https://www.citrix.com/products/netscaler-adc/support.html", "images": [ + { + "download_url": "https://www.citrix.com/lp/try/netscaler-vpx-express.html", + "filename": "NSVPX-KVM-12.0-56.20_nc_32.qcow2", + "filesize": 739704832, + "md5sum": "0ea1c23e3b8eb8451037d46ee472cfa6", + "version": "12.0-56.20" + }, { "download_url": "https://www.citrix.com/downloads/netscaler-adc/virtual-appliances/netscaler-vpx-express.html", "filename": "NSVPX-KVM-11.1-47.14_nc.raw", @@ -2811,6 +2877,12 @@ X-Route: /v2/appliances/templates "vendor_name": "Citrix", "vendor_url": "http://www.citrix.com/", "versions": [ + { + "images": { + "hda_disk_image": "NSVPX-KVM-12.0-56.20_nc_32.qcow2" + }, + "name": "12.0-56.20" + }, { "images": { "hda_disk_image": "NSVPX-KVM-11.1-47.14_nc.raw" @@ -2831,6 +2903,13 @@ X-Route: /v2/appliances/templates "description": "ClearOS is an operating system for your Server, Network, and Gateway systems. It is designed for homes, small to medium businesses, and distributed environments. ClearOS is commonly known as the Next Generation Small Business Server, while including indispensable Gateway and Networking functionality. It delivers a powerful IT solution with an elegant user interface that is completely web-based. Simply put.. ClearOS is the new way of delivering IT.", "documentation_url": "https://www.clearos.com/resources/documentation/clearos-7-documentation-overview", "images": [ + { + "download_url": "https://www.clearos.com/clearfoundation/software/clearos-downloads", + "filename": "ClearOS-7.4-DVD-x86_64.iso", + "filesize": 1029701632, + "md5sum": "826da592f9cd4b59f5fc996ff2d569f1", + "version": "7.4" + }, { "download_url": "https://www.clearos.com/clearfoundation/software/clearos-downloads", "filename": "ClearOS-7.3-DVD-x86_64.iso", @@ -2874,6 +2953,13 @@ X-Route: /v2/appliances/templates "vendor_name": "ClearCenter, Corp.", "vendor_url": "https://www.clearos.com/", "versions": [ + { + "images": { + "cdrom_image": "ClearOS-7.4-DVD-x86_64.iso", + "hda_disk_image": "empty30G.qcow2" + }, + "name": "7.4" + }, { "images": { "cdrom_image": "ClearOS-7.3-DVD-x86_64.iso", @@ -2967,6 +3053,24 @@ X-Route: /v2/appliances/templates "description": "CoreOS is designed for security, consistency, and reliability. Instead of installing packages via yum or apt, CoreOS uses Linux containers to manage your services at a higher level of abstraction. A single service's code and all dependencies are packaged within a container that can be run on one or many CoreOS machines.", "documentation_url": "https://coreos.com/docs/", "images": [ + { + "compression": "bzip2", + "direct_download_url": "http://stable.release.core-os.net/amd64-usr/1632.2.1/coreos_production_qemu_image.img.bz2", + "download_url": "http://stable.release.core-os.net/amd64-usr/1632.2.1/", + "filename": "coreos_production_qemu_image.1632.2.1.img", + "filesize": 885719040, + "md5sum": "facd05ca85eb87e2dc6aefd6779f6806", + "version": "1632.2.1" + }, + { + "compression": "bzip2", + "direct_download_url": "http://stable.release.core-os.net/amd64-usr/1576.4.0/coreos_production_qemu_image.img.bz2", + "download_url": "http://stable.release.core-os.net/amd64-usr/1576.4.0/", + "filename": "coreos_production_qemu_image.1576.4.0.img", + "filesize": 849739776, + "md5sum": "7d3c647807afe1f18fd0c76730e612b4", + "version": "1576.4.0" + }, { "compression": "bzip2", "direct_download_url": "http://stable.release.core-os.net/amd64-usr/1520.8.0/coreos_production_qemu_image.img.bz2", @@ -3104,6 +3208,18 @@ X-Route: /v2/appliances/templates "vendor_name": "CoreOS, Inc", "vendor_url": "https://coreos.com/", "versions": [ + { + "images": { + "hda_disk_image": "coreos_production_qemu_image.1576.4.0.img" + }, + "name": "1632.2.1" + }, + { + "images": { + "hda_disk_image": "coreos_production_qemu_image.1576.4.0.img" + }, + "name": "1576.4.0" + }, { "images": { "hda_disk_image": "coreos_production_qemu_image.1520.8.0.img" @@ -3191,6 +3307,22 @@ X-Route: /v2/appliances/templates "documentation_url": "http://docs.cumulusnetworks.com/", "first_port_name": "eth0", "images": [ + { + "direct_download_url": "http://cumulusfiles.s3.amazonaws.com/cumulus-linux-3.5.0-vx-amd64.qcow2", + "download_url": "https://cumulusnetworks.com/cumulus-vx/download/", + "filename": "cumulus-linux-3.5.2-vx-amd64.qcow2", + "filesize": 996605952, + "md5sum": "87d1d8b297e5ebd77924669dfb7e4c9f", + "version": "3.5.2" + }, + { + "direct_download_url": "http://cumulusfiles.s3.amazonaws.com/cumulus-linux-3.5.0-vx-amd64.qcow2", + "download_url": "https://cumulusnetworks.com/cumulus-vx/download/", + "filename": "cumulus-linux-3.5.0-vx-amd64.qcow2", + "filesize": 1044250624, + "md5sum": "9ad1f352d0603becf4bcc749b77c99dd", + "version": "3.5.0" + }, { "direct_download_url": "http://cumulusfiles.s3.amazonaws.com/cumulus-linux-3.4.3-vx-amd64.qcow2", "download_url": "https://cumulusnetworks.com/cumulus-vx/download/", @@ -3312,6 +3444,18 @@ X-Route: /v2/appliances/templates "vendor_name": "Cumulus Network", "vendor_url": "https://www.cumulusnetworks.com", "versions": [ + { + "images": { + "hda_disk_image": "cumulus-linux-3.5.2-vx-amd64.qcow2" + }, + "name": "3.5.2" + }, + { + "images": { + "hda_disk_image": "cumulus-linux-3.5.0-vx-amd64.qcow2" + }, + "name": "3.5.0" + }, { "images": { "hda_disk_image": "cumulus-linux-3.4.3-vx-amd64.qcow2" @@ -3555,6 +3699,14 @@ X-Route: /v2/appliances/templates "documentation_url": "http://www.extremenetworks.com/support/documentation", "first_port_name": "Management", "images": [ + { + "direct_download_url": "https://github.com/extremenetworks/Virtual_EXOS/raw/master/vm-22.4.1.4.iso", + "download_url": "https://github.com/extremenetworks/Virtual_EXOS", + "filename": "exosvm-22.4.1.4.iso", + "filesize": 49993728, + "md5sum": "2134a511084519a5f8ad00a6f7cd71a9", + "version": "22.4.1.4" + }, { "direct_download_url": "https://github.com/extremenetworks/Virtual_EXOS/raw/master/vm-22.2.1.5.iso", "download_url": "https://github.com/extremenetworks/Virtual_EXOS", @@ -3643,6 +3795,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Extreme Networks", "vendor_url": "http://www.extremenetworks.com/", "versions": [ + { + "images": { + "cdrom_image": "exosvm-22.4.1.4.iso", + "hda_disk_image": "empty8G.qcow2" + }, + "name": "22.4.1.4" + }, { "images": { "cdrom_image": "exosvm-22.2.1.5.iso", @@ -3700,6 +3859,20 @@ X-Route: /v2/appliances/templates "description": "The BIG-IP family of products offers the application intelligence that network managers need to ensure applications are fast, secure, and available. All BIG-IP products share a common underlying architecture, F5's Traffic Management Operating System (TMOS), which provides unified intelligence, flexibility, and programmability. Together, BIG-IP's powerful platforms, advanced modules, and centralized management system make up the most comprehensive set of application delivery tools in the industry. BIG-IP Virtual Edition (VE) is a version of the BIG-IP system that runs as a virtual machine in specifically-supported hypervisors. BIG-IP VE emulates a hardware-based BIG-IP system running a VE-compatible version of BIG-IP software.", "documentation_url": "https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-ve-kvm-setup-11-3-0.html", "images": [ + { + "download_url": "https://downloads.f5.com/esd/serveDownload.jsp?path=/big-ip/big-ip_v13.x/13.1.0/english/13.1.0.2_virtual-edition/&sw=BIG-IP&pro=big-ip_v13.x&ver=13.1.0&container=13.1.0.2_Virtual-Edition&file=BIGIP-13.1.0.2.0.0.6.ALL.qcow2.zip", + "filename": "BIGIP-13.1.0.2.0.0.6.qcow2", + "filesize": 4363649024, + "md5sum": "d29eb861d8906fc36f88d9861a0055f4", + "version": "13.1.0 HF2" + }, + { + "download_url": "https://downloads.f5.com/esd/serveDownload.jsp?path=/big-ip/big-ip_v13.x/13.1.0/english/13.1.0.1_virtual-edition/&sw=BIG-IP&pro=big-ip_v13.x&ver=13.1.0&container=13.1.0.1_Virtual-Edition&file=BIGIP-13.1.0.1.0.0.8.ALL.qcow2.zip", + "filename": "BIGIP-13.1.0.1.0.0.8.qcow2", + "filesize": 4352966656, + "md5sum": "70f92192e66a82cb8f47bdae0cb267d8", + "version": "13.1.0 HF1" + }, { "download_url": "https://downloads.f5.com/esd/serveDownload.jsp?path=/big-ip/big-ip_v13.x/13.0.0/english/virtual-edition_base-plus-hf2/&sw=BIG-IP&pro=big-ip_v13.x&ver=13.0.0&container=Virtual-Edition_Base-Plus-HF2&file=BIGIP-13.0.0.2.0.1671.LTM.qcow2.zip", "filename": "BIGIP-13.0.0.2.0.1671.qcow2", @@ -3804,6 +3977,20 @@ X-Route: /v2/appliances/templates "vendor_name": "F5", "vendor_url": "http://www.f5.com/", "versions": [ + { + "images": { + "hda_disk_image": "BIGIP-13.1.0.2.0.0.6.qcow2", + "hdb_disk_image": "empty100G.qcow2" + }, + "name": "13.1.0 HF2" + }, + { + "images": { + "hda_disk_image": "BIGIP-13.1.0.1.0.0.8.qcow2", + "hdb_disk_image": "empty100G.qcow2" + }, + "name": "13.1.0 HF1" + }, { "images": { "hda_disk_image": "BIGIP-13.0.0.2.0.1671.qcow2", @@ -3883,6 +4070,13 @@ X-Route: /v2/appliances/templates "documentation_url": "https://support.f5.com/csp/#/knowledge-center/software/BIG-IQ?module=BIG-IQ%20Centralized%20Management", "first_port_name": "mgmt", "images": [ + { + "download_url": "https://downloads.f5.com/esd/serveDownload.jsp?path=/big-iq/big-iq_cm/5.4.0/english/v5.4.0/&sw=BIG-IQ&pro=big-iq_CM&ver=5.4.0&container=v5.4.0&file=BIG-IQ-5.4.0.0.0.7437.qcow2.zip", + "filename": "BIG-IQ-5.4.0.0.0.7437.qcow2", + "filesize": 3300917248, + "md5sum": "068b1f4d21048b9b2a082c0c27ef4d53", + "version": "5.4.0" + }, { "download_url": "https://downloads.f5.com/esd/serveDownload.jsp?path=/big-iq/big-iq_cm/5.3.0/english/v5.3.0/&sw=BIG-IQ&pro=big-iq_CM&ver=5.3.0&container=v5.3.0&file=BIG-IQ-5.3.0.0.0.1119.qcow2.zip", "filename": "BIG-IQ-5.3.0.0.0.1119.qcow2", @@ -3953,6 +4147,13 @@ X-Route: /v2/appliances/templates "vendor_name": "F5", "vendor_url": "http://www.f5.com/", "versions": [ + { + "images": { + "hda_disk_image": "BIG-IQ-5.4.0.0.0.7437.qcow2", + "hdb_disk_image": "empty100G.qcow2" + }, + "name": "5.4.0" + }, { "images": { "hda_disk_image": "BIG-IQ-5.3.0.0.0.1119.qcow2", @@ -4055,6 +4256,20 @@ X-Route: /v2/appliances/templates "md5sum": "b7500835594e62d8acb1c6ec43d597c1", "version": "4.x.x" }, + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FAD_KVM-V400-build0989-FORTINET.out.kvm-boot.qcow2", + "filesize": 72810496, + "md5sum": "c1926d5979ef24d9d14d3394c0bb832b", + "version": "4.8.4" + }, + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FAD_KVM-V400-build0983-FORTINET.out.kvm-boot.qcow2", + "filesize": 72876032, + "md5sum": "d4cfc3b215780b2fb4c9d8f55208e8be", + "version": "4.8.3" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FAD_KVM-V400-build0977-FORTINET.out.kvm-boot.qcow2", @@ -4185,6 +4400,20 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FAD_KVM-V400-build0989-FORTINET.out.kvm-boot.qcow2", + "hdb_disk_image": "FAD_KVM-v400-FORTINET.out.kvm-data.qcow2" + }, + "name": "4.8.4" + }, + { + "images": { + "hda_disk_image": "FAD_KVM-V400-build0983-FORTINET.out.kvm-boot.qcow2", + "hdb_disk_image": "FAD_KVM-v400-FORTINET.out.kvm-data.qcow2" + }, + "name": "4.8.3" + }, { "images": { "hda_disk_image": "FAD_KVM-V400-build0977-FORTINET.out.kvm-boot.qcow2", @@ -4298,6 +4527,13 @@ X-Route: /v2/appliances/templates "description": "FortiAnalyzer Network Security Logging, Analysis, and Reporting Appliances securely aggregate log data from Fortinet Security Appliances. A comprehensive suite of easily customable reports allows you to quickly analyze and visualize network threats, inefficiencies and usage.", "documentation_url": "http://docs.fortinet.com/fortianalyzer/", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FAZ_VM64_KVM-v5-build1619-FORTINET.out.kvm.qcow2", + "filesize": 105705472, + "md5sum": "1bd94c920f8747de671832ef92e8dfbc", + "version": "5.6.1" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FAZ_VM64_KVM-v5-build1557-FORTINET.out.kvm.qcow2", @@ -4401,6 +4637,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FAZ_VM64_KVM-v5-build1619-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.6.1" + }, { "images": { "hda_disk_image": "FAZ_VM64_KVM-v5-build1557-FORTINET.out.kvm.qcow2", @@ -4479,6 +4722,13 @@ X-Route: /v2/appliances/templates "description": "FortiAuthenticator user identity management appliances strengthen enterprise security by simplifying and centralizing the management and storage of user identity information.", "documentation_url": "http://docs.fortinet.com/fortiauthenticator/admin-guides", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FAC_VM_KVM-v5-build0155-FORTINET.out.kvm.qcow2", + "filesize": 71782400, + "md5sum": "69b55ce7c8094ccd736bbfe8a3262b31", + "version": "5.2.0" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FAC_VM_KVM-v500-build0091-FORTINET.out.kvm.qcow2", @@ -4539,6 +4789,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FAC_VM_KVM-v5-build0155-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "FAC_VM_KVM-v500-DATADRIVE.qcow2" + }, + "name": "5.2.0" + }, { "images": { "hda_disk_image": "FAC_VM_KVM-v500-build0091-FORTINET.out.kvm.qcow2", @@ -4575,6 +4832,13 @@ X-Route: /v2/appliances/templates "description": "FortiCache VM high performance Web Caching virtual appliances address bandwidth saturation, high latency, and poor performance caused by caching popular internet content locally for carriers, service providers, enterprises and educational networks. FortiCache VM appliances reduce the cost and impact of cached content on the network, while increasing performance and end- user satisfaction by improving the speed of delivery of popular repeated content.", "documentation_url": "http://docs.fortinet.com/forticache/admin-guides", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FCHKVM-v400-build0216-FORTINET.out.kvm.qcow2", + "filesize": 27553792, + "md5sum": "867e0569b8466db744547422a1d6f17a", + "version": "4.2.6" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FCHKVM-v400-build0213-FORTINET.out.kvm.qcow2", @@ -4664,6 +4928,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FCHKVM-v400-build0216-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty100G.qcow2" + }, + "name": "4.2.6" + }, { "images": { "hda_disk_image": "FCHKVM-v400-build0213-FORTINET.out.kvm.qcow2", @@ -4728,6 +4999,13 @@ X-Route: /v2/appliances/templates "description": "FortiGate Virtual Appliance offers the same level of advanced threat prevention features like the physical appliances in private, hybrid and public cloud deployment.", "documentation_url": "http://docs.fortinet.com/p/inside-fortios", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FGT_VM64_KVM-v5-build1547-FORTINET.out.kvm.qcow2", + "filesize": 40939520, + "md5sum": "a908f8620e8bbccce8794733f3637e13", + "version": "5.6.3" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FGT_VM64_KVM-v5-build1486-FORTINET.out.kvm.qcow2", @@ -4749,6 +5027,20 @@ X-Route: /v2/appliances/templates "md5sum": "17ee2cc8c76c4928a68a2d016aa83ace", "version": "5.6.0" }, + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FGT_VM64_KVM-v5-build1183-FORTINET.out.kvm.qcow2", + "filesize": 38608896, + "md5sum": "c1eb02996a0919c934785d5f48df9507", + "version": "5.4.8" + }, + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FGT_VM64_KVM-v5-build6446-FORTINET.out.kvm.qcow2", + "filesize": 38715392, + "md5sum": "17d3dfebd4b222569cf10cfab83e0e56", + "version": "5.4.7" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FGT_VM64_KVM-v5-build1165-FORTINET.out.kvm.qcow2", @@ -4798,6 +5090,20 @@ X-Route: /v2/appliances/templates "md5sum": "22fc2bdca456dfe3027ad48dff370352", "version": "5.4.0" }, + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FGT_VM64_KVM-v5-build0762-FORTINET.out.kvm.qcow2", + "filesize": 38776832, + "md5sum": "78df232e516a863f233de88ffba5bc4b", + "version": "5.2.13" + }, + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FGT_VM64_KVM-v5-build0760-FORTINET.out.kvm.qcow2", + "filesize": 38363136, + "md5sum": "2efa0c110abed83b71927145d1e87805", + "version": "5.2.12" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FGT_VM64_KVM-v5-build0754-FORTINET.out.kvm.qcow2", @@ -4873,6 +5179,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FGT_VM64_KVM-v5-build1547-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.6.3" + }, { "images": { "hda_disk_image": "FGT_VM64_KVM-v5-build1486-FORTINET.out.kvm.qcow2", @@ -4894,6 +5207,20 @@ X-Route: /v2/appliances/templates }, "name": "5.6.0" }, + { + "images": { + "hda_disk_image": "FGT_VM64_KVM-v5-build1183-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.4.8" + }, + { + "images": { + "hda_disk_image": "FGT_VM64_KVM-v5-build6446-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.4.7" + }, { "images": { "hda_disk_image": "FGT_VM64_KVM-v5-build1165-FORTINET.out.kvm.qcow2", @@ -4943,6 +5270,20 @@ X-Route: /v2/appliances/templates }, "name": "5.4.0" }, + { + "images": { + "hda_disk_image": "FGT_VM64_KVM-v5-build0762-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.2.13" + }, + { + "images": { + "hda_disk_image": "FGT_VM64_KVM-v5-build0760-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.2.12" + }, { "images": { "hda_disk_image": "FGT_VM64_KVM-v5-build0754-FORTINET.out.kvm.qcow2", @@ -4993,6 +5334,13 @@ X-Route: /v2/appliances/templates "description": "FortiMail is a complete Secure Email Gateway offering suitable for any size organization. It provides a single solution to protect against inbound attacks - including advanced malware -, as well as outbound threats and data loss with a wide range of top-rated security capabilities.", "documentation_url": "http://docs.fortinet.com/fortimail/admin-guides", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FML_VMKV-64-v54-build0712-FORTINET.out.kvm.qcow2", + "filesize": 93454336, + "md5sum": "977effe7b885ca5cedec7740a2a637aa", + "version": "5.4.3" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FML_VMKV-64-v54-build0707-FORTINET.out.kvm.qcow2", @@ -5117,6 +5465,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FML_VMKV-64-v54-build0712-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.4.3" + }, { "images": { "hda_disk_image": "FML_VMKV-64-v54-build0707-FORTINET.out.kvm.qcow2", @@ -5216,6 +5571,13 @@ X-Route: /v2/appliances/templates "description": "FortiManager Security Management appliances allow you to centrally manage any number of Fortinet Network Security devices, from several to thousands, including FortiGate, FortiWiFi, and FortiCarrier.", "documentation_url": "http://docs.fortinet.com/p/inside-fortios", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FMG_VM64_KVM-v5-build1619-FORTINET.out.kvm.qcow2", + "filesize": 106831872, + "md5sum": "8cc553842564d232af295d6a0c784c1f", + "version": "5.6.1" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FMG_VM64_KVM-v5-build1557-FORTINET.out.kvm.qcow2", @@ -5319,6 +5681,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FMG_VM64_KVM-v5-build1619-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "5.6.1" + }, { "images": { "hda_disk_image": "FMG_VM64_KVM-v5-build1557-FORTINET.out.kvm.qcow2", @@ -5397,6 +5766,13 @@ X-Route: /v2/appliances/templates "description": "Today's threats are increasingly sophisticated and often bypass traditional malware security by masking their malicious activity. A sandbox augments your security architecture by validating threats in a separate, secure environment. FortiSandbox offers a powerful combination of advanced detection, automated mitigation, actionable insight, and flexible deployment to stop targeted attacks and subsequent data loss. It's also a key component of our Advanced Threat Protection solution.", "documentation_url": "http://docs.fortinet.com/fortisandbox/admin-guides", "images": [ + { + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "filename": "FSA_KVM-v200-build0329-FORTINET.out.kvm.qcow2", + "filesize": 114491904, + "md5sum": "782ba56a644d78da59b89f4ac91bd319", + "version": "2.5.1" + }, { "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", "filename": "FSA_KVM-v200-build0261-FORTINET.out.kvm.qcow2", @@ -5465,6 +5841,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Fortinet", "vendor_url": "http://www.fortinet.com/", "versions": [ + { + "images": { + "hda_disk_image": "FSA_KVM-v200-build0329-FORTINET.out.kvm.qcow2", + "hdb_disk_image": "FSA_v200-datadrive.qcow2" + }, + "name": "2.5.1" + }, { "images": { "hda_disk_image": "FSA_KVM-v200-build0261-FORTINET.out.kvm.qcow2", @@ -5779,13 +6162,29 @@ X-Route: /v2/appliances/templates "description": "FreeNAS is a Free and Open Source Network Attached Storage (NAS) software appliance. This means that you can use FreeNAS to share data over file-based sharing protocols, including CIFS for Windows users, NFS for Unix-like operating systems, and AFP for Mac OS X users. FreeNAS uses the ZFS file system to store, manage, and protect data. ZFS provides advanced features like snapshots to keep old versions of files, incremental remote backups to keep your data safe on another device without huge file transfers, and intelligent compression, which reduces the size of files so quickly and efficiently that it actually helps transfers happen faster.", "documentation_url": "https://doc.freenas.org/9.10/freenas.html", "images": [ + { + "direct_download_url": "http://download.freenas.org/11/11.1-RELEASE/x64/FreeNAS-11.1-RELEASE.iso", + "download_url": "http://www.freenas.org/download/", + "filename": "FreeNAS-11.1-U1.iso", + "filesize": 626601984, + "md5sum": "ccbd9990a5878d35c6bc0cc6eea34b16", + "version": "11.1 U1" + }, + { + "direct_download_url": "http://download.freenas.org/11/11.1-RELEASE/x64/FreeNAS-11.1-RELEASE.iso", + "download_url": "http://www.freenas.org/download/", + "filename": "FreeNAS-11.1-RELEASE.iso", + "filesize": 626761728, + "md5sum": "67bea5816bc889169e5e3054362b2053", + "version": "11.1" + }, { "direct_download_url": "http://download.freenas.org/11/11.0-U4/x64/FreeNAS-11.0-U4.iso", "download_url": "http://www.freenas.org/download/", "filename": "FreeNAS-11.0-U4.iso", "filesize": 567312384, "md5sum": "4c210f1a6510d1fa95257d81ef569ff8", - "version": "11.0-U4" + "version": "11.0 U4" }, { "direct_download_url": "https://download.freenas.org/9.10/STABLE/latest/x64/FreeNAS-9.10.1-U4.iso", @@ -5793,7 +6192,7 @@ X-Route: /v2/appliances/templates "filename": "FreeNAS-9.10.1-U4.iso", "filesize": 533098496, "md5sum": "b4fb14513dcbb4eb4c5596c5911ca9cc", - "version": "9.10" + "version": "9.10 U4" }, { "direct_download_url": "http://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty30G.qcow2/download", @@ -5819,7 +6218,7 @@ X-Route: /v2/appliances/templates "hda_disk_interface": "ide", "hdb_disk_interface": "ide", "kvm": "require", - "ram": 8096 + "ram": 8192 }, "registry_version": 3, "status": "stable", @@ -5828,29 +6227,45 @@ X-Route: /v2/appliances/templates "versions": [ { "images": { - "cdrom_image": "FreeNAS-11.0-U4.iso", + "cdrom_image": "FreeNAS-11.1-U1.iso", "hda_disk_image": "empty30G.qcow2", "hdb_disk_image": "empty30G.qcow2" }, - "name": "11.0" + "name": "11.1 U1" }, { "images": { - "cdrom_image": "FreeNAS-9.10.1-U4.iso", + "cdrom_image": "FreeNAS-11.1-RELEASE.iso", "hda_disk_image": "empty30G.qcow2", "hdb_disk_image": "empty30G.qcow2" }, - "name": "9.10" - } - ] - }, - { - "builtin": true, - "category": "router", - "description": "The HP VSR1000 Virtual Services Router Series is a software application, running on a server, which provides functionality similar to that of a physical router: robust routing between networked devices using a number of popular routing protocols. It also delivers the critical network services associated with today's enterprise routers such as VPN gateway, firewall and other security and traffic management functions.\n\nThe virtual services router (VSR) application runs on a hypervqcor on the server, and supports VMware vSphere and Linux KVM hypervqcors. From one to eight virtual CPUs are supported, depending on license.\n\nBecause the VSR1000 Series application runs the same HP Comware version 7 operating system as HP switches and routers, it enables significant operational savings. And being virtual, additional agility and ease of deployment is realized, as resources on the VSR can be dynamically allocated and upgraded upon demand as performance requirements grow.\n\nA variety of deployment models are supported including enterprise branch CPE routing, and cloud offload for small to medium workloads.", - "documentation_url": "http://h20195.www2.hpe.com/v2/default.aspx?cc=us&lc=en&oid=5443878", - "images": [ - { + "name": "11.1" + }, + { + "images": { + "cdrom_image": "FreeNAS-11.0-U4.iso", + "hda_disk_image": "empty30G.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "11.0 U4" + }, + { + "images": { + "cdrom_image": "FreeNAS-9.10.1-U4.iso", + "hda_disk_image": "empty30G.qcow2", + "hdb_disk_image": "empty30G.qcow2" + }, + "name": "9.10 U4" + } + ] + }, + { + "builtin": true, + "category": "router", + "description": "The HP VSR1000 Virtual Services Router Series is a software application, running on a server, which provides functionality similar to that of a physical router: robust routing between networked devices using a number of popular routing protocols. It also delivers the critical network services associated with today's enterprise routers such as VPN gateway, firewall and other security and traffic management functions.\n\nThe virtual services router (VSR) application runs on a hypervqcor on the server, and supports VMware vSphere and Linux KVM hypervqcors. From one to eight virtual CPUs are supported, depending on license.\n\nBecause the VSR1000 Series application runs the same HP Comware version 7 operating system as HP switches and routers, it enables significant operational savings. And being virtual, additional agility and ease of deployment is realized, as resources on the VSR can be dynamically allocated and upgraded upon demand as performance requirements grow.\n\nA variety of deployment models are supported including enterprise branch CPE routing, and cloud offload for small to medium workloads.", + "documentation_url": "http://h20195.www2.hpe.com/v2/default.aspx?cc=us&lc=en&oid=5443878", + "images": [ + { "download_url": "https://h10145.www1.hp.com/Downloads/DownloadSoftware.aspx?SoftwareReleaseUId=22702&ProductNumber=JG811AAE&lang=en&cc=us&prodSeriesId=5443163&SaidNumber=", "filename": "VSR1000_HPE-CMW710-R0327L01-X64.qco", "filesize": 138739712, @@ -6027,6 +6442,15 @@ X-Route: /v2/appliances/templates "description": "IPFire was designed with both modularity and a high-level of flexibility in mind. You can easily deploy many variations of it, such as a firewall, a proxy server or a VPN gateway. The modular design ensures that it runs exactly what you've configured it for and nothing more. Everything is simple to manage and update through the package manager, making maintenance a breeze.", "documentation_url": "http://wiki.ipfire.org/en/start", "images": [ + { + "compression": "gzip", + "direct_download_url": "https://downloads.ipfire.org/releases/ipfire-2.x/2.19-core117/ipfire-2.19.1gb-ext4-scon.x86_64-full-core117.img.gz", + "download_url": "http://www.ipfire.org/download", + "filename": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core117.img", + "filesize": 1063256064, + "md5sum": "657673d88b94ed7d22332aebe817bc86", + "version": "2.19.117" + }, { "compression": "gzip", "direct_download_url": "https://downloads.ipfire.org/releases/ipfire-2.x/2.19-core116/ipfire-2.19.1gb-ext4-scon.x86_64-full-core116.img.gz", @@ -6077,6 +6501,12 @@ X-Route: /v2/appliances/templates "vendor_name": "IPFire Project", "vendor_url": "http://www.ipfire.org/", "versions": [ + { + "images": { + "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core117.img" + }, + "name": "2.19.117" + }, { "images": { "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core116.img" @@ -6116,6 +6546,50 @@ X-Route: /v2/appliances/templates "vendor_name": "ipterm", "vendor_url": "https://www.debian.org" }, + { + "builtin": true, + "category": "guest", + "description": "Junos Space Network Management Platform works with Juniper's management applications to simplify and automate management of Juniper's switching, routing, and security devices. As part of a complete solution, the platform provides broad fault, configuration, accounting, performance, and security management (FCAPS) capability, same day support for new devices and Junos OS releases, a task-specific user interface, and northbound APIs for integration with existing network management systems (NMS) or operations/business support systems (OSS/BSS).\n\nThe platform helps network operators at enterprises and service providers scale operations, reduce complexity, and enable new applications and services to be brought to market quickly, through multilayered network abstractions, operator-centric automation schemes, and a simple point-and-click UI.", + "documentation_url": "http://www.juniper.net/techpubs/", + "images": [ + { + "download_url": "https://www.juniper.net/support/downloads/?p=space#sw", + "filename": "space-17.2R1.4.qcow2", + "filesize": 5150474240, + "md5sum": "4124fa756c3a78be0619e876b8ee687e", + "version": "17.2R1.4" + } + ], + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "name": "Junos Space", + "port_name_format": "em{0}", + "product_name": "Junos Space", + "product_url": "https://www.juniper.net/us/en/dm/free-vqfx-trial/", + "qemu": { + "adapter_type": "e1000", + "adapters": 4, + "arch": "x86_64", + "console_type": "telnet", + "kvm": "require", + "options": "-smp 4 -nographic", + "ram": 16384 + }, + "registry_version": 3, + "status": "stable", + "symbol": "juniper-vqfx.svg", + "usage": "16 GB RAM is the bare minimum; you should use 32/64 GB in production deplyments.\nDefault credentials:\n- CLI: admin / abc123\n- WebUI: super / juniper123", + "vendor_name": "Juniper", + "vendor_url": "https://www.juniper.net/us/en/", + "versions": [ + { + "images": { + "hda_disk_image": "space-17.2R1.4.qcow2" + }, + "name": "17.2R1.4" + } + ] + }, { "builtin": true, "category": "router", @@ -6783,7 +7257,15 @@ X-Route: /v2/appliances/templates "category": "firewall", "description": "The vSRX delivers core firewall, networking, advanced security, and automated lifecycle management capabilities for enterprises and service providers. The industry\u2019s fastest virtual security platform, the vSRX offers firewall speeds up to 17 Gbps using only two virtual CPUs, providing scalable, secure protection across private, public, and hybrid clouds.\n\nJuniper version 12 can support only 1GB of ram.", "documentation_url": "http://www.juniper.net/techpubs/", + "first_port_name": "fxp0", "images": [ + { + "download_url": "https://www.juniper.net/us/en/dm/free-vsrx-trial/", + "filename": "media-vsrx-vmdisk-17.4R1.16.qcow2", + "filesize": 3965386752, + "md5sum": "616c4742b09652318c73a7cc598468e7", + "version": "17.4R1" + }, { "download_url": "https://www.juniper.net/us/en/dm/free-vsrx-trial/", "filename": "media-vsrx-vmdisk-17.3R1.10.qcow2", @@ -6791,6 +7273,13 @@ X-Route: /v2/appliances/templates "md5sum": "49b276e9ccdd8588f9e2ff38cccc884a", "version": "17.3R1" }, + { + "download_url": "https://www.juniper.net/us/en/dm/free-vsrx-trial/", + "filename": "media-vsrx-vmdisk-15.1X49-D120.3.qcow2", + "filesize": 3280273408, + "md5sum": "02cf4df3dc988a407ccd5ddc30ee5385", + "version": "15.1X49-D120" + }, { "download_url": "https://www.juniper.net/us/en/dm/free-vsrx-trial/", "filename": "media-vsrx-vmdisk-15.1X49-D110.4.qcow2", @@ -6890,12 +7379,24 @@ X-Route: /v2/appliances/templates "vendor_name": "Juniper", "vendor_url": "https://www.juniper.net/us/en/", "versions": [ + { + "images": { + "hda_disk_image": "media-vsrx-vmdisk-17.4R1.16.qcow2" + }, + "name": "17.4R1" + }, { "images": { "hda_disk_image": "media-vsrx-vmdisk-17.3R1.10.qcow2" }, "name": "17.3R1" }, + { + "images": { + "hda_disk_image": "media-vsrx-vmdisk-15.1X49-D120.3.qcow2" + }, + "name": "15.1X49-D120" + }, { "images": { "hda_disk_image": "media-vsrx-vmdisk-15.1X49-D110.4.qcow2" @@ -7028,6 +7529,14 @@ X-Route: /v2/appliances/templates "description": "From the creators of BackTrack comes Kali Linux, the most advanced and versatile penetration testing platform ever created. We have a set of amazing features lined up in our security distribution geared at streamlining the penetration testing experience.", "documentation_url": "https://www.kali.org/kali-linux-documentation/", "images": [ + { + "direct_download_url": "http://cdimage.kali.org/kali-2017.3/kali-linux-2017.3-amd64.iso", + "download_url": "http://cdimage.kali.org/kali-2017.3/", + "filename": "kali-linux-2017.3-amd64.iso", + "filesize": 2886402048, + "md5sum": "b465580c897e94675ac1daf031fa66b9", + "version": "2017.3" + }, { "direct_download_url": "http://cdimage.kali.org/kali-2017.2/kali-linux-2017.2-amd64.iso", "download_url": "http://cdimage.kali.org/kali-2017.2/", @@ -7087,6 +7596,12 @@ X-Route: /v2/appliances/templates "vendor_name": "Kali Linux", "vendor_url": "https://www.kali.org/", "versions": [ + { + "images": { + "cdrom_image": "kali-linux-2017.3-amd64.iso" + }, + "name": "2017.3" + }, { "images": { "cdrom_image": "kali-linux-2017.2-amd64.iso" @@ -7526,6 +8041,22 @@ X-Route: /v2/appliances/templates "description": "LEDE is a highly extensible GNU/Linux distribution for embedded devices (typically wireless routers). Unlike many other distributions for these routers, OpenWrt is built from the ground up to be a full-featured, easily modifiable operating system for your router. In practice, this means that you can have all the features you need with none of the bloat, powered by a Linux kernel that's more recent than most other distributions.", "documentation_url": "http://wiki.openwrt.org/doc/", "images": [ + { + "direct_download_url": "https://downloads.lede-project.org/releases/17.01.4/targets/x86/generic/lede-17.01.4-x86-generic-combined-squashfs.img", + "download_url": "https://downloads.lede-project.org/releases/17.01.4/targets/x86/generic/", + "filename": "lede-17.01.4-x86-generic-combined-squashfs.img", + "filesize": 19779546, + "md5sum": "ae5d8d3fcab109565fe337d28e51c4b4", + "version": "17.01.4" + }, + { + "direct_download_url": "https://downloads.lede-project.org/releases/17.01.3/targets/x86/generic/lede-17.01.3-x86-generic-combined-squashfs.img", + "download_url": "https://downloads.lede-project.org/releases/17.01.3/targets/x86/generic/", + "filename": "lede-17.01.3-x86-generic-combined-squashfs.img", + "filesize": 19775618, + "md5sum": "d315fc638160a9aec0966d58828bfccf", + "version": "17.01.3" + }, { "direct_download_url": "https://downloads.lede-project.org/releases/17.01.2/targets/x86/generic/lede-17.01.2-x86-generic-combined-squashfs.img", "download_url": "https://downloads.lede-project.org/releases/17.01.2/targets/x86/generic/", @@ -7570,6 +8101,18 @@ X-Route: /v2/appliances/templates "vendor_name": "LEDE Project", "vendor_url": "https://lede-project.org/", "versions": [ + { + "images": { + "hda_disk_image": "lede-17.01.4-x86-generic-combined-squashfs.img" + }, + "name": "lede 17.01.4" + }, + { + "images": { + "hda_disk_image": "lede-17.01.3-x86-generic-combined-squashfs.img" + }, + "name": "lede 17.01.3" + }, { "images": { "hda_disk_image": "lede-17.01.2-x86-generic-combined-squashfs.img" @@ -7723,6 +8266,33 @@ X-Route: /v2/appliances/templates "description": "Cloud Hosted Router (CHR) is a RouterOS version meant for running as a virtual machine. It supports x86 64-bit architecture and can be used on most of popular hypervisors such as VMWare, Hyper-V, VirtualBox, KVM and others. CHR has full RouterOS features enabled by default but has a different licensing model than other RouterOS versions.", "documentation_url": "http://wiki.mikrotik.com/wiki/Manual:CHR", "images": [ + { + "compression": "zip", + "direct_download_url": "https://download2.mikrotik.com/routeros/6.42/chr-6.42.img.zip", + "download_url": "http://www.mikrotik.com/download", + "filename": "chr-6.42.img", + "filesize": 134217728, + "md5sum": "279bb518497b40f41c8585128916a2fb", + "version": "6.42" + }, + { + "compression": "zip", + "direct_download_url": "https://download2.mikrotik.com/routeros/6.41.4/chr-6.41.4.img.zip", + "download_url": "http://www.mikrotik.com/download", + "filename": "chr-6.41.4.img", + "filesize": 134217728, + "md5sum": "63b555b2b7f0d78b79edb92f7e7d2ed7", + "version": "6.41.4" + }, + { + "compression": "zip", + "direct_download_url": "https://download2.mikrotik.com/routeros/6.40.7/chr-6.40.7.img.zip", + "download_url": "http://www.mikrotik.com/download", + "filename": "chr-6.40.7.img", + "filesize": 134217728, + "md5sum": "424b897d631c4cac4324ca310e81b494", + "version": "6.40.7" + }, { "compression": "zip", "direct_download_url": "https://download2.mikrotik.com/routeros/6.40.5/chr-6.40.5.img.zip", @@ -7955,6 +8525,18 @@ X-Route: /v2/appliances/templates "vendor_name": "MikroTik", "vendor_url": "http://mikrotik.com/", "versions": [ + { + "images": { + "hda_disk_image": "chr-6.41.4.img" + }, + "name": "6.41.4" + }, + { + "images": { + "hda_disk_image": "chr-6.40.7.img" + }, + "name": "6.40.7" + }, { "images": { "hda_disk_image": "chr-6.40.5.img" @@ -8292,6 +8874,7 @@ X-Route: /v2/appliances/templates ] }, { + "availability": "free", "builtin": true, "category": "guest", "description": "openSUSE is a free and Linux-based operating system for PC, Laptop or Server. The openSUSE project is a community program sponsored by Novell. It is a general purpose operating system built on top of the Linux kernel, developed by the community-supported openSUSE Project and sponsored by SUSE and a number of other companies.", @@ -8527,12 +9110,12 @@ X-Route: /v2/appliances/templates "documentation_url": "http://ostinato.org/docs.html", "images": [ { - "direct_download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/ostinato-0.8-97c7d79.qcow2", + "direct_download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/ostinato-0.9-1.qcow2", "download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/index.html", - "filename": "ostinato-0.8-97c7d79.qcow2", - "filesize": 98631680, - "md5sum": "5aad15c1eb7baac588a4c8c3faafa380", - "version": "0.8-97c7d79" + "filename": "ostinato-0.9-1.qcow2", + "filesize": 101646336, + "md5sum": "00b4856ec9fffbcbcab7a8f757355d69", + "version": "0.9" }, { "direct_download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/ostinato-0.8-1.qcow2", @@ -8567,9 +9150,9 @@ X-Route: /v2/appliances/templates "versions": [ { "images": { - "hda_disk_image": "ostinato-0.8-97c7d79.qcow2" + "hda_disk_image": "ostinato-0.9-1.qcow2" }, - "name": "0.8-97c7d79" + "name": "0.9" }, { "images": { @@ -8585,6 +9168,15 @@ X-Route: /v2/appliances/templates "description": "PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) solution. Boasting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X support, layer-2 isolation of problematic devices, integration with the Snort IDS and the Nessus vulnerability scanner; PacketFence can be used to effectively secure networks - from small to very large heterogeneous networks.", "documentation_url": "https://packetfence.org/support/index.html#/documentation", "images": [ + { + "compression": "bzip2", + "direct_download_url": "https://sourceforge.net/projects/packetfence/files/PacketFence%20ZEN/7.4.0/PacketFenceZEN_USB-7.4.0.tar.bz2/download", + "download_url": "https://packetfence.org/download.html#/zen", + "filename": "PacketFenceZEN_USB-7.4.0.img", + "filesize": 3221225472, + "md5sum": "83951211540f16dd5813c26955c52429", + "version": "7.4.0" + }, { "compression": "bzip2", "direct_download_url": "http://sourceforge.net/projects/packetfence/files/PacketFence%20ZEN/7.3.0/PacketFenceZEN_USB-7.3.0.tar.bz2/download", @@ -8678,6 +9270,12 @@ X-Route: /v2/appliances/templates "vendor_name": "Inverse inc.", "vendor_url": "https://packetfence.org/", "versions": [ + { + "images": { + "hda_disk_image": "PacketFenceZEN_USB-7.4.0.img" + }, + "name": "7.4.0" + }, { "images": { "hda_disk_image": "PacketFenceZEN_USB-7.3.0.img" @@ -8737,24 +9335,24 @@ X-Route: /v2/appliances/templates "images": [ { "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", - "filename": "PA-VM-ESX-6.1.0-disk1.vmdk", - "filesize": 2959736832, - "md5sum": "64b1e81cd54008318235832ea6d71424", - "version": "6.1.0 (ESX)" + "filename": "PA-VM-ESX-8.1.0-disk1.vmdk", + "filesize": 2281454080, + "md5sum": "49af8e8225c2e90414bde0be15eaf421", + "version": "8.1.0" }, { "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", - "filename": "PA-VM-KVM-7.1.0.qcow2", - "filesize": 1858797568, - "md5sum": "da300253709740068927408239c2e321", - "version": "7.1.0" + "filename": "PA-VM-KVM-8.1.0.qcow2", + "filesize": 2260467712, + "md5sum": "459558515b965b2e43fde2842abbae66", + "version": "8.1.0" }, { "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", - "filename": "PA-VM-ESX-7.1.0-disk1.vmdk", - "filesize": 1871149056, - "md5sum": "e044dc649b7146ee4f619edb0e5f6675", - "version": "7.1.0 (ESX)" + "filename": "PA-VM-ESX-8.0.0-disk1.vmdk", + "filesize": 2002713088, + "md5sum": "a505fb1dbcc855ecf98630fd5d329f9a", + "version": "8.0.0" }, { "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", @@ -8762,6 +9360,27 @@ X-Route: /v2/appliances/templates "filesize": 1987444736, "md5sum": "b6a1ddc8552aff87f05f9c0d4cb54dc3", "version": "8.0.0" + }, + { + "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", + "filename": "PA-VM-ESX-7.1.0-disk1.vmdk", + "filesize": 1871149056, + "md5sum": "e044dc649b7146ee4f619edb0e5f6675", + "version": "7.1.0 (ESX)" + }, + { + "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", + "filename": "PA-VM-KVM-7.1.0.qcow2", + "filesize": 1858797568, + "md5sum": "da300253709740068927408239c2e321", + "version": "7.1.0" + }, + { + "download_url": "https://support.paloaltonetworks.com/Updates/SoftwareUpdates/", + "filename": "PA-VM-ESX-6.1.0-disk1.vmdk", + "filesize": 2959736832, + "md5sum": "64b1e81cd54008318235832ea6d71424", + "version": "6.1.0 (ESX)" } ], "maintainer": "Community", @@ -8789,27 +9408,45 @@ X-Route: /v2/appliances/templates "versions": [ { "images": { - "hda_disk_image": "PA-VM-ESX-6.1.0-disk1.vmdk" + "hda_disk_image": "PA-VM-ESX-8.1.0-disk1.vmdk" }, - "name": "6.1.0 (ESX)" + "name": "8.1.0 (ESX)" }, { "images": { - "hda_disk_image": "PA-VM-KVM-7.1.0.qcow2" + "hda_disk_image": "PA-VM-KVM-8.1.0.qcow2" }, - "name": "7.1.0" + "name": "8.1.0" }, { "images": { - "hda_disk_image": "PA-VM-ESX-7.1.0-disk1.vmdk" + "hda_disk_image": "PA-VM-ESX-8.0.0-disk1.vmdk2" }, - "name": "7.1.0 (ESX)" + "name": "8.0.0 (ESX)" }, { "images": { "hda_disk_image": "PA-VM-KVM-8.0.0.qcow2" }, "name": "8.0.0" + }, + { + "images": { + "hda_disk_image": "PA-VM-ESX-7.1.0-disk1.vmdk" + }, + "name": "7.1.0 (ESX)" + }, + { + "images": { + "hda_disk_image": "PA-VM-KVM-7.1.0.qcow2" + }, + "name": "7.1.0" + }, + { + "images": { + "hda_disk_image": "PA-VM-ESX-6.1.0-disk1.vmdk" + }, + "name": "6.1.0 (ESX)" } ] }, @@ -9234,6 +9871,13 @@ X-Route: /v2/appliances/templates "description": "Sophos Free Home Use Firewall is a fully equipped software version of the Sophos UTM firewall, available at no cost for home users \u2013 no strings attached. It features full Network, Web, Mail and Web Application Security with VPN functionality and protects up to 50 IP addresses. The Sophos UTM Free Home Use firewall contains its own operating system and will overwrite all data on the computer during the installation process. Therefore, a separate, dedicated computer or VM is needed, which will change into a fully functional security appliance.", "documentation_url": "https://community.sophos.com/products/unified-threat-management/", "images": [ + { + "download_url": "https://www.sophos.com/en-us/support/utm-downloads.aspx", + "filename": "asg-9.506-2.1.iso", + "filesize": 1006057472, + "md5sum": "6b4374f8c5ee66ccdf9683f7349f59cb", + "version": "9.506-2.1" + }, { "download_url": "https://www.sophos.com/en-us/support/utm-downloads.aspx", "filename": "asg-9.500-9.1.iso", @@ -9241,6 +9885,13 @@ X-Route: /v2/appliances/templates "md5sum": "8531349cdb7f07c94596b19f8e08081a", "version": "9.500-9.1" }, + { + "download_url": "https://www.sophos.com/en-us/support/utm-downloads.aspx", + "filename": "asg-9.415-1.1.iso", + "filesize": 961087488, + "md5sum": "505004bf5a5d5f2234b2056ec7b553d8", + "version": "9.415-1.1" + }, { "download_url": "https://www.sophos.com/en-us/support/utm-downloads.aspx", "filename": "asg-9.413-4.1.iso", @@ -9356,6 +10007,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Sophos Ltd.", "vendor_url": "https://www.sophos.com/", "versions": [ + { + "images": { + "cdrom_image": "asg-9.506-2.1.iso", + "hda_disk_image": "empty30G.qcow2" + }, + "name": "9.506-2.1" + }, { "images": { "cdrom_image": "asg-9.500-9.1.iso", @@ -9363,6 +10021,13 @@ X-Route: /v2/appliances/templates }, "name": "9.500-9.1" }, + { + "images": { + "cdrom_image": "asg-9.415-1.1.iso", + "hda_disk_image": "empty30G.qcow2" + }, + "name": "9.415-1.1" + }, { "images": { "cdrom_image": "asg-9.413-4.1.iso", @@ -9455,6 +10120,20 @@ X-Route: /v2/appliances/templates "description": "Sophos XG Firewall delivers the ultimate enterprise firewall performance, security, and control.\n\nFastpath packet optimization technology with up to 140Gbps throughput\nRevolutionary Security Heartbeat\u2122 for improved Advanced Threat Protection (ATP) and response\nPatented Layer-8 user identity control and visibility\nUnified App, Web, QoS, and IPS Policy simplifies management\nApp risk factor and user threat quotient monitors risk levels", "documentation_url": "https://www.sophos.com/en-us/support/documentation/sophos-xg-firewall.aspx", "images": [ + { + "download_url": "https://secure2.sophos.com/en-us/products/next-gen-firewall/free-trial.aspx", + "filename": "VI-SFOS_17.0.2_MR-2.KVM-116-PRIMARY.qcow2", + "filesize": 324599808, + "md5sum": "2555fa6dcdcecad02c9f02dcb1c0c5e5", + "version": "17.0.2 MR2" + }, + { + "download_url": "https://secure2.sophos.com/en-us/products/next-gen-firewall/free-trial.aspx", + "filename": "VI-SFOS_17.0.2_MR-2.KVM-116-AUXILARY.qcow2", + "filesize": 59441152, + "md5sum": "c3ef795423dbfc01771348b0daa75125", + "version": "16.05.1 MR1" + }, { "download_url": "https://secure2.sophos.com/en-us/products/next-gen-firewall/free-trial.aspx", "filename": "VI-SFOS_16.05.4_MR-4.KVM-215-PRIMARY.qcow2", @@ -9547,6 +10226,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Sophos", "vendor_url": "https://www.sophos.com", "versions": [ + { + "images": { + "hda_disk_image": "VI-SFOS_17.0.2_MR-2.KVM-116-PRIMARY.qcow2", + "hdb_disk_image": "VI-SFOS_17.0.2_MR-2.KVM-116-AUXILARY.qcow2" + }, + "name": "17.0.2 MR2" + }, { "images": { "hda_disk_image": "VI-SFOS_16.05.4_MR-4.KVM-215-PRIMARY.qcow2", @@ -9769,6 +10455,106 @@ X-Route: /v2/appliances/templates "vendor_name": "Turnkey Linux", "vendor_url": "https://www.turnkeylinux.org/" }, + { + "builtin": true, + "category": "guest", + "description": "The term 'Ubuntu Cloud Guest' refers to the Official Ubuntu images that are available at http://cloud-images.ubuntu.com . These images are built by Canonical. They are then registered on EC2, and compressed tarfiles are made also available for download. For using those images on a public cloud such as Amazon EC2, you simply choose an image and launch it. To use those images on a private cloud, or to run the image on a local hypervisor (such as KVM) you would need to download those images and either publish them to your private cloud, or launch them directly on a hypervisor. The following sections explain in more details how to perform each of those actions", + "documentation_url": "https://help.ubuntu.com/community/UEC/Images", + "images": [ + { + "download_url": "https://cloud-images.ubuntu.com/releases/17.10/release-20180404/ubuntu-17.10-server-cloudimg-amd64.img", + "filename": "ubuntu-17.10-server-cloudimg-amd64.img", + "filesize": 320405504, + "md5sum": "331b44f2b05858c251b3ea92c8b65152", + "version": "17.10" + }, + { + "download_url": "https://cloud-images.ubuntu.com/releases/16.04/release-20180405/ubuntu-16.04-server-cloudimg-amd64-disk1.img", + "filename": "ubuntu-16.04-server-cloudimg-amd64-disk1.img", + "filesize": 290193408, + "md5sum": "22c124ba65ea096cdef8b0a197dd613a", + "version": "16.04" + }, + { + "download_url": "https://cloud-images.ubuntu.com/releases/14.04/release-20180404/ubuntu-14.04-server-cloudimg-amd64-disk1.img", + "filename": "ubuntu-14.04-server-cloudimg-amd64-disk1.img", + "filesize": 262668800, + "md5sum": "d11b89321d41d0eeddcacf73bf0d2262", + "version": "14.04" + }, + { + "download_url": "https://github.com/asenci/gns3-ubuntu-cloud-init-data/raw/master/ubuntu-cloud-init-data.iso", + "filename": "ubuntu-cloud-init-data.iso", + "filesize": 131072, + "md5sum": "328469100156ae8dbf262daa319c27ff", + "version": "1.0" + } + ], + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "name": "Ubuntu Cloud Guest", + "port_name_format": "Ethernet{0}", + "product_name": "Ubuntu Cloud Guest", + "product_url": "https://www.ubuntu.com/cloud", + "qemu": { + "adapter_type": "virtio-net-pci", + "adapters": 1, + "arch": "x86_64", + "boot_priority": "c", + "console_type": "telnet", + "hda_disk_interface": "virtio", + "kvm": "require", + "options": "-nographic", + "ram": 1024 + }, + "registry_version": 3, + "status": "stable", + "usage": "Username: ubuntu\nPassword: ubuntu", + "vendor_name": "Canonical Inc.", + "vendor_url": "https://www.ubuntu.com", + "versions": [ + { + "images": { + "cdrom_image": "ubuntu-cloud-init-data.iso", + "hda_disk_image": "ubuntu-17.10-server-cloudimg-amd64.img" + }, + "name": "17.10" + }, + { + "images": { + "cdrom_image": "ubuntu-cloud-init-data.iso", + "hda_disk_image": "ubuntu-16.04-server-cloudimg-amd64-disk1.img" + }, + "name": "16.04 (LTS)" + }, + { + "images": { + "cdrom_image": "ubuntu-cloud-init-data.iso", + "hda_disk_image": "ubuntu-14.04-server-cloudimg-amd64-disk1.img" + }, + "name": "14.04 (LTS)" + } + ] + }, + { + "builtin": true, + "category": "guest", + "description": "Ubuntu is a Debian-based Linux operating system, with Unity as its default desktop environment. It is based on free software and named after the Southern African philosophy of ubuntu (literally, \"human-ness\"), which often is translated as \"humanity towards others\" or \"the belief in a universal bond of sharing that connects all humanity\".", + "docker": { + "adapters": 1, + "console_type": "telnet", + "image": "gns3/ubuntu:xenial" + }, + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "name": "Ubuntu Docker Guest", + "product_name": "Ubuntu", + "registry_version": 3, + "status": "stable", + "symbol": "linux_guest.svg", + "vendor_name": "Canonical", + "vendor_url": "http://www.ubuntu.com" + }, { "builtin": true, "category": "guest", @@ -9799,7 +10585,7 @@ X-Route: /v2/appliances/templates ], "maintainer": "GNS3 Team", "maintainer_email": "developers@gns3.net", - "name": "Ubuntu", + "name": "Ubuntu Desktop Guest", "port_name_format": "eth{0}", "product_name": "Ubuntu", "product_url": "https://www.ubuntu.com/desktop", @@ -9840,31 +10626,19 @@ X-Route: /v2/appliances/templates } ] }, - { - "builtin": true, - "category": "guest", - "description": "Ubuntu is a Debian-based Linux operating system, with Unity as its default desktop environment. It is based on free software and named after the Southern African philosophy of ubuntu (literally, \"human-ness\"), which often is translated as \"humanity towards others\" or \"the belief in a universal bond of sharing that connects all humanity\".", - "docker": { - "adapters": 1, - "console_type": "telnet", - "image": "gns3/ubuntu:xenial" - }, - "maintainer": "GNS3 Team", - "maintainer_email": "developers@gns3.net", - "name": "Ubuntu", - "product_name": "Ubuntu", - "registry_version": 3, - "status": "stable", - "symbol": "linux_guest.svg", - "vendor_name": "Canonical", - "vendor_url": "http://www.ubuntu.com" - }, { "builtin": true, "category": "firewall", "description": "Untangle\u2019s NG Firewall enables you to quickly and easily create the network policies that deliver the perfect balance between security and productivity. Untangle combines Unified Threat Management (UTM)\u2014to address all of the key network threats\u2014with policy management tools that enable you to define access and control by individuals, groups or company-wide. And with industry-leading reports, you\u2019ll have complete visibility into and control over everything that\u2019s happening on your network.", "documentation_url": "http://wiki.untangle.com/index.php/Main_Page", "images": [ + { + "download_url": "https://www.untangle.com/get-untangle/", + "filename": "untangle_1320_x64.iso", + "filesize": 768000000, + "md5sum": "0ce2293acec0f37f1339e703653727f8", + "version": "13.2.0" + }, { "download_url": "https://www.untangle.com/get-untangle/", "filename": "untangle_1310_x64.iso", @@ -9952,6 +10726,13 @@ X-Route: /v2/appliances/templates "vendor_name": "Untangle", "vendor_url": "https://www.untangle.com/", "versions": [ + { + "images": { + "cdrom_image": "untangle_1320_x64.iso", + "hda_disk_image": "empty30G.qcow2" + }, + "name": "13.2.0" + }, { "images": { "cdrom_image": "untangle_1310_x64.iso", @@ -10142,24 +10923,32 @@ X-Route: /v2/appliances/templates "version": "1.2.0-beta1" }, { - "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.7/vyos-1.1.7-amd64.iso", - "download_url": "http://mirror.vyos.net/iso/release/1.1.7/", + "direct_download_url": "https://downloads.vyos.io/release/1.1.8/vyos-1.1.8-amd64.iso", + "download_url": "https://downloads.vyos.io/?dir=release/1.1.8", + "filename": "vyos-1.1.8-amd64.iso", + "filesize": 241172480, + "md5sum": "95a141d4b592b81c803cdf7e9b11d8ea", + "version": "1.1.8" + }, + { + "direct_download_url": "https://downloads.vyos.io/release/1.1.7/vyos-1.1.7-amd64.iso", + "download_url": "https://downloads.vyos.io/?dir=release/1.1.7/", "filename": "vyos-1.1.7-amd64.iso", "filesize": 245366784, "md5sum": "9a7f745a0b0db0d4f1d9eee2a437fb54", "version": "1.1.7" }, { - "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.6/vyos-1.1.6-amd64.iso", - "download_url": "http://mirror.vyos.net/iso/release/1.1.6/", + "direct_download_url": "https://downloads.vyos.io/release/1.1.6/vyos-1.1.6-amd64.iso", + "download_url": "hhttps://downloads.vyos.io/?dir=release/1.1.6/", "filename": "vyos-1.1.6-amd64.iso", "filesize": 245366784, "md5sum": "3128954d026e567402a924c2424ce2bf", "version": "1.1.6" }, { - "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.5/vyos-1.1.5-amd64.iso", - "download_url": "http://mirror.vyos.net/iso/release/1.1.5/", + "direct_download_url": "https://downloads.vyos.io/release/1.1.5/vyos-1.1.5-amd64.iso", + "download_url": "https://downloads.vyos.io/?dir=release/1.1.5/", "filename": "vyos-1.1.5-amd64.iso", "filesize": 247463936, "md5sum": "193179532011ceaa87ee725bd8f22022", @@ -10202,6 +10991,13 @@ X-Route: /v2/appliances/templates }, "name": "1.2.0-beta1" }, + { + "images": { + "cdrom_image": "vyos-1.1.8-amd64.iso", + "hda_disk_image": "empty8G.qcow2" + }, + "name": "1.1.8" + }, { "images": { "cdrom_image": "vyos-1.1.7-amd64.iso", @@ -10246,11 +11042,19 @@ X-Route: /v2/appliances/templates "vendor_url": "https://www.debian.org" }, { + "availability": "free-to-try", "builtin": true, "category": "guest", "description": "Microsoft Windows, or simply Windows, is a metafamily of graphical operating systems developed, marketed, and sold by Microsoft. It consists of several families of operating systems, each of which cater to a certain sector of the computing industry with the OS typically associated with IBM PC compatible architecture.", "documentation_url": "https://technet.microsoft.com/en-us/library/cc498727.aspx", "images": [ + { + "download_url": "https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/", + "filename": "MSEdge-Win10-VMWare-disk1.vmdk", + "filesize": 5636608512, + "md5sum": "fef74c69e1949480d4e2095324a169af", + "version": "10 w/ Edge" + }, { "download_url": "https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/", "filename": "MSEdge_-_Win10_preview.vmdk", @@ -10319,10 +11123,16 @@ X-Route: /v2/appliances/templates "versions": [ { "images": { - "hda_disk_image": "MSEdge_-_Win10_preview.vmdk" + "hda_disk_image": "MSEdge-Win10-VMWare-disk1.vmdk" }, "name": "10 w/ Edge" }, + { + "images": { + "hda_disk_image": "MSEdge_-_Win10_preview.vmdk" + }, + "name": "10 w/ Edge (Preview)" + }, { "images": { "hda_disk_image": "IE11_-_Win8.1-disk1.vmdk" @@ -10356,6 +11166,7 @@ X-Route: /v2/appliances/templates ] }, { + "availability": "free-to-try", "builtin": true, "category": "guest", "description": "Microsoft Windows, or simply Windows, is a metafamily of graphical operating systems developed, marketed, and sold by Microsoft. It consists of several families of operating systems, each of which cater to a certain sector of the computing industry with the OS typically associated with IBM PC compatible architecture.", @@ -10398,6 +11209,7 @@ X-Route: /v2/appliances/templates "console_type": "vnc", "hda_disk_interface": "sata", "kvm": "require", + "options": "-usbdevice tablet", "ram": 2048 }, "registry_version": 4, @@ -10541,6 +11353,24 @@ X-Route: /v2/appliances/templates "description": "Zeroshell is a Linux distribution for servers and embedded devices aimed at providing the main network services a LAN requires. It is available in the form of Live CD or Compact Flash image and you can configure and administer it using your web browser.", "documentation_url": "http://www.zeroshell.org/documentation/", "images": [ + { + "compression": "gzip", + "direct_download_url": "http://www.zeroshell.net/listing/ZeroShell-3.8.2-X86-USB.img.gz", + "download_url": "http://www.zeroshell.org/download/", + "filename": "ZeroShell-3.8.2-X86-USB.img", + "filesize": 1992294400, + "md5sum": "bb8c7f24c86eb59e26ce36ff1979ecd4", + "version": "3.8.2" + }, + { + "compression": "gzip", + "direct_download_url": "http://www.zeroshell.net/listing/ZeroShell-3.8.1-X86-USB.img.gz", + "download_url": "http://www.zeroshell.org/download/", + "filename": "ZeroShell-3.8.1-X86-USB.img", + "filesize": 1992294400, + "md5sum": "49256e396d160e88fbc3a3889e172482", + "version": "3.8.1" + }, { "compression": "gzip", "direct_download_url": "http://www.zeroshell.net/listing/ZeroShell-3.8.0-X86-USB.img.gz", @@ -10578,6 +11408,18 @@ X-Route: /v2/appliances/templates "vendor_name": "Fulvio Ricciardi", "vendor_url": "http://www.zeroshell.org", "versions": [ + { + "images": { + "hda_disk_image": "ZeroShell-3.8.2-X86-USB.img" + }, + "name": "3.8.2" + }, + { + "images": { + "hda_disk_image": "ZeroShell-3.8.1-X86-USB.img" + }, + "name": "3.8.1" + }, { "images": { "hda_disk_image": "ZeroShell-3.8.0-X86-USB.img" diff --git a/docs/api/examples/controller_get_computes.txt b/docs/api/examples/controller_get_computes.txt index 51ea9fbd..351418ac 100644 --- a/docs/api/examples/controller_get_computes.txt +++ b/docs/api/examples/controller_get_computes.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 387 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:22 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:48 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes [ diff --git a/docs/api/examples/controller_get_computescomputeid.txt b/docs/api/examples/controller_get_computescomputeid.txt index 4ed46759..c6f6d313 100644 --- a/docs/api/examples/controller_get_computescomputeid.txt +++ b/docs/api/examples/controller_get_computescomputeid.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 334 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:17 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:46 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id} { diff --git a/docs/api/examples/controller_get_computescomputeidemulatoraction.txt b/docs/api/examples/controller_get_computescomputeidemulatoraction.txt index 1c479214..cb0ef10d 100644 --- a/docs/api/examples/controller_get_computescomputeidemulatoraction.txt +++ b/docs/api/examples/controller_get_computescomputeidemulatoraction.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 2 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:28 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:51 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+} [] diff --git a/docs/api/examples/controller_get_computescomputeidemulatorimages.txt b/docs/api/examples/controller_get_computescomputeidemulatorimages.txt index 29023922..94affb80 100644 --- a/docs/api/examples/controller_get_computescomputeidemulatorimages.txt +++ b/docs/api/examples/controller_get_computescomputeidemulatorimages.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 95 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:27 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:50 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id}/{emulator}/images [ diff --git a/docs/api/examples/controller_get_gns3vm.txt b/docs/api/examples/controller_get_gns3vm.txt index c4219632..280a3eb4 100644 --- a/docs/api/examples/controller_get_gns3vm.txt +++ b/docs/api/examples/controller_get_gns3vm.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 148 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/gns3vm { diff --git a/docs/api/examples/controller_get_gns3vmengines.txt b/docs/api/examples/controller_get_gns3vmengines.txt index 738fc178..d42ea0c8 100644 --- a/docs/api/examples/controller_get_gns3vmengines.txt +++ b/docs/api/examples/controller_get_gns3vmengines.txt @@ -8,13 +8,13 @@ HTTP/1.1 200 Connection: close Content-Length: 1106 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/gns3vm/engines [ { - "description": "VMware is the recommended choice for best performances.
The GNS3 VM can be downloaded here.", + "description": "VMware is the recommended choice for best performances.
The GNS3 VM can be downloaded here.", "engine_id": "vmware", "name": "VMware Fusion", "support_headless": true, @@ -22,7 +22,7 @@ X-Route: /v2/gns3vm/engines "support_when_exit": true }, { - "description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.
The GNS3 VM can be downloaded here", + "description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.
The GNS3 VM can be downloaded here", "engine_id": "virtualbox", "name": "VirtualBox", "support_headless": true, diff --git a/docs/api/examples/controller_get_gns3vmenginesenginevms.txt b/docs/api/examples/controller_get_gns3vmenginesenginevms.txt index 841363aa..a065c866 100644 --- a/docs/api/examples/controller_get_gns3vmenginesenginevms.txt +++ b/docs/api/examples/controller_get_gns3vmenginesenginevms.txt @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 40 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/gns3vm/engines/{engine}/vms [ diff --git a/docs/api/examples/controller_get_projects.txt b/docs/api/examples/controller_get_projects.txt index a4e0c19c..ed8d54dd 100644 --- a/docs/api/examples/controller_get_projects.txt +++ b/docs/api/examples/controller_get_projects.txt @@ -6,10 +6,10 @@ GET /v2/projects HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 578 +Content-Length: 655 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:58 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects [ @@ -18,6 +18,7 @@ X-Route: /v2/projects "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", "path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_list_projects1", "project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f", @@ -28,6 +29,8 @@ X-Route: /v2/projects "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } ] diff --git a/docs/api/examples/controller_get_projectsprojectid.txt b/docs/api/examples/controller_get_projectsprojectid.txt index bf3373d9..dcb66558 100644 --- a/docs/api/examples/controller_get_projectsprojectid.txt +++ b/docs/api/examples/controller_get_projectsprojectid.txt @@ -1,15 +1,15 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/0f1cab8c-a85f-46a7-b2d8-360aacffe2f2' +curl -i -X GET 'http://localhost:3080/v2/projects/bb2087cd-b25b-4ab3-8230-b0b74739b065' -GET /v2/projects/0f1cab8c-a85f-46a7-b2d8-360aacffe2f2 HTTP/1.1 +GET /v2/projects/bb2087cd-b25b-4ab3-8230-b0b74739b065 HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 509 +Content-Length: 574 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:58 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id} { @@ -17,9 +17,10 @@ X-Route: /v2/projects/{project_id} "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp5gvzxbg_/projects/0f1cab8c-a85f-46a7-b2d8-360aacffe2f2", - "project_id": "0f1cab8c-a85f-46a7-b2d8-360aacffe2f2", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpihtuw3fj/projects/bb2087cd-b25b-4ab3-8230-b0b74739b065", + "project_id": "bb2087cd-b25b-4ab3-8230-b0b74739b065", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -27,5 +28,7 @@ X-Route: /v2/projects/{project_id} "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_get_projectsprojectiddrawings.txt b/docs/api/examples/controller_get_projectsprojectiddrawings.txt index 88a474e8..49c17a9e 100644 --- a/docs/api/examples/controller_get_projectsprojectiddrawings.txt +++ b/docs/api/examples/controller_get_projectsprojectiddrawings.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/6170501f-a3d6-4ab7-82e7-57b4394538f8/drawings' +curl -i -X GET 'http://localhost:3080/v2/projects/187a7fd8-fb64-4d47-8fe3-bcae84dfacd6/drawings' -GET /v2/projects/6170501f-a3d6-4ab7-82e7-57b4394538f8/drawings HTTP/1.1 +GET /v2/projects/187a7fd8-fb64-4d47-8fe3-bcae84dfacd6/drawings HTTP/1.1 @@ -8,14 +8,14 @@ HTTP/1.1 200 Connection: close Content-Length: 363 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/drawings [ { - "drawing_id": "b6e1dcb4-442c-4c55-a1eb-537f57ee7974", - "project_id": "6170501f-a3d6-4ab7-82e7-57b4394538f8", + "drawing_id": "79ef03df-38b4-4dca-b0e0-651cd383a064", + "project_id": "187a7fd8-fb64-4d47-8fe3-bcae84dfacd6", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_get_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_get_projectsprojectiddrawingsdrawingid.txt index 9f62f817..34b56e65 100644 --- a/docs/api/examples/controller_get_projectsprojectiddrawingsdrawingid.txt +++ b/docs/api/examples/controller_get_projectsprojectiddrawingsdrawingid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/b1310dc0-c0f9-43ca-b1b6-dca48187ca20/drawings/571eda2c-6b71-4d1f-bff7-92a1c63c6622' +curl -i -X GET 'http://localhost:3080/v2/projects/2be77c4f-f835-4625-adec-20516ed704b0/drawings/5b2bc629-898f-448f-abea-e661b1ee6212' -GET /v2/projects/b1310dc0-c0f9-43ca-b1b6-dca48187ca20/drawings/571eda2c-6b71-4d1f-bff7-92a1c63c6622 HTTP/1.1 +GET /v2/projects/2be77c4f-f835-4625-adec-20516ed704b0/drawings/5b2bc629-898f-448f-abea-e661b1ee6212 HTTP/1.1 @@ -8,13 +8,13 @@ HTTP/1.1 200 Connection: close Content-Length: 323 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/drawings/{drawing_id} { - "drawing_id": "571eda2c-6b71-4d1f-bff7-92a1c63c6622", - "project_id": "b1310dc0-c0f9-43ca-b1b6-dca48187ca20", + "drawing_id": "5b2bc629-898f-448f-abea-e661b1ee6212", + "project_id": "2be77c4f-f835-4625-adec-20516ed704b0", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt index ed574f78..be5ab3c8 100644 --- a/docs/api/examples/controller_get_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_get_projectsprojectidlinks.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/9ca80ee5-8396-4c65-a477-874532d42ed3/links' +curl -i -X GET 'http://localhost:3080/v2/projects/d8f1da27-a533-4aab-95bb-117aaccb48c7/links' -GET /v2/projects/9ca80ee5-8396-4c65-a477-874532d42ed3/links HTTP/1.1 +GET /v2/projects/d8f1da27-a533-4aab-95bb-117aaccb48c7/links HTTP/1.1 @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 1293 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links [ @@ -25,7 +25,7 @@ X-Route: /v2/projects/{project_id}/links 10 ] }, - "link_id": "d61729b0-e4c8-4d29-9e37-ed7997d2fcd8", + "link_id": "b0c7889a-5cf0-439a-a6b0-1fdf2fd1858a", "link_type": "ethernet", "nodes": [ { @@ -37,7 +37,7 @@ X-Route: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "2384cb6c-1783-4872-9c9e-91f015dee027", + "node_id": "855bcbdc-2af5-4625-898e-2c647ed580dd", "port_number": 3 }, { @@ -49,11 +49,11 @@ X-Route: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "a679eb04-b702-4353-baa2-3554e49396b1", + "node_id": "0098bb1e-c7a2-40c8-8c29-f323a7872fbd", "port_number": 4 } ], - "project_id": "9ca80ee5-8396-4c65-a477-874532d42ed3", + "project_id": "d8f1da27-a533-4aab-95bb-117aaccb48c7", "suspend": false } ] diff --git a/docs/api/examples/controller_get_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_get_projectsprojectidlinkslinkid.txt index 8689f8b6..c9687df2 100644 --- a/docs/api/examples/controller_get_projectsprojectidlinkslinkid.txt +++ b/docs/api/examples/controller_get_projectsprojectidlinkslinkid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/23093d79-3767-40fa-a4d2-d6cb9b8b3ad6/links/5ef12b17-0fcd-41c3-b14d-ac9a123fd260' +curl -i -X GET 'http://localhost:3080/v2/projects/765ebb69-04a8-44bd-a1ae-50098ac2c4f3/links/afe80cb1-bf27-45d7-aa9a-b8d4fc4465c5' -GET /v2/projects/23093d79-3767-40fa-a4d2-d6cb9b8b3ad6/links/5ef12b17-0fcd-41c3-b14d-ac9a123fd260 HTTP/1.1 +GET /v2/projects/765ebb69-04a8-44bd-a1ae-50098ac2c4f3/links/afe80cb1-bf27-45d7-aa9a-b8d4fc4465c5 HTTP/1.1 @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 916 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links/{link_id} { @@ -17,7 +17,7 @@ X-Route: /v2/projects/{project_id}/links/{link_id} "capture_file_path": null, "capturing": false, "filters": {}, - "link_id": "5ef12b17-0fcd-41c3-b14d-ac9a123fd260", + "link_id": "afe80cb1-bf27-45d7-aa9a-b8d4fc4465c5", "link_type": "ethernet", "nodes": [ { @@ -27,7 +27,7 @@ X-Route: /v2/projects/{project_id}/links/{link_id} "x": 42, "y": 0 }, - "node_id": "ad56b649-841c-4212-ad67-47e8637f86ca", + "node_id": "83985474-0e30-4503-9467-d4f8caf64344", "port_number": 3 }, { @@ -39,10 +39,10 @@ X-Route: /v2/projects/{project_id}/links/{link_id} "x": -10, "y": -10 }, - "node_id": "4f2ca049-53e8-4cd1-bd81-396e2b2b40d1", + "node_id": "34126b9e-5e67-4b8a-b2dc-4d2d12f21816", "port_number": 4 } ], - "project_id": "23093d79-3767-40fa-a4d2-d6cb9b8b3ad6", + "project_id": "765ebb69-04a8-44bd-a1ae-50098ac2c4f3", "suspend": false } diff --git a/docs/api/examples/controller_get_projectsprojectidlinkslinkidavailablefilters.txt b/docs/api/examples/controller_get_projectsprojectidlinkslinkidavailablefilters.txt index e7749078..33657dbf 100644 --- a/docs/api/examples/controller_get_projectsprojectidlinkslinkidavailablefilters.txt +++ b/docs/api/examples/controller_get_projectsprojectidlinkslinkidavailablefilters.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/e727375f-2f2b-4f23-9077-d73059f35e3a/links/cfb0fcc4-a5b2-4b53-9c56-487b297c8681/available_filters' +curl -i -X GET 'http://localhost:3080/v2/projects/26181390-45a9-43fe-8333-6b6a029846a8/links/8ec4f85b-4ba5-469b-9e31-b74de55e82ef/available_filters' -GET /v2/projects/e727375f-2f2b-4f23-9077-d73059f35e3a/links/cfb0fcc4-a5b2-4b53-9c56-487b297c8681/available_filters HTTP/1.1 +GET /v2/projects/26181390-45a9-43fe-8333-6b6a029846a8/links/8ec4f85b-4ba5-469b-9e31-b74de55e82ef/available_filters HTTP/1.1 @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 2119 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links/{link_id}/available_filters [ diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt index df433eb4..dbfda812 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodes.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodes.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/33278936-718c-4161-8fc3-7af4aa39581f/nodes' +curl -i -X GET 'http://localhost:3080/v2/projects/62e6da4e-a536-4024-aab3-5c2d4a298857/nodes' -GET /v2/projects/33278936-718c-4161-8fc3-7af4aa39581f/nodes HTTP/1.1 +GET /v2/projects/62e6da4e-a536-4024-aab3-5c2d4a298857/nodes HTTP/1.1 @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 1303 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes [ @@ -17,7 +17,7 @@ X-Route: /v2/projects/{project_id}/nodes "command_line": null, "compute_id": "example.com", "console": 2048, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -30,7 +30,7 @@ X-Route: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "30a2bfff-f287-4a2e-97e6-880b13667fab", + "node_id": "722af5f9-2725-4c4b-a77b-3174ab049263", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -46,7 +46,7 @@ X-Route: /v2/projects/{project_id}/nodes "short_name": "e0" } ], - "project_id": "33278936-718c-4161-8fc3-7af4aa39581f", + "project_id": "62e6da4e-a536-4024-aab3-5c2d4a298857", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt index 4f9a6cf7..78d1d9b0 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/27d4fc3f-0c57-4b34-bee2-497f1216f9b1/nodes/ef78b006-21e6-4b82-a0db-c259c3e59fda' +curl -i -X GET 'http://localhost:3080/v2/projects/20edc1c4-1b5a-4303-ba84-33a7151eb3a4/nodes/187d6cf7-4ea7-414f-ba7e-a574b9cfff32' -GET /v2/projects/27d4fc3f-0c57-4b34-bee2-497f1216f9b1/nodes/ef78b006-21e6-4b82-a0db-c259c3e59fda HTTP/1.1 +GET /v2/projects/20edc1c4-1b5a-4303-ba84-33a7151eb3a4/nodes/187d6cf7-4ea7-414f-ba7e-a574b9cfff32 HTTP/1.1 @@ -8,15 +8,15 @@ HTTP/1.1 200 Connection: close Content-Length: 1123 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id} { "command_line": null, "compute_id": "example.com", "console": 2048, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} }, "name": "test", "node_directory": null, - "node_id": "ef78b006-21e6-4b82-a0db-c259c3e59fda", + "node_id": "187d6cf7-4ea7-414f-ba7e-a574b9cfff32", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} "short_name": "e0" } ], - "project_id": "27d4fc3f-0c57-4b34-bee2-497f1216f9b1", + "project_id": "20edc1c4-1b5a-4303-ba84-33a7151eb3a4", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt index 0c6c1c88..a341c401 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/4d318c14-2a43-4578-98ef-8f5cf2de34fb/nodes/2cfc89cf-7cbf-45a2-8085-446f9adc3513/dynamips/auto_idlepc' +curl -i -X GET 'http://localhost:3080/v2/projects/dcdff606-9989-41f2-84f6-b54b0cbffd42/nodes/39f26d85-515c-4d24-b656-170c9f43f4f3/dynamips/auto_idlepc' -GET /v2/projects/4d318c14-2a43-4578-98ef-8f5cf2de34fb/nodes/2cfc89cf-7cbf-45a2-8085-446f9adc3513/dynamips/auto_idlepc HTTP/1.1 +GET /v2/projects/dcdff606-9989-41f2-84f6-b54b0cbffd42/nodes/39f26d85-515c-4d24-b656-170c9f43f4f3/dynamips/auto_idlepc HTTP/1.1 @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 30 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:57 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc { diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt index 9f0dfb9a..2e7e553a 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/ad96a777-6236-456f-94f6-6036c7b5e822/nodes/aaadc419-18e6-4c89-967e-a71648fd4bc6/dynamips/idlepc_proposals' +curl -i -X GET 'http://localhost:3080/v2/projects/6fcb7f02-1b1a-407a-bd54-e77866d535fc/nodes/27c4840a-7237-4d73-a24d-b1005a0585f2/dynamips/idlepc_proposals' -GET /v2/projects/ad96a777-6236-456f-94f6-6036c7b5e822/nodes/aaadc419-18e6-4c89-967e-a71648fd4bc6/dynamips/idlepc_proposals HTTP/1.1 +GET /v2/projects/6fcb7f02-1b1a-407a-bd54-e77866d535fc/nodes/27c4840a-7237-4d73-a24d-b1005a0585f2/dynamips/idlepc_proposals HTTP/1.1 @@ -8,8 +8,8 @@ HTTP/1.1 200 Connection: close Content-Length: 38 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:57 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals [ diff --git a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt index f9d92e06..362e1f1c 100644 --- a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt +++ b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/fedc2620-5424-4a08-9cb5-8bc1f288df0d/snapshots' +curl -i -X GET 'http://localhost:3080/v2/projects/3fe938d6-ad14-4385-ba77-d8e79ef56021/snapshots' -GET /v2/projects/fedc2620-5424-4a08-9cb5-8bc1f288df0d/snapshots HTTP/1.1 +GET /v2/projects/3fe938d6-ad14-4385-ba77-d8e79ef56021/snapshots HTTP/1.1 @@ -8,15 +8,15 @@ HTTP/1.1 200 Connection: close Content-Length: 197 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:09 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/snapshots [ { - "created_at": 1515399400, + "created_at": 1528359249, "name": "test", - "project_id": "fedc2620-5424-4a08-9cb5-8bc1f288df0d", - "snapshot_id": "31310a98-d0b3-4739-8889-c3e0a7c1432e" + "project_id": "3fe938d6-ad14-4385-ba77-d8e79ef56021", + "snapshot_id": "ebc1cde0-9603-4994-b1f6-0091becc9567" } ] diff --git a/docs/api/examples/controller_get_settings.txt b/docs/api/examples/controller_get_settings.txt index c12b7bc8..8f75600f 100644 --- a/docs/api/examples/controller_get_settings.txt +++ b/docs/api/examples/controller_get_settings.txt @@ -8,11 +8,11 @@ HTTP/1.1 200 Connection: close Content-Length: 85 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:08 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/settings { - "modification_uuid": "c1aaa5d1-ce63-49f4-bfcc-e67dfac60ce3", + "modification_uuid": "b3ac5dbb-d2fc-44d7-90bd-3984a63d608f", "test": true } diff --git a/docs/api/examples/controller_get_symbols.txt b/docs/api/examples/controller_get_symbols.txt index f3b75885..f8079112 100644 --- a/docs/api/examples/controller_get_symbols.txt +++ b/docs/api/examples/controller_get_symbols.txt @@ -6,10 +6,10 @@ GET /v2/symbols HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 5174 +Content-Length: 5292 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/symbols [ @@ -188,6 +188,11 @@ X-Route: /v2/symbols "filename": "sip_server.svg", "symbol_id": ":/symbols/sip_server.svg" }, + { + "builtin": true, + "filename": "traceng.svg", + "symbol_id": ":/symbols/traceng.svg" + }, { "builtin": true, "filename": "vbox_guest.svg", diff --git a/docs/api/examples/controller_get_version.txt b/docs/api/examples/controller_get_version.txt index d6a57646..f46fb39f 100644 --- a/docs/api/examples/controller_get_version.txt +++ b/docs/api/examples/controller_get_version.txt @@ -8,11 +8,11 @@ HTTP/1.1 200 Connection: close Content-Length: 49 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:41 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/version { "local": true, - "version": "2.1.2dev1" + "version": "2.1.7dev1" } diff --git a/docs/api/examples/controller_post_computes.txt b/docs/api/examples/controller_post_computes.txt index 34439959..1c9757b1 100644 --- a/docs/api/examples/controller_post_computes.txt +++ b/docs/api/examples/controller_post_computes.txt @@ -15,8 +15,8 @@ HTTP/1.1 201 Connection: close Content-Length: 334 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:15 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:45 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes { diff --git a/docs/api/examples/controller_post_computescomputeidautoidlepc.txt b/docs/api/examples/controller_post_computescomputeidautoidlepc.txt index dad1d6e6..4abd3efb 100644 --- a/docs/api/examples/controller_post_computescomputeidautoidlepc.txt +++ b/docs/api/examples/controller_post_computescomputeidautoidlepc.txt @@ -12,8 +12,8 @@ HTTP/1.1 200 Connection: close Content-Length: 30 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:32 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:53 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id}/auto_idlepc { diff --git a/docs/api/examples/controller_post_computescomputeidemulatoraction.txt b/docs/api/examples/controller_post_computescomputeidemulatoraction.txt index 05cdbb7d..a41f575f 100644 --- a/docs/api/examples/controller_post_computescomputeidemulatoraction.txt +++ b/docs/api/examples/controller_post_computescomputeidemulatoraction.txt @@ -10,8 +10,8 @@ HTTP/1.1 200 Connection: close Content-Length: 2 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:30 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:52 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+} [] diff --git a/docs/api/examples/controller_post_projects.txt b/docs/api/examples/controller_post_projects.txt index 108a918f..419cd855 100644 --- a/docs/api/examples/controller_post_projects.txt +++ b/docs/api/examples/controller_post_projects.txt @@ -9,10 +9,10 @@ POST /v2/projects HTTP/1.1 HTTP/1.1 201 Connection: close -Content-Length: 509 +Content-Length: 574 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:57 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects { @@ -20,8 +20,9 @@ X-Route: /v2/projects "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp0kdf6pg5/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmphsp_xfyy/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, @@ -30,5 +31,7 @@ X-Route: /v2/projects "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_post_projectsload.txt b/docs/api/examples/controller_post_projectsload.txt index 7f9da785..72b3ba86 100644 --- a/docs/api/examples/controller_post_projectsload.txt +++ b/docs/api/examples/controller_post_projectsload.txt @@ -8,10 +8,10 @@ POST /v2/projects/load HTTP/1.1 HTTP/1.1 201 Connection: close -Content-Length: 509 +Content-Length: 574 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:39 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:58 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/load { @@ -19,9 +19,10 @@ X-Route: /v2/projects/load "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp86igc52s/projects/4ab2077c-0fe8-45f5-a82e-2a8a742b4026", - "project_id": "4ab2077c-0fe8-45f5-a82e-2a8a742b4026", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpdqd66g8e/projects/34c33c0f-0069-4643-b2a7-27503e446a4f", + "project_id": "34c33c0f-0069-4643-b2a7-27503e446a4f", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -29,5 +30,7 @@ X-Route: /v2/projects/load "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index 2a257a5d..cc1521f3 100644 --- a/docs/api/examples/controller_post_projectsprojectidclose.txt +++ b/docs/api/examples/controller_post_projectsprojectidclose.txt @@ -1,15 +1,15 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/8747d42d-da0d-4d8a-b2d6-3b569894a2ac/close' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/d109ad16-31ed-4eae-8a29-9ec1da7c70f7/close' -d '{}' -POST /v2/projects/8747d42d-da0d-4d8a-b2d6-3b569894a2ac/close HTTP/1.1 +POST /v2/projects/d109ad16-31ed-4eae-8a29-9ec1da7c70f7/close HTTP/1.1 {} HTTP/1.1 201 Connection: close -Content-Length: 509 +Content-Length: 574 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:39 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:58 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/close { @@ -17,9 +17,10 @@ X-Route: /v2/projects/{project_id}/close "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmprp4q67em/projects/8747d42d-da0d-4d8a-b2d6-3b569894a2ac", - "project_id": "8747d42d-da0d-4d8a-b2d6-3b569894a2ac", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmplppir7xt/projects/d109ad16-31ed-4eae-8a29-9ec1da7c70f7", + "project_id": "d109ad16-31ed-4eae-8a29-9ec1da7c70f7", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -27,5 +28,7 @@ X-Route: /v2/projects/{project_id}/close "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_post_projectsprojectiddrawings.txt b/docs/api/examples/controller_post_projectsprojectiddrawings.txt index 6f48a69f..4c35f3de 100644 --- a/docs/api/examples/controller_post_projectsprojectiddrawings.txt +++ b/docs/api/examples/controller_post_projectsprojectiddrawings.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/d714ad44-8fe3-45b1-9ed6-57814a581e3c/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/41bc794a-35c4-4f5f-8b6f-900d21ea18d7/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' -POST /v2/projects/d714ad44-8fe3-45b1-9ed6-57814a581e3c/drawings HTTP/1.1 +POST /v2/projects/41bc794a-35c4-4f5f-8b6f-900d21ea18d7/drawings HTTP/1.1 { "svg": "", "x": 10, @@ -13,13 +13,13 @@ HTTP/1.1 201 Connection: close Content-Length: 323 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/drawings { - "drawing_id": "af7cf5e1-9ebd-4478-aec6-2c8e05993587", - "project_id": "d714ad44-8fe3-45b1-9ed6-57814a581e3c", + "drawing_id": "09aa6060-7549-4f34-b0bf-fa991e82625b", + "project_id": "41bc794a-35c4-4f5f-8b6f-900d21ea18d7", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_post_projectsprojectidduplicate.txt b/docs/api/examples/controller_post_projectsprojectidduplicate.txt index 6633e521..3b75b873 100644 --- a/docs/api/examples/controller_post_projectsprojectidduplicate.txt +++ b/docs/api/examples/controller_post_projectsprojectidduplicate.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/ddcb0c7a-e706-4278-88fa-95d4d92146a1/duplicate' -d '{"name": "hello"}' +curl -i -X POST 'http://localhost:3080/v2/projects/03051934-40c1-4ca8-967e-378a63aa9125/duplicate' -d '{"name": "hello"}' -POST /v2/projects/ddcb0c7a-e706-4278-88fa-95d4d92146a1/duplicate HTTP/1.1 +POST /v2/projects/03051934-40c1-4ca8-967e-378a63aa9125/duplicate HTTP/1.1 { "name": "hello" } @@ -8,10 +8,10 @@ POST /v2/projects/ddcb0c7a-e706-4278-88fa-95d4d92146a1/duplicate HTTP/1.1 HTTP/1.1 201 Connection: close -Content-Length: 511 +Content-Length: 576 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:39 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:05 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/duplicate { @@ -19,9 +19,10 @@ X-Route: /v2/projects/{project_id}/duplicate "auto_open": false, "auto_start": false, "filename": "hello.gns3", + "grid_size": 0, "name": "hello", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpl3bk7hol/projects/c1e2c66f-f922-4848-b9c3-d06ee0a84fba", - "project_id": "c1e2c66f-f922-4848-b9c3-d06ee0a84fba", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpqmkv2pnn/projects/3ed08936-018a-45ea-bd3b-56d2d211ca6b", + "project_id": "3ed08936-018a-45ea-bd3b-56d2d211ca6b", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -29,5 +30,7 @@ X-Route: /v2/projects/{project_id}/duplicate "show_layers": false, "snap_to_grid": false, "status": "closed", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index ec2fd11f..4a66dc31 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinks.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/1be6903e-2a33-456c-acac-0ce09f4bee53/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "7fd37d81-3c9e-42af-a5a1-04c859278b2b", "port_number": 3}, {"adapter_number": 0, "node_id": "7fd37d81-3c9e-42af-a5a1-04c859278b2b", "port_number": 4}]}' +curl -i -X POST 'http://localhost:3080/v2/projects/95ac37f0-0fe0-41a0-8419-e4b5b27a6a36/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "96ea12d8-5e5a-4673-ab1a-92d99867701a", "port_number": 3}, {"adapter_number": 0, "node_id": "96ea12d8-5e5a-4673-ab1a-92d99867701a", "port_number": 4}]}' -POST /v2/projects/1be6903e-2a33-456c-acac-0ce09f4bee53/links HTTP/1.1 +POST /v2/projects/95ac37f0-0fe0-41a0-8419-e4b5b27a6a36/links HTTP/1.1 { "nodes": [ { @@ -10,12 +10,12 @@ POST /v2/projects/1be6903e-2a33-456c-acac-0ce09f4bee53/links HTTP/1.1 "x": 42, "y": 0 }, - "node_id": "7fd37d81-3c9e-42af-a5a1-04c859278b2b", + "node_id": "96ea12d8-5e5a-4673-ab1a-92d99867701a", "port_number": 3 }, { "adapter_number": 0, - "node_id": "7fd37d81-3c9e-42af-a5a1-04c859278b2b", + "node_id": "96ea12d8-5e5a-4673-ab1a-92d99867701a", "port_number": 4 } ] @@ -26,8 +26,8 @@ HTTP/1.1 409 Connection: close Content-Length: 64 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links { diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt index dc3d71af..01d15370 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/b743b3a3-845f-4604-9459-d673fb3bc9c3/links/57a8d659-29a9-4cbd-888c-090d69a9eb35/start_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/9bb44dd7-42f7-4dea-81c1-3082230e19ee/links/da01924d-3b1a-4e0a-b13f-a2ed9e091fbd/start_capture' -d '{}' -POST /v2/projects/b743b3a3-845f-4604-9459-d673fb3bc9c3/links/57a8d659-29a9-4cbd-888c-090d69a9eb35/start_capture HTTP/1.1 +POST /v2/projects/9bb44dd7-42f7-4dea-81c1-3082230e19ee/links/da01924d-3b1a-4e0a-b13f-a2ed9e091fbd/start_capture HTTP/1.1 {} @@ -8,8 +8,8 @@ HTTP/1.1 201 Connection: close Content-Length: 288 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture { @@ -17,9 +17,9 @@ X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture "capture_file_path": null, "capturing": false, "filters": {}, - "link_id": "57a8d659-29a9-4cbd-888c-090d69a9eb35", + "link_id": "da01924d-3b1a-4e0a-b13f-a2ed9e091fbd", "link_type": "ethernet", "nodes": [], - "project_id": "b743b3a3-845f-4604-9459-d673fb3bc9c3", + "project_id": "9bb44dd7-42f7-4dea-81c1-3082230e19ee", "suspend": false } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt index 0aac297e..5cc37de0 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/ea22fe63-fea5-47ed-b4a9-49072d7af9b1/links/b9f26c10-ff89-406d-92b4-cce143fe1fa4/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/5aed0974-0961-443e-a197-6f0018aa492e/links/a0467017-8dbc-44eb-bbd8-04949cf9fb5c/stop_capture' -d '{}' -POST /v2/projects/ea22fe63-fea5-47ed-b4a9-49072d7af9b1/links/b9f26c10-ff89-406d-92b4-cce143fe1fa4/stop_capture HTTP/1.1 +POST /v2/projects/5aed0974-0961-443e-a197-6f0018aa492e/links/a0467017-8dbc-44eb-bbd8-04949cf9fb5c/stop_capture HTTP/1.1 {} @@ -8,8 +8,8 @@ HTTP/1.1 201 Connection: close Content-Length: 288 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture { @@ -17,9 +17,9 @@ X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture "capture_file_path": null, "capturing": false, "filters": {}, - "link_id": "b9f26c10-ff89-406d-92b4-cce143fe1fa4", + "link_id": "a0467017-8dbc-44eb-bbd8-04949cf9fb5c", "link_type": "ethernet", "nodes": [], - "project_id": "ea22fe63-fea5-47ed-b4a9-49072d7af9b1", + "project_id": "5aed0974-0961-443e-a197-6f0018aa492e", "suspend": false } diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt index 88e956da..e11c5f19 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodes.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodes.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/654bb44c-a307-4d20-9117-3ed831d71524/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +curl -i -X POST 'http://localhost:3080/v2/projects/1c5e8aea-f9e1-4412-99d6-6e3be495b23a/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -POST /v2/projects/654bb44c-a307-4d20-9117-3ed831d71524/nodes HTTP/1.1 +POST /v2/projects/1c5e8aea-f9e1-4412-99d6-6e3be495b23a/nodes HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -15,15 +15,15 @@ HTTP/1.1 201 Connection: close Content-Length: 1123 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes { "command_line": null, "compute_id": "example.com", "console": 2048, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -36,7 +36,7 @@ X-Route: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "be9b41b1-6ebb-4351-8f85-88c84b6aeb3f", + "node_id": "256c0317-27b4-4e16-8301-5e12ee1ac76d", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -52,7 +52,7 @@ X-Route: /v2/projects/{project_id}/nodes "short_name": "e0" } ], - "project_id": "654bb44c-a307-4d20-9117-3ed831d71524", + "project_id": "1c5e8aea-f9e1-4412-99d6-6e3be495b23a", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidduplicate.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidduplicate.txt index 5b2bdcb5..eaae2149 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidduplicate.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidduplicate.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/00ed3048-63b6-4604-ba0b-fa3eb364b75c/nodes/d945d390-4538-40f4-857c-d6c9bd9577ca/duplicate' -d '{"x": 10, "y": 5, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/002ebaa7-5d6a-4c2d-a609-697ad91fe1a3/nodes/44ae28b6-6977-4093-9a6b-5bde7c94c298/duplicate' -d '{"x": 10, "y": 5, "z": 0}' -POST /v2/projects/00ed3048-63b6-4604-ba0b-fa3eb364b75c/nodes/d945d390-4538-40f4-857c-d6c9bd9577ca/duplicate HTTP/1.1 +POST /v2/projects/002ebaa7-5d6a-4c2d-a609-697ad91fe1a3/nodes/44ae28b6-6977-4093-9a6b-5bde7c94c298/duplicate HTTP/1.1 { "x": 10, "y": 5, @@ -12,15 +12,15 @@ HTTP/1.1 201 Connection: close Content-Length: 1083 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/duplicate { "command_line": null, "compute_id": "example.com", "console": null, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -33,7 +33,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/duplicate }, "name": "test1", "node_directory": null, - "node_id": "d59096fb-688e-4c7d-9ee2-1de524b97688", + "node_id": "4ea1c6ef-99eb-450f-9151-577539d63125", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -49,7 +49,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/duplicate "short_name": "e0" } ], - "project_id": "00ed3048-63b6-4604-ba0b-fa3eb364b75c", + "project_id": "002ebaa7-5d6a-4c2d-a609-697ad91fe1a3", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt index 9e649aba..ed709e75 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/23eb0cbc-0923-46c7-9e28-4b5ff829c26b/nodes/9d4f5903-e448-4e92-a2a8-be2e1e3c2390/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/8a53b806-81c0-4f1c-b43e-6193def0bcb6/nodes/930cd7fd-7f09-4b63-b534-3dea6cc62b6a/reload' -d '{}' -POST /v2/projects/23eb0cbc-0923-46c7-9e28-4b5ff829c26b/nodes/9d4f5903-e448-4e92-a2a8-be2e1e3c2390/reload HTTP/1.1 +POST /v2/projects/8a53b806-81c0-4f1c-b43e-6193def0bcb6/nodes/930cd7fd-7f09-4b63-b534-3dea6cc62b6a/reload HTTP/1.1 {} @@ -8,15 +8,15 @@ HTTP/1.1 201 Connection: close Content-Length: 1080 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload { "command_line": null, "compute_id": "example.com", "console": null, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload }, "name": "test", "node_directory": null, - "node_id": "9d4f5903-e448-4e92-a2a8-be2e1e3c2390", + "node_id": "930cd7fd-7f09-4b63-b534-3dea6cc62b6a", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload "short_name": "e0" } ], - "project_id": "23eb0cbc-0923-46c7-9e28-4b5ff829c26b", + "project_id": "8a53b806-81c0-4f1c-b43e-6193def0bcb6", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt index 97c34a72..614b90f9 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/8fd130cb-cdc9-4be2-ade1-61a0ed6307c6/nodes/70696eea-870e-4b9f-a43f-727bd5c144c9/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/457b209c-6530-4897-9d0c-53f60b20ea50/nodes/540ca7f0-5bbb-43db-a7ce-a94a4f06d135/start' -d '{}' -POST /v2/projects/8fd130cb-cdc9-4be2-ade1-61a0ed6307c6/nodes/70696eea-870e-4b9f-a43f-727bd5c144c9/start HTTP/1.1 +POST /v2/projects/457b209c-6530-4897-9d0c-53f60b20ea50/nodes/540ca7f0-5bbb-43db-a7ce-a94a4f06d135/start HTTP/1.1 {} @@ -8,15 +8,15 @@ HTTP/1.1 201 Connection: close Content-Length: 1080 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/start { "command_line": null, "compute_id": "example.com", "console": null, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/start }, "name": "test", "node_directory": null, - "node_id": "70696eea-870e-4b9f-a43f-727bd5c144c9", + "node_id": "540ca7f0-5bbb-43db-a7ce-a94a4f06d135", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/start "short_name": "e0" } ], - "project_id": "8fd130cb-cdc9-4be2-ade1-61a0ed6307c6", + "project_id": "457b209c-6530-4897-9d0c-53f60b20ea50", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt index 408da116..f48cea9d 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/4e05f8d5-3885-4de2-b7fb-cacd9231856c/nodes/432aeaf4-baca-489b-8c01-6bd1a6f8474f/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/bffdd9c4-4a72-4608-810d-9736e6999107/nodes/874e89ee-7b08-43ab-af91-04621207a932/stop' -d '{}' -POST /v2/projects/4e05f8d5-3885-4de2-b7fb-cacd9231856c/nodes/432aeaf4-baca-489b-8c01-6bd1a6f8474f/stop HTTP/1.1 +POST /v2/projects/bffdd9c4-4a72-4608-810d-9736e6999107/nodes/874e89ee-7b08-43ab-af91-04621207a932/stop HTTP/1.1 {} @@ -8,15 +8,15 @@ HTTP/1.1 201 Connection: close Content-Length: 1080 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop { "command_line": null, "compute_id": "example.com", "console": null, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop }, "name": "test", "node_directory": null, - "node_id": "432aeaf4-baca-489b-8c01-6bd1a6f8474f", + "node_id": "874e89ee-7b08-43ab-af91-04621207a932", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop "short_name": "e0" } ], - "project_id": "4e05f8d5-3885-4de2-b7fb-cacd9231856c", + "project_id": "bffdd9c4-4a72-4608-810d-9736e6999107", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt index 2897f10d..840221b2 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/85b77222-5d34-4012-8f19-ceb3261913a3/nodes/64607fac-75cf-49ca-ac0f-21a22fb72374/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/35f968db-6d2e-4f2e-b9fe-e95573c55764/nodes/486b1e62-91af-4e4c-a13f-1f0d7017c55b/suspend' -d '{}' -POST /v2/projects/85b77222-5d34-4012-8f19-ceb3261913a3/nodes/64607fac-75cf-49ca-ac0f-21a22fb72374/suspend HTTP/1.1 +POST /v2/projects/35f968db-6d2e-4f2e-b9fe-e95573c55764/nodes/486b1e62-91af-4e4c-a13f-1f0d7017c55b/suspend HTTP/1.1 {} @@ -8,15 +8,15 @@ HTTP/1.1 201 Connection: close Content-Length: 1080 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend { "command_line": null, "compute_id": "example.com", "console": null, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend }, "name": "test", "node_directory": null, - "node_id": "64607fac-75cf-49ca-ac0f-21a22fb72374", + "node_id": "486b1e62-91af-4e4c-a13f-1f0d7017c55b", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend "short_name": "e0" } ], - "project_id": "85b77222-5d34-4012-8f19-ceb3261913a3", + "project_id": "35f968db-6d2e-4f2e-b9fe-e95573c55764", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt index 53c2ac96..47e9f9b2 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/9f29082c-a385-4d54-87e9-8a6d400e207a/nodes/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/021f7e96-5ef9-4471-97ac-7b6005e00612/nodes/reload' -d '{}' -POST /v2/projects/9f29082c-a385-4d54-87e9-8a6d400e207a/nodes/reload HTTP/1.1 +POST /v2/projects/021f7e96-5ef9-4471-97ac-7b6005e00612/nodes/reload HTTP/1.1 {} @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/reload diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt index 8d0150a8..927af499 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/227b7712-8d97-402f-bd92-7a31fcc57384/nodes/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/2300b29b-5f12-47b6-a50e-55e0ede0d59e/nodes/start' -d '{}' -POST /v2/projects/227b7712-8d97-402f-bd92-7a31fcc57384/nodes/start HTTP/1.1 +POST /v2/projects/2300b29b-5f12-47b6-a50e-55e0ede0d59e/nodes/start HTTP/1.1 {} @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/start diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt index 50766aec..9ae32f1b 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/50a86076-8e3b-4659-971c-4572f570529d/nodes/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/2dd4ba91-820e-4207-bc99-740cb6a3436d/nodes/stop' -d '{}' -POST /v2/projects/50a86076-8e3b-4659-971c-4572f570529d/nodes/stop HTTP/1.1 +POST /v2/projects/2dd4ba91-820e-4207-bc99-740cb6a3436d/nodes/stop HTTP/1.1 {} @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/stop diff --git a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt index 60c54cd1..ad620991 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/69e261f4-033b-45c5-b7ab-7f013e9bc4b6/nodes/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a8dd1814-0230-43d8-8208-c50b705e6f6c/nodes/suspend' -d '{}' -POST /v2/projects/69e261f4-033b-45c5-b7ab-7f013e9bc4b6/nodes/suspend HTTP/1.1 +POST /v2/projects/a8dd1814-0230-43d8-8208-c50b705e6f6c/nodes/suspend HTTP/1.1 {} @@ -8,7 +8,7 @@ HTTP/1.1 204 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/suspend diff --git a/docs/api/examples/controller_post_projectsprojectidopen.txt b/docs/api/examples/controller_post_projectsprojectidopen.txt index 578be069..4a9bed80 100644 --- a/docs/api/examples/controller_post_projectsprojectidopen.txt +++ b/docs/api/examples/controller_post_projectsprojectidopen.txt @@ -1,15 +1,15 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/adbff87f-85f7-4b0d-af50-6b1fcaba5b4f/open' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a82ef5a1-380a-4c8e-99fd-a269eb14d667/open' -d '{}' -POST /v2/projects/adbff87f-85f7-4b0d-af50-6b1fcaba5b4f/open HTTP/1.1 +POST /v2/projects/a82ef5a1-380a-4c8e-99fd-a269eb14d667/open HTTP/1.1 {} HTTP/1.1 201 Connection: close -Content-Length: 509 +Content-Length: 574 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:39 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:58 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/open { @@ -17,9 +17,10 @@ X-Route: /v2/projects/{project_id}/open "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp5pvhkyby/projects/adbff87f-85f7-4b0d-af50-6b1fcaba5b4f", - "project_id": "adbff87f-85f7-4b0d-af50-6b1fcaba5b4f", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmppk746kon/projects/a82ef5a1-380a-4c8e-99fd-a269eb14d667", + "project_id": "a82ef5a1-380a-4c8e-99fd-a269eb14d667", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -27,5 +28,7 @@ X-Route: /v2/projects/{project_id}/open "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt index 35fcd5c6..12d39f52 100644 --- a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt +++ b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/4fbbc572-fcc6-440a-9bc3-d8cd080c22e6/snapshots' -d '{"name": "snap1"}' +curl -i -X POST 'http://localhost:3080/v2/projects/fb65405c-5698-4712-8a79-68c79991e05c/snapshots' -d '{"name": "snap1"}' -POST /v2/projects/4fbbc572-fcc6-440a-9bc3-d8cd080c22e6/snapshots HTTP/1.1 +POST /v2/projects/fb65405c-5698-4712-8a79-68c79991e05c/snapshots HTTP/1.1 { "name": "snap1" } @@ -10,13 +10,13 @@ HTTP/1.1 201 Connection: close Content-Length: 170 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/snapshots { - "created_at": 1515399400, + "created_at": 1528359262, "name": "snap1", - "project_id": "4fbbc572-fcc6-440a-9bc3-d8cd080c22e6", - "snapshot_id": "b99084ad-7093-46ea-af8a-45f30f2ccaee" + "project_id": "fb65405c-5698-4712-8a79-68c79991e05c", + "snapshot_id": "07cd311f-4591-453f-8cd7-af24ed4b524e" } diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt index 2ce17dda..dc5f12b7 100644 --- a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt +++ b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt @@ -1,15 +1,15 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/eb0c9744-0882-440d-aeb0-f7e136989c30/snapshots/7782fde0-310f-4eed-8899-0fba6189999c/restore' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/3f0c9493-a58a-408c-b208-29564c167363/snapshots/6dbef23f-8029-43f8-b957-11512db51b1d/restore' -d '{}' -POST /v2/projects/eb0c9744-0882-440d-aeb0-f7e136989c30/snapshots/7782fde0-310f-4eed-8899-0fba6189999c/restore HTTP/1.1 +POST /v2/projects/3f0c9493-a58a-408c-b208-29564c167363/snapshots/6dbef23f-8029-43f8-b957-11512db51b1d/restore HTTP/1.1 {} HTTP/1.1 201 Connection: close -Content-Length: 509 +Content-Length: 574 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:17 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore { @@ -17,9 +17,10 @@ X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp20r65_qe/projects/eb0c9744-0882-440d-aeb0-f7e136989c30", - "project_id": "eb0c9744-0882-440d-aeb0-f7e136989c30", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmplytbvayj/projects/3f0c9493-a58a-408c-b208-29564c167363", + "project_id": "3f0c9493-a58a-408c-b208-29564c167363", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -27,5 +28,7 @@ X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": null, "zoom": 100 } diff --git a/docs/api/examples/controller_post_settings.txt b/docs/api/examples/controller_post_settings.txt index a72d3147..fa5c5fab 100644 --- a/docs/api/examples/controller_post_settings.txt +++ b/docs/api/examples/controller_post_settings.txt @@ -10,11 +10,11 @@ HTTP/1.1 201 Connection: close Content-Length: 85 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:08 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/settings { - "modification_uuid": "c1aaa5d1-ce63-49f4-bfcc-e67dfac60ce3", + "modification_uuid": "b3ac5dbb-d2fc-44d7-90bd-3984a63d608f", "test": true } diff --git a/docs/api/examples/controller_post_shutdown.txt b/docs/api/examples/controller_post_shutdown.txt index 3793cfdf..ced74e26 100644 --- a/docs/api/examples/controller_post_shutdown.txt +++ b/docs/api/examples/controller_post_shutdown.txt @@ -8,7 +8,7 @@ HTTP/1.1 201 Connection: close Content-Length: 0 Content-Type: application/octet-stream -Date: Mon, 08 Jan 2018 08:16:40 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:08 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/shutdown diff --git a/docs/api/examples/controller_post_version.txt b/docs/api/examples/controller_post_version.txt index febe1d0e..9fc7b5cf 100644 --- a/docs/api/examples/controller_post_version.txt +++ b/docs/api/examples/controller_post_version.txt @@ -1,8 +1,8 @@ -curl -i -X POST 'http://localhost:3080/v2/version' -d '{"version": "2.1.2dev1"}' +curl -i -X POST 'http://localhost:3080/v2/version' -d '{"version": "2.1.7dev1"}' POST /v2/version HTTP/1.1 { - "version": "2.1.2dev1" + "version": "2.1.7dev1" } @@ -10,10 +10,10 @@ HTTP/1.1 200 Connection: close Content-Length: 30 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:41 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:14:22 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/version { - "version": "2.1.2dev1" + "version": "2.1.7dev1" } diff --git a/docs/api/examples/controller_put_computescomputeid.txt b/docs/api/examples/controller_put_computescomputeid.txt index dc0e039d..f6b7e0ac 100644 --- a/docs/api/examples/controller_put_computescomputeid.txt +++ b/docs/api/examples/controller_put_computescomputeid.txt @@ -15,8 +15,8 @@ HTTP/1.1 200 Connection: close Content-Length: 335 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:20 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:46 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/computes/{compute_id} { diff --git a/docs/api/examples/controller_put_gns3vm.txt b/docs/api/examples/controller_put_gns3vm.txt index 8163c726..4a792b5e 100644 --- a/docs/api/examples/controller_put_gns3vm.txt +++ b/docs/api/examples/controller_put_gns3vm.txt @@ -10,8 +10,8 @@ HTTP/1.1 201 Connection: close Content-Length: 27 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/gns3vm { diff --git a/docs/api/examples/controller_put_projectsprojectid.txt b/docs/api/examples/controller_put_projectsprojectid.txt index 991326ce..3e96bc48 100644 --- a/docs/api/examples/controller_put_projectsprojectid.txt +++ b/docs/api/examples/controller_put_projectsprojectid.txt @@ -8,10 +8,10 @@ PUT /v2/projects/10010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1 HTTP/1.1 200 Connection: close -Content-Length: 510 +Content-Length: 706 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:38 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:57 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id} { @@ -19,8 +19,9 @@ X-Route: /v2/projects/{project_id} "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test2", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp3n7ijfjb/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp3hcl29s3/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, @@ -29,5 +30,15 @@ X-Route: /v2/projects/{project_id} "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": [ + { + "name": "TEST1" + }, + { + "name": "TEST2", + "value": "value1" + } + ], "zoom": 100 } diff --git a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt index b4c8f432..0f55a893 100644 --- a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt +++ b/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/730a3525-db50-4a6a-ac7b-c724c3eed9e8/drawings/eb4a10ff-3cd1-47dd-b95b-1792d2b08f5c' -d '{"x": 42}' +curl -i -X PUT 'http://localhost:3080/v2/projects/0d4871e9-2a2e-41cc-9979-f2eb74f10ead/drawings/3ba31d48-aa9b-4212-91a1-30493681ba78' -d '{"x": 42}' -PUT /v2/projects/730a3525-db50-4a6a-ac7b-c724c3eed9e8/drawings/eb4a10ff-3cd1-47dd-b95b-1792d2b08f5c HTTP/1.1 +PUT /v2/projects/0d4871e9-2a2e-41cc-9979-f2eb74f10ead/drawings/3ba31d48-aa9b-4212-91a1-30493681ba78 HTTP/1.1 { "x": 42 } @@ -10,13 +10,13 @@ HTTP/1.1 201 Connection: close Content-Length: 323 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:35 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:54 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/drawings/{drawing_id} { - "drawing_id": "eb4a10ff-3cd1-47dd-b95b-1792d2b08f5c", - "project_id": "730a3525-db50-4a6a-ac7b-c724c3eed9e8", + "drawing_id": "3ba31d48-aa9b-4212-91a1-30493681ba78", + "project_id": "0d4871e9-2a2e-41cc-9979-f2eb74f10ead", "rotation": 0, "svg": "", "x": 42, diff --git a/docs/api/examples/controller_put_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_put_projectsprojectidlinkslinkid.txt index 81d9078d..d9ac5dad 100644 --- a/docs/api/examples/controller_put_projectsprojectidlinkslinkid.txt +++ b/docs/api/examples/controller_put_projectsprojectidlinkslinkid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/c4cba489-d792-4244-9242-07f53f6c4eac/links/e29aad22-7d24-4648-8282-0c41d1c7e70e' -d '{"filters": {"frequency_drop": [50], "latency": [10]}, "nodes": [{"adapter_number": 0, "label": {"text": "Hello", "x": 64, "y": 0}, "node_id": "eb22314e-ff91-4679-8b65-636ec8b34905", "port_number": 3}, {"adapter_number": 2, "node_id": "1268c0a0-8652-4dba-beaf-07cef8e0a310", "port_number": 4}]}' +curl -i -X PUT 'http://localhost:3080/v2/projects/42d57b87-6ba4-4693-95c5-815064a1e587/links/b3bb9cf1-9947-48aa-9a81-4531bf575943' -d '{"filters": {"frequency_drop": [50], "latency": [10]}, "nodes": [{"adapter_number": 0, "label": {"text": "Hello", "x": 64, "y": 0}, "node_id": "a093ca63-8a69-4ee5-bf36-fb9ea1e586d4", "port_number": 3}, {"adapter_number": 2, "node_id": "dfda5907-1939-4dbb-a36f-660ef2c9e2cb", "port_number": 4}]}' -PUT /v2/projects/c4cba489-d792-4244-9242-07f53f6c4eac/links/e29aad22-7d24-4648-8282-0c41d1c7e70e HTTP/1.1 +PUT /v2/projects/42d57b87-6ba4-4693-95c5-815064a1e587/links/b3bb9cf1-9947-48aa-9a81-4531bf575943 HTTP/1.1 { "filters": { "frequency_drop": [ @@ -18,12 +18,12 @@ PUT /v2/projects/c4cba489-d792-4244-9242-07f53f6c4eac/links/e29aad22-7d24-4648-8 "x": 64, "y": 0 }, - "node_id": "eb22314e-ff91-4679-8b65-636ec8b34905", + "node_id": "a093ca63-8a69-4ee5-bf36-fb9ea1e586d4", "port_number": 3 }, { "adapter_number": 2, - "node_id": "1268c0a0-8652-4dba-beaf-07cef8e0a310", + "node_id": "dfda5907-1939-4dbb-a36f-660ef2c9e2cb", "port_number": 4 } ] @@ -34,8 +34,8 @@ HTTP/1.1 201 Connection: close Content-Length: 1022 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:36 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:55 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/links/{link_id} { @@ -50,7 +50,7 @@ X-Route: /v2/projects/{project_id}/links/{link_id} 10 ] }, - "link_id": "e29aad22-7d24-4648-8282-0c41d1c7e70e", + "link_id": "b3bb9cf1-9947-48aa-9a81-4531bf575943", "link_type": "ethernet", "nodes": [ { @@ -60,7 +60,7 @@ X-Route: /v2/projects/{project_id}/links/{link_id} "x": 64, "y": 0 }, - "node_id": "eb22314e-ff91-4679-8b65-636ec8b34905", + "node_id": "a093ca63-8a69-4ee5-bf36-fb9ea1e586d4", "port_number": 3 }, { @@ -72,10 +72,10 @@ X-Route: /v2/projects/{project_id}/links/{link_id} "x": -10, "y": -10 }, - "node_id": "1268c0a0-8652-4dba-beaf-07cef8e0a310", + "node_id": "dfda5907-1939-4dbb-a36f-660ef2c9e2cb", "port_number": 4 } ], - "project_id": "c4cba489-d792-4244-9242-07f53f6c4eac", + "project_id": "42d57b87-6ba4-4693-95c5-815064a1e587", "suspend": false } diff --git a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt index 1b58e104..0bdbff12 100644 --- a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/758ba972-b86f-4fe1-8ee4-55a47010ccd6/nodes/fc936387-be57-4907-b240-bc2806f28a30' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +curl -i -X PUT 'http://localhost:3080/v2/projects/f71e5c25-d021-45fe-bc7b-85fa1705cc20/nodes/f3578817-f20c-4bd8-9b1e-b23af18ab7b7' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -PUT /v2/projects/758ba972-b86f-4fe1-8ee4-55a47010ccd6/nodes/fc936387-be57-4907-b240-bc2806f28a30 HTTP/1.1 +PUT /v2/projects/f71e5c25-d021-45fe-bc7b-85fa1705cc20/nodes/f3578817-f20c-4bd8-9b1e-b23af18ab7b7 HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -15,15 +15,15 @@ HTTP/1.1 200 Connection: close Content-Length: 1080 Content-Type: application/json -Date: Mon, 08 Jan 2018 08:16:37 GMT -Server: Python/3.6 GNS3/2.1.2dev1 +Date: Thu, 07 Jun 2018 08:13:56 GMT +Server: Python/3.6 GNS3/2.1.7dev1 X-Route: /v2/projects/{project_id}/nodes/{node_id} { "command_line": null, "compute_id": "example.com", "console": 2048, - "console_host": "", + "console_host": "", "console_type": null, "first_port_name": null, "height": 59, @@ -36,7 +36,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} }, "name": "test", "node_directory": null, - "node_id": "fc936387-be57-4907-b240-bc2806f28a30", + "node_id": "f3578817-f20c-4bd8-9b1e-b23af18ab7b7", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -52,7 +52,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} "short_name": "e0" } ], - "project_id": "758ba972-b86f-4fe1-8ee4-55a47010ccd6", + "project_id": "f71e5c25-d021-45fe-bc7b-85fa1705cc20", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/drawing.created.json b/docs/api/notifications/drawing.created.json index b50f542b..9bf2c468 100644 --- a/docs/api/notifications/drawing.created.json +++ b/docs/api/notifications/drawing.created.json @@ -1,6 +1,6 @@ { - "drawing_id": "b6e1dcb4-442c-4c55-a1eb-537f57ee7974", - "project_id": "6170501f-a3d6-4ab7-82e7-57b4394538f8", + "drawing_id": "79ef03df-38b4-4dca-b0e0-651cd383a064", + "project_id": "187a7fd8-fb64-4d47-8fe3-bcae84dfacd6", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/notifications/drawing.deleted.json b/docs/api/notifications/drawing.deleted.json index a7299cc2..74ad40cf 100644 --- a/docs/api/notifications/drawing.deleted.json +++ b/docs/api/notifications/drawing.deleted.json @@ -1,6 +1,6 @@ { - "drawing_id": "df4f6a0a-429a-40c9-ae38-dbb4733d0750", - "project_id": "3cf20b3c-0602-49a6-b593-d49b6a1a5238", + "drawing_id": "8f6238f9-93f9-49ea-acb8-46a75e77c019", + "project_id": "80765c72-3173-4881-a32b-a77e9bf725d9", "rotation": 0, "svg": "", "x": 0, diff --git a/docs/api/notifications/drawing.updated.json b/docs/api/notifications/drawing.updated.json index e39a54d2..17c809d8 100644 --- a/docs/api/notifications/drawing.updated.json +++ b/docs/api/notifications/drawing.updated.json @@ -1,6 +1,6 @@ { - "drawing_id": "eb4a10ff-3cd1-47dd-b95b-1792d2b08f5c", - "project_id": "730a3525-db50-4a6a-ac7b-c724c3eed9e8", + "drawing_id": "3ba31d48-aa9b-4212-91a1-30493681ba78", + "project_id": "0d4871e9-2a2e-41cc-9979-f2eb74f10ead", "rotation": 0, "x": 42, "y": 20, diff --git a/docs/api/notifications/link.created.json b/docs/api/notifications/link.created.json index 2947c017..19501e97 100644 --- a/docs/api/notifications/link.created.json +++ b/docs/api/notifications/link.created.json @@ -10,7 +10,7 @@ 10 ] }, - "link_id": "d61729b0-e4c8-4d29-9e37-ed7997d2fcd8", + "link_id": "b0c7889a-5cf0-439a-a6b0-1fdf2fd1858a", "link_type": "ethernet", "nodes": [ { @@ -22,7 +22,7 @@ "x": -10, "y": -10 }, - "node_id": "2384cb6c-1783-4872-9c9e-91f015dee027", + "node_id": "855bcbdc-2af5-4625-898e-2c647ed580dd", "port_number": 3 }, { @@ -34,10 +34,10 @@ "x": -10, "y": -10 }, - "node_id": "a679eb04-b702-4353-baa2-3554e49396b1", + "node_id": "0098bb1e-c7a2-40c8-8c29-f323a7872fbd", "port_number": 4 } ], - "project_id": "9ca80ee5-8396-4c65-a477-874532d42ed3", + "project_id": "d8f1da27-a533-4aab-95bb-117aaccb48c7", "suspend": false } \ No newline at end of file diff --git a/docs/api/notifications/link.deleted.json b/docs/api/notifications/link.deleted.json index e666a28e..34b128cb 100644 --- a/docs/api/notifications/link.deleted.json +++ b/docs/api/notifications/link.deleted.json @@ -3,9 +3,9 @@ "capture_file_path": null, "capturing": false, "filters": {}, - "link_id": "3b6257c1-ce3b-44c8-8c6c-a0457d6e9e04", + "link_id": "3edd3d96-8054-4ef4-995f-6cdb93dbbabf", "link_type": "ethernet", "nodes": [], - "project_id": "2883d355-8b23-4ddd-a21b-ff213e485c29", + "project_id": "c03a601b-94f5-42b1-a5c9-52ffce68dfe6", "suspend": false } \ No newline at end of file diff --git a/docs/api/notifications/link.updated.json b/docs/api/notifications/link.updated.json index 9d4c628a..16651d43 100644 --- a/docs/api/notifications/link.updated.json +++ b/docs/api/notifications/link.updated.json @@ -10,7 +10,7 @@ 10 ] }, - "link_id": "e29aad22-7d24-4648-8282-0c41d1c7e70e", + "link_id": "b3bb9cf1-9947-48aa-9a81-4531bf575943", "link_type": "ethernet", "nodes": [ { @@ -20,7 +20,7 @@ "x": 64, "y": 0 }, - "node_id": "eb22314e-ff91-4679-8b65-636ec8b34905", + "node_id": "a093ca63-8a69-4ee5-bf36-fb9ea1e586d4", "port_number": 3 }, { @@ -32,10 +32,10 @@ "x": -10, "y": -10 }, - "node_id": "1268c0a0-8652-4dba-beaf-07cef8e0a310", + "node_id": "dfda5907-1939-4dbb-a36f-660ef2c9e2cb", "port_number": 4 } ], - "project_id": "c4cba489-d792-4244-9242-07f53f6c4eac", + "project_id": "42d57b87-6ba4-4693-95c5-815064a1e587", "suspend": false } \ No newline at end of file diff --git a/docs/api/notifications/project.closed.json b/docs/api/notifications/project.closed.json index 41ca0640..dd302e6f 100644 --- a/docs/api/notifications/project.closed.json +++ b/docs/api/notifications/project.closed.json @@ -3,9 +3,10 @@ "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpsh708y29/projects/2f24e0e9-9f39-41d3-a413-e7c14c5db6f7", - "project_id": "2f24e0e9-9f39-41d3-a413-e7c14c5db6f7", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpt3_89lcp/projects/fb65405c-5698-4712-8a79-68c79991e05c", + "project_id": "fb65405c-5698-4712-8a79-68c79991e05c", "scene_height": 1000, "scene_width": 2000, "show_grid": false, @@ -13,5 +14,7 @@ "show_layers": false, "snap_to_grid": false, "status": "closed", + "supplier": null, + "variables": null, "zoom": 100 } \ No newline at end of file diff --git a/docs/api/notifications/project.updated.json b/docs/api/notifications/project.updated.json index eb1cffb9..21437999 100644 --- a/docs/api/notifications/project.updated.json +++ b/docs/api/notifications/project.updated.json @@ -3,8 +3,9 @@ "auto_open": false, "auto_start": false, "filename": "test.gns3", + "grid_size": 0, "name": "test2", - "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp3n7ijfjb/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp3hcl29s3/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, @@ -13,5 +14,15 @@ "show_layers": false, "snap_to_grid": false, "status": "opened", + "supplier": null, + "variables": [ + { + "name": "TEST1" + }, + { + "name": "TEST2", + "value": "value1" + } + ], "zoom": 100 } \ No newline at end of file diff --git a/docs/api/notifications/settings.updated.json b/docs/api/notifications/settings.updated.json index fdd99a65..2ebd8444 100644 --- a/docs/api/notifications/settings.updated.json +++ b/docs/api/notifications/settings.updated.json @@ -1,4 +1,4 @@ { - "modification_uuid": "c1aaa5d1-ce63-49f4-bfcc-e67dfac60ce3", + "modification_uuid": "b3ac5dbb-d2fc-44d7-90bd-3984a63d608f", "test": true } \ No newline at end of file diff --git a/docs/api/notifications/snapshot.restored.json b/docs/api/notifications/snapshot.restored.json index c956d922..71e4b497 100644 --- a/docs/api/notifications/snapshot.restored.json +++ b/docs/api/notifications/snapshot.restored.json @@ -1,6 +1,6 @@ { - "created_at": 1515399400, + "created_at": 1528359251, "name": "test", - "project_id": "eb0c9744-0882-440d-aeb0-f7e136989c30", - "snapshot_id": "7782fde0-310f-4eed-8899-0fba6189999c" + "project_id": "3f0c9493-a58a-408c-b208-29564c167363", + "snapshot_id": "6dbef23f-8029-43f8-b957-11512db51b1d" } \ No newline at end of file diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst index 5dfe016d..0c541fcf 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend an ATM Relay switch +Suspend an ATM Relay switch (does nothing) Parameters ********** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst index 2452d545..05e97929 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/cloud/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend a cloud +Suspend a cloud (does nothing) Parameters ********** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst index 4821678e..305fd778 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst @@ -32,6 +32,7 @@ Input console_type enum Possible values: telnet, vnc, http, https container_id string Docker container ID Read only environment ['string', 'null'] Docker environment variables + extra_hosts ['string', 'null'] Docker extra hosts (added to /etc/hosts) image ✔ string Docker image name name ✔ string Docker container name node_id string Node UUID @@ -54,6 +55,7 @@ Output console_type enum Possible values: telnet, vnc, http, https container_id string Docker container ID Read only environment ['string', 'null'] Docker environment + extra_hosts ['string', 'null'] Docker extra hosts (added to /etc/hosts) image string Docker image name Read only name string Docker container name node_directory string Path to the node working directory Read only diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst index a8c718c6..a3ca1013 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst @@ -50,6 +50,7 @@ Input console_type enum Possible values: telnet, vnc, http, https container_id string Docker container ID Read only environment ['string', 'null'] Docker environment + extra_hosts ['string', 'null'] Docker extra hosts (added to /etc/hosts) image string Docker image name Read only name string Docker container name node_directory string Path to the node working directory Read only @@ -75,6 +76,7 @@ Output console_type enum Possible values: telnet, vnc, http, https container_id string Docker container ID Read only environment ['string', 'null'] Docker environment + extra_hosts ['string', 'null'] Docker extra hosts (added to /etc/hosts) image string Docker image name Read only name string Docker container name node_directory string Path to the node working directory Read only diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidsuspend.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidsuspend.rst new file mode 100644 index 00000000..216ccb3f --- /dev/null +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidsuspend.rst @@ -0,0 +1,20 @@ +/v2/compute/projects/{project_id}/docker/nodes/{node_id}/suspend +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/docker/nodes/**{node_id}**/suspend +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Suspend a Docker container + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance suspended +- **400**: Invalid request +- **404**: Instance doesn't exist + diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst index e5195707..b4678be3 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/ethernet_hub/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend an Ethernet hub +Suspend an Ethernet hub (does nothing) Parameters ********** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst index ca2173a9..e1c568cb 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/ethernet_switch/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend an Ethernet switch +Suspend an Ethernet switch (does nothing) Parameters ********** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst index 5e48c4a6..ed21ba49 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/frame_relay_switch/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend a Frame Relay switch +Suspend a Frame Relay switch (does nothing) Parameters ********** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidsuspend.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidsuspend.rst new file mode 100644 index 00000000..93f15640 --- /dev/null +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidsuspend.rst @@ -0,0 +1,20 @@ +/v2/compute/projects/{project_id}/iou/nodes/{node_id}/suspend +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}**/suspend +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Suspend an IOU instance (does nothing) + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance suspended +- **400**: Invalid request +- **404**: Instance doesn't exist + diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst index 9d8e1433..940f0e2e 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/nat/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend a nat +Suspend a nat (does nothing) Parameters ********** diff --git a/docs/api/v2/compute/project/projects.rst b/docs/api/v2/compute/project/projects.rst index bf0f3189..3c412113 100644 --- a/docs/api/v2/compute/project/projects.rst +++ b/docs/api/v2/compute/project/projects.rst @@ -35,6 +35,7 @@ Input + @@ -44,6 +45,8 @@ Input + +
Name Mandatory Type Description
auto_close boolean Project auto close
grid_size integer Grid size for the drawing area
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
show_interface_labels boolean Show interface labels on the drawing area
show_layers boolean Show layers on the drawing area
snap_to_grid boolean Snap to grid on the drawing area
supplier ['object', 'null'] Supplier of the project
variables ['array', 'null'] Variables required to run the project
zoom integer Zoom of the drawing area
@@ -57,6 +60,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -67,6 +71,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/compute/project/projectsprojectid.rst b/docs/api/v2/compute/project/projectsprojectid.rst index 187a0e49..42caf175 100644 --- a/docs/api/v2/compute/project/projectsprojectid.rst +++ b/docs/api/v2/compute/project/projectsprojectid.rst @@ -3,6 +3,71 @@ .. contents:: +PUT /v2/compute/projects/**{project_id}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Update the project on the server + +Response status codes +********************** +- **201**: Project updated +- **403**: Forbidden to update a project + +Input +******* +.. raw:: html + + + + + + + + + + + + + + + + + + +
Name Mandatory Type Description
auto_close boolean Project auto close when client cut off the notifications feed
auto_open boolean Project open when GNS3 start
auto_start boolean Project start when opened
grid_size integer Grid size for the drawing area
name ['string', 'null'] Project name
path ['string', 'null'] Path of the project on the server (work only with --local)
scene_height integer Height of the drawing area
scene_width integer Width of the drawing area
show_grid boolean Show the grid on the drawing area
show_interface_labels boolean Show interface labels on the drawing area
show_layers boolean Show layers on the drawing area
snap_to_grid boolean Snap to grid on the drawing area
supplier ['object', 'null'] Supplier of the project
variables ['array', 'null'] Variables required to run the project
zoom integer Zoom of the drawing area
+ +Output +******* +.. raw:: html + + + + + + + + + + + + + + + + + + + + + +
Name Mandatory Type Description
auto_close boolean Project auto close when client cut off the notifications feed
auto_open boolean Project open when GNS3 start
auto_start boolean Project start when opened
filename ['string', 'null'] Project filename
grid_size integer Grid size for the drawing area
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id string Project UUID
scene_height integer Height of the drawing area
scene_width integer Width of the drawing area
show_grid boolean Show the grid on the drawing area
show_interface_labels boolean Show interface labels on the drawing area
show_layers boolean Show layers on the drawing area
snap_to_grid boolean Snap to grid on the drawing area
status enum Possible values: opened, closed
supplier ['object', 'null'] Supplier of the project
variables ['array', 'null'] Variables required to run the project
zoom integer Zoom of the drawing area
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_put_projectsprojectid.txt + + GET /v2/compute/projects/**{project_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get project information @@ -26,6 +91,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -36,6 +102,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/compute/project/projectsprojectidimport.rst b/docs/api/v2/compute/project/projectsprojectidimport.rst index 4222c6e3..0a7e738d 100644 --- a/docs/api/v2/compute/project/projectsprojectidimport.rst +++ b/docs/api/v2/compute/project/projectsprojectidimport.rst @@ -26,6 +26,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -36,6 +37,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/compute/traceng.rst b/docs/api/v2/compute/traceng.rst new file mode 100644 index 00000000..117bd38a --- /dev/null +++ b/docs/api/v2/compute/traceng.rst @@ -0,0 +1,8 @@ +Traceng +----------------------------- + +.. toctree:: + :glob: + :maxdepth: 2 + + traceng/* diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodes.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodes.rst new file mode 100644 index 00000000..f3943793 --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodes.rst @@ -0,0 +1,57 @@ +/v2/compute/projects/{project_id}/traceng/nodes +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Create a new TraceNG instance + +Parameters +********** +- **project_id**: Project UUID + +Response status codes +********************** +- **201**: Instance created +- **400**: Invalid request +- **409**: Conflict + +Input +******* +.. raw:: html + + + + + + + + + +
Name Mandatory Type Description
console ['integer', 'null'] Console TCP port
console_type enum Possible values: none
default_destination ['string'] Default destination IP address or hostname for tracing
ip_address ['string'] Source IP address for tracing
name string TraceNG VM name
node_id Node UUID
+ +Output +******* +.. raw:: html + + + + + + + + + + + + + +
Name Mandatory Type Description
command_line string Last command line used by GNS3 to start TraceNG
console ['integer', 'null'] Console TCP port
console_type enum Possible values: none
default_destination ['string'] Default destination IP address or hostname for tracing
ip_address ['string'] Source IP address for tracing
name string TraceNG VM name
node_directory string Path to the VM working directory
node_id string Node UUID
project_id string Project UUID
status enum Possible values: started, stopped, suspended
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodes.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeid.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeid.rst new file mode 100644 index 00000000..9ebca68e --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeid.rst @@ -0,0 +1,120 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id} +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +GET /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Get a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **200**: Success +- **400**: Invalid request +- **404**: Instance doesn't exist + +Output +******* +.. raw:: html + + + + + + + + + + + + + +
Name Mandatory Type Description
command_line string Last command line used by GNS3 to start TraceNG
console ['integer', 'null'] Console TCP port
console_type enum Possible values: none
default_destination ['string'] Default destination IP address or hostname for tracing
ip_address ['string'] Source IP address for tracing
name string TraceNG VM name
node_directory string Path to the VM working directory
node_id string Node UUID
project_id string Project UUID
status enum Possible values: started, stopped, suspended
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_get_projectsprojectidtracengnodesnodeid.txt + + +PUT /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Update a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **200**: Instance updated +- **400**: Invalid request +- **404**: Instance doesn't exist +- **409**: Conflict + +Input +******* +.. raw:: html + + + + + + + + +
Name Mandatory Type Description
console ['integer', 'null'] Console TCP port
console_type enum Possible values: none
default_destination ['string'] Default destination IP address or hostname for tracing
ip_address ['string'] Source IP address for tracing
name ['string', 'null'] TraceNG VM name
+ +Output +******* +.. raw:: html + + + + + + + + + + + + + +
Name Mandatory Type Description
command_line string Last command line used by GNS3 to start TraceNG
console ['integer', 'null'] Console TCP port
console_type enum Possible values: none
default_destination ['string'] Default destination IP address or hostname for tracing
ip_address ['string'] Source IP address for tracing
name string TraceNG VM name
node_directory string Path to the VM working directory
node_id string Node UUID
project_id string Project UUID
status enum Possible values: started, stopped, suspended
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_put_projectsprojectidtracengnodesnodeid.txt + + +DELETE /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Delete a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance deleted +- **400**: Invalid request +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_delete_projectsprojectidtracengnodesnodeid.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.rst new file mode 100644 index 00000000..4b845ba0 --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -0,0 +1,76 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Add a NIO to a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located +- **port_number**: Port where the nio should be added + +Response status codes +********************** +- **201**: NIO created +- **400**: Invalid request +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt + + +PUT /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Update a NIO from a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located +- **port_number**: Port from where the nio should be updated + +Response status codes +********************** +- **201**: NIO updated +- **400**: Invalid request +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_put_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt + + +DELETE /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Remove a NIO from a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located +- **port_number**: Port from where the nio should be removed + +Response status codes +********************** +- **204**: NIO deleted +- **400**: Invalid request +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_delete_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdnio.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst new file mode 100644 index 00000000..e3e83b83 --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -0,0 +1,32 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/start_capture +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Start a packet capture on a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture +- **port_number**: Port on the adapter + +Response status codes +********************** +- **200**: Capture started +- **400**: Invalid request +- **404**: Instance doesn't exist + +Input +******* +.. raw:: html + + + + + +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
+ diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst new file mode 100644 index 00000000..2f13dce8 --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -0,0 +1,22 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/stop_capture +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Stop a packet capture on a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture +- **port_number**: Port on the adapter + +Response status codes +********************** +- **204**: Capture stopped +- **400**: Invalid request +- **404**: Instance doesn't exist + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidduplicate.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidduplicate.rst new file mode 100644 index 00000000..949318e0 --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidduplicate.rst @@ -0,0 +1,25 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/duplicate +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Duplicate a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **201**: Instance duplicated +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodesnodeidduplicate.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidreload.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidreload.rst new file mode 100644 index 00000000..793efd2a --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidreload.rst @@ -0,0 +1,26 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/reload +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Reload a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance reloaded +- **400**: Invalid request +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodesnodeidreload.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidstart.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidstart.rst new file mode 100644 index 00000000..0f170d5a --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidstart.rst @@ -0,0 +1,53 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/start +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Start a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance started +- **400**: Invalid request +- **404**: Instance doesn't exist + +Input +******* +.. raw:: html + + + + +
Name Mandatory Type Description
destination ['string'] Host or IP address to trace
+ +Output +******* +.. raw:: html + + + + + + + + + + + + + +
Name Mandatory Type Description
command_line string Last command line used by GNS3 to start TraceNG
console ['integer', 'null'] Console TCP port
console_type enum Possible values: none
default_destination ['string'] Default destination IP address or hostname for tracing
ip_address ['string'] Source IP address for tracing
name string TraceNG VM name
node_directory string Path to the VM working directory
node_id string Node UUID
project_id string Project UUID
status enum Possible values: started, stopped, suspended
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodesnodeidstart.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidstop.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidstop.rst new file mode 100644 index 00000000..dd5a3acc --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidstop.rst @@ -0,0 +1,26 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/stop +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Stop a TraceNG instance + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance stopped +- **400**: Invalid request +- **404**: Instance doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodesnodeidstop.txt + diff --git a/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidsuspend.rst b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidsuspend.rst new file mode 100644 index 00000000..e62d3c85 --- /dev/null +++ b/docs/api/v2/compute/traceng/projectsprojectidtracengnodesnodeidsuspend.rst @@ -0,0 +1,20 @@ +/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/suspend +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/suspend +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Suspend a TraceNG instance (does nothing) + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **204**: Instance suspended +- **400**: Invalid request +- **404**: Instance doesn't exist + diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst index 32abd416..7f785678 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst @@ -5,7 +5,7 @@ POST /v2/compute/projects/**{project_id}**/vpcs/nodes/**{node_id}**/suspend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Suspend a VPCS instance (stop it) +Suspend a VPCS instance (does nothing) Parameters ********** @@ -14,7 +14,7 @@ Parameters Response status codes ********************** -- **204**: Instance stopped +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist diff --git a/docs/api/v2/controller/appliance/projectsprojectidappliancesapplianceid.rst b/docs/api/v2/controller/appliance/projectsprojectidappliancesapplianceid.rst index db7dad5a..fb510877 100644 --- a/docs/api/v2/controller/appliance/projectsprojectidappliancesapplianceid.rst +++ b/docs/api/v2/controller/appliance/projectsprojectidappliancesapplianceid.rst @@ -38,14 +38,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodes.rst b/docs/api/v2/controller/node/projectsprojectidnodes.rst index 80dccc7b..309e8ab9 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodes.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodes.rst @@ -26,14 +26,14 @@ Input compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only @@ -57,14 +57,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst index d7885bbe..2a9367f1 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst @@ -23,14 +23,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only @@ -71,14 +71,14 @@ Input compute_id string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only @@ -102,14 +102,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidduplicate.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidduplicate.rst index d01e661f..aff44de9 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidduplicate.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidduplicate.rst @@ -39,14 +39,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidlinks.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidlinks.rst new file mode 100644 index 00000000..911da3f2 --- /dev/null +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidlinks.rst @@ -0,0 +1,20 @@ +/v2/projects/{project_id}/nodes/{node_id}/links +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +GET /v2/projects/**{project_id}**/nodes/**{node_id}**/links +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Return all the links connected to this node + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **200**: Links returned +- **400**: Invalid request +- **404**: Instance doesn't exist + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst index f9df30a0..f2b6387e 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst @@ -28,14 +28,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst index 384c616a..6de974cd 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst @@ -28,14 +28,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst index e4a8e0f0..296918eb 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst @@ -28,14 +28,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst index 25c10972..0e194254 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst @@ -28,14 +28,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesreload.rst index dde5ff1e..b164f9d3 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesreload.rst @@ -27,14 +27,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesstart.rst index ab5c4258..ecde1543 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesstart.rst @@ -27,14 +27,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodesstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesstop.rst index 1fd47d5a..52b19349 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesstop.rst @@ -27,14 +27,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst index 5677d8c2..bf0f7224 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst @@ -27,14 +27,14 @@ Output compute_id ✔ string Compute identifier console ['integer', 'null'] Console TCP port console_host string Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller. - console_type enum Possible values: vnc, telnet, http, https, spice, null + console_type enum Possible values: vnc, telnet, http, https, spice, none, null first_port_name ['string', 'null'] Name of the first port height integer Height of the node (Read only) label object name ✔ string Node name node_directory ['null', 'string'] Working directory of the node. Read only node_id string Node UUID - node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, virtualbox, vmware, iou, qemu + node_type ✔ enum Possible values: cloud, nat, ethernet_hub, ethernet_switch, frame_relay_switch, atm_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu port_name_format string Formating for port name {0} will be replace by port number port_segment_size integer Size of the port segment ports array List of node ports READ only diff --git a/docs/api/v2/controller/project/projects.rst b/docs/api/v2/controller/project/projects.rst index cb5c8deb..ed3e60fc 100644 --- a/docs/api/v2/controller/project/projects.rst +++ b/docs/api/v2/controller/project/projects.rst @@ -19,6 +19,7 @@ Input + @@ -28,6 +29,8 @@ Input + +
Name Mandatory Type Description
auto_close boolean Project auto close
grid_size integer Grid size for the drawing area
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
show_interface_labels boolean Show interface labels on the drawing area
show_layers boolean Show layers on the drawing area
snap_to_grid boolean Snap to grid on the drawing area
supplier ['object', 'null'] Supplier of the project
variables ['array', 'null'] Variables required to run the project
zoom integer Zoom of the drawing area
@@ -41,6 +44,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -51,6 +55,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/project/projectsload.rst b/docs/api/v2/controller/project/projectsload.rst index 6ba5f38b..fe2e2f29 100644 --- a/docs/api/v2/controller/project/projectsload.rst +++ b/docs/api/v2/controller/project/projectsload.rst @@ -35,6 +35,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -45,6 +46,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/project/projectsprojectid.rst b/docs/api/v2/controller/project/projectsprojectid.rst index c5df1bfb..1e88a74f 100644 --- a/docs/api/v2/controller/project/projectsprojectid.rst +++ b/docs/api/v2/controller/project/projectsprojectid.rst @@ -42,6 +42,7 @@ Input auto_close boolean Project auto close when client cut off the notifications feed auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Path of the project on the server (work only with --local) scene_height integer Height of the drawing area @@ -50,6 +51,8 @@ Input show_interface_labels boolean Show interface labels on the drawing area show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area @@ -63,6 +66,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -73,6 +77,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/project/projectsprojectidclose.rst b/docs/api/v2/controller/project/projectsprojectidclose.rst index 7fd2c575..3ad92940 100644 --- a/docs/api/v2/controller/project/projectsprojectidclose.rst +++ b/docs/api/v2/controller/project/projectsprojectidclose.rst @@ -26,6 +26,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -36,6 +37,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/project/projectsprojectidduplicate.rst b/docs/api/v2/controller/project/projectsprojectidduplicate.rst index f855c403..693754d0 100644 --- a/docs/api/v2/controller/project/projectsprojectidduplicate.rst +++ b/docs/api/v2/controller/project/projectsprojectidduplicate.rst @@ -24,6 +24,7 @@ Input + @@ -33,6 +34,8 @@ Input + +
Name Mandatory Type Description
auto_close boolean Project auto close
grid_size integer Grid size for the drawing area
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
show_interface_labels boolean Show interface labels on the drawing area
show_layers boolean Show layers on the drawing area
snap_to_grid boolean Snap to grid on the drawing area
supplier ['object', 'null'] Supplier of the project
variables ['array', 'null'] Variables required to run the project
zoom integer Zoom of the drawing area
@@ -46,6 +49,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -56,6 +60,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/project/projectsprojectidimport.rst b/docs/api/v2/controller/project/projectsprojectidimport.rst index 48e32969..d2040a66 100644 --- a/docs/api/v2/controller/project/projectsprojectidimport.rst +++ b/docs/api/v2/controller/project/projectsprojectidimport.rst @@ -26,6 +26,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -36,6 +37,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/project/projectsprojectidopen.rst b/docs/api/v2/controller/project/projectsprojectidopen.rst index 0cbb09d1..042b0499 100644 --- a/docs/api/v2/controller/project/projectsprojectidopen.rst +++ b/docs/api/v2/controller/project/projectsprojectidopen.rst @@ -26,6 +26,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -36,6 +37,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/api/v2/controller/server/debug.rst b/docs/api/v2/controller/server/debug.rst index 9cc6bb13..1e362ef3 100644 --- a/docs/api/v2/controller/server/debug.rst +++ b/docs/api/v2/controller/server/debug.rst @@ -5,7 +5,7 @@ POST /v2/debug ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Dump debug informations to disk (debug directory in config directory). Work only for local server +Dump debug information to disk (debug directory in config directory). Work only for local server Response status codes ********************** diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst index 49f02a49..ab24ee1c 100644 --- a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst @@ -27,6 +27,7 @@ Output auto_open boolean Project open when GNS3 start auto_start boolean Project start when opened filename ['string', 'null'] Project filename + grid_size integer Grid size for the drawing area name ['string', 'null'] Project name path ['string', 'null'] Project directory project_id ✔ string Project UUID @@ -37,6 +38,8 @@ Output show_layers boolean Show layers on the drawing area snap_to_grid boolean Snap to grid on the drawing area status enum Possible values: opened, closed + supplier ['object', 'null'] Supplier of the project + variables ['array', 'null'] Variables required to run the project zoom integer Zoom of the drawing area diff --git a/docs/gns3_file.json b/docs/gns3_file.json index a91ac6a3..e1384525 100644 --- a/docs/gns3_file.json +++ b/docs/gns3_file.json @@ -64,10 +64,53 @@ "type": "boolean", "description": "Show the grid on the drawing area" }, + "grid_size": { + "type": "integer", + "description": "Grid size for the drawing area" + }, "show_interface_labels": { "type": "boolean", "description": "Show interface labels on the drawing area" }, + "supplier": { + "type": [ + "object", + "null" + ], + "description": "Supplier of the project", + "properties": { + "logo": { + "type": "string", + "description": "Path to the project supplier logo" + }, + "url": { + "type": "string", + "description": "URL to the project supplier site" + } + } + }, + "variables": { + "type": [ + "array", + "null" + ], + "description": "Variables required to run the project", + "items": { + "properties": { + "name": { + "type": "string", + "description": "Variable name" + }, + "value": { + "type": "string", + "description": "Variable value" + } + }, + "required": [ + "name" + ] + } + }, "topology": { "description": "The topology content", "type": "object", @@ -162,6 +205,7 @@ "docker", "dynamips", "vpcs", + "traceng", "virtualbox", "vmware", "iou", @@ -399,6 +443,7 @@ "docker", "dynamips", "vpcs", + "traceng", "virtualbox", "vmware", "iou", @@ -446,6 +491,7 @@ "http", "https", "spice", + "none", null ] }, diff --git a/gns3server/compute/project_manager.py b/gns3server/compute/project_manager.py index 9abda38a..5ed61542 100644 --- a/gns3server/compute/project_manager.py +++ b/gns3server/compute/project_manager.py @@ -90,9 +90,9 @@ class ProjectManager: return # send a warning if used disk space is >= 90% if used_disk_space >= 90: - message = 'Only {}% or less of disk space detected in "{}" on "{}"'.format(used_disk_space, - project.path, - platform.node()) + message = 'Only {:.2f}% or less of free disk space detected in "{}" on "{}"'.format(100 - used_disk_space, + project.path, + platform.node()) log.warning(message) project.emit("log.warning", {"message": message}) diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index 02ece6a8..8fc88c08 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -337,12 +337,13 @@ class Compute: return response @asyncio.coroutine - def stream_file(self, project, path): + def stream_file(self, project, path, timeout=None): """ Read file of a project and stream it :param project: A project object :param path: The path of the file in the project + :param timeout: timeout :returns: A file stream """ @@ -361,7 +362,7 @@ class Compute: self._response.close() url = self._getUrl("/projects/{}/stream/{}".format(project.id, path)) - response = yield from self._session().request("GET", url, auth=self._auth, timeout=None) + response = yield from self._session().request("GET", url, auth=self._auth, timeout=timeout) if response.status == 404: raise aiohttp.web.HTTPNotFound(text="{} not found on compute".format(path)) elif response.status == 403: @@ -527,8 +528,8 @@ class Compute: headers=headers )) response = yield from self._session().request(method, url, headers=headers, data=data, auth=self._auth, chunked=chunked, timeout=timeout) - except asyncio.TimeoutError as e: - raise ComputeError("Timeout error when connecting to {}".format(url)) + except asyncio.TimeoutError: + raise ComputeError("Timeout error for {} call to {} after {}s".format(method, url, timeout)) except (aiohttp.ClientError, aiohttp.ServerDisconnectedError, ValueError, KeyError, socket.gaierror) as e: # aiohttp 2.3.1 raises socket.gaierror when cannot find host raise ComputeError(str(e)) @@ -641,7 +642,7 @@ class Compute: List files in the project on computes """ path = "/projects/{}/files".format(project.id) - res = yield from self.http_query("GET", path, timeout=120) + res = yield from self.http_query("GET", path, timeout=None) return res.json @asyncio.coroutine diff --git a/gns3server/controller/node.py b/gns3server/controller/node.py index 1db2206d..e034fee1 100644 --- a/gns3server/controller/node.py +++ b/gns3server/controller/node.py @@ -248,6 +248,7 @@ class Node: @symbol.setter def symbol(self, val): + if val is None: val = ":/symbols/computer.svg" @@ -261,8 +262,9 @@ class Node: self._symbol = val try: self._width, self._height, filetype = self._project.controller.symbols.get_size(val) - # If symbol is invalid we replace it by default - except (ValueError, OSError): + except (ValueError, OSError) as e: + log.error("Could not write symbol: {}".format(e)) + # If symbol is invalid we replace it by the default self.symbol = ":/symbols/computer.svg" if self._label is None: # Apply to label user style or default @@ -336,7 +338,7 @@ class Node: self._links.remove(link) @property - def link(self): + def links(self): return self._links @asyncio.coroutine diff --git a/gns3server/handlers/api/controller/node_handler.py b/gns3server/handlers/api/controller/node_handler.py index 699895a4..8d07b4d8 100644 --- a/gns3server/handlers/api/controller/node_handler.py +++ b/gns3server/handlers/api/controller/node_handler.py @@ -307,6 +307,28 @@ class NodeHandler: yield from project.delete_node(request.match_info["node_id"]) response.set_status(204) + @Route.get( + r"/projects/{project_id}/nodes/{node_id}/links", + parameters={ + "project_id": "Project UUID", + "node_id": "Node UUID" + }, + status_codes={ + 200: "Links returned", + 400: "Invalid request", + 404: "Instance doesn't exist" + }, + description="Return all the links connected to this node") + def links(request, response): + + project = yield from Controller.instance().get_loaded_project(request.match_info["project_id"]) + node = project.get_node(request.match_info["node_id"]) + links = [] + for link in node.links: + links.append(link.__json__()) + response.json(links) + response.set_status(200) + @Route.get( r"/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc", parameters={ diff --git a/gns3server/utils/images.py b/gns3server/utils/images.py index 71187f4e..2af1858e 100644 --- a/gns3server/utils/images.py +++ b/gns3server/utils/images.py @@ -158,7 +158,7 @@ def md5sum(path, stopped_event=None): try: with open(path + '.md5sum') as f: - md5 = f.read() + md5 = f.read().strip() if len(md5) == 32: return md5 # Unicode error is when user rename an image to .md5sum .... diff --git a/gns3server/utils/picture.py b/gns3server/utils/picture.py index 1ec072de..d7c3103b 100644 --- a/gns3server/utils/picture.py +++ b/gns3server/utils/picture.py @@ -103,10 +103,16 @@ def get_size(data, default_width=0, default_height=0): root = tree.getroot() try: - width = _svg_convert_size(root.attrib.get("width", "0")) - height = _svg_convert_size(root.attrib.get("height", "0")) - except IndexError: - raise ValueError("Invalid SVG file") + width_attr = root.attrib.get("width", "0") + height_attr = root.attrib.get("height", "0") + if width_attr.endswith("%") or height_attr.endswith("%"): + # check to viewBox attribute if width or height value is a percentage + _, _, width_attr, height_attr = root.attrib.get("viewBox").split() + else: + width = _svg_convert_size(width_attr) + height = _svg_convert_size(height_attr) + except (AttributeError, IndexError) as e: + raise ValueError("Invalid SVG file: {}".format(e)) return width, height, filetype diff --git a/requirements.txt b/requirements.txt index f76dc88e..8f13ef5d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,5 +8,4 @@ psutil>=3.0.0 zipstream>=1.1.4 typing>=3.5.3.0 # Otherwise yarl fails with python 3.4 prompt-toolkit==1.0.15 -async-timeout<3.0.0 # pyup: ignore; 3.0 drops support for python 3.4 - +async-timeout<3.0.0 # pyup: ignore; 3.0 drops support for python 3.4 \ No newline at end of file diff --git a/tests/controller/test_compute.py b/tests/controller/test_compute.py index b39ff9ad..47840bc9 100644 --- a/tests/controller/test_compute.py +++ b/tests/controller/test_compute.py @@ -295,8 +295,8 @@ def test_streamFile(project, async_run, compute): response = MagicMock() response.status = 200 with asyncio_patch("aiohttp.ClientSession.request", return_value=response) as mock: - async_run(compute.stream_file(project, "test/titi")) - mock.assert_called_with("GET", "https://example.com:84/v2/compute/projects/{}/stream/test/titi".format(project.id), auth=None, timeout=None) + async_run(compute.stream_file(project, "test/titi", timeout=120)) + mock.assert_called_with("GET", "https://example.com:84/v2/compute/projects/{}/stream/test/titi".format(project.id), auth=None, timeout=120) def test_downloadFile(project, async_run, compute): @@ -380,7 +380,7 @@ def test_list_files(project, async_run, compute): response.status = 200 with asyncio_patch("aiohttp.ClientSession.request", return_value=response) as mock: assert async_run(compute.list_files(project)) == res - mock.assert_any_call("GET", "https://example.com:84/v2/compute/projects/{}/files".format(project.id), auth=None, chunked=None, data=None, headers={'content-type': 'application/json'}, timeout=120) + mock.assert_any_call("GET", "https://example.com:84/v2/compute/projects/{}/files".format(project.id), auth=None, chunked=None, data=None, headers={'content-type': 'application/json'}, timeout=None) def test_interfaces(project, async_run, compute): diff --git a/tests/controller/test_link.py b/tests/controller/test_link.py index 97d9bcd6..2e769a42 100644 --- a/tests/controller/test_link.py +++ b/tests/controller/test_link.py @@ -98,7 +98,7 @@ def test_add_node(async_run, project, compute): assert link.create.called link._project.controller.notification.emit.assert_called_with("link.created", link.__json__()) - assert link in node2.link + assert link in node2.links def test_add_node_already_connected(async_run, project, compute): @@ -348,10 +348,10 @@ def test_delete(async_run, project, compute): node2._ports = [EthernetPort("E0", 0, 0, 4)] async_run(link.add_node(node2, 0, 4)) - assert link in node2.link + assert link in node2.links async_run(link.delete()) - assert link not in node2.link + assert link not in node2.links def test_update_filters(async_run, project, compute):