From 69fcf801c3a3b3b84e60d069f37435f68f7bc8cc Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 20 Oct 2016 10:54:07 +0200 Subject: [PATCH] Update api documentations --- .../compute_delete_projectsprojectid.txt | 4 +- ...lete_projectsprojectidcloudnodesnodeid.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...delete_projectsprojectidiounodesnodeid.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...delete_projectsprojectidnatnodesnodeid.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...elete_projectsprojectidqemunodesnodeid.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...elete_projectsprojectidvpcsnodesnodeid.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- .../api/examples/compute_get_capabilities.txt | 9 +- docs/api/examples/compute_get_iouimages.txt | 4 +- .../compute_get_networkinterfaces.txt | 10 +- docs/api/examples/compute_get_projects.txt | 4 +- .../compute_get_projectsprojectid.txt | 4 +- ..._get_projectsprojectidcloudnodesnodeid.txt | 10 +- ...te_get_projectsprojectidiounodesnodeid.txt | 16 +- ...te_get_projectsprojectidnatnodesnodeid.txt | 10 +- ...e_get_projectsprojectidqemunodesnodeid.txt | 18 +- ...projectsprojectidvirtualboxnodesnodeid.txt | 12 +- ...e_get_projectsprojectidvpcsnodesnodeid.txt | 14 +- .../api/examples/compute_get_qemubinaries.txt | 4 +- .../examples/compute_get_qemucapabilities.txt | 4 +- docs/api/examples/compute_get_version.txt | 6 +- docs/api/examples/compute_post_projects.txt | 4 +- .../compute_post_projectsprojectidclose.txt | 4 +- ...mpute_post_projectsprojectidcloudnodes.txt | 6 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...ternumberdportsportnumberdstartcapture.txt | 12 +- ...pternumberdportsportnumberdstopcapture.txt | 8 +- ...compute_post_projectsprojectidiounodes.txt | 16 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...ternumberdportsportnumberdstartcapture.txt | 12 +- ...pternumberdportsportnumberdstopcapture.txt | 8 +- ..._projectsprojectidiounodesnodeidreload.txt | 8 +- ...t_projectsprojectidiounodesnodeidstart.txt | 16 +- ...st_projectsprojectidiounodesnodeidstop.txt | 8 +- ...compute_post_projectsprojectidnatnodes.txt | 6 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...compute_post_projectsprojectidportsudp.txt | 4 +- ...ompute_post_projectsprojectidqemunodes.txt | 18 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...projectsprojectidqemunodesnodeidreload.txt | 8 +- ...projectsprojectidqemunodesnodeidresume.txt | 8 +- ..._projectsprojectidqemunodesnodeidstart.txt | 18 +- ...t_projectsprojectidqemunodesnodeidstop.txt | 8 +- ...rojectsprojectidqemunodesnodeidsuspend.txt | 8 +- ..._post_projectsprojectidvirtualboxnodes.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...tsprojectidvirtualboxnodesnodeidreload.txt | 8 +- ...tsprojectidvirtualboxnodesnodeidresume.txt | 8 +- ...ctsprojectidvirtualboxnodesnodeidstart.txt | 8 +- ...ectsprojectidvirtualboxnodesnodeidstop.txt | 8 +- ...sprojectidvirtualboxnodesnodeidsuspend.txt | 8 +- ...ompute_post_projectsprojectidvpcsnodes.txt | 10 +- ...ptersadapternumberdportsportnumberdnio.txt | 8 +- ...projectsprojectidvpcsnodesnodeidreload.txt | 8 +- ..._projectsprojectidvpcsnodesnodeidstart.txt | 14 +- ...t_projectsprojectidvpcsnodesnodeidstop.txt | 8 +- docs/api/examples/compute_post_qemuimg.txt | 4 +- ..._put_projectsprojectidcloudnodesnodeid.txt | 10 +- ...put_projectsprojectiddockernodesnodeid.txt | 20 +- ...te_put_projectsprojectidiounodesnodeid.txt | 18 +- ...te_put_projectsprojectidnatnodesnodeid.txt | 10 +- ...e_put_projectsprojectidqemunodesnodeid.txt | 20 +- ...projectsprojectidvirtualboxnodesnodeid.txt | 14 +- ...e_put_projectsprojectidvpcsnodesnodeid.txt | 16 +- .../controller_delete_computescomputeid.txt | 13 + .../controller_delete_projectsprojectid.txt | 8 +- ...ete_projectsprojectiddrawingsdrawingid.txt | 8 +- ...er_delete_projectsprojectidlinkslinkid.txt | 8 +- ...er_delete_projectsprojectidnodesnodeid.txt | 8 +- ...e_projectsprojectidsnapshotssnapshotid.txt | 8 +- docs/api/examples/controller_get_computes.txt | 4 +- .../controller_get_computescomputeid.txt | 4 +- ...er_get_computescomputeidemulatoraction.txt | 14 + ...er_get_computescomputeidemulatorimages.txt | 4 +- docs/api/examples/controller_get_gns3vm.txt | 4 +- .../examples/controller_get_gns3vmengines.txt | 8 +- .../controller_get_gns3vmenginesenginevms.txt | 4 +- docs/api/examples/controller_get_projects.txt | 8 +- .../controller_get_projectsprojectid.txt | 12 +- ...ntroller_get_projectsprojectiddrawings.txt | 12 +- .../controller_get_projectsprojectidlinks.txt | 16 +- .../controller_get_projectsprojectidnodes.txt | 12 +- ...oller_get_projectsprojectidnodesnodeid.txt | 12 +- ...projectidnodesnodeiddynamipsautoidlepc.txt | 8 +- ...ctidnodesnodeiddynamipsidlepcproposals.txt | 8 +- ...troller_get_projectsprojectidsnapshots.txt | 14 +- docs/api/examples/controller_get_settings.txt | 4 +- docs/api/examples/controller_get_symbols.txt | 4 +- docs/api/examples/controller_get_version.txt | 6 +- .../api/examples/controller_post_computes.txt | 4 +- ...r_post_computescomputeidemulatoraction.txt | 16 + .../api/examples/controller_post_projects.txt | 6 +- .../examples/controller_post_projectsload.txt | 8 +- ...controller_post_projectsprojectidclose.txt | 12 +- ...troller_post_projectsprojectiddrawings.txt | 12 +- ...roller_post_projectsprojectidduplicate.txt | 12 +- ...controller_post_projectsprojectidlinks.txt | 50 +- ...ojectsprojectidlinkslinkidstartcapture.txt | 12 +- ...rojectsprojectidlinkslinkidstopcapture.txt | 12 +- ...controller_post_projectsprojectidnodes.txt | 12 +- ...ost_projectsprojectidnodesnodeidreload.txt | 12 +- ...post_projectsprojectidnodesnodeidstart.txt | 12 +- ..._post_projectsprojectidnodesnodeidstop.txt | 12 +- ...st_projectsprojectidnodesnodeidsuspend.txt | 12 +- ...ller_post_projectsprojectidnodesreload.txt | 8 +- ...oller_post_projectsprojectidnodesstart.txt | 8 +- ...roller_post_projectsprojectidnodesstop.txt | 8 +- ...ler_post_projectsprojectidnodessuspend.txt | 8 +- .../controller_post_projectsprojectidopen.txt | 12 +- ...roller_post_projectsprojectidsnapshots.txt | 14 +- ...ctsprojectidsnapshotssnapshotidrestore.txt | 12 +- .../api/examples/controller_post_settings.txt | 4 +- .../api/examples/controller_post_shutdown.txt | 4 +- docs/api/examples/controller_post_version.txt | 10 +- .../controller_put_computescomputeid.txt | 4 +- docs/api/examples/controller_put_gns3vm.txt | 4 +- .../controller_put_projectsprojectid.txt | 6 +- ...put_projectsprojectiddrawingsdrawingid.txt | 12 +- ...oller_put_projectsprojectidnodesnodeid.txt | 12 +- docs/api/notifications/compute.updated.json | 33 +- docs/api/notifications/drawing.created.json | 4 +- docs/api/notifications/drawing.deleted.json | 4 +- docs/api/notifications/drawing.updated.json | 4 +- docs/api/notifications/link.created.json | 8 +- docs/api/notifications/link.deleted.json | 4 +- docs/api/notifications/link.updated.json | 8 +- docs/api/notifications/node.deleted.json | 4 +- docs/api/notifications/node.updated.json | 4 +- docs/api/notifications/project.closed.json | 4 +- docs/api/notifications/project.updated.json | 2 +- docs/api/notifications/snapshot.restored.json | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- .../v2/compute/capabilities/capabilities.rst | 3 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- .../projectsprojectiddynamipsnodes.rst | 2 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 8 +- ...ternumberdportsportnumberdstartcapture.rst | 4 +- ...pternumberdportsportnumberdstopcapture.rst | 4 +- .../projectsprojectiddrawingsdrawingid.rst | 4 +- .../link/projectsprojectidlinkslinkid.rst | 4 +- .../link/projectsprojectidlinkslinkidpcap.rst | 2 +- ...ojectsprojectidlinkslinkidstartcapture.rst | 2 +- ...rojectsprojectidlinkslinkidstopcapture.rst | 2 +- .../node/projectsprojectidnodes.rst | 12 +- .../node/projectsprojectidnodesnodeid.rst | 18 +- .../projectsprojectidnodesnodeidreload.rst | 6 +- .../projectsprojectidnodesnodeidstart.rst | 6 +- .../node/projectsprojectidnodesnodeidstop.rst | 6 +- .../projectsprojectidnodesnodeidsuspend.rst | 6 +- .../node/projectsprojectidnodesreload.rst | 6 +- .../node/projectsprojectidnodesstart.rst | 6 +- .../node/projectsprojectidnodesstop.rst | 6 +- .../node/projectsprojectidnodessuspend.rst | 6 +- .../projectsprojectidsnapshotssnapshotid.rst | 2 +- ...ctsprojectidsnapshotssnapshotidrestore.rst | 2 +- docs/gns3_file.json | 779 +++++++++--------- tests/handlers/api/controller/test_compute.py | 6 +- 198 files changed, 1198 insertions(+), 1183 deletions(-) create mode 100644 docs/api/examples/controller_delete_computescomputeid.txt create mode 100644 docs/api/examples/controller_get_computescomputeidemulatoraction.txt create mode 100644 docs/api/examples/controller_post_computescomputeidemulatoraction.txt diff --git a/docs/api/examples/compute_delete_projectsprojectid.txt b/docs/api/examples/compute_delete_projectsprojectid.txt index 1b437124..16bd39ea 100644 --- a/docs/api/examples/compute_delete_projectsprojectid.txt +++ b/docs/api/examples/compute_delete_projectsprojectid.txt @@ -7,7 +7,7 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:09 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:39 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 5595240e..707482de 100644 --- a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b2962852-e0d1-4853-8775-0f2fde055070' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d5b66871-97f4-4350-955e-5526458090b5' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b2962852-e0d1-4853-8775-0f2fde055070 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d5b66871-97f4-4350-955e-5526458090b5 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:04 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:34 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 a7cf5aed..ec7b693a 100644 --- a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/acd457ac-8dcc-40e5-9488-3852cfd11b5b/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f4bfc62e-9cb5-464a-9888-25d140508d43/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/acd457ac-8dcc-40e5-9488-3852cfd11b5b/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f4bfc62e-9cb5-464a-9888-25d140508d43/adapters/0/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:03 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:33 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 d12726bc..034a84e7 100644 --- a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b913e4a7-a742-4b35-ab6a-4eb0dd071647/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9c5dcc8e-2639-4827-88d9-1e2692a05807/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b913e4a7-a742-4b35-ab6a-4eb0dd071647/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9c5dcc8e-2639-4827-88d9-1e2692a05807/adapters/0/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:04 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:35 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 24a4d1e4..51d2b91c 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4127e5f-c028-47ab-b170-c387b1a7c6b6' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4127e5f-c028-47ab-b170-c387b1a7c6b6 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:36 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 b0f7d75e..7e013ee6 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93c55439-b21b-4b96-b6b0-7655acba60f7/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8fd79361-ff29-467f-99be-0f9a1bde208c/adapters/1/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93c55439-b21b-4b96-b6b0-7655acba60f7/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8fd79361-ff29-467f-99be-0f9a1bde208c/adapters/1/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:37 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 8d18b5b7..65091b59 100644 --- a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/3ea3c44d-84d3-4e45-8222-e31898fdeaf5' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/70d2a639-76ae-46c4-b2d8-2eb13b99271a' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/3ea3c44d-84d3-4e45-8222-e31898fdeaf5 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/70d2a639-76ae-46c4-b2d8-2eb13b99271a HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 481d21f1..f24b4ff2 100644 --- a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35b8df58-f7c8-4129-99d0-5783b3d7308a/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/33ca3258-b392-4aa1-bde0-58c3a990844f/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35b8df58-f7c8-4129-99d0-5783b3d7308a/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/33ca3258-b392-4aa1-bde0-58c3a990844f/adapters/0/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 a5bb50c5..7a8552a0 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d215e65d-106a-4bb2-97a1-ad203f82f33f' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8eb35200-b6ce-40d4-aaa1-b13ca51fb336' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d215e65d-106a-4bb2-97a1-ad203f82f33f HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8eb35200-b6ce-40d4-aaa1-b13ca51fb336 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 bf9a73c5..d76a6575 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/327e074d-dffe-4164-9e85-cc27c9794680/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0acbf2e9-24ac-4cd2-b700-e095dfd58f61/adapters/1/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/327e074d-dffe-4164-9e85-cc27c9794680/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0acbf2e9-24ac-4cd2-b700-e095dfd58f61/adapters/1/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:12 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index c0d426e0..00e14db5 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0eadcf1f-131a-485c-8001-15ae99ae9df5/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f7cb2147-a825-4bc9-8676-f3d60a07956d/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0eadcf1f-131a-485c-8001-15ae99ae9df5/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f7cb2147-a825-4bc9-8676-f3d60a07956d/adapters/0/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:14 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt index 2f152576..fc0e1bb8 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2d59aa95-5971-438d-9e56-74d4e1632e56' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/965aaa20-43aa-4f42-9bf8-85115d67fc44' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2d59aa95-5971-438d-9e56-74d4e1632e56 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/965aaa20-43aa-4f42-9bf8-85115d67fc44 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 cf2a7caf..0fe3c21f 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/93d1c07e-515f-4981-be59-4ba61cbf9fb4/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb9f93f8-df63-44dd-acd6-0770ea2902f7/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/93d1c07e-515f-4981-be59-4ba61cbf9fb4/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb9f93f8-df63-44dd-acd6-0770ea2902f7/adapters/0/ports/0/nio HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 41953fe9..59740974 100644 --- a/docs/api/examples/compute_get_capabilities.txt +++ b/docs/api/examples/compute_get_capabilities.txt @@ -5,10 +5,10 @@ GET /v2/compute/capabilities HTTP/1.1 HTTP/1.1 200 -Content-Length: 316 +Content-Length: 347 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:03 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:33 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/capabilities { @@ -27,5 +27,6 @@ X-Route: /v2/compute/capabilities "docker", "iou" ], - "version": "2.0.0dev1" + "platform": "linuxdebian", + "version": "2.0.0dev2" } diff --git a/docs/api/examples/compute_get_iouimages.txt b/docs/api/examples/compute_get_iouimages.txt index f63ed084..d7a743f3 100644 --- a/docs/api/examples/compute_get_iouimages.txt +++ b/docs/api/examples/compute_get_iouimages.txt @@ -7,8 +7,8 @@ GET /v2/compute/iou/images HTTP/1.1 HTTP/1.1 200 Content-Length: 72 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 f43dfe05..1a47a294 100644 --- a/docs/api/examples/compute_get_networkinterfaces.txt +++ b/docs/api/examples/compute_get_networkinterfaces.txt @@ -5,10 +5,10 @@ GET /v2/compute/network/interfaces HTTP/1.1 HTTP/1.1 200 -Content-Length: 5502 +Content-Length: 5489 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:39 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/network/interfaces [ @@ -77,10 +77,10 @@ X-Route: /v2/compute/network/interfaces }, { "id": "vboxnet0", - "ip_address": "172.16.43.1", + "ip_address": "", "mac_address": "0a:00:27:00:00:00", "name": "vboxnet0", - "netmask": null, + "netmask": "", "special": true, "type": "ethernet" }, diff --git a/docs/api/examples/compute_get_projects.txt b/docs/api/examples/compute_get_projects.txt index 86299b60..429d7cc5 100644 --- a/docs/api/examples/compute_get_projects.txt +++ b/docs/api/examples/compute_get_projects.txt @@ -7,8 +7,8 @@ GET /v2/compute/projects HTTP/1.1 HTTP/1.1 200 Content-Length: 198 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:39 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects [ diff --git a/docs/api/examples/compute_get_projectsprojectid.txt b/docs/api/examples/compute_get_projectsprojectid.txt index 7acd74b2..ad6e2834 100644 --- a/docs/api/examples/compute_get_projectsprojectid.txt +++ b/docs/api/examples/compute_get_projectsprojectid.txt @@ -7,8 +7,8 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1 HTTP/1.1 200 Content-Length: 80 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:39 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id} { diff --git a/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt index a0525ef0..375c71b8 100644 --- a/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fba79b97-a89f-40f0-be86-7634ac44d703' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/63688721-cb81-429f-b938-e327f9b3c4f7' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fba79b97-a89f-40f0-be86-7634ac44d703 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/63688721-cb81-429f-b938-e327f9b3c4f7 HTTP/1.1 HTTP/1.1 200 Content-Length: 3420 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:03 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:33 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} { @@ -140,7 +140,7 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} } ], "name": "Cloud 1", - "node_id": "fba79b97-a89f-40f0-be86-7634ac44d703", + "node_id": "63688721-cb81-429f-b938-e327f9b3c4f7", "ports_mapping": [ { "interface": "en0", diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt index cae04ffe..9adcb788 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt @@ -1,26 +1,26 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98822cd8-c665-4193-a301-677053402417' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/602ee631-d63a-4a23-bde6-e185c8586a41' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98822cd8-c665-4193-a301-677053402417 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/602ee631-d63a-4a23-bde6-e185c8586a41 HTTP/1.1 HTTP/1.1 200 -Content-Length: 697 +Content-Length: 696 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:36 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} { "command_line": "", - "console": 5713, + "console": 5714, "console_type": "telnet", "ethernet_adapters": 2, "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/98822cd8-c665-4193-a301-677053402417", - "node_id": "98822cd8-c665-4193-a301-677053402417", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/602ee631-d63a-4a23-bde6-e185c8586a41", + "node_id": "602ee631-d63a-4a23-bde6-e185c8586a41", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt index 48dcc613..7f32b22e 100644 --- a/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt @@ -1,19 +1,19 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/063c9b85-32ac-464b-9fc3-3428bc811583' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8f971e45-202f-4c5b-ae77-d917972e49f9' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/063c9b85-32ac-464b-9fc3-3428bc811583 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8f971e45-202f-4c5b-ae77-d917972e49f9 HTTP/1.1 HTTP/1.1 200 Content-Length: 332 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} { "name": "Nat 1", - "node_id": "063c9b85-32ac-464b-9fc3-3428bc811583", + "node_id": "8f971e45-202f-4c5b-ae77-d917972e49f9", "ports_mapping": [ { "interface": "gns3nat5", diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt index ddf2fe34..c0b4d53b 100644 --- a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/42008117-5532-411a-b9f0-badc126dc605' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8446fc34-650d-4cb8-bdcc-b36880870aff' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/42008117-5532-411a-b9f0-badc126dc605 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8446fc34-650d-4cb8-bdcc-b36880870aff HTTP/1.1 HTTP/1.1 200 Content-Length: 1415 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:40 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} { @@ -19,7 +19,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5713, + "console": 5714, "console_type": "telnet", "cpu_throttling": 0, "cpus": 1, @@ -41,15 +41,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:c6:05:00", + "mac_address": "00:dd:80:0a:ff:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/42008117-5532-411a-b9f0-badc126dc605", - "node_id": "42008117-5532-411a-b9f0-badc126dc605", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8446fc34-650d-4cb8-bdcc-b36880870aff", + "node_id": "8446fc34-650d-4cb8-bdcc-b36880870aff", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64", "ram": 256, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt index 61033d45..73a4b01d 100644 --- a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt @@ -1,27 +1,27 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aeeb5518-78b3-4d77-9073-235596129473' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aeeb5518-78b3-4d77-9073-235596129473 HTTP/1.1 HTTP/1.1 200 Content-Length: 471 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} { "acpi_shutdown": false, "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", "adapters": 0, - "console": 5714, + "console": 5715, "enable_remote_console": false, "headless": false, "linked_clone": false, "name": "VMTEST", "node_directory": null, - "node_id": "a9820776-cd32-4112-b445-7a195a523733", + "node_id": "aeeb5518-78b3-4d77-9073-235596129473", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt index 8f26767d..65c47d26 100644 --- a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt @@ -1,23 +1,23 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7fd9767-260b-444c-995e-a5d8a97652d6' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1b881400-9368-4716-90cc-63903a486f6b' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7fd9767-260b-444c-995e-a5d8a97652d6 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1b881400-9368-4716-90cc-63903a486f6b HTTP/1.1 HTTP/1.1 200 Content-Length: 489 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:14 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} { "command_line": "", - "console": 5722, + "console": 5723, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a7fd9767-260b-444c-995e-a5d8a97652d6", - "node_id": "a7fd9767-260b-444c-995e-a5d8a97652d6", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/1b881400-9368-4716-90cc-63903a486f6b", + "node_id": "1b881400-9368-4716-90cc-63903a486f6b", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_get_qemubinaries.txt b/docs/api/examples/compute_get_qemubinaries.txt index 53058650..ad76e92a 100644 --- a/docs/api/examples/compute_get_qemubinaries.txt +++ b/docs/api/examples/compute_get_qemubinaries.txt @@ -11,8 +11,8 @@ GET /v2/compute/qemu/binaries HTTP/1.1 HTTP/1.1 200 Content-Length: 212 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:12 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:42 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 2059addf..19910196 100644 --- a/docs/api/examples/compute_get_qemucapabilities.txt +++ b/docs/api/examples/compute_get_qemucapabilities.txt @@ -7,8 +7,8 @@ GET /v2/compute/qemu/capabilities HTTP/1.1 HTTP/1.1 200 Content-Length: 39 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 8dc141aa..bb5a04ee 100644 --- a/docs/api/examples/compute_get_version.txt +++ b/docs/api/examples/compute_get_version.txt @@ -7,11 +7,11 @@ GET /v2/compute/version HTTP/1.1 HTTP/1.1 200 Content-Length: 49 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/version { "local": true, - "version": "2.0.0dev1" + "version": "2.0.0dev2" } diff --git a/docs/api/examples/compute_post_projects.txt b/docs/api/examples/compute_post_projects.txt index e885a648..552825df 100644 --- a/docs/api/examples/compute_post_projects.txt +++ b/docs/api/examples/compute_post_projects.txt @@ -10,8 +10,8 @@ POST /v2/compute/projects HTTP/1.1 HTTP/1.1 201 Content-Length: 80 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:39 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects { diff --git a/docs/api/examples/compute_post_projectsprojectidclose.txt b/docs/api/examples/compute_post_projectsprojectidclose.txt index 1f5ebea5..894a12cb 100644 --- a/docs/api/examples/compute_post_projectsprojectidclose.txt +++ b/docs/api/examples/compute_post_projectsprojectidclose.txt @@ -7,7 +7,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:09 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:40 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 9bcd422c..992643b9 100644 --- a/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt @@ -9,8 +9,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/ HTTP/1.1 201 Content-Length: 3420 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:03 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:33 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/cloud/nodes { @@ -142,7 +142,7 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes } ], "name": "Cloud 1", - "node_id": "01a55236-2403-4215-bc5a-4b5e9232aaab", + "node_id": "a2f2601d-a4e5-44bc-b02c-c4a1d0d44dda", "ports_mapping": [ { "interface": "en0", diff --git a/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 3842f7cc..9f1c7251 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/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/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/fbcf95f9-daed-40b3-98a4-958527b4a9ab/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/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fbcf95f9-daed-40b3-98a4-958527b4a9ab/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", @@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/7da4a HTTP/1.1 201 Content-Length: 89 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:03 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:33 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 4fc4c173..741fcdb9 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/659d8f18-71b2-4f6a-9e15-99900156ac35/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/35c828e2-816d-42c2-9fa5-7ef738331d18/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/659d8f18-71b2-4f6a-9e15-99900156ac35/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/35c828e2-816d-42c2-9fa5-7ef738331d18/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", @@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/659d HTTP/1.1 201 Content-Length: 89 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:04 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:35 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 bcf920c0..3a79cf3f 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/65c5b5b9-7487-4504-bdcc-42e2f5178e73/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/ca9729cd-fcca-4e9c-9ede-3922f14412e1/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/65c5b5b9-7487-4504-bdcc-42e2f5178e73/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ca9729cd-fcca-4e9c-9ede-3922f14412e1/adapters/0/ports/0/start_capture HTTP/1.1 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/65c5 HTTP/1.1 200 -Content-Length: 146 +Content-Length: 145 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:05 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:35 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture { - "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/tmp/captures/test.pcap" + "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/tmp/captures/test.pcap" } diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index 3bece362..250b3522 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2cf9d165-40be-4651-bc86-e780f0ba6e93/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/296d78b4-a923-407f-b398-cbab2b0214fd/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2cf9d165-40be-4651-bc86-e780f0ba6e93/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/296d78b4-a923-407f-b398-cbab2b0214fd/adapters/0/ports/0/stop_capture HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:05 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:35 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt index 9ead64fc..e8471c07 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodes.txt @@ -1,31 +1,31 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "4eff93c6-3933-4bfc-9a84-7dd039341e9a", "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": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff", "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": "4eff93c6-3933-4bfc-9a84-7dd039341e9a", + "node_id": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff", "path": "iou.bin", "startup_config_content": "hostname test" } HTTP/1.1 201 -Content-Length: 713 +Content-Length: 712 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:05 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:36 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/iou/nodes { "command_line": "", - "console": 5713, + "console": 5714, "console_type": "telnet", "ethernet_adapters": 2, "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/4eff93c6-3933-4bfc-9a84-7dd039341e9a", - "node_id": "4eff93c6-3933-4bfc-9a84-7dd039341e9a", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/7ea587ce-aa0a-428c-9db9-7be8af8a50ff", + "node_id": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index bea8c96c..e0cbbca3 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/8124305e-fbbd-4e7f-88ca-c877a93dcad5/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/0f8fc3eb-9743-4ae9-a174-1c1a79845fd0/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8124305e-fbbd-4e7f-88ca-c877a93dcad5/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3eb-9743-4ae9-a174-1c1a79845fd0/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "bridge0", "type": "nio_ethernet" @@ -10,8 +10,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8124305 HTTP/1.1 201 Content-Length: 64 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:37 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 fb4cccd0..b77a5fbf 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/7f566cd2-d08e-4f1c-aa87-675354f489ed/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/a4f82184-82ee-42c2-ac87-3efeeadf9aa2/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/7f566cd2-d08e-4f1c-aa87-675354f489ed/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a4f82184-82ee-42c2-ac87-3efeeadf9aa2/adapters/0/ports/0/start_capture HTTP/1.1 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7f566cd HTTP/1.1 200 -Content-Length: 146 +Content-Length: 145 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:37 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture { - "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/tmp/captures/test.pcap" + "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/tmp/captures/test.pcap" } diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index 30995f68..a9d53783 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93ca09d8-2e45-4a85-a4e3-0665dec3f16d/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f88a75fe-1aae-42da-8708-ac90c5e62974/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93ca09d8-2e45-4a85-a4e3-0665dec3f16d/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f88a75fe-1aae-42da-8708-ac90c5e62974/adapters/0/ports/0/stop_capture HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:37 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt index 16097a0d..24b8d81e 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/854400c8-8ab2-4968-9493-7457f062a0b9/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5a97d051-cd83-45aa-a3bd-c0cddcb271e0/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/854400c8-8ab2-4968-9493-7457f062a0b9/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5a97d051-cd83-45aa-a3bd-c0cddcb271e0/reload HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:36 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 1336b954..78ec1fa2 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt @@ -1,28 +1,28 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/45022335-0848-4370-b0a0-8a8a6d801f4d/start' -d '{"iourc_content": "test"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70cfd09a-8f73-4e98-b3ca-7b5be4503536/start' -d '{"iourc_content": "test"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/45022335-0848-4370-b0a0-8a8a6d801f4d/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70cfd09a-8f73-4e98-b3ca-7b5be4503536/start HTTP/1.1 { "iourc_content": "test" } HTTP/1.1 200 -Content-Length: 697 +Content-Length: 696 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:36 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start { "command_line": "", - "console": 5713, + "console": 5714, "console_type": "telnet", "ethernet_adapters": 2, "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/45022335-0848-4370-b0a0-8a8a6d801f4d", - "node_id": "45022335-0848-4370-b0a0-8a8a6d801f4d", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/70cfd09a-8f73-4e98-b3ca-7b5be4503536", + "node_id": "70cfd09a-8f73-4e98-b3ca-7b5be4503536", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt index f81cf2d1..30f1e5f1 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/840c81d5-88fd-4d59-ab89-cacb6d194ffb/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/43ab05b1-df65-4a72-b4a6-8b89c62d3994/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/840c81d5-88fd-4d59-ab89-cacb6d194ffb/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/43ab05b1-df65-4a72-b4a6-8b89c62d3994/stop HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:36 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 a59cf052..f2de69f2 100644 --- a/docs/api/examples/compute_post_projectsprojectidnatnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidnatnodes.txt @@ -9,13 +9,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1. HTTP/1.1 201 Content-Length: 332 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/nat/nodes { "name": "Nat 1", - "node_id": "3cdf49d9-e2a5-4359-aa72-b995b261ba97", + "node_id": "f00cbccf-3f8e-4f4d-b6df-6ebcc2fa11e6", "ports_mapping": [ { "interface": "gns3nat4", diff --git a/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 294ddc85..64cf2ada 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/60c8420d-7c38-4628-859d-85e406dfb436/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/052cd13e-9491-4eff-8ee2-a6e73da57cfe/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/60c8420d-7c38-4628-859d-85e406dfb436/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/052cd13e-9491-4eff-8ee2-a6e73da57cfe/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", @@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/60c8420 HTTP/1.1 201 Content-Length: 89 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:07 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 9d5a52be..7366aad8 100644 --- a/docs/api/examples/compute_post_projectsprojectidportsudp.txt +++ b/docs/api/examples/compute_post_projectsprojectidportsudp.txt @@ -7,8 +7,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1. HTTP/1.1 201 Content-Length: 25 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 b54d354a..b21524d9 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/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/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/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/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/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64", "ram": 1024 } @@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1 HTTP/1.1 201 Content-Length: 1461 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:10 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:40 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/qemu/nodes { @@ -24,7 +24,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5713, + "console": 5714, "console_type": "telnet", "cpu_throttling": 0, "cpus": 1, @@ -46,15 +46,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:09:c6:00", + "mac_address": "00:dd:80:41:b1:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bcf073b1-a5a1-4ce9-bc64-726267e509c6", - "node_id": "bcf073b1-a5a1-4ce9-bc64-726267e509c6", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ed9f00e9-7d76-46e9-8fb9-43d804f441b1", + "node_id": "ed9f00e9-7d76-46e9-8fb9-43d804f441b1", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/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 c641e6f4..69fded0b 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/20362237-021f-45d1-84de-a2bf4c20a9d7/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f678-f17d-4537-869b-574d38b06d59/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/20362237-021f-45d1-84de-a2bf4c20a9d7/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f678-f17d-4537-869b-574d38b06d59/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "eth0", "type": "nio_ethernet" @@ -10,8 +10,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/203622 HTTP/1.1 409 Content-Length: 81 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:12 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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_projectsprojectidqemunodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt index 8cc61e86..6a19a6fc 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f86f3d6d-3b6c-41b7-8af1-1c5168181a80/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f86f3d6d-3b6c-41b7-8af1-1c5168181a80/reload HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 9545c267..17037ac5 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8fa2adb1-1885-40c5-bed1-dcfccaab2520/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/387986c1-4eb8-451f-8832-5e7b1e37704c/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8fa2adb1-1885-40c5-bed1-dcfccaab2520/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/387986c1-4eb8-451f-8832-5e7b1e37704c/resume HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 4748fa50..b01c64b6 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/95f51a24-4db3-4fd4-89d0-25861018af48/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700bd996-0978-47af-95dd-eae42b760ad4/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/95f51a24-4db3-4fd4-89d0-25861018af48/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700bd996-0978-47af-95dd-eae42b760ad4/start HTTP/1.1 {} HTTP/1.1 200 Content-Length: 1415 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:40 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start { @@ -19,7 +19,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5713, + "console": 5714, "console_type": "telnet", "cpu_throttling": 0, "cpus": 1, @@ -41,15 +41,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:af:48:00", + "mac_address": "00:dd:80:0a:d4:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/95f51a24-4db3-4fd4-89d0-25861018af48", - "node_id": "95f51a24-4db3-4fd4-89d0-25861018af48", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/700bd996-0978-47af-95dd-eae42b760ad4", + "node_id": "700bd996-0978-47af-95dd-eae42b760ad4", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/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 c64e58f1..c2b7f3c2 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e454bb5-4b20-4ee6-8363-932c95ad1244/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da4818a2-35c5-4aba-ac2d-10b6b28a4cd5/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e454bb5-4b20-4ee6-8363-932c95ad1244/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da4818a2-35c5-4aba-ac2d-10b6b28a4cd5/stop HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 f73db7ce..be40f96c 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b5a956a2-c5eb-47ca-8660-297f9db97eb9/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a10bee-8fdc-4c40-a067-1352724da173/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b5a956a2-c5eb-47ca-8660-297f9db97eb9/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a10bee-8fdc-4c40-a067-1352724da173/suspend HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt index 2532a11a..791b49c7 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt @@ -11,21 +11,21 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes HTTP/1.1 201 Content-Length: 465 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes { "acpi_shutdown": false, "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", "adapters": 0, - "console": 5713, + "console": 5714, "enable_remote_console": false, "headless": false, "linked_clone": false, "name": "VM1", "node_directory": null, - "node_id": "139b95df-46bb-4ea8-90b0-93b7f72e7220", + "node_id": "9780978f-b7ab-4243-8e27-b2a48ef72f83", "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 b03d94a2..96e88033 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/21e608e1-264b-42cc-919c-bee9d02f7d55/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/77a28b03-3158-4eb2-af77-d88f8a1b2200/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/21e608e1-264b-42cc-919c-bee9d02f7d55/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/77a28b03-3158-4eb2-af77-d88f8a1b2200/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", @@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ HTTP/1.1 201 Content-Length: 89 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:14 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 66ec55f9..280da254 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b0e2a8ad-934c-4806-9154-24538b073a79/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b0e2a8ad-934c-4806-9154-24538b073a79/reload HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 498a8352..2ed37c73 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43cb3d3d-4c83-4315-983c-f4c481822476/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8ac97f5b-697b-4d0c-b41e-d7d914bcc7e2/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43cb3d3d-4c83-4315-983c-f4c481822476/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8ac97f5b-697b-4d0c-b41e-d7d914bcc7e2/resume HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 7086525b..3001cae7 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a7022726-0273-4f8b-8bb0-5c04fee78d3a/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3b339db-0e1c-4d4c-8465-408429c7fa63/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a7022726-0273-4f8b-8bb0-5c04fee78d3a/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3b339db-0e1c-4d4c-8465-408429c7fa63/start HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 9c540485..1a23350d 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9675ed7-1f32-41a7-b231-bb923fbe4302/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e3748d02-e322-40cf-8b94-d5af6ee5e9cc/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9675ed7-1f32-41a7-b231-bb923fbe4302/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e3748d02-e322-40cf-8b94-d5af6ee5e9cc/stop HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 4bcc1265..f509cb7e 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c39a0d07-64b2-44dd-9019-f5bf9eec7361/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0e9b164-6a0f-497d-aac2-c765b929dfba/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c39a0d07-64b2-44dd-9019-f5bf9eec7361/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0e9b164-6a0f-497d-aac2-c765b929dfba/suspend HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt index 885a7826..ba493baf 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt @@ -9,17 +9,17 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1 HTTP/1.1 201 Content-Length: 489 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:14 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes { "command_line": "", - "console": 5722, + "console": 5723, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e38e7a07-93f4-48fd-96f6-05663168870d", - "node_id": "e38e7a07-93f4-48fd-96f6-05663168870d", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7646366b-a2c7-414d-a4b5-7d3f3ea961d0", + "node_id": "7646366b-a2c7-414d-a4b5-7d3f3ea961d0", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index f7d5cbf9..77e5a430 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/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/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/32835241-8384-44c3-a668-8e753e51b43c/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/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/32835241-8384-44c3-a668-8e753e51b43c/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", @@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d8deb9 HTTP/1.1 201 Content-Length: 89 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:14 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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_projectsprojectidvpcsnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt index 16629d01..2896ce4a 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/726299c5-a366-4613-bdb6-c3b6ba9dc62f/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4a397db4-613d-4e89-b721-311c5d8f94cd/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/726299c5-a366-4613-bdb6-c3b6ba9dc62f/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4a397db4-613d-4e89-b721-311c5d8f94cd/reload HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 49a034dc..a0a637dc 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt @@ -1,23 +1,23 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2b837084-9351-4f74-b5d7-6e00b81a75bd/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/72889faf-c7b2-4414-8fce-040eed462026/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2b837084-9351-4f74-b5d7-6e00b81a75bd/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/72889faf-c7b2-4414-8fce-040eed462026/start HTTP/1.1 {} HTTP/1.1 200 Content-Length: 489 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start { "command_line": "", - "console": 5722, + "console": 5723, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2b837084-9351-4f74-b5d7-6e00b81a75bd", - "node_id": "2b837084-9351-4f74-b5d7-6e00b81a75bd", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/72889faf-c7b2-4414-8fce-040eed462026", + "node_id": "72889faf-c7b2-4414-8fce-040eed462026", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt index 3eeedb23..9b6665db 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4e9a0a90-0bf3-4f7d-9ca2-be1d5c4af7c7/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4e9a0a90-0bf3-4f7d-9ca2-be1d5c4af7c7/stop HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 2149d17c..8a260946 100644 --- a/docs/api/examples/compute_post_qemuimg.txt +++ b/docs/api/examples/compute_post_qemuimg.txt @@ -16,7 +16,7 @@ POST /v2/compute/qemu/img HTTP/1.1 HTTP/1.1 201 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:13 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:43 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/qemu/img diff --git a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt index 7dbdd3ac..d363cb1a 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/ad6018a3-6fe5-4e57-814b-09472ee68a82' -d '{"name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a74b-48da-44d7-95b9-af5e85b8290d' -d '{"name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ad6018a3-6fe5-4e57-814b-09472ee68a82 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a74b-48da-44d7-95b9-af5e85b8290d HTTP/1.1 { "name": "test" } @@ -9,8 +9,8 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ad6018 HTTP/1.1 200 Content-Length: 3417 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:04 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:34 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} { @@ -142,7 +142,7 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} } ], "name": "test", - "node_id": "ad6018a3-6fe5-4e57-814b-09472ee68a82", + "node_id": "6268a74b-48da-44d7-95b9-af5e85b8290d", "ports_mapping": [ { "interface": "en0", diff --git a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt index 709723bc..4fe63041 100644 --- a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt @@ -1,8 +1,8 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/57d77310-c390-42a9-abd5-5401f7f5a7d6' -d '{"console": 5715, "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/20c27db4-d76a-4f03-a00f-1bebdcce38e1' -d '{"console": 5716, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/57d77310-c390-42a9-abd5-5401f7f5a7d6 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20c27db4-d76a-4f03-a00f-1bebdcce38e1 HTTP/1.1 { - "console": 5715, + "console": 5716, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes" @@ -10,16 +10,16 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/57d77 HTTP/1.1 200 -Content-Length: 654 +Content-Length: 653 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:05 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:35 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id} { "adapters": 2, - "aux": 5714, - "console": 5715, + "aux": 5715, + "console": 5716, "console_http_path": "/", "console_http_port": 80, "console_resolution": "1280x1024", @@ -28,8 +28,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id} "environment": "GNS3=1\nGNS4=0", "image": "nginx:latest", "name": "test", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/docker/57d77310-c390-42a9-abd5-5401f7f5a7d6", - "node_id": "57d77310-c390-42a9-abd5-5401f7f5a7d6", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/docker/20c27db4-d76a-4f03-a00f-1bebdcce38e1", + "node_id": "20c27db4-d76a-4f03-a00f-1bebdcce38e1", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "start_command": "yes", "status": "stopped" diff --git a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt index e4cdfeb2..42862094 100644 --- a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt @@ -1,8 +1,8 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f7738a-38aa-46c4-8a49-51a5a7aaabcc' -d '{"console": 5714, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5-cb73-4d90-969f-8a82cc655f2c' -d '{"console": 5715, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f7738a-38aa-46c4-8a49-51a5a7aaabcc HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5-cb73-4d90-969f-8a82cc655f2c HTTP/1.1 { - "console": 5714, + "console": 5715, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, @@ -16,22 +16,22 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f7738a HTTP/1.1 200 -Content-Length: 708 +Content-Length: 707 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:06 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:37 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} { "command_line": "", - "console": 5714, + "console": 5715, "console_type": "telnet", "ethernet_adapters": 4, "l1_keepalives": true, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "test", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/65f7738a-38aa-46c4-8a49-51a5a7aaabcc", - "node_id": "65f7738a-38aa-46c4-8a49-51a5a7aaabcc", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/9e0aebf5-cb73-4d90-969f-8a82cc655f2c", + "node_id": "9e0aebf5-cb73-4d90-969f-8a82cc655f2c", "nvram": 2048, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt index fc1ddc3b..c318341f 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/7402624f-431b-4d4e-935a-6deb548bd81b' -d '{"name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65-c8e8-4e85-aa6b-052c261530cc' -d '{"name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7402624f-431b-4d4e-935a-6deb548bd81b HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65-c8e8-4e85-aa6b-052c261530cc HTTP/1.1 { "name": "test" } @@ -9,13 +9,13 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7402624f HTTP/1.1 200 Content-Length: 331 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:08 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:38 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} { "name": "test", - "node_id": "7402624f-431b-4d4e-935a-6deb548bd81b", + "node_id": "ad3edf65-c8e8-4e85-aa6b-052c261530cc", "ports_mapping": [ { "interface": "gns3nat9", diff --git a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt index e2b13457..33109d3f 100644 --- a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt @@ -1,8 +1,8 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18a04195-5602-47dd-9c1d-b6dee3b90e5e' -d '{"console": 5714, "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/63c3ba51-9d31-4b7b-a745-a517947787ee' -d '{"console": 5715, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18a04195-5602-47dd-9c1d-b6dee3b90e5e HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba51-9d31-4b7b-a745-a517947787ee HTTP/1.1 { - "console": 5714, + "console": 5715, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024 @@ -12,8 +12,8 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18a0419 HTTP/1.1 200 Content-Length: 1456 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:11 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:41 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} { @@ -24,7 +24,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5714, + "console": 5715, "console_type": "telnet", "cpu_throttling": 0, "cpus": 1, @@ -46,15 +46,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:0e:5e:00", + "mac_address": "00:dd:80:87:ee:00", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/18a04195-5602-47dd-9c1d-b6dee3b90e5e", - "node_id": "18a04195-5602-47dd-9c1d-b6dee3b90e5e", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/63c3ba51-9d31-4b7b-a745-a517947787ee", + "node_id": "63c3ba51-9d31-4b7b-a745-a517947787ee", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64", "ram": 1024, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt index dacd8304..0e2acccb 100644 --- a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt @@ -1,8 +1,8 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/35e77f7c-5e4c-4e39-a025-aee0a65bc77d' -d '{"console": 5723, "name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62db6581-fbbf-402a-80f4-6c3d03255316' -d '{"console": 5724, "name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/35e77f7c-5e4c-4e39-a025-aee0a65bc77d HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62db6581-fbbf-402a-80f4-6c3d03255316 HTTP/1.1 { - "console": 5723, + "console": 5724, "name": "test" } @@ -10,21 +10,21 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3 HTTP/1.1 200 Content-Length: 469 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:14 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:44 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} { "acpi_shutdown": false, "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", "adapters": 0, - "console": 5723, + "console": 5724, "enable_remote_console": false, "headless": false, "linked_clone": false, "name": "test", "node_directory": null, - "node_id": "35e77f7c-5e4c-4e39-a025-aee0a65bc77d", + "node_id": "62db6581-fbbf-402a-80f4-6c3d03255316", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt index fb92d9ff..107b04c7 100644 --- a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt @@ -1,8 +1,8 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/89b33b7f-9d21-4dce-b584-5afed089910d' -d '{"console": 5724, "name": "test", "startup_script": "ip 192.168.1.1"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c72-dfab-4965-b824-0e441c88509f' -d '{"console": 5725, "name": "test", "startup_script": "ip 192.168.1.1"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/89b33b7f-9d21-4dce-b584-5afed089910d HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c72-dfab-4965-b824-0e441c88509f HTTP/1.1 { - "console": 5724, + "console": 5725, "name": "test", "startup_script": "ip 192.168.1.1" } @@ -11,17 +11,17 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/89b33b7 HTTP/1.1 200 Content-Length: 505 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:45 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} { "command_line": "", - "console": 5724, + "console": 5725, "console_type": "telnet", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/89b33b7f-9d21-4dce-b584-5afed089910d", - "node_id": "89b33b7f-9d21-4dce-b584-5afed089910d", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6bde4c72-dfab-4965-b824-0e441c88509f", + "node_id": "6bde4c72-dfab-4965-b824-0e441c88509f", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": "ip 192.168.1.1", "startup_script_path": "startup.vpc", diff --git a/docs/api/examples/controller_delete_computescomputeid.txt b/docs/api/examples/controller_delete_computescomputeid.txt new file mode 100644 index 00000000..cbb1e9c2 --- /dev/null +++ b/docs/api/examples/controller_delete_computescomputeid.txt @@ -0,0 +1,13 @@ +curl -i -X DELETE 'http://localhost:3080/v2/computes/my_compute_id' + +DELETE /v2/computes/my_compute_id HTTP/1.1 + + + +HTTP/1.1 204 +Content-Length: 0 +Content-Type: application/octet-stream +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 +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 d7325b85..cc518b24 100644 --- a/docs/api/examples/controller_delete_projectsprojectid.txt +++ b/docs/api/examples/controller_delete_projectsprojectid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763' +curl -i -X DELETE 'http://localhost:3080/v2/projects/b0455c4a-bfc5-4a51-8af7-78e1e0ea633a' -DELETE /v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763 HTTP/1.1 +DELETE /v2/projects/b0455c4a-bfc5-4a51-8af7-78e1e0ea633a HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:22 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:54 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 0f318c5d..f9765041 100644 --- a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt +++ b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd' +curl -i -X DELETE 'http://localhost:3080/v2/projects/5506c6ec-6ad5-48d1-9f8a-64ffd935124c/drawings/a1b54140-aef4-48e4-9170-b746df992632' -DELETE /v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd HTTP/1.1 +DELETE /v2/projects/5506c6ec-6ad5-48d1-9f8a-64ffd935124c/drawings/a1b54140-aef4-48e4-9170-b746df992632 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 d718f3c6..3cc09706 100644 --- a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a' +curl -i -X DELETE 'http://localhost:3080/v2/projects/9e65c1ba-14af-48e3-874e-763be80af860/links/e89eed96-a7f7-494c-b96c-21dc769ecc16' -DELETE /v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a HTTP/1.1 +DELETE /v2/projects/9e65c1ba-14af-48e3-874e-763be80af860/links/e89eed96-a7f7-494c-b96c-21dc769ecc16 HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:19 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:49 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 fb1a0627..7b61d874 100644 --- a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062' +curl -i -X DELETE 'http://localhost:3080/v2/projects/784f3991-a161-4251-a6fd-c48f98535ef5/nodes/ec5a58db-4d16-404d-8187-6fd42837b1ed' -DELETE /v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062 HTTP/1.1 +DELETE /v2/projects/784f3991-a161-4251-a6fd-c48f98535ef5/nodes/ec5a58db-4d16-404d-8187-6fd42837b1ed HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:21 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:51 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 05477289..7eead04c 100644 --- a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt @@ -1,13 +1,13 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa' +curl -i -X DELETE 'http://localhost:3080/v2/projects/43208878-9c36-42e4-ae28-f57ece320261/snapshots/8e80f61f-b53a-4021-bee5-cb5421713f2a' -DELETE /v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa HTTP/1.1 +DELETE /v2/projects/43208878-9c36-42e4-ae28-f57ece320261/snapshots/8e80f61f-b53a-4021-bee5-cb5421713f2a HTTP/1.1 HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:57 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id} diff --git a/docs/api/examples/controller_get_computes.txt b/docs/api/examples/controller_get_computes.txt index d21dc219..5ce055fa 100644 --- a/docs/api/examples/controller_get_computes.txt +++ b/docs/api/examples/controller_get_computes.txt @@ -7,8 +7,8 @@ GET /v2/computes HTTP/1.1 HTTP/1.1 200 Content-Length: 387 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:16 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/computes [ diff --git a/docs/api/examples/controller_get_computescomputeid.txt b/docs/api/examples/controller_get_computescomputeid.txt index 077b4d87..92dc1b97 100644 --- a/docs/api/examples/controller_get_computescomputeid.txt +++ b/docs/api/examples/controller_get_computescomputeid.txt @@ -7,8 +7,8 @@ GET /v2/computes/my_compute_id HTTP/1.1 HTTP/1.1 200 Content-Length: 334 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:16 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/computes/{compute_id} { diff --git a/docs/api/examples/controller_get_computescomputeidemulatoraction.txt b/docs/api/examples/controller_get_computescomputeidemulatoraction.txt new file mode 100644 index 00000000..24a4775a --- /dev/null +++ b/docs/api/examples/controller_get_computescomputeidemulatoraction.txt @@ -0,0 +1,14 @@ +curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/virtualbox/vms' + +GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1 + + + +HTTP/1.1 200 +Content-Length: 2 +Content-Type: application/json +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 +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 8c7d27fb..5d792bd9 100644 --- a/docs/api/examples/controller_get_computescomputeidemulatorimages.txt +++ b/docs/api/examples/controller_get_computescomputeidemulatorimages.txt @@ -7,8 +7,8 @@ GET /v2/computes/my_compute/qemu/images HTTP/1.1 HTTP/1.1 200 Content-Length: 95 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:16 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 fd520943..e7571659 100644 --- a/docs/api/examples/controller_get_gns3vm.txt +++ b/docs/api/examples/controller_get_gns3vm.txt @@ -7,8 +7,8 @@ GET /v2/gns3vm HTTP/1.1 HTTP/1.1 200 Content-Length: 148 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/gns3vm { diff --git a/docs/api/examples/controller_get_gns3vmengines.txt b/docs/api/examples/controller_get_gns3vmengines.txt index 91845bbe..e365ef34 100644 --- a/docs/api/examples/controller_get_gns3vmengines.txt +++ b/docs/api/examples/controller_get_gns3vmengines.txt @@ -7,13 +7,13 @@ GET /v2/gns3vm/engines HTTP/1.1 HTTP/1.1 200 Content-Length: 1106 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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, @@ -21,7 +21,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 76b97343..77eb4f05 100644 --- a/docs/api/examples/controller_get_gns3vmenginesenginevms.txt +++ b/docs/api/examples/controller_get_gns3vmenginesenginevms.txt @@ -7,8 +7,8 @@ GET /v2/gns3vm/engines/vmware/vms HTTP/1.1 HTTP/1.1 200 Content-Length: 40 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 f5b52bdf..c50af191 100644 --- a/docs/api/examples/controller_get_projects.txt +++ b/docs/api/examples/controller_get_projects.txt @@ -5,10 +5,10 @@ GET /v2/projects HTTP/1.1 HTTP/1.1 200 -Content-Length: 429 +Content-Length: 428 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:22 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:54 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects [ @@ -18,7 +18,7 @@ X-Route: /v2/projects "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_list_projects1", + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_list_projects1", "project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, diff --git a/docs/api/examples/controller_get_projectsprojectid.txt b/docs/api/examples/controller_get_projectsprojectid.txt index 2bacc197..ce732b7d 100644 --- a/docs/api/examples/controller_get_projectsprojectid.txt +++ b/docs/api/examples/controller_get_projectsprojectid.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c' +curl -i -X GET 'http://localhost:3080/v2/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff' -GET /v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c HTTP/1.1 +GET /v2/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff HTTP/1.1 HTTP/1.1 200 Content-Length: 379 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:22 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:54 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id} { @@ -17,8 +17,8 @@ X-Route: /v2/projects/{project_id} "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpszefva4f/projects/b7f06506-7cdb-4fed-beca-f68e685c694c", - "project_id": "b7f06506-7cdb-4fed-beca-f68e685c694c", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9a94t05k/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff", + "project_id": "1072b2a5-82cc-45f9-bd3d-ff2387e2bfff", "scene_height": 1000, "scene_width": 2000, "status": "opened" diff --git a/docs/api/examples/controller_get_projectsprojectiddrawings.txt b/docs/api/examples/controller_get_projectsprojectiddrawings.txt index 6ee87c70..1bcd244d 100644 --- a/docs/api/examples/controller_get_projectsprojectiddrawings.txt +++ b/docs/api/examples/controller_get_projectsprojectiddrawings.txt @@ -1,20 +1,20 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings' +curl -i -X GET 'http://localhost:3080/v2/projects/14d34aa3-2c4d-4737-b9b1-b9976a1c70f1/drawings' -GET /v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings HTTP/1.1 +GET /v2/projects/14d34aa3-2c4d-4737-b9b1-b9976a1c70f1/drawings HTTP/1.1 HTTP/1.1 200 Content-Length: 363 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/drawings [ { - "drawing_id": "b2654fa7-f511-4dcb-986e-491ec84b42d8", - "project_id": "93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1", + "drawing_id": "2f566962-18b6-420d-82c6-d68613957183", + "project_id": "14d34aa3-2c4d-4737-b9b1-b9976a1c70f1", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt index 23bc57c2..59e49750 100644 --- a/docs/api/examples/controller_get_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_get_projectsprojectidlinks.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links' +curl -i -X GET 'http://localhost:3080/v2/projects/69ab73a7-a498-49b2-968b-bc406897a545/links' -GET /v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links HTTP/1.1 +GET /v2/projects/69ab73a7-a498-49b2-968b-bc406897a545/links HTTP/1.1 HTTP/1.1 200 Content-Length: 1111 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:18 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:48 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/links [ @@ -16,7 +16,7 @@ X-Route: /v2/projects/{project_id}/links "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "ca268d39-d533-4182-87da-16ef58fbf230", + "link_id": "d9db6a61-ae1a-4f7d-991a-73c46f62dfab", "link_type": "ethernet", "nodes": [ { @@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "c824d9de-a001-47e4-bbce-9fee0533c10c", + "node_id": "fc041a38-4796-420d-bbe1-60c675aff332", "port_number": 3 }, { @@ -40,10 +40,10 @@ X-Route: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "1a1944d6-405f-44cc-9c97-40c753b213f2", + "node_id": "cbeaeb2c-4bbf-42e5-a86f-e358040d7a5e", "port_number": 4 } ], - "project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8" + "project_id": "69ab73a7-a498-49b2-968b-bc406897a545" } ] diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt index 92dd14ff..7a470f35 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodes.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodes.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes' +curl -i -X GET 'http://localhost:3080/v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes' -GET /v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes HTTP/1.1 +GET /v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes HTTP/1.1 HTTP/1.1 200 Content-Length: 1264 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:19 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:49 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes [ @@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "c09fb918-12f6-4b7f-a821-12f893bd236a", + "node_id": "25b75f46-61a5-4931-9d6e-18b32f0e7533", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes "short_name": "e0/0" } ], - "project_id": "c55181df-bfe9-4556-9f56-d07b471c7c29", + "project_id": "9376e8ee-f9ee-4a3d-943c-a6b54c2ae475", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt index 2544981c..00472c92 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739' +curl -i -X GET 'http://localhost:3080/v2/projects/b8e96d16-406c-47ad-aa38-af76c9ba22ef/nodes/1ebfcf89-b54b-4a72-bd86-c09bd2917796' -GET /v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739 HTTP/1.1 +GET /v2/projects/b8e96d16-406c-47ad-aa38-af76c9ba22ef/nodes/1ebfcf89-b54b-4a72-bd86-c09bd2917796 HTTP/1.1 HTTP/1.1 200 Content-Length: 1084 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:50 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes/{node_id} { @@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} }, "name": "test", "node_directory": null, - "node_id": "3b02a817-722a-4908-85c1-1f02eeb01739", + "node_id": "1ebfcf89-b54b-4a72-bd86-c09bd2917796", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -44,7 +44,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} "short_name": "e0/0" } ], - "project_id": "a9ed36e5-580d-4a3e-8624-986dabbe4541", + "project_id": "b8e96d16-406c-47ad-aa38-af76c9ba22ef", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt index 09210025..17ff8d6c 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/dynamips/auto_idlepc' +curl -i -X GET 'http://localhost:3080/v2/projects/a66001f2-2f0c-4ec2-8b76-0fb9e90db9d4/nodes/51dc598c-3eb9-4215-bba8-fc9bba496202/dynamips/auto_idlepc' -GET /v2/projects/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/dynamips/auto_idlepc HTTP/1.1 +GET /v2/projects/a66001f2-2f0c-4ec2-8b76-0fb9e90db9d4/nodes/51dc598c-3eb9-4215-bba8-fc9bba496202/dynamips/auto_idlepc HTTP/1.1 HTTP/1.1 200 Content-Length: 30 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:21 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:52 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 b90ce561..7a10ceb8 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt @@ -1,14 +1,14 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/dynamips/idlepc_proposals' +curl -i -X GET 'http://localhost:3080/v2/projects/1bbfd840-733c-4511-bc41-062351c3592c/nodes/08a38782-ba77-4890-941c-5c322218ffc1/dynamips/idlepc_proposals' -GET /v2/projects/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/dynamips/idlepc_proposals HTTP/1.1 +GET /v2/projects/1bbfd840-733c-4511-bc41-062351c3592c/nodes/08a38782-ba77-4890-941c-5c322218ffc1/dynamips/idlepc_proposals HTTP/1.1 HTTP/1.1 200 Content-Length: 38 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:21 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:52 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 7bb79a86..e8a21516 100644 --- a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt +++ b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt @@ -1,21 +1,21 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots' +curl -i -X GET 'http://localhost:3080/v2/projects/e833be41-24ed-45e3-86da-6aa77bf06f9c/snapshots' -GET /v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots HTTP/1.1 +GET /v2/projects/e833be41-24ed-45e3-86da-6aa77bf06f9c/snapshots HTTP/1.1 HTTP/1.1 200 Content-Length: 197 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:57 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/snapshots [ { - "created_at": 1474970484, + "created_at": 1476953577, "name": "test", - "project_id": "e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41", - "snapshot_id": "472104bf-b65c-4d6d-b288-5bf3981826e5" + "project_id": "e833be41-24ed-45e3-86da-6aa77bf06f9c", + "snapshot_id": "25faccd8-e064-4c4f-81ac-45c16ea6350c" } ] diff --git a/docs/api/examples/controller_get_settings.txt b/docs/api/examples/controller_get_settings.txt index e546620c..ce17a9f4 100644 --- a/docs/api/examples/controller_get_settings.txt +++ b/docs/api/examples/controller_get_settings.txt @@ -7,8 +7,8 @@ GET /v2/settings HTTP/1.1 HTTP/1.1 200 Content-Length: 20 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:57 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/settings { diff --git a/docs/api/examples/controller_get_symbols.txt b/docs/api/examples/controller_get_symbols.txt index ec71012c..3926c8ca 100644 --- a/docs/api/examples/controller_get_symbols.txt +++ b/docs/api/examples/controller_get_symbols.txt @@ -7,8 +7,8 @@ GET /v2/symbols HTTP/1.1 HTTP/1.1 200 Content-Length: 5174 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:58 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/symbols [ diff --git a/docs/api/examples/controller_get_version.txt b/docs/api/examples/controller_get_version.txt index d7e081ab..a3ee7f8f 100644 --- a/docs/api/examples/controller_get_version.txt +++ b/docs/api/examples/controller_get_version.txt @@ -7,11 +7,11 @@ GET /v2/version HTTP/1.1 HTTP/1.1 200 Content-Length: 49 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:25 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:58 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/version { "local": true, - "version": "2.0.0dev1" + "version": "2.0.0dev2" } diff --git a/docs/api/examples/controller_post_computes.txt b/docs/api/examples/controller_post_computes.txt index f9b10fc1..c39c15ee 100644 --- a/docs/api/examples/controller_post_computes.txt +++ b/docs/api/examples/controller_post_computes.txt @@ -14,8 +14,8 @@ POST /v2/computes HTTP/1.1 HTTP/1.1 201 Content-Length: 334 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:15 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/computes { diff --git a/docs/api/examples/controller_post_computescomputeidemulatoraction.txt b/docs/api/examples/controller_post_computescomputeidemulatoraction.txt new file mode 100644 index 00000000..c90a5e17 --- /dev/null +++ b/docs/api/examples/controller_post_computescomputeidemulatoraction.txt @@ -0,0 +1,16 @@ +curl -i -X POST 'http://localhost:3080/v2/computes/my_compute/qemu/img' -d '{"path": "/test"}' + +POST /v2/computes/my_compute/qemu/img HTTP/1.1 +{ + "path": "/test" +} + + +HTTP/1.1 200 +Content-Length: 2 +Content-Type: application/json +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 +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 8a405c0c..95fc3c9b 100644 --- a/docs/api/examples/controller_post_projects.txt +++ b/docs/api/examples/controller_post_projects.txt @@ -10,8 +10,8 @@ POST /v2/projects HTTP/1.1 HTTP/1.1 201 Content-Length: 379 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:21 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:53 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects { @@ -20,7 +20,7 @@ X-Route: /v2/projects "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpihahq8x6/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdk0ep3f4/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, diff --git a/docs/api/examples/controller_post_projectsload.txt b/docs/api/examples/controller_post_projectsload.txt index a6c64f16..a5da0fde 100644 --- a/docs/api/examples/controller_post_projectsload.txt +++ b/docs/api/examples/controller_post_projectsload.txt @@ -9,8 +9,8 @@ POST /v2/projects/load HTTP/1.1 HTTP/1.1 201 Content-Length: 379 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:23 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:55 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/load { @@ -19,8 +19,8 @@ X-Route: /v2/projects/load "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfxgyjchh/projects/b0ac2ebd-60d7-4bf7-b624-01026c5f3a5b", - "project_id": "b0ac2ebd-60d7-4bf7-b624-01026c5f3a5b", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpewz3qniq/projects/37c7b425-8595-4ca5-8c57-0baff45ccf97", + "project_id": "37c7b425-8595-4ca5-8c57-0baff45ccf97", "scene_height": 1000, "scene_width": 2000, "status": "opened" diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index b519b224..a0af989e 100644 --- a/docs/api/examples/controller_post_projectsprojectidclose.txt +++ b/docs/api/examples/controller_post_projectsprojectidclose.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/c48b0488-3b89-4b97-abb1-1e55d6f4a130/close' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a034b20f-3d02-4431-8290-72e8533771c7/close' -d '{}' -POST /v2/projects/c48b0488-3b89-4b97-abb1-1e55d6f4a130/close HTTP/1.1 +POST /v2/projects/a034b20f-3d02-4431-8290-72e8533771c7/close HTTP/1.1 {} HTTP/1.1 201 Content-Length: 379 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:22 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:54 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/close { @@ -17,8 +17,8 @@ X-Route: /v2/projects/{project_id}/close "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpi2k_x5ev/projects/c48b0488-3b89-4b97-abb1-1e55d6f4a130", - "project_id": "c48b0488-3b89-4b97-abb1-1e55d6f4a130", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2ncby98e/projects/a034b20f-3d02-4431-8290-72e8533771c7", + "project_id": "a034b20f-3d02-4431-8290-72e8533771c7", "scene_height": 1000, "scene_width": 2000, "status": "opened" diff --git a/docs/api/examples/controller_post_projectsprojectiddrawings.txt b/docs/api/examples/controller_post_projectsprojectiddrawings.txt index cf67c5e0..6e07254e 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/f52f1e26-848d-4d38-aed9-d4d6fadd8409/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/05388d96-b445-4c29-83e5-94abd0fb2e2d/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' -POST /v2/projects/f52f1e26-848d-4d38-aed9-d4d6fadd8409/drawings HTTP/1.1 +POST /v2/projects/05388d96-b445-4c29-83e5-94abd0fb2e2d/drawings HTTP/1.1 { "svg": "", "x": 10, @@ -12,13 +12,13 @@ POST /v2/projects/f52f1e26-848d-4d38-aed9-d4d6fadd8409/drawings HTTP/1.1 HTTP/1.1 201 Content-Length: 323 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:16 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/drawings { - "drawing_id": "97324da2-fa1d-4b03-89ed-96c300f70c02", - "project_id": "f52f1e26-848d-4d38-aed9-d4d6fadd8409", + "drawing_id": "5df7a4cf-2342-4cd4-b331-6e4145d087be", + "project_id": "05388d96-b445-4c29-83e5-94abd0fb2e2d", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_post_projectsprojectidduplicate.txt b/docs/api/examples/controller_post_projectsprojectidduplicate.txt index d7c89fa1..8a44338f 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/39b19482-f3b7-4ac9-83a1-a754f553f505/duplicate' -d '{"name": "hello"}' +curl -i -X POST 'http://localhost:3080/v2/projects/511a5c0b-f1ce-4bc6-b132-3997966d6802/duplicate' -d '{"name": "hello"}' -POST /v2/projects/39b19482-f3b7-4ac9-83a1-a754f553f505/duplicate HTTP/1.1 +POST /v2/projects/511a5c0b-f1ce-4bc6-b132-3997966d6802/duplicate HTTP/1.1 { "name": "hello" } @@ -9,8 +9,8 @@ POST /v2/projects/39b19482-f3b7-4ac9-83a1-a754f553f505/duplicate HTTP/1.1 HTTP/1.1 201 Content-Length: 350 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:23 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:57 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/duplicate { @@ -19,8 +19,8 @@ X-Route: /v2/projects/{project_id}/duplicate "auto_start": false, "filename": "hello.gns3", "name": "hello", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp412nbayy/projects/hello", - "project_id": "42a58062-f997-4be3-bd4a-14731d215cf9", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpknhrjgu6/projects/hello", + "project_id": "60eb35fd-f493-4e0f-9cd3-c76df57f3736", "scene_height": 1000, "scene_width": 2000, "status": "closed" diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index 29c38934..875fd08d 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/c9112400-8166-4eac-99dd-069ce94ed0f9/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "dacc5bd7-7738-483a-a644-cc7dc69705b3", "port_number": 3}, {"adapter_number": 2, "node_id": "b910eb40-b1b1-4b38-ab8f-61f096d54bb3", "port_number": 4}]}' +curl -i -X POST 'http://localhost:3080/v2/projects/e58f1543-fd25-42d6-a26e-77c92eb918ae/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "ae725deb-718d-4f2c-b2c8-d0c89a6cf72a", "port_number": 3}, {"adapter_number": 0, "node_id": "ae725deb-718d-4f2c-b2c8-d0c89a6cf72a", "port_number": 4}]}' -POST /v2/projects/c9112400-8166-4eac-99dd-069ce94ed0f9/links HTTP/1.1 +POST /v2/projects/e58f1543-fd25-42d6-a26e-77c92eb918ae/links HTTP/1.1 { "nodes": [ { @@ -10,54 +10,26 @@ POST /v2/projects/c9112400-8166-4eac-99dd-069ce94ed0f9/links HTTP/1.1 "x": 42, "y": 0 }, - "node_id": "dacc5bd7-7738-483a-a644-cc7dc69705b3", + "node_id": "ae725deb-718d-4f2c-b2c8-d0c89a6cf72a", "port_number": 3 }, { - "adapter_number": 2, - "node_id": "b910eb40-b1b1-4b38-ab8f-61f096d54bb3", + "adapter_number": 0, + "node_id": "ae725deb-718d-4f2c-b2c8-d0c89a6cf72a", "port_number": 4 } ] } -HTTP/1.1 201 -Content-Length: 875 +HTTP/1.1 409 +Content-Length: 64 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:48 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/links { - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "76b7527f-96e7-4c0d-bcc7-98003f44634b", - "link_type": "ethernet", - "nodes": [ - { - "adapter_number": 0, - "label": { - "text": "Text", - "x": 42, - "y": 0 - }, - "node_id": "dacc5bd7-7738-483a-a644-cc7dc69705b3", - "port_number": 3 - }, - { - "adapter_number": 2, - "label": { - "rotation": 0, - "style": "font-size: 10; font-style: Verdana", - "text": "2/4", - "x": -10, - "y": -10 - }, - "node_id": "b910eb40-b1b1-4b38-ab8f-61f096d54bb3", - "port_number": 4 - } - ], - "project_id": "c9112400-8166-4eac-99dd-069ce94ed0f9" + "message": "Cannot connect to itself", + "status": 409 } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt index ed6ab626..d7dc621f 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt @@ -1,22 +1,22 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/5b0a6b9e-0602-4e0e-8fb2-5524408ebf0e/links/68777a6e-bcd4-469f-960d-9162a077c22a/start_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/9178861f-fd04-4469-a13b-3b5c3e65f944/links/f12cc873-b392-4cad-a4db-9c7e0db5b093/start_capture' -d '{}' -POST /v2/projects/5b0a6b9e-0602-4e0e-8fb2-5524408ebf0e/links/68777a6e-bcd4-469f-960d-9162a077c22a/start_capture HTTP/1.1 +POST /v2/projects/9178861f-fd04-4469-a13b-3b5c3e65f944/links/f12cc873-b392-4cad-a4db-9c7e0db5b093/start_capture HTTP/1.1 {} HTTP/1.1 201 Content-Length: 247 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:18 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:48 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture { "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "68777a6e-bcd4-469f-960d-9162a077c22a", + "link_id": "f12cc873-b392-4cad-a4db-9c7e0db5b093", "link_type": "ethernet", "nodes": [], - "project_id": "5b0a6b9e-0602-4e0e-8fb2-5524408ebf0e" + "project_id": "9178861f-fd04-4469-a13b-3b5c3e65f944" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt index fbce58de..28668194 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt @@ -1,22 +1,22 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/b5414507-053e-4629-b283-90b3ae076601/links/496bf3da-b79d-4e09-84df-e7ef129ae798/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/f38ec238-1798-4f9a-9c96-4d22f4fad104/links/4e907632-11f1-4a26-9954-5cbce10d485e/stop_capture' -d '{}' -POST /v2/projects/b5414507-053e-4629-b283-90b3ae076601/links/496bf3da-b79d-4e09-84df-e7ef129ae798/stop_capture HTTP/1.1 +POST /v2/projects/f38ec238-1798-4f9a-9c96-4d22f4fad104/links/4e907632-11f1-4a26-9954-5cbce10d485e/stop_capture HTTP/1.1 {} HTTP/1.1 201 Content-Length: 247 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:18 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:48 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture { "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "496bf3da-b79d-4e09-84df-e7ef129ae798", + "link_id": "4e907632-11f1-4a26-9954-5cbce10d485e", "link_type": "ethernet", "nodes": [], - "project_id": "b5414507-053e-4629-b283-90b3ae076601" + "project_id": "f38ec238-1798-4f9a-9c96-4d22f4fad104" } diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt index 54d586cb..dce5bb3e 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/fc3f06af-f655-4921-ae4e-a7561aa44523/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/eeb6fa56-cee7-4e0d-b6a7-94f0edd0ed05/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -POST /v2/projects/fc3f06af-f655-4921-ae4e-a7561aa44523/nodes HTTP/1.1 +POST /v2/projects/eeb6fa56-cee7-4e0d-b6a7-94f0edd0ed05/nodes HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -14,8 +14,8 @@ POST /v2/projects/fc3f06af-f655-4921-ae4e-a7561aa44523/nodes HTTP/1.1 HTTP/1.1 201 Content-Length: 1084 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:19 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:49 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes { @@ -35,7 +35,7 @@ X-Route: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "d7c6907e-075c-4d6e-af9f-ef3780a6dd68", + "node_id": "78c20a53-30db-4dca-9b37-51540b9b8ee6", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -51,7 +51,7 @@ X-Route: /v2/projects/{project_id}/nodes "short_name": "e0/0" } ], - "project_id": "fc3f06af-f655-4921-ae4e-a7561aa44523", + "project_id": "eeb6fa56-cee7-4e0d-b6a7-94f0edd0ed05", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt index 96165078..c074e1aa 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/e8152a0b-dfc9-4b92-b538-495ca9528ea0/nodes/2f4895cd-7050-4b35-85ca-87cb87ef9c45/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/e6fc8d0b-8855-41bd-b60f-a4a3d38eee14/nodes/f9f2d0a8-7db9-47c6-93a2-e5ffe3682249/reload' -d '{}' -POST /v2/projects/e8152a0b-dfc9-4b92-b538-495ca9528ea0/nodes/2f4895cd-7050-4b35-85ca-87cb87ef9c45/reload HTTP/1.1 +POST /v2/projects/e6fc8d0b-8855-41bd-b60f-a4a3d38eee14/nodes/f9f2d0a8-7db9-47c6-93a2-e5ffe3682249/reload HTTP/1.1 {} HTTP/1.1 201 Content-Length: 1041 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:21 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:51 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload { @@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload }, "name": "test", "node_directory": null, - "node_id": "2f4895cd-7050-4b35-85ca-87cb87ef9c45", + "node_id": "f9f2d0a8-7db9-47c6-93a2-e5ffe3682249", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -44,7 +44,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload "short_name": "e0/0" } ], - "project_id": "e8152a0b-dfc9-4b92-b538-495ca9528ea0", + "project_id": "e6fc8d0b-8855-41bd-b60f-a4a3d38eee14", "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 3a35852f..dd022623 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/8e606075-cb17-4066-b600-5e50520a08ce/nodes/c082e372-1502-43a4-9fc6-ff3509c2a922/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/bb3c259c-25d0-458c-a754-b2b5756c64d8/nodes/984f5d99-3b40-4a16-9024-75b2d64346aa/start' -d '{}' -POST /v2/projects/8e606075-cb17-4066-b600-5e50520a08ce/nodes/c082e372-1502-43a4-9fc6-ff3509c2a922/start HTTP/1.1 +POST /v2/projects/bb3c259c-25d0-458c-a754-b2b5756c64d8/nodes/984f5d99-3b40-4a16-9024-75b2d64346aa/start HTTP/1.1 {} HTTP/1.1 201 Content-Length: 1041 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:51 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes/{node_id}/start { @@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/start }, "name": "test", "node_directory": null, - "node_id": "c082e372-1502-43a4-9fc6-ff3509c2a922", + "node_id": "984f5d99-3b40-4a16-9024-75b2d64346aa", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -44,7 +44,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/start "short_name": "e0/0" } ], - "project_id": "8e606075-cb17-4066-b600-5e50520a08ce", + "project_id": "bb3c259c-25d0-458c-a754-b2b5756c64d8", "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 30eaca66..6a0f30f5 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/52c42208-f712-4b2f-8f1c-3d39eaedc772/nodes/3828bb14-39da-45a0-a2dc-b9c94031e246/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/cd093f67-d547-49fa-a60f-5e317665f064/nodes/19a7f139-3586-4355-b1f4-895c911cb074/stop' -d '{}' -POST /v2/projects/52c42208-f712-4b2f-8f1c-3d39eaedc772/nodes/3828bb14-39da-45a0-a2dc-b9c94031e246/stop HTTP/1.1 +POST /v2/projects/cd093f67-d547-49fa-a60f-5e317665f064/nodes/19a7f139-3586-4355-b1f4-895c911cb074/stop HTTP/1.1 {} HTTP/1.1 201 Content-Length: 1041 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:51 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop { @@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop }, "name": "test", "node_directory": null, - "node_id": "3828bb14-39da-45a0-a2dc-b9c94031e246", + "node_id": "19a7f139-3586-4355-b1f4-895c911cb074", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -44,7 +44,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop "short_name": "e0/0" } ], - "project_id": "52c42208-f712-4b2f-8f1c-3d39eaedc772", + "project_id": "cd093f67-d547-49fa-a60f-5e317665f064", "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 c88c47b6..39e253ce 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/d5ae1014-e0c9-409e-9abf-fabd72830e41/nodes/f54982da-a58b-477c-b67b-02a74f215300/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/1e651ec7-5c6f-42c3-b02b-639c7aeafa63/nodes/db6cce45-6246-4eba-a566-e2d36bf45300/suspend' -d '{}' -POST /v2/projects/d5ae1014-e0c9-409e-9abf-fabd72830e41/nodes/f54982da-a58b-477c-b67b-02a74f215300/suspend HTTP/1.1 +POST /v2/projects/1e651ec7-5c6f-42c3-b02b-639c7aeafa63/nodes/db6cce45-6246-4eba-a566-e2d36bf45300/suspend HTTP/1.1 {} HTTP/1.1 201 Content-Length: 1041 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:51 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend { @@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend }, "name": "test", "node_directory": null, - "node_id": "f54982da-a58b-477c-b67b-02a74f215300", + "node_id": "db6cce45-6246-4eba-a566-e2d36bf45300", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -44,7 +44,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend "short_name": "e0/0" } ], - "project_id": "d5ae1014-e0c9-409e-9abf-fabd72830e41", + "project_id": "1e651ec7-5c6f-42c3-b02b-639c7aeafa63", "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 81d39d28..40d35ea5 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/3738eed6-4a9b-492b-ba74-ceac814d93f8/nodes/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/3dd95292-7c53-4b53-aa1e-1265ca37b301/nodes/reload' -d '{}' -POST /v2/projects/3738eed6-4a9b-492b-ba74-ceac814d93f8/nodes/reload HTTP/1.1 +POST /v2/projects/3dd95292-7c53-4b53-aa1e-1265ca37b301/nodes/reload HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:50 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 26d2419f..cea95da2 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/863f127c-e156-4416-bf4b-30cdcb90284b/nodes/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/ab4d8f3f-b405-4c2a-b17e-262928206870/nodes/start' -d '{}' -POST /v2/projects/863f127c-e156-4416-bf4b-30cdcb90284b/nodes/start HTTP/1.1 +POST /v2/projects/ab4d8f3f-b405-4c2a-b17e-262928206870/nodes/start HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:50 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 22cf2ce7..d8c61394 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/6d799ff7-62ec-4a1a-b7a6-0536938080ec/nodes/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/905b00e6-8119-4888-9259-f61583fd4156/nodes/stop' -d '{}' -POST /v2/projects/6d799ff7-62ec-4a1a-b7a6-0536938080ec/nodes/stop HTTP/1.1 +POST /v2/projects/905b00e6-8119-4888-9259-f61583fd4156/nodes/stop HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:50 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 3928cd55..f4b61667 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/b8f3af17-060a-4d7a-a58f-16612d9313f2/nodes/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/3a5771b5-45a0-4a71-9f49-81d34bbc89a6/nodes/suspend' -d '{}' -POST /v2/projects/b8f3af17-060a-4d7a-a58f-16612d9313f2/nodes/suspend HTTP/1.1 +POST /v2/projects/3a5771b5-45a0-4a71-9f49-81d34bbc89a6/nodes/suspend HTTP/1.1 {} HTTP/1.1 204 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:50 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 451bd483..f1f4f1d1 100644 --- a/docs/api/examples/controller_post_projectsprojectidopen.txt +++ b/docs/api/examples/controller_post_projectsprojectidopen.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/15453dce-f36e-4c87-92d0-6d5adc66ba81/open' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/cd1a77ad-fe37-4e8f-8c54-b14304236303/open' -d '{}' -POST /v2/projects/15453dce-f36e-4c87-92d0-6d5adc66ba81/open HTTP/1.1 +POST /v2/projects/cd1a77ad-fe37-4e8f-8c54-b14304236303/open HTTP/1.1 {} HTTP/1.1 201 Content-Length: 379 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:23 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:55 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/open { @@ -17,8 +17,8 @@ X-Route: /v2/projects/{project_id}/open "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9z1323np/projects/15453dce-f36e-4c87-92d0-6d5adc66ba81", - "project_id": "15453dce-f36e-4c87-92d0-6d5adc66ba81", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyhlo95r9/projects/cd1a77ad-fe37-4e8f-8c54-b14304236303", + "project_id": "cd1a77ad-fe37-4e8f-8c54-b14304236303", "scene_height": 1000, "scene_width": 2000, "status": "opened" diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt index 5c9bd0ad..c87f5c04 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/5485e521-146b-4be6-83e8-670f2573e63a/snapshots' -d '{"name": "snap1"}' +curl -i -X POST 'http://localhost:3080/v2/projects/d7a48971-8970-4028-89f7-057e1bc58042/snapshots' -d '{"name": "snap1"}' -POST /v2/projects/5485e521-146b-4be6-83e8-670f2573e63a/snapshots HTTP/1.1 +POST /v2/projects/d7a48971-8970-4028-89f7-057e1bc58042/snapshots HTTP/1.1 { "name": "snap1" } @@ -9,13 +9,13 @@ POST /v2/projects/5485e521-146b-4be6-83e8-670f2573e63a/snapshots HTTP/1.1 HTTP/1.1 201 Content-Length: 170 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:58 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/snapshots { - "created_at": 1474970484, + "created_at": 1476953578, "name": "snap1", - "project_id": "5485e521-146b-4be6-83e8-670f2573e63a", - "snapshot_id": "1f94aef3-dc18-4b44-abc6-49f04da13aaa" + "project_id": "d7a48971-8970-4028-89f7-057e1bc58042", + "snapshot_id": "14e376d2-6cf9-4070-9e0e-d7a1170c5d63" } diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt index d4268be8..39dfbb0f 100644 --- a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt +++ b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt @@ -1,14 +1,14 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/4aa63ac6-3e11-40b5-9b28-6f59cf06294d/snapshots/2c4289f1-2239-4c5a-a84e-1536c71b320a/restore' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/fb5f23cf-a91c-4438-8bf0-07c3f67c8a98/snapshots/a18f5d5e-d29e-4760-bd8c-39d452625107/restore' -d '{}' -POST /v2/projects/4aa63ac6-3e11-40b5-9b28-6f59cf06294d/snapshots/2c4289f1-2239-4c5a-a84e-1536c71b320a/restore HTTP/1.1 +POST /v2/projects/fb5f23cf-a91c-4438-8bf0-07c3f67c8a98/snapshots/a18f5d5e-d29e-4760-bd8c-39d452625107/restore HTTP/1.1 {} HTTP/1.1 201 Content-Length: 379 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:58 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore { @@ -17,8 +17,8 @@ X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp5npj_q79/projects/4aa63ac6-3e11-40b5-9b28-6f59cf06294d", - "project_id": "4aa63ac6-3e11-40b5-9b28-6f59cf06294d", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_ypecirq/projects/fb5f23cf-a91c-4438-8bf0-07c3f67c8a98", + "project_id": "fb5f23cf-a91c-4438-8bf0-07c3f67c8a98", "scene_height": 1000, "scene_width": 2000, "status": "opened" diff --git a/docs/api/examples/controller_post_settings.txt b/docs/api/examples/controller_post_settings.txt index 98fea85d..002d978a 100644 --- a/docs/api/examples/controller_post_settings.txt +++ b/docs/api/examples/controller_post_settings.txt @@ -9,8 +9,8 @@ POST /v2/settings HTTP/1.1 HTTP/1.1 201 Content-Length: 20 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:57 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/settings { diff --git a/docs/api/examples/controller_post_shutdown.txt b/docs/api/examples/controller_post_shutdown.txt index 730c8809..c6ddf148 100644 --- a/docs/api/examples/controller_post_shutdown.txt +++ b/docs/api/examples/controller_post_shutdown.txt @@ -7,7 +7,7 @@ POST /v2/shutdown HTTP/1.1 HTTP/1.1 201 Content-Length: 0 Content-Type: application/octet-stream -Date: Tue, 27 Sep 2016 10:01:24 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:57 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/shutdown diff --git a/docs/api/examples/controller_post_version.txt b/docs/api/examples/controller_post_version.txt index b2fa8aff..bd267c46 100644 --- a/docs/api/examples/controller_post_version.txt +++ b/docs/api/examples/controller_post_version.txt @@ -1,18 +1,18 @@ -curl -i -X POST 'http://localhost:3080/v2/version' -d '{"version": "2.0.0dev1"}' +curl -i -X POST 'http://localhost:3080/v2/version' -d '{"version": "2.0.0dev2"}' POST /v2/version HTTP/1.1 { - "version": "2.0.0dev1" + "version": "2.0.0dev2" } HTTP/1.1 200 Content-Length: 30 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:25 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:58 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/version { - "version": "2.0.0dev1" + "version": "2.0.0dev2" } diff --git a/docs/api/examples/controller_put_computescomputeid.txt b/docs/api/examples/controller_put_computescomputeid.txt index ddd558b5..71df68bd 100644 --- a/docs/api/examples/controller_put_computescomputeid.txt +++ b/docs/api/examples/controller_put_computescomputeid.txt @@ -14,8 +14,8 @@ PUT /v2/computes/my_compute_id HTTP/1.1 HTTP/1.1 200 Content-Length: 335 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:16 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:46 GMT +Server: Python/3.5 GNS3/2.0.0dev2 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 57f98a90..ae45a469 100644 --- a/docs/api/examples/controller_put_gns3vm.txt +++ b/docs/api/examples/controller_put_gns3vm.txt @@ -9,8 +9,8 @@ PUT /v2/gns3vm HTTP/1.1 HTTP/1.1 201 Content-Length: 27 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/gns3vm { diff --git a/docs/api/examples/controller_put_projectsprojectid.txt b/docs/api/examples/controller_put_projectsprojectid.txt index 8176a5ba..ed602fbb 100644 --- a/docs/api/examples/controller_put_projectsprojectid.txt +++ b/docs/api/examples/controller_put_projectsprojectid.txt @@ -9,8 +9,8 @@ PUT /v2/projects/10010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1 HTTP/1.1 200 Content-Length: 380 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:22 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:54 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id} { @@ -19,7 +19,7 @@ X-Route: /v2/projects/{project_id} "auto_start": false, "filename": "test.gns3", "name": "test2", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp7gqkwxlc/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgj6rsvqy/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, diff --git a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt index 4c0d95be..7271d75a 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/f082d1bf-5b85-49a7-bce7-b6194f04f52e/drawings/e692ae9b-b88c-436c-a8de-3b3df798ba11' -d '{"x": 42}' +curl -i -X PUT 'http://localhost:3080/v2/projects/3864d505-03dd-4c38-b59f-2af231f002d0/drawings/7ebde298-be58-4514-a57d-fcb869952300' -d '{"x": 42}' -PUT /v2/projects/f082d1bf-5b85-49a7-bce7-b6194f04f52e/drawings/e692ae9b-b88c-436c-a8de-3b3df798ba11 HTTP/1.1 +PUT /v2/projects/3864d505-03dd-4c38-b59f-2af231f002d0/drawings/7ebde298-be58-4514-a57d-fcb869952300 HTTP/1.1 { "x": 42 } @@ -9,13 +9,13 @@ PUT /v2/projects/f082d1bf-5b85-49a7-bce7-b6194f04f52e/drawings/e692ae9b-b88c-436 HTTP/1.1 201 Content-Length: 323 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:17 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:47 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/drawings/{drawing_id} { - "drawing_id": "e692ae9b-b88c-436c-a8de-3b3df798ba11", - "project_id": "f082d1bf-5b85-49a7-bce7-b6194f04f52e", + "drawing_id": "7ebde298-be58-4514-a57d-fcb869952300", + "project_id": "3864d505-03dd-4c38-b59f-2af231f002d0", "rotation": 0, "svg": "", "x": 42, diff --git a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt index 8f9a8717..8284dea2 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/17b6a713-2586-459e-a84f-cf7a5368b367/nodes/38d965aa-7dc2-4287-9719-d6aa069660eb' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +curl -i -X PUT 'http://localhost:3080/v2/projects/542cb6d0-bf08-483c-a05b-c95ec6a96117/nodes/bd8cb923-5faa-4c3a-8cb9-8c6f05d806d6' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -PUT /v2/projects/17b6a713-2586-459e-a84f-cf7a5368b367/nodes/38d965aa-7dc2-4287-9719-d6aa069660eb HTTP/1.1 +PUT /v2/projects/542cb6d0-bf08-483c-a05b-c95ec6a96117/nodes/bd8cb923-5faa-4c3a-8cb9-8c6f05d806d6 HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -14,8 +14,8 @@ PUT /v2/projects/17b6a713-2586-459e-a84f-cf7a5368b367/nodes/38d965aa-7dc2-4287-9 HTTP/1.1 200 Content-Length: 1041 Content-Type: application/json -Date: Tue, 27 Sep 2016 10:01:20 GMT -Server: Python/3.5 GNS3/2.0.0dev1 +Date: Thu, 20 Oct 2016 08:52:50 GMT +Server: Python/3.5 GNS3/2.0.0dev2 X-Route: /v2/projects/{project_id}/nodes/{node_id} { @@ -35,7 +35,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} }, "name": "test", "node_directory": null, - "node_id": "38d965aa-7dc2-4287-9719-d6aa069660eb", + "node_id": "bd8cb923-5faa-4c3a-8cb9-8c6f05d806d6", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -51,7 +51,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id} "short_name": "e0/0" } ], - "project_id": "17b6a713-2586-459e-a84f-cf7a5368b367", + "project_id": "542cb6d0-bf08-483c-a05b-c95ec6a96117", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/compute.updated.json b/docs/api/notifications/compute.updated.json index 03589256..75d786f7 100644 --- a/docs/api/notifications/compute.updated.json +++ b/docs/api/notifications/compute.updated.json @@ -1,26 +1,15 @@ { "capabilities": { - "node_types": [ - "cloud", - "ethernet_hub", - "ethernet_switch", - "vpcs", - "virtualbox", - "dynamips", - "frame_relay_switch", - "atm_switch", - "qemu", - "vmware" - ], - "version": "2.0.0dev1" + "node_types": [], + "version": null }, - "compute_id": "72c86a69-66eb-4d45-bb3f-c0d8def749ec", - "connected": true, - "cpu_usage_percent": 17.5, - "host": "127.0.0.1", - "memory_usage_percent": 76.5, - "name": "http://127.0.0.1:3080", - "port": 3080, - "protocol": "http", - "user": null + "compute_id": "my_compute_id", + "connected": false, + "cpu_usage_percent": null, + "host": "localhost", + "memory_usage_percent": null, + "name": "http://julien@localhost:84", + "port": 84, + "protocol": "https", + "user": "julien" } \ No newline at end of file diff --git a/docs/api/notifications/drawing.created.json b/docs/api/notifications/drawing.created.json index 4041ba55..6d1cb298 100644 --- a/docs/api/notifications/drawing.created.json +++ b/docs/api/notifications/drawing.created.json @@ -1,6 +1,6 @@ { - "drawing_id": "b2654fa7-f511-4dcb-986e-491ec84b42d8", - "project_id": "93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1", + "drawing_id": "2f566962-18b6-420d-82c6-d68613957183", + "project_id": "14d34aa3-2c4d-4737-b9b1-b9976a1c70f1", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/notifications/drawing.deleted.json b/docs/api/notifications/drawing.deleted.json index bff0fc87..8be08896 100644 --- a/docs/api/notifications/drawing.deleted.json +++ b/docs/api/notifications/drawing.deleted.json @@ -1,6 +1,6 @@ { - "drawing_id": "de040a53-4865-4894-a5ab-d49bd99520cd", - "project_id": "9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b", + "drawing_id": "a1b54140-aef4-48e4-9170-b746df992632", + "project_id": "5506c6ec-6ad5-48d1-9f8a-64ffd935124c", "rotation": 0, "svg": "", "x": 0, diff --git a/docs/api/notifications/drawing.updated.json b/docs/api/notifications/drawing.updated.json index 5ab3a539..8b68b450 100644 --- a/docs/api/notifications/drawing.updated.json +++ b/docs/api/notifications/drawing.updated.json @@ -1,6 +1,6 @@ { - "drawing_id": "e692ae9b-b88c-436c-a8de-3b3df798ba11", - "project_id": "f082d1bf-5b85-49a7-bce7-b6194f04f52e", + "drawing_id": "7ebde298-be58-4514-a57d-fcb869952300", + "project_id": "3864d505-03dd-4c38-b59f-2af231f002d0", "rotation": 0, "x": 42, "y": 20, diff --git a/docs/api/notifications/link.created.json b/docs/api/notifications/link.created.json index f6d24b13..3edc1fef 100644 --- a/docs/api/notifications/link.created.json +++ b/docs/api/notifications/link.created.json @@ -2,7 +2,7 @@ "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "ca268d39-d533-4182-87da-16ef58fbf230", + "link_id": "d9db6a61-ae1a-4f7d-991a-73c46f62dfab", "link_type": "ethernet", "nodes": [ { @@ -14,7 +14,7 @@ "x": -10, "y": -10 }, - "node_id": "c824d9de-a001-47e4-bbce-9fee0533c10c", + "node_id": "fc041a38-4796-420d-bbe1-60c675aff332", "port_number": 3 }, { @@ -26,9 +26,9 @@ "x": -10, "y": -10 }, - "node_id": "1a1944d6-405f-44cc-9c97-40c753b213f2", + "node_id": "cbeaeb2c-4bbf-42e5-a86f-e358040d7a5e", "port_number": 4 } ], - "project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8" + "project_id": "69ab73a7-a498-49b2-968b-bc406897a545" } \ No newline at end of file diff --git a/docs/api/notifications/link.deleted.json b/docs/api/notifications/link.deleted.json index 660b537a..61dc82ae 100644 --- a/docs/api/notifications/link.deleted.json +++ b/docs/api/notifications/link.deleted.json @@ -2,8 +2,8 @@ "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "a9cee8bd-b589-4228-a7dd-4e510885d74a", + "link_id": "e89eed96-a7f7-494c-b96c-21dc769ecc16", "link_type": "ethernet", "nodes": [], - "project_id": "38865d4b-a234-4c29-a55e-62a39f27659e" + "project_id": "9e65c1ba-14af-48e3-874e-763be80af860" } \ No newline at end of file diff --git a/docs/api/notifications/link.updated.json b/docs/api/notifications/link.updated.json index c2dad799..13b71c48 100644 --- a/docs/api/notifications/link.updated.json +++ b/docs/api/notifications/link.updated.json @@ -2,7 +2,7 @@ "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "7e50ee4f-eb62-4a0d-9c61-4e3c8a0c5e4a", + "link_id": "c63ed551-8205-47f6-b73a-df0a9b01e547", "link_type": "ethernet", "nodes": [ { @@ -12,7 +12,7 @@ "x": 64, "y": 0 }, - "node_id": "12111336-9763-45f1-adae-43ca7fc32c26", + "node_id": "c3544357-5e5f-42c1-9d68-fe2bfbf5be95", "port_number": 3 }, { @@ -24,9 +24,9 @@ "x": -10, "y": -10 }, - "node_id": "4a1e56d8-64bf-4686-a2a0-ffd67302f892", + "node_id": "01a160d0-a17c-4e39-b9aa-4b06be676b22", "port_number": 4 } ], - "project_id": "d90e1de9-a63c-4ba0-b0b5-b5b1a20160b8" + "project_id": "f060eb2c-fbfe-4f9f-b2f1-f3d78eedafe4" } \ No newline at end of file diff --git a/docs/api/notifications/node.deleted.json b/docs/api/notifications/node.deleted.json index cd5205b7..d80fd53f 100644 --- a/docs/api/notifications/node.deleted.json +++ b/docs/api/notifications/node.deleted.json @@ -15,7 +15,7 @@ }, "name": "test", "node_directory": null, - "node_id": "bc298eb5-15d6-480d-8a81-326841bec062", + "node_id": "ec5a58db-4d16-404d-8187-6fd42837b1ed", "node_type": "vpcs", "port_name_format": "Ethernet{0}", "port_segment_size": 0, @@ -31,7 +31,7 @@ "short_name": "e0/0" } ], - "project_id": "a27cbb34-9e4e-458e-9404-a8956edab9e0", + "project_id": "784f3991-a161-4251-a6fd-c48f98535ef5", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/node.updated.json b/docs/api/notifications/node.updated.json index 1fc6f897..4776ab2c 100644 --- a/docs/api/notifications/node.updated.json +++ b/docs/api/notifications/node.updated.json @@ -1,7 +1,7 @@ { "command_line": "", "compute_id": "local", - "console": 5989, + "console": 5990, "console_host": "localhost", "console_type": "telnet", "first_port_name": null, @@ -14,7 +14,7 @@ "y": -25 }, "name": "PC1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_open0/project-files/vpcs/64ba8408-afbf-4b66-9cdd-1fd854427478", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_open0/project-files/vpcs/64ba8408-afbf-4b66-9cdd-1fd854427478", "node_id": "64ba8408-afbf-4b66-9cdd-1fd854427478", "node_type": "vpcs", "port_name_format": "Ethernet{0}", diff --git a/docs/api/notifications/project.closed.json b/docs/api/notifications/project.closed.json index 3e32e05b..5a6ca640 100644 --- a/docs/api/notifications/project.closed.json +++ b/docs/api/notifications/project.closed.json @@ -4,8 +4,8 @@ "auto_start": false, "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpwk4zxief/projects/a2547cb9-0934-417a-ae0a-666f1455bd86", - "project_id": "a2547cb9-0934-417a-ae0a-666f1455bd86", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpejunl5mx/projects/289eee05-0827-494e-9786-61ddd8b81c92", + "project_id": "289eee05-0827-494e-9786-61ddd8b81c92", "scene_height": 1000, "scene_width": 2000, "status": "closed" diff --git a/docs/api/notifications/project.updated.json b/docs/api/notifications/project.updated.json index c24748f2..31cb0b01 100644 --- a/docs/api/notifications/project.updated.json +++ b/docs/api/notifications/project.updated.json @@ -4,7 +4,7 @@ "auto_start": false, "filename": "test.gns3", "name": "test2", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp7gqkwxlc/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgj6rsvqy/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "scene_height": 1000, "scene_width": 2000, diff --git a/docs/api/notifications/snapshot.restored.json b/docs/api/notifications/snapshot.restored.json index e20f840d..3464c4d0 100644 --- a/docs/api/notifications/snapshot.restored.json +++ b/docs/api/notifications/snapshot.restored.json @@ -1,6 +1,6 @@ { - "created_at": 1474970484, + "created_at": 1476953578, "name": "test", - "project_id": "4aa63ac6-3e11-40b5-9b28-6f59cf06294d", - "snapshot_id": "2c4289f1-2239-4c5a-a84e-1536c71b320a" + "project_id": "fb5f23cf-a91c-4438-8bf0-07c3f67c8a98", + "snapshot_id": "a18f5d5e-d29e-4760-bd8c-39d452625107" } \ No newline at end of file diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index e80939cb..6ea1ccb1 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on an ATM switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 5f432e9d..227fffd5 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to an ATM switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -27,9 +27,9 @@ Remove a NIO from an ATM switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 63c2746f..4bf42201 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an ATM switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/capabilities/capabilities.rst b/docs/api/v2/compute/capabilities/capabilities.rst index 69c81603..7c6f7fcc 100644 --- a/docs/api/v2/compute/capabilities/capabilities.rst +++ b/docs/api/v2/compute/capabilities/capabilities.rst @@ -17,7 +17,8 @@ Output - + +
Name Mandatory Type Description
node_types array
node_types array Node type supported by the compute
platform string Platform where the compute is running
version ['string', 'null'] Version number
diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 511269d3..03cd3551 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a cloud instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud +- **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a cloud instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud +- **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index e3408e2f..7fe06741 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a cloud instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud +- **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index d5c8831e..af17cf73 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a cloud instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud +- **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst index dd09d777..0423484a 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a Docker container Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter +- **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a Docker container Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter +- **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index d36d981e..c9044946 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Docker container instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index caa8bb57..1f3ef0bf 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a Docker container instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst index 3857fce1..3aa37114 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst @@ -24,7 +24,7 @@ Input - + diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index e184e6af..72fafc5a 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter +- **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -27,9 +27,9 @@ Remove a NIO from a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter from where the nio should be removed - **port_number**: Port on the adapter +- **adapter_number**: Adapter from where the nio should be removed +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index bc488f1e..0a133f6c 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 30a88d5d..efe3932c 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 5bfada08..ad983168 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub +- **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -27,9 +27,9 @@ Remove a NIO from an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub +- **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index e60ea8f7..3c5d2719 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub +- **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 66024308..ab8ebf39 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub +- **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 53ae531e..943652cf 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -27,9 +27,9 @@ Remove a NIO from an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 74e00e52..4c6be111 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index d8cd38c4..f86434d1 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 5bbaafb6..fd380d47 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -27,9 +27,9 @@ Remove a NIO from a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index adee0094..68402f85 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 4e41e959..e23c3ff8 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch +- **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 2db1c0b3..7b327183 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a IOU instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Network adapter where the nio is located - **port_number**: Port where the nio should be added +- **adapter_number**: Network adapter where the nio is located +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a IOU instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Network adapter where the nio is located - **port_number**: Port from where the nio should be removed +- **adapter_number**: Network adapter where the nio is located +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 237d27da..63e76740 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an IOU VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index e846741f..f55aa254 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on an IOU VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 0849e982..d40ed78f 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a nat instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat +- **adapter_number**: Adapter on the nat (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a nat instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat +- **adapter_number**: Adapter on the nat (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index f623a930..32e14858 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a nat instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat +- **adapter_number**: Adapter on the nat (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 598f7d18..736ca1f3 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a nat instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat +- **adapter_number**: Adapter on the nat (always 0) +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 33788090..67a81f72 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a Qemu VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Network adapter where the nio is located - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Network adapter where the nio is located +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a Qemu VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Network adapter where the nio is located - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Network adapter where the nio is located +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index ff1844f4..9da8374a 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Qemu VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index e3a27472..8c2fa998 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a Qemu VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ef8d9279..8bbbfea8 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter from where the nio should be removed - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter from where the nio should be removed +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 408fbb00..3d62c787 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 7d5716e7..94f70431 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 4d117f5a..317cef9d 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a VMware VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -27,9 +27,9 @@ Remove a NIO from a VMware VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter from where the nio should be removed - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter from where the nio should be removed +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 1dfa0bee..c662e206 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a VMware VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index e7004621..f64b108c 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a VMware VM instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 0bac9b07..d4c6c174 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a VPCS instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Network adapter where the nio is located - **port_number**: Port where the nio should be added +- **adapter_number**: Network adapter where the nio is located +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes @@ -33,9 +33,9 @@ Remove a NIO from a VPCS instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Network adapter where the nio is located - **port_number**: Port from where the nio should be removed +- **adapter_number**: Network adapter where the nio is located +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index f7633e0a..bf07aeba 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a VPCS instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter +- **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index d755e954..f43562c8 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a VPCS instance Parameters ********** -- **project_id**: Project UUID -- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter +- **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst b/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst index 749b099f..956f0a76 100644 --- a/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst +++ b/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst @@ -9,8 +9,8 @@ Create a new drawing instance Parameters ********** -- **project_id**: Project UUID - **drawing_id**: Drawing UUID +- **project_id**: Project UUID Response status codes ********************** @@ -60,8 +60,8 @@ Delete a drawing instance Parameters ********** -- **project_id**: Project UUID - **drawing_id**: Drawing UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst index defb182f..5acf4a66 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst @@ -9,8 +9,8 @@ Update a link instance Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** @@ -54,8 +54,8 @@ Delete a link instance Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst index 48426bdd..99a050aa 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst @@ -9,8 +9,8 @@ Stream the pcap capture file Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst index 0cb8c1e7..4ba786c0 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst @@ -9,8 +9,8 @@ Start capture on a link instance. By default we consider it as an Ethernet link Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst index da2bcb29..53c97524 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst @@ -9,8 +9,8 @@ Stop capture on a link instance Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodes.rst b/docs/api/v2/controller/node/projectsprojectidnodes.rst index 52c78cd6..ff7534a6 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodes.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodes.rst @@ -25,8 +25,8 @@ Input - - + + @@ -40,7 +40,7 @@ Input - + @@ -56,8 +56,8 @@ Output - - + + @@ -71,7 +71,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst index ce72ee19..a8b9cbdf 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst @@ -22,8 +22,8 @@ Output - - + + @@ -37,7 +37,7 @@ Output - + @@ -70,8 +70,8 @@ Input - - + + @@ -85,7 +85,7 @@ Input - + @@ -101,8 +101,8 @@ Output - - + + @@ -116,7 +116,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst index 60f6d56f..8a21f3eb 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst @@ -27,8 +27,8 @@ Output - - + + @@ -42,7 +42,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst index df0b0a49..95c34f2a 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst @@ -27,8 +27,8 @@ Output - - + + @@ -42,7 +42,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst index e28389c5..5b9d1c0d 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst @@ -27,8 +27,8 @@ Output - - + + @@ -42,7 +42,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst index 2440d4ad..4f1912bc 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst @@ -27,8 +27,8 @@ Output - - + + @@ -42,7 +42,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesreload.rst index cc766c54..1db8b683 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesreload.rst @@ -26,8 +26,8 @@ Output - - + + @@ -41,7 +41,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesstart.rst index 05a6d684..763c484e 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesstart.rst @@ -26,8 +26,8 @@ Output - - + + @@ -41,7 +41,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesstop.rst index 52a283b2..fbd92aed 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesstop.rst @@ -26,8 +26,8 @@ Output - - + + @@ -41,7 +41,7 @@ Output - + diff --git a/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst index 486b2a29..12fd9f2a 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst @@ -26,8 +26,8 @@ Output - - + + @@ -41,7 +41,7 @@ Output - + diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst index f949f4a8..2d5319da 100644 --- a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst @@ -9,8 +9,8 @@ Delete a snapshot from disk Parameters ********** -- **project_id**: Project UUID - **snapshot_id**: Snasphot UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst index 7c55a564..78d996b5 100644 --- a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst @@ -9,8 +9,8 @@ Restore a snapshot from disk Parameters ********** -- **project_id**: Project UUID - **snapshot_id**: Snasphot UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/gns3_file.json b/docs/gns3_file.json index b9c88280..c6c04374 100644 --- a/docs/gns3_file.json +++ b/docs/gns3_file.json @@ -1,406 +1,437 @@ { + "additionalProperties": false, "$schema": "http://json-schema.org/draft-04/schema#", + "description": "The topology", + "type": "object", "properties": { - "project_id": { - "minLength": 36, - "type": "string", - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Project UUID" - }, - "revision": { - "type": "integer", - "description": "Version of the .gns3 specification." - }, "auto_close": { - "type": "boolean", - "description": "Close the topology when no client is connected" - }, - "version": { - "type": "string", - "description": "Version of the GNS3 software which have update the file for the last time" + "description": "Close the topology when no client is connected", + "type": "boolean" }, "scene_width": { - "type": "integer", - "description": "Width of the drawing area" + "description": "Width of the drawing area", + "type": "integer" }, - "name": { - "type": "string", - "description": "Name of the project" + "revision": { + "description": "Version of the .gns3 specification.", + "type": "integer" + }, + "version": { + "description": "Version of the GNS3 software which have update the file for the last time", + "type": "string" }, "scene_height": { - "type": "integer", - "description": "Height of the drawing area" + "description": "Height of the drawing area", + "type": "integer" }, "auto_open": { - "type": "boolean", - "description": "Open the topology with GNS3" + "description": "Open the topology with GNS3", + "type": "boolean" }, "type": { + "description": "Type of file. It's always topology", "enum": [ "topology" - ], - "description": "Type of file. It's always topology" + ] }, "topology": { - "required": [ - "nodes", - "links", - "drawings", - "computes" - ], - "additionalProperties": false, + "description": "The topology content", "type": "object", + "additionalProperties": false, "properties": { - "drawings": { + "computes": { + "description": "Computes servers", + "type": "array", "items": { "additionalProperties": false, "$schema": "http://json-schema.org/draft-04/schema#", + "description": "Request validation to a GNS3 compute object instance", "type": "object", "properties": { - "project_id": { - "minLength": 36, - "type": "string", - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Project UUID" + "memory_usage_percent": { + "description": "RAM usage of the compute. Read only", + "type": [ + "number", + "null" + ], + "maximum": 100, + "minimum": 0 + }, + "user": { + "description": "User for authentication", + "type": [ + "string", + "null" + ] + }, + "port": { + "description": "Server port", + "type": "integer" + }, + "protocol": { + "description": "Server protocol", + "enum": [ + "http", + "https" + ] + }, + "cpu_usage_percent": { + "description": "CPU usage of the compute. Read only", + "type": [ + "number", + "null" + ], + "maximum": 100, + "minimum": 0 + }, + "connected": { + "description": "Whether the controller is connected to the compute server or not", + "type": "boolean" + }, + "host": { + "description": "Server host", + "type": "string" + }, + "name": { + "description": "Server name", + "type": "string" + }, + "compute_id": { + "description": "Server identifier", + "type": "string" + }, + "capabilities": { + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "Get what a server support", + "type": "object", + "properties": { + "platform": { + "description": "Platform where the compute is running", + "type": "string" + }, + "version": { + "description": "Version number", + "type": [ + "string", + "null" + ] + }, + "node_types": { + "description": "Node type supported by the compute", + "type": "array", + "items": { + "description": "Type of node", + "enum": [ + "cloud", + "nat", + "ethernet_hub", + "ethernet_switch", + "frame_relay_switch", + "atm_switch", + "docker", + "dynamips", + "vpcs", + "virtualbox", + "vmware", + "iou", + "qemu" + ] + } + } + }, + "required": [ + "version", + "node_types" + ] + } + }, + "required": [ + "compute_id", + "protocol", + "host", + "port", + "name" + ] + } + }, + "drawings": { + "description": "Drawings elements", + "type": "array", + "items": { + "description": "An drawing object", + "type": "object", + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalProperties": false, + "properties": { + "y": { + "description": "Y property", + "type": "integer" }, "rotation": { - "minimum": -359, + "description": "Rotation of the element", "type": "integer", "maximum": 360, - "description": "Rotation of the element" + "minimum": -359 }, - "svg": { + "drawing_id": { + "minLength": 36, + "description": "Drawing UUID", "type": "string", - "description": "SVG content of the drawing" - }, - "x": { - "type": "integer", - "description": "X property" + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36 }, "z": { - "type": "integer", - "description": "Z property" + "description": "Z property", + "type": "integer" }, - "y": { - "type": "integer", - "description": "Y property" + "x": { + "description": "X property", + "type": "integer" }, - "drawing_id": { + "project_id": { "minLength": 36, + "description": "Project UUID", "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Drawing UUID" + "maxLength": 36 + }, + "svg": { + "description": "SVG content of the drawing", + "type": "string" } - }, - "description": "An drawing object" - }, - "type": "array", - "description": "Drawings elements" + } + } }, "links": { + "description": "Link elements", + "type": "array", "items": { + "additionalProperties": false, "$schema": "http://json-schema.org/draft-04/schema#", + "description": "A link object", + "type": "object", "properties": { "project_id": { "minLength": 36, + "description": "Project UUID", "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Project UUID" - }, - "capture_file_name": { - "type": [ - "string", - "null" - ], - "description": "Read only property. The name of the capture file if capture is running" - }, - "capture_file_path": { - "type": [ - "string", - "null" - ], - "description": "Read only property. The full path of the capture file if capture is running" + "maxLength": 36 }, "nodes": { + "description": "List of the VMS", + "type": "array", "items": { - "required": [ - "node_id", - "adapter_number", - "port_number" - ], - "additionalProperties": false, "type": "object", + "additionalProperties": false, "properties": { + "port_number": { + "description": "Port number", + "type": "integer" + }, "adapter_number": { - "type": "integer", - "description": "Adapter number" + "description": "Adapter number", + "type": "integer" }, "label": { - "required": [ - "text", - "x", - "y" - ], - "additionalProperties": false, "type": "object", + "additionalProperties": false, "properties": { + "text": { + "type": "string" + }, "y": { - "type": "integer", - "description": "Relative Y position of the label" + "description": "Relative Y position of the label", + "type": "integer" + }, + "style": { + "description": "SVG style attribute", + "type": "string" }, "x": { + "description": "Relative X position of the label. If null center it", "type": [ "integer", "null" - ], - "description": "Relative X position of the label. If null center it" - }, - "text": { - "type": "string" + ] }, "rotation": { - "minimum": -359, + "description": "Rotation of the label", "type": "integer", "maximum": 360, - "description": "Rotation of the label" - }, - "style": { - "type": "string", - "description": "SVG style attribute" + "minimum": -359 } - } - }, - "port_number": { - "type": "integer", - "description": "Port number" + }, + "required": [ + "text", + "x", + "y" + ] }, "node_id": { "minLength": 36, + "description": "Node UUID", "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Node UUID" + "maxLength": 36 } - } - }, - "type": "array", - "description": "List of the VMS" + }, + "required": [ + "node_id", + "adapter_number", + "port_number" + ] + } }, - "capturing": { - "type": "boolean", - "description": "Read only property. True if a capture running on the link" + "capture_file_path": { + "description": "Read only property. The full path of the capture file if capture is running", + "type": [ + "string", + "null" + ] }, "link_id": { "minLength": 36, + "description": "Link UUID", "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Link UUID" + "maxLength": 36 + }, + "capture_file_name": { + "description": "Read only property. The name of the capture file if capture is running", + "type": [ + "string", + "null" + ] + }, + "capturing": { + "description": "Read only property. True if a capture running on the link", + "type": "boolean" }, "link_type": { + "description": "Type of link", "enum": [ "ethernet", "serial" - ], - "description": "Type of link" + ] } }, "required": [ "nodes" - ], - "additionalProperties": false, - "type": "object", - "description": "A link object" - }, - "type": "array", - "description": "Link elements" + ] + } }, - "computes": { + "nodes": { + "description": "Nodes elements", + "type": "array", "items": { + "additionalProperties": false, "$schema": "http://json-schema.org/draft-04/schema#", + "description": "A node object", + "type": "object", "properties": { - "capabilities": { - "$schema": "http://json-schema.org/draft-04/schema#", + "node_directory": { + "description": "Working directory of the node. Read only", + "type": [ + "null", + "string" + ] + }, + "label": { + "type": "object", + "additionalProperties": false, "properties": { - "node_types": { - "type": "array", - "items": { - "enum": [ - "cloud", - "nat", - "ethernet_hub", - "ethernet_switch", - "frame_relay_switch", - "atm_switch", - "docker", - "dynamips", - "vpcs", - "virtualbox", - "vmware", - "iou", - "qemu" - ], - "description": "Type of node" - } + "text": { + "type": "string" }, - "version": { + "y": { + "description": "Relative Y position of the label", + "type": "integer" + }, + "style": { + "description": "SVG style attribute", + "type": "string" + }, + "x": { + "description": "Relative X position of the label. If null center it", "type": [ - "string", + "integer", "null" - ], - "description": "Version number" + ] + }, + "rotation": { + "description": "Rotation of the label", + "type": "integer", + "maximum": 360, + "minimum": -359 } }, "required": [ - "version", - "node_types" - ], - "additionalProperties": false, - "type": "object", - "description": "Get what a server support" - }, - "cpu_usage_percent": { - "maximum": 100, - "type": [ - "number", - "null" - ], - "minimum": 0, - "description": "CPU usage of the compute. Read only" - }, - "host": { - "type": "string", - "description": "Server host" - }, - "port": { - "type": "integer", - "description": "Server port" + "text", + "x", + "y" + ] }, - "protocol": { - "enum": [ - "http", - "https" - ], - "description": "Server protocol" + "width": { + "description": "Width of the node (Read only)", + "type": "integer" }, - "name": { + "project_id": { + "minLength": 36, + "description": "Project UUID", "type": "string", - "description": "Server name" + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36 }, - "user": { + "first_port_name": { + "description": "Name of the first port", "type": [ "string", "null" - ], - "description": "User for authentication" - }, - "memory_usage_percent": { - "maximum": 100, - "type": [ - "number", - "null" - ], - "minimum": 0, - "description": "RAM usage of the compute. Read only" - }, - "compute_id": { - "type": "string", - "description": "Server identifier" + ] }, - "connected": { - "type": "boolean", - "description": "Whether the controller is connected to the compute server or not" - } - }, - "required": [ - "compute_id", - "protocol", - "host", - "port", - "name" - ], - "additionalProperties": false, - "type": "object", - "description": "Request validation to a GNS3 compute object instance" - }, - "type": "array", - "description": "Computes servers" - }, - "nodes": { - "items": { - "$schema": "http://json-schema.org/draft-04/schema#", - "properties": { "ports": { + "description": "List of node ports READ only", + "type": "array", "items": { - "additionalProperties": false, + "description": "A node port", "type": "object", "properties": { - "adapter_number": { - "type": "integer", - "description": "Adapter slot" - }, "port_number": { - "type": "integer", - "description": "Port slot" + "description": "Port slot", + "type": "integer" }, "short_name": { - "type": "string", - "description": "Short version of port name" + "description": "Short version of port name", + "type": "string" }, - "data_link_types": { - "type": "object", - "properties": {}, - "description": "Available PCAP type for capture" + "adapter_number": { + "description": "Adapter slot", + "type": "integer" + }, + "name": { + "description": "Port name", + "type": "string" }, "link_type": { + "description": "Type of link", "enum": [ "ethernet", "serial" - ], - "description": "Type of link" + ] }, - "name": { - "type": "string", - "description": "Port name" + "data_link_types": { + "description": "Available PCAP type for capture", + "type": "object", + "properties": {} } }, - "description": "A node port" - }, - "type": "array", - "description": "List of node ports READ only" - }, - "console": { - "minimum": 1, - "maximum": 65535, - "type": [ - "integer", - "null" - ], - "description": "Console TCP port" - }, - "node_id": { - "minLength": 36, - "type": "string", - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Node UUID" - }, - "first_port_name": { - "type": [ - "string", - "null" - ], - "description": "Name of the first port" - }, - "compute_id": { - "type": "string", - "description": "Compute identifier" + "additionalProperties": false + } }, "node_type": { + "description": "Type of node", "enum": [ "cloud", "nat", @@ -415,144 +446,125 @@ "vmware", "iou", "qemu" - ], - "description": "Type of node" - }, - "status": { - "enum": [ - "stopped", - "started", - "suspended" - ], - "description": "Status of the node" + ] }, "port_segment_size": { - "minimum": 0, + "description": "Size of the port segment", "type": "integer", - "description": "Size of the port segment" + "minimum": 0 + }, + "z": { + "description": "Z position of the node", + "type": "integer" + }, + "x": { + "description": "X position of the node", + "type": "integer" }, "console_type": { + "description": "Console type", "enum": [ "serial", "vnc", "telnet", + "http", null - ], - "description": "Console type" + ] }, - "symbol": { + "name": { "minLength": 1, - "type": "string", - "description": "Symbol of the node" - }, - "project_id": { - "minLength": 36, - "type": "string", - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", - "maxLength": 36, - "description": "Project UUID" + "description": "Node name", + "type": "string" }, - "label": { - "required": [ - "text", - "x", - "y" - ], - "additionalProperties": false, - "type": "object", - "properties": { - "y": { - "type": "integer", - "description": "Relative Y position of the label" - }, - "x": { - "type": [ - "integer", - "null" - ], - "description": "Relative X position of the label. If null center it" - }, - "text": { - "type": "string" - }, - "rotation": { - "minimum": -359, - "type": "integer", - "maximum": 360, - "description": "Rotation of the label" - }, - "style": { - "type": "string", - "description": "SVG style attribute" - } - } + "status": { + "description": "Status of the node", + "enum": [ + "stopped", + "started", + "suspended" + ] }, - "node_directory": { + "command_line": { + "description": "Command line use to start the node", "type": [ "null", "string" - ], - "description": "Working directory of the node. Read only" + ] }, - "x": { - "type": "integer", - "description": "X position of the node" + "compute_id": { + "description": "Compute identifier", + "type": "string" }, - "console_host": { - "minLength": 1, + "node_id": { + "minLength": 36, + "description": "Node UUID", "type": "string", - "description": "Console host" + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36 + }, + "height": { + "description": "Height of the node (Read only)", + "type": "integer" + }, + "port_name_format": { + "description": "Formating for port name {0} will be replace by port number", + "type": "string" }, "y": { - "type": "integer", - "description": "Y position of the node" + "description": "Y position of the node", + "type": "integer" }, - "width": { - "type": "integer", - "description": "Width of the node (Read only)" + "console_host": { + "minLength": 1, + "description": "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.", + "type": "string" }, - "port_name_format": { - "type": "string", - "description": "Formating for port name {0} will be replace by port number" + "symbol": { + "minLength": 1, + "description": "Symbol of the node", + "type": [ + "string", + "null" + ] }, - "command_line": { + "console": { + "description": "Console TCP port", "type": [ - "null", - "string" + "integer", + "null" ], - "description": "Command line use to start the node" + "maximum": 65535, + "minimum": 1 }, "properties": { - "type": "object", - "description": "Properties specific to an emulator" - }, - "z": { - "type": "integer", - "description": "Z position of the node" - }, - "name": { - "minLength": 1, - "type": "string", - "description": "Node name" - }, - "height": { - "type": "integer", - "description": "Height of the node (Read only)" + "description": "Properties specific to an emulator", + "type": "object" } - }, - "additionalProperties": false, - "type": "object", - "description": "A node object" - }, - "type": "array", - "description": "Nodes elements" + } + } } }, - "description": "The topology content" + "required": [ + "nodes", + "links", + "drawings", + "computes" + ] + }, + "name": { + "description": "Name of the project", + "type": "string" + }, + "project_id": { + "minLength": 36, + "description": "Project UUID", + "type": "string", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36 }, "auto_start": { - "type": "boolean", - "description": "Start the topology when opened" + "description": "Start the topology when opened", + "type": "boolean" } }, "required": [ @@ -562,8 +574,5 @@ "version", "name", "topology" - ], - "additionalProperties": false, - "type": "object", - "description": "The topology" + ] } \ No newline at end of file diff --git a/tests/handlers/api/controller/test_compute.py b/tests/handlers/api/controller/test_compute.py index 029a4dbb..8e735687 100644 --- a/tests/handlers/api/controller/test_compute.py +++ b/tests/handlers/api/controller/test_compute.py @@ -154,7 +154,7 @@ def test_compute_delete(http_controller, controller): response = http_controller.get("/computes") assert len(response.json) == 1 - response = http_controller.delete("/computes/my_compute_id") + response = http_controller.delete("/computes/my_compute_id", example=True) assert response.status == 204 response = http_controller.get("/computes") @@ -194,7 +194,7 @@ def test_compute_list_vms(http_controller, controller): assert response.status == 201 with asyncio_patch("gns3server.controller.compute.Compute.forward", return_value=[]) as mock: - response = http_controller.get("/computes/my_compute/virtualbox/vms") + response = http_controller.get("/computes/my_compute/virtualbox/vms", example=True) assert response.json == [] mock.assert_called_with("GET", "virtualbox", "vms") @@ -214,5 +214,5 @@ def test_compute_create_img(http_controller, controller): params = {"path": "/test"} with asyncio_patch("gns3server.controller.compute.Compute.forward", return_value=[]) as mock: - response = http_controller.post("/computes/my_compute/qemu/img", params) + response = http_controller.post("/computes/my_compute/qemu/img", params, example=True) mock.assert_called_with("POST", "qemu", "img", data=unittest.mock.ANY)
Name Mandatory Type Description
auto_delete_disks boolean Automatically delete nvram and disk files
aux integer Auxiliary console TCP port
aux ['null', 'integer'] Auxiliary console TCP port
chassis string Cisco router chassis model
clock_divisor integer Clock divisor
console integer Console TCP port
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node
command_line ['null', 'string'] Command line use to start the node
compute_id string Compute identifier
console ['integer', 'null'] Console TCP port
console_host string Console host
console_type enum Possible values: serial, vnc, telnet, null
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: serial, vnc, telnet, http, null
first_port_name ['string', 'null'] Name of the first port
height integer Height of the node (Read only)
label object
project_id string Project UUID
properties object Properties specific to an emulator
status enum Possible values: stopped, started, suspended
symbol string Symbol of the node
symbol ['string', 'null'] Symbol of the node
width integer Width of the node (Read only)
x integer X position of the node
y integer Y position of the node