From 937ffc7b73c4742ed9c5cb0a47ca42a89267e758 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 15 Aug 2016 12:08:59 +0200 Subject: [PATCH] Rebuild documentation --- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...delete_projectsprojectidiounodesnodeid.txt | 4 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...elete_projectsprojectidqemunodesnodeid.txt | 4 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...elete_projectsprojectidvpcsnodesnodeid.txt | 4 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- .../compute_get_networkinterfaces.txt | 4 +- docs/api/examples/compute_get_projects.txt | 4 +- ...te_get_projectsprojectidiounodesnodeid.txt | 12 +- ...projectsprojectidiounodesnodeidconfigs.txt | 16 - ...e_get_projectsprojectidqemunodesnodeid.txt | 14 +- ...projectsprojectidvirtualboxnodesnodeid.txt | 8 +- ...e_get_projectsprojectidvpcsnodesnodeid.txt | 10 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...ternumberdportsportnumberdstartcapture.txt | 8 +- ...pternumberdportsportnumberdstopcapture.txt | 4 +- ...compute_post_projectsprojectidiounodes.txt | 12 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...ternumberdportsportnumberdstartcapture.txt | 8 +- ...pternumberdportsportnumberdstopcapture.txt | 4 +- ..._projectsprojectidiounodesnodeidreload.txt | 4 +- ...t_projectsprojectidiounodesnodeidstart.txt | 14 +- ...st_projectsprojectidiounodesnodeidstop.txt | 4 +- ...ompute_post_projectsprojectidqemunodes.txt | 14 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...projectsprojectidqemunodesnodeidreload.txt | 4 +- ...projectsprojectidqemunodesnodeidresume.txt | 4 +- ..._projectsprojectidqemunodesnodeidstart.txt | 14 +- ...t_projectsprojectidqemunodesnodeidstop.txt | 4 +- ...rojectsprojectidqemunodesnodeidsuspend.txt | 4 +- ..._post_projectsprojectidvirtualboxnodes.txt | 4 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...tsprojectidvirtualboxnodesnodeidreload.txt | 4 +- ...tsprojectidvirtualboxnodesnodeidresume.txt | 4 +- ...ctsprojectidvirtualboxnodesnodeidstart.txt | 4 +- ...ectsprojectidvirtualboxnodesnodeidstop.txt | 4 +- ...sprojectidvirtualboxnodesnodeidsuspend.txt | 4 +- ...ompute_post_projectsprojectidvpcsnodes.txt | 6 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...projectsprojectidvpcsnodesnodeidreload.txt | 4 +- ..._projectsprojectidvpcsnodesnodeidstart.txt | 10 +- ...t_projectsprojectidvpcsnodesnodeidstop.txt | 4 +- .../compute_put_projectsprojectid.txt | 4 +- ...put_projectsprojectiddockernodesnodeid.txt | 16 +- ...te_put_projectsprojectidiounodesnodeid.txt | 16 +- ...e_put_projectsprojectidqemunodesnodeid.txt | 16 +- ...projectsprojectidvirtualboxnodesnodeid.txt | 10 +- ...e_put_projectsprojectidvpcsnodesnodeid.txt | 12 +- .../controller_delete_projectsprojectid.txt | 4 +- ...ete_projectsprojectiddrawingsdrawingid.txt | 4 +- ...er_delete_projectsprojectidlinkslinkid.txt | 4 +- ...er_delete_projectsprojectidnodesnodeid.txt | 4 +- ...e_projectsprojectidsnapshotssnapshotid.txt | 4 +- docs/api/examples/controller_get_projects.txt | 4 +- .../controller_get_projectsprojectid.txt | 8 +- ...ntroller_get_projectsprojectiddrawings.txt | 8 +- .../controller_get_projectsprojectidlinks.txt | 12 +- .../controller_get_projectsprojectidnodes.txt | 8 +- ...projectidnodesnodeiddynamipsautoidlepc.txt | 4 +- ...ctidnodesnodeiddynamipsidlepcproposals.txt | 4 +- ...troller_get_projectsprojectidsnapshots.txt | 10 +- .../api/examples/controller_post_projects.txt | 2 +- .../examples/controller_post_projectsload.txt | 4 +- ...controller_post_projectsprojectidclose.txt | 8 +- ...troller_post_projectsprojectiddrawings.txt | 8 +- ...roller_post_projectsprojectidduplicate.txt | 8 +- ...controller_post_projectsprojectidlinks.txt | 16 +- ...ojectsprojectidlinkslinkidstartcapture.txt | 8 +- ...rojectsprojectidlinkslinkidstopcapture.txt | 8 +- ...controller_post_projectsprojectidnodes.txt | 8 +- ...ost_projectsprojectidnodesnodeidreload.txt | 4 +- ...post_projectsprojectidnodesnodeidstart.txt | 4 +- ..._post_projectsprojectidnodesnodeidstop.txt | 4 +- ...st_projectsprojectidnodesnodeidsuspend.txt | 4 +- ...ller_post_projectsprojectidnodesreload.txt | 4 +- ...oller_post_projectsprojectidnodesstart.txt | 4 +- ...roller_post_projectsprojectidnodesstop.txt | 4 +- ...ler_post_projectsprojectidnodessuspend.txt | 4 +- .../controller_post_projectsprojectidopen.txt | 8 +- ...roller_post_projectsprojectidsnapshots.txt | 10 +- ...ctsprojectidsnapshotssnapshotidrestore.txt | 8 +- ...put_projectsprojectiddrawingsdrawingid.txt | 8 +- ...oller_put_projectsprojectidnodesnodeid.txt | 8 +- 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 | 7 + ...pternumberdportsportnumberdstopcapture.rst | 2 +- .../projectsprojectidatmswitchnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...ectsprojectidatmswitchnodesnodeidstart.rst | 2 +- ...jectsprojectidatmswitchnodesnodeidstop.rst | 2 +- ...tsprojectidatmswitchnodesnodeidsuspend.rst | 2 +- .../projectsprojectidcloudnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...projectsprojectidcloudnodesnodeidstart.rst | 2 +- .../projectsprojectidcloudnodesnodeidstop.rst | 2 +- ...ojectsprojectidcloudnodesnodeidsuspend.rst | 2 +- .../projectsprojectiddockernodesnodeid.rst | 4 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...rojectsprojectiddockernodesnodeidpause.rst | 2 +- ...ojectsprojectiddockernodesnodeidreload.rst | 2 +- ...rojectsprojectiddockernodesnodeidstart.rst | 2 +- ...projectsprojectiddockernodesnodeidstop.rst | 2 +- ...jectsprojectiddockernodesnodeidunpause.rst | 2 +- .../projectsprojectiddynamipsnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...projectiddynamipsnodesnodeidautoidlepc.rst | 2 +- ...ctsprojectiddynamipsnodesnodeidconfigs.rst | 30 -- ...rojectiddynamipsnodesnodeidconfigssave.rst | 20 - ...ctiddynamipsnodesnodeididlepcproposals.rst | 2 +- ...ectsprojectiddynamipsnodesnodeidreload.rst | 2 +- ...ectsprojectiddynamipsnodesnodeidresume.rst | 2 +- ...jectsprojectiddynamipsnodesnodeidstart.rst | 2 +- ...ojectsprojectiddynamipsnodesnodeidstop.rst | 2 +- ...ctsprojectiddynamipsnodesnodeidsuspend.rst | 2 +- ...rojectsprojectidethernethubnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...tsprojectidethernethubnodesnodeidstart.rst | 2 +- ...ctsprojectidethernethubnodesnodeidstop.rst | 2 +- ...projectidethernethubnodesnodeidsuspend.rst | 2 +- ...ectsprojectidethernetswitchnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...rojectidethernetswitchnodesnodeidstart.rst | 2 +- ...projectidethernetswitchnodesnodeidstop.rst | 2 +- ...jectidethernetswitchnodesnodeidsuspend.rst | 2 +- ...tsprojectidframerelayswitchnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...jectidframerelayswitchnodesnodeidstart.rst | 2 +- ...ojectidframerelayswitchnodesnodeidstop.rst | 2 +- ...ctidframerelayswitchnodesnodeidsuspend.rst | 2 +- .../iou/projectsprojectidiounodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...projectsprojectidiounodesnodeidconfigs.rst | 36 -- ...ectsprojectidiounodesnodeidconfigssave.rst | 20 - .../projectsprojectidiounodesnodeidreload.rst | 2 +- .../projectsprojectidiounodesnodeidstart.rst | 2 +- .../projectsprojectidiounodesnodeidstop.rst | 2 +- .../qemu/projectsprojectidqemunodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...projectsprojectidqemunodesnodeidreload.rst | 2 +- ...projectsprojectidqemunodesnodeidresume.rst | 2 +- .../projectsprojectidqemunodesnodeidstart.rst | 2 +- .../projectsprojectidqemunodesnodeidstop.rst | 2 +- ...rojectsprojectidqemunodesnodeidsuspend.rst | 2 +- ...projectsprojectidvirtualboxnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...tsprojectidvirtualboxnodesnodeidreload.rst | 2 +- ...tsprojectidvirtualboxnodesnodeidresume.rst | 2 +- ...ctsprojectidvirtualboxnodesnodeidstart.rst | 2 +- ...ectsprojectidvirtualboxnodesnodeidstop.rst | 2 +- ...sprojectidvirtualboxnodesnodeidsuspend.rst | 2 +- .../projectsprojectidvmwarenodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...jectidvmwarenodesnodeidinterfacesvmnet.rst | 2 +- ...ojectsprojectidvmwarenodesnodeidreload.rst | 2 +- ...ojectsprojectidvmwarenodesnodeidresume.rst | 2 +- ...rojectsprojectidvmwarenodesnodeidstart.rst | 2 +- ...projectsprojectidvmwarenodesnodeidstop.rst | 2 +- ...jectsprojectidvmwarenodesnodeidsuspend.rst | 2 +- .../vpcs/projectsprojectidvpcsnodesnodeid.rst | 6 +- ...ptersadapternumberdportsportnumberdnio.rst | 4 +- ...ternumberdportsportnumberdstartcapture.rst | 2 +- ...pternumberdportsportnumberdstopcapture.rst | 2 +- ...projectsprojectidvpcsnodesnodeidreload.rst | 2 +- .../projectsprojectidvpcsnodesnodeidstart.rst | 2 +- .../projectsprojectidvpcsnodesnodeidstop.rst | 2 +- .../node/projectsprojectidnodesnodeid.rst | 2 +- ...projectidnodesnodeiddynamipsautoidlepc.rst | 2 +- ...ctidnodesnodeiddynamipsidlepcproposals.rst | 2 +- .../projectsprojectidnodesnodeidfilespath.rst | 36 ++ .../projectsprojectidnodesnodeidreload.rst | 2 +- .../projectsprojectidnodesnodeidstart.rst | 2 +- .../node/projectsprojectidnodesnodeidstop.rst | 2 +- .../projectsprojectidnodesnodeidsuspend.rst | 2 +- docs/gns3_file.json | 492 +++++++++--------- gns3server/web/documentation.py | 1 - 205 files changed, 723 insertions(+), 803 deletions(-) delete mode 100644 docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt create mode 100644 docs/api/notifications/project.closed.json delete mode 100644 docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst delete mode 100644 docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst delete mode 100644 docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst delete mode 100644 docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst create mode 100644 docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst diff --git a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 34fcbd2b..439958f5 100644 --- a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/afe02424-fadb-4d0e-917d-b2841fcb4be0/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/afe02424-fadb-4d0e-917d-b2841fcb4be0/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt index 5d7dead5..29428858 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/10473f90-0011-4736-91c6-07959b39e8d7' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/10473f90-0011-4736-91c6-07959b39e8d7 HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 96da785d..7c92ce2c 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e209cd0c-6705-4edd-b552-e5e51d1150bd/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7d32a3f1-1a55-43af-8df8-52089d25913b/adapters/1/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e209cd0c-6705-4edd-b552-e5e51d1150bd/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7d32a3f1-1a55-43af-8df8-52089d25913b/adapters/1/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt index 73f73e98..ec368834 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0b3fe4b7-a5b4-41ec-b954-f1d5f3aa8ad1' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0b3fe4b7-a5b4-41ec-b954-f1d5f3aa8ad1 HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 821e0c43..e473f188 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da07b6e8-6031-411b-a2fe-a8423114c205/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16acffe6-bd3c-4e4c-a6dc-474c6fe75eab/adapters/1/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da07b6e8-6031-411b-a2fe-a8423114c205/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16acffe6-bd3c-4e4c-a6dc-474c6fe75eab/adapters/1/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 802eb92f..9e5db73c 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f480e178-42b7-4aaa-81f0-7623a98f4d6a/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90895d0c-eb7b-423a-b0d9-9ec220295cde/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f480e178-42b7-4aaa-81f0-7623a98f4d6a/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90895d0c-eb7b-423a-b0d9-9ec220295cde/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt index 6c20d707..d252d7df 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffc5b9ae-4a21-4050-b1c3-ad7e39b3824c' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffc5b9ae-4a21-4050-b1c3-ad7e39b3824c HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 29c44c04..f5daa188 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4d11a031-e27e-490a-ab7c-d894a6133538/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4d11a031-e27e-490a-ab7c-d894a6133538/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_get_networkinterfaces.txt b/docs/api/examples/compute_get_networkinterfaces.txt index 1ec91cf6..bbd72cfa 100644 --- a/docs/api/examples/compute_get_networkinterfaces.txt +++ b/docs/api/examples/compute_get_networkinterfaces.txt @@ -5,7 +5,7 @@ GET /v2/compute/network/interfaces HTTP/1.1 HTTP/1.1 200 -CONTENT-LENGTH: 40821 +CONTENT-LENGTH: 40809 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -112,7 +112,7 @@ X-ROUTE: /v2/compute/network/interfaces }, { "id": "vboxnet7", - "ip_address": "192.168.63.1", + "ip_address": "", "mac_address": "0a:00:27:00:00:07", "name": "vboxnet7", "type": "ethernet" diff --git a/docs/api/examples/compute_get_projects.txt b/docs/api/examples/compute_get_projects.txt index e2e41882..efcab351 100644 --- a/docs/api/examples/compute_get_projects.txt +++ b/docs/api/examples/compute_get_projects.txt @@ -14,10 +14,10 @@ X-ROUTE: /v2/compute/projects [ { "name": "test", - "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" + "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" }, { "name": "test", - "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" + "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" } ] diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt index 6e07d456..afb2ab5b 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt @@ -1,11 +1,11 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1cc0e78f-8e5f-4183-a6ec-765dd979c28b' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1cc0e78f-8e5f-4183-a6ec-765dd979c28b HTTP/1.1 HTTP/1.1 200 -CONTENT-LENGTH: 722 +CONTENT-LENGTH: 720 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -13,15 +13,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id} { "command_line": "", - "console": 5712, + "console": 5711, "console_type": "telnet", "ethernet_adapters": 2, "iourc_path": null, "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/abe9e14b-0312-4738-ada2-e43e6df5d62b", - "node_id": "abe9e14b-0312-4738-ada2-e43e6df5d62b", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/1cc0e78f-8e5f-4183-a6ec-765dd979c28b", + "node_id": "1cc0e78f-8e5f-4183-a6ec-765dd979c28b", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt deleted file mode 100644 index 24a03624..00000000 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt +++ /dev/null @@ -1,16 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs HTTP/1.1 - - - -HTTP/1.1 200 -CONTENT-LENGTH: 40 -CONTENT-TYPE: application/json -DATE: Thu, 08 Jan 2015 16:09:15 GMT -SERVER: Python/3.5 GNS3/2.0.0dev1 -X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/configs - -{ - "startup_config_content": "TEST" -} diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt index 7db7dea9..2ea95ce0 100644 --- a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5633d29-ce9c-4688-8df7-a61f78db8917' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5633d29-ce9c-4688-8df7-a61f78db8917 HTTP/1.1 @@ -19,7 +19,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5712, + "console": 5711, "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:e0:cc:00", + "mac_address": "00:dd:80:89:17:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/225d6620-d5a2-4091-a735-81c3945de0cc", - "node_id": "225d6620-d5a2-4091-a735-81c3945de0cc", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d5633d29-ce9c-4688-8df7-a61f78db8917", + "node_id": "d5633d29-ce9c-4688-8df7-a61f78db8917", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/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 a1654965..b752ecbc 100644 --- a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/138f4a6d-56e8-4e19-a419-ca3c6a1881f1' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/138f4a6d-56e8-4e19-a419-ca3c6a1881f1 HTTP/1.1 @@ -15,13 +15,13 @@ 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": 5713, + "console": 5712, "enable_remote_console": false, "headless": false, "linked_clone": false, "name": "VMTEST", "node_directory": null, - "node_id": "9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4", + "node_id": "138f4a6d-56e8-4e19-a419-ca3c6a1881f1", "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 267592f6..238b67e3 100644 --- a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8ad89b2-58c2-4a3a-9def-0fa96cf60b04' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8ad89b2-58c2-4a3a-9def-0fa96cf60b04 HTTP/1.1 @@ -13,11 +13,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} { "command_line": "", - "console": 5721, + "console": 5720, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/22b82288-8d50-4f3c-ac34-cfbf2377c88a", - "node_id": "22b82288-8d50-4f3c-ac34-cfbf2377c88a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a8ad89b2-58c2-4a3a-9def-0fa96cf60b04", + "node_id": "a8ad89b2-58c2-4a3a-9def-0fa96cf60b04", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 28e1eb2a..abcd5ed8 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/427777a3-43f9-49b3-a6e3-60ba02b04747/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/92936d82-5536-428d-b7e6-bbd5c9ec0ab0/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/427777a3-43f9-49b3-a6e3-60ba02b04747/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/92936d82-5536-428d-b7e6-bbd5c9ec0ab0/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt index b113a06c..5dae4dcd 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/c7b8e805-7d4d-4804-b64b-cc7feff207e2/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/dd08a886-f8f6-4ed1-80b5-553ddc8a738f/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/c7b8e805-7d4d-4804-b64b-cc7feff207e2/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/dd08a886-f8f6-4ed1-80b5-553ddc8a738f/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/c7b8 HTTP/1.1 200 -CONTENT-LENGTH: 147 +CONTENT-LENGTH: 145 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 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-2130/test_json4/tmp/captures/test.pcap" + "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/tmp/captures/test.pcap" } diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index e1088f31..0e145d47 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2a616825-84ef-4b37-9a00-44ab5c835626/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d92f7488-adc7-4d9f-acca-32d383be3760/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2a616825-84ef-4b37-9a00-44ab5c835626/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d92f7488-adc7-4d9f-acca-32d383be3760/adapters/0/ports/0/stop_capture HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt index 6c8c9197..3e8b6965 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodes.txt @@ -1,16 +1,16 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "210bf489-e712-471f-a1ea-00dab02a21da", "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": "efaecf66-4a0b-4420-be86-674148fa0e60", "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": "210bf489-e712-471f-a1ea-00dab02a21da", + "node_id": "efaecf66-4a0b-4420-be86-674148fa0e60", "path": "iou.bin", "startup_config_content": "hostname test" } HTTP/1.1 201 -CONTENT-LENGTH: 738 +CONTENT-LENGTH: 736 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -18,15 +18,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes { "command_line": "", - "console": 5712, + "console": 5711, "console_type": "telnet", "ethernet_adapters": 2, "iourc_path": null, "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/210bf489-e712-471f-a1ea-00dab02a21da", - "node_id": "210bf489-e712-471f-a1ea-00dab02a21da", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/efaecf66-4a0b-4420-be86-674148fa0e60", + "node_id": "efaecf66-4a0b-4420-be86-674148fa0e60", "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 1c40556a..8caf32ee 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/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/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/de14f54e-5131-458f-b573-b53e59619b56/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/de14f54e-5131-458f-b573-b53e59619b56/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "bridge0", "type": "nio_ethernet" diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt index 32868f30..65e578d7 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/cbe987db-52ef-4c41-b2c1-1de19b45f57a/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/069284e9-12eb-4be8-a244-3927bb43582e/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/cbe987db-52ef-4c41-b2c1-1de19b45f57a/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/069284e9-12eb-4be8-a244-3927bb43582e/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/cbe987d HTTP/1.1 200 -CONTENT-LENGTH: 147 +CONTENT-LENGTH: 145 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 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-2130/test_json4/tmp/captures/test.pcap" + "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/tmp/captures/test.pcap" } diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index 633e514e..d2e5aa38 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/118f3984-6955-4979-a90c-1ad548306bec/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/21919014-54d8-4231-82f9-5553642ad0e1/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/118f3984-6955-4979-a90c-1ad548306bec/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/21919014-54d8-4231-82f9-5553642ad0e1/adapters/0/ports/0/stop_capture HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt index 027b125d..f743878e 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/368fbab8-0f8c-4bfc-8522-94b3a9b863a4/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/368fbab8-0f8c-4bfc-8522-94b3a9b863a4/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt index 62b2117a..4486daf0 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt @@ -1,13 +1,13 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/192a813c-9760-47d7-aeee-17cbbddb8599/start' -d '{"iourc_content": "test"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c186f0ad-0337-4e59-bad9-7489f7724fb3/start' -d '{"iourc_content": "test"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/192a813c-9760-47d7-aeee-17cbbddb8599/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c186f0ad-0337-4e59-bad9-7489f7724fb3/start HTTP/1.1 { "iourc_content": "test" } HTTP/1.1 200 -CONTENT-LENGTH: 786 +CONTENT-LENGTH: 784 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -15,15 +15,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start { "command_line": "", - "console": 5712, + "console": 5711, "console_type": "telnet", "ethernet_adapters": 2, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptd6ogj3n/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9dgxyo_f/iourc", "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/192a813c-9760-47d7-aeee-17cbbddb8599", - "node_id": "192a813c-9760-47d7-aeee-17cbbddb8599", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/c186f0ad-0337-4e59-bad9-7489f7724fb3", + "node_id": "c186f0ad-0337-4e59-bad9-7489f7724fb3", "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 62a0b2df..79d1995b 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/39bca3a8-3f06-4adb-8ae5-5689905f9486/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/39bca3a8-3f06-4adb-8ae5-5689905f9486/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt index b33d2fb6..46a70d14 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/tmpz_99bmcz/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/tmpysiulotp/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/tmpz_99bmcz/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/qemu-system-x86_64", "ram": 1024 } @@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5712, + "console": 5711, "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:2d:57:00", + "mac_address": "00:dd:80:4f:2e:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26d01216-7890-4814-8fb0-9b6569c32d57", - "node_id": "26d01216-7890-4814-8fb0-9b6569c32d57", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bc7d4e56-365c-4202-847e-6ed106b74f2e", + "node_id": "bc7d4e56-365c-4202-847e-6ed106b74f2e", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/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 5a1c11c4..a65118df 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/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/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/b4805a2e-88eb-4c42-ae4c-fd2648481e6c/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b4805a2e-88eb-4c42-ae4c-fd2648481e6c/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "eth0", "type": "nio_ethernet" diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt index 23104fb9..9f6f063e 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/faf4b8ca-b06e-4a9d-865c-a19dffbecfbb/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/faf4b8ca-b06e-4a9d-865c-a19dffbecfbb/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt index dca62586..5bab193a 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5be88c0-9daa-4ec5-af19-794279a2ab74/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5be88c0-9daa-4ec5-af19-794279a2ab74/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt index 094466e2..c8c8c374 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a08a9122-a95c-4a89-b186-c1bd2aedd631/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a08a9122-a95c-4a89-b186-c1bd2aedd631/start HTTP/1.1 {} @@ -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": 5712, + "console": 5711, "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:ba:ae:00", + "mac_address": "00:dd:80:d6:31:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9422a573-a665-45e9-b7b6-be7b0d62baae", - "node_id": "9422a573-a665-45e9-b7b6-be7b0d62baae", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/a08a9122-a95c-4a89-b186-c1bd2aedd631", + "node_id": "a08a9122-a95c-4a89-b186-c1bd2aedd631", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/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 a1a64aac..2784ee1f 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/006d3535-840b-44e3-8506-eddb110564bc/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/006d3535-840b-44e3-8506-eddb110564bc/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt index c57fdbfc..2179a297 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee874901-5d79-4faa-affe-05db857ecc8d/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee874901-5d79-4faa-affe-05db857ecc8d/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt index eebfbaaf..37383182 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt @@ -19,13 +19,13 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes "acpi_shutdown": false, "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", "adapters": 0, - "console": 5712, + "console": 5711, "enable_remote_console": false, "headless": false, "linked_clone": false, "name": "VM1", "node_directory": null, - "node_id": "512763bf-c13f-4bb2-b8c0-ab7a2f22e897", + "node_id": "76c2367e-e886-4787-bf13-0013afee2752", "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 a112d76f..03159892 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/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/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/39f94b38-dd28-4c26-9239-d1171001dcea/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/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39f94b38-dd28-4c26-9239-d1171001dcea/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt index d860c839..7f71650b 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/05cf9641-d762-45c5-ae74-d3611d40bf79/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/05cf9641-d762-45c5-ae74-d3611d40bf79/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt index 0bd69643..11ca5e65 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b7bb3fc0-cf2d-4249-b145-d2b299b55034/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b7bb3fc0-cf2d-4249-b145-d2b299b55034/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt index ea405b2d..e2fe1c9a 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5eb371f-7ffd-459e-930f-010d75ef0df3/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5eb371f-7ffd-459e-930f-010d75ef0df3/start HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt index 77a268f2..b6ff8f61 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d701eaa-6a38-40eb-83ed-4bfb9822093e/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d701eaa-6a38-40eb-83ed-4bfb9822093e/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt index 9ee8e585..28933517 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/029533b2-c003-4d07-aac6-72d448734736/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/029533b2-c003-4d07-aac6-72d448734736/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt index 97e3bb1f..f4f8620c 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt @@ -15,11 +15,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes { "command_line": "", - "console": 5721, + "console": 5720, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a6cddbfc-1066-4173-a26c-ebd43555200a", - "node_id": "a6cddbfc-1066-4173-a26c-ebd43555200a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/fa1a7eb2-88ad-4ef1-bd68-ca56cca882f8", + "node_id": "fa1a7eb2-88ad-4ef1-bd68-ca56cca882f8", "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 ac53ee70..9a95f5cc 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/be53ce7b-8656-410f-ba66-28ac2d48cffd/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/c5268754-4060-448d-aa6c-4d4c10af2682/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/be53ce7b-8656-410f-ba66-28ac2d48cffd/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c5268754-4060-448d-aa6c-4d4c10af2682/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt index d613d66e..5859c651 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/543d58a9-65f9-4f0e-9982-e5925db2a402/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/543d58a9-65f9-4f0e-9982-e5925db2a402/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt index 0ace6786..177cdeaf 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0fd5308e-4894-434b-b72b-f6fef405092d/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0fd5308e-4894-434b-b72b-f6fef405092d/start HTTP/1.1 {} @@ -13,11 +13,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start { "command_line": "", - "console": 5721, + "console": 5720, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/95e9559a-8b3c-4aba-b63a-df643bc7971a", - "node_id": "95e9559a-8b3c-4aba-b63a-df643bc7971a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/0fd5308e-4894-434b-b72b-f6fef405092d", + "node_id": "0fd5308e-4894-434b-b72b-f6fef405092d", "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 a079a1ee..3ad140b0 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/99160adf-5437-42b0-8444-9af17e9e21d6/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/99160adf-5437-42b0-8444-9af17e9e21d6/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_put_projectsprojectid.txt b/docs/api/examples/compute_put_projectsprojectid.txt index 912dd27f..b37c708d 100644 --- a/docs/api/examples/compute_put_projectsprojectid.txt +++ b/docs/api/examples/compute_put_projectsprojectid.txt @@ -1,9 +1,9 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_update_path_project_non_l0"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_update_path_project_non_l0"}' PUT /v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b HTTP/1.1 { "name": "second_name", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_update_path_project_non_l0" + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_update_path_project_non_l0" } diff --git a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt index 4378867e..3ebff1df 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/db2eb53d-cc7c-42a0-ba95-f819ba66c589' -d '{"console": 5714, "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/88891d34-4227-4d66-a4ab-b7af183df673' -d '{"console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb53d-cc7c-42a0-ba95-f819ba66c589 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/88891d34-4227-4d66-a4ab-b7af183df673 HTTP/1.1 { - "console": 5714, + "console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes" @@ -10,7 +10,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb HTTP/1.1 200 -CONTENT-LENGTH: 655 +CONTENT-LENGTH: 653 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id} { "adapters": 2, - "aux": 5713, - "console": 5714, + "aux": 5712, + "console": 5713, "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-2130/test_json4/project-files/docker/db2eb53d-cc7c-42a0-ba95-f819ba66c589", - "node_id": "db2eb53d-cc7c-42a0-ba95-f819ba66c589", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/docker/88891d34-4227-4d66-a4ab-b7af183df673", + "node_id": "88891d34-4227-4d66-a4ab-b7af183df673", "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 50c181fb..f2da274a 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/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae' -d '{"console": 5713, "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/2284ee92-6faf-4eef-8469-e4449c2163d6' -d '{"console": 5712, "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/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2284ee92-6faf-4eef-8469-e4449c2163d6 HTTP/1.1 { - "console": 5713, + "console": 5712, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, @@ -16,7 +16,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9cd0b496 HTTP/1.1 200 -CONTENT-LENGTH: 797 +CONTENT-LENGTH: 795 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -24,15 +24,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id} { "command_line": "", - "console": 5713, + "console": 5712, "console_type": "telnet", "ethernet_adapters": 4, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkd3orias/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpurz_vwy8/iourc", "l1_keepalives": true, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "test", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae", - "node_id": "9cd0b496-0f36-4b2b-a950-b5fc75ea12ae", + "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/2284ee92-6faf-4eef-8469-e4449c2163d6", + "node_id": "2284ee92-6faf-4eef-8469-e4449c2163d6", "nvram": 2048, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt index 3434e44e..990d6ade 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/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a' -d '{"console": 5713, "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/d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9 HTTP/1.1 { - "console": 5713, + "console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024 @@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "cdrom_image": "", "cdrom_image_md5sum": null, "command_line": "", - "console": 5713, + "console": 5712, "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:fd:0a:00", + "mac_address": "00:dd:80:44:a9:00", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a", - "node_id": "dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9", + "node_id": "d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/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 d083d909..f63c4989 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/f0763054-c2af-4ca4-a400-ae701b534653' -d '{"console": 5722, "name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/51520b2b-ec87-4fc2-993f-55b7906cc620' -d '{"console": 5721, "name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0763054-c2af-4ca4-a400-ae701b534653 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/51520b2b-ec87-4fc2-993f-55b7906cc620 HTTP/1.1 { - "console": 5722, + "console": 5721, "name": "test" } @@ -18,13 +18,13 @@ 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": 5722, + "console": 5721, "enable_remote_console": false, "headless": false, "linked_clone": false, "name": "test", "node_directory": null, - "node_id": "f0763054-c2af-4ca4-a400-ae701b534653", + "node_id": "51520b2b-ec87-4fc2-993f-55b7906cc620", "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 bf4d7941..667ca53f 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/d741e315-806f-4849-ba3c-81f224501d94' -d '{"console": 5723, "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/e9189e9d-f799-489d-9dc0-5fe7921cef82' -d '{"console": 5722, "name": "test", "startup_script": "ip 192.168.1.1"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d741e315-806f-4849-ba3c-81f224501d94 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e9189e9d-f799-489d-9dc0-5fe7921cef82 HTTP/1.1 { - "console": 5723, + "console": 5722, "name": "test", "startup_script": "ip 192.168.1.1" } @@ -17,11 +17,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} { "command_line": "", - "console": 5723, + "console": 5722, "console_type": "telnet", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d741e315-806f-4849-ba3c-81f224501d94", - "node_id": "d741e315-806f-4849-ba3c-81f224501d94", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e9189e9d-f799-489d-9dc0-5fe7921cef82", + "node_id": "e9189e9d-f799-489d-9dc0-5fe7921cef82", "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_projectsprojectid.txt b/docs/api/examples/controller_delete_projectsprojectid.txt index efda8ba2..69987040 100644 --- a/docs/api/examples/controller_delete_projectsprojectid.txt +++ b/docs/api/examples/controller_delete_projectsprojectid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9' +curl -i -X DELETE 'http://localhost:3080/v2/projects/6e5a4f20-02c2-4577-9443-08a36f761048' -DELETE /v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9 HTTP/1.1 +DELETE /v2/projects/6e5a4f20-02c2-4577-9443-08a36f761048 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt index 215a6be4..47fec365 100644 --- a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt +++ b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514' +curl -i -X DELETE 'http://localhost:3080/v2/projects/2c27794e-287e-489a-b4b8-0d58780088dd/drawings/cc8650a6-06cc-4ae2-a68f-67ba8a4dbced' -DELETE /v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514 HTTP/1.1 +DELETE /v2/projects/2c27794e-287e-489a-b4b8-0d58780088dd/drawings/cc8650a6-06cc-4ae2-a68f-67ba8a4dbced HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt index 952c9eea..8fb4d475 100644 --- a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d' +curl -i -X DELETE 'http://localhost:3080/v2/projects/78c7348f-eb8d-4fbb-a407-8a7dfd4161a0/links/36dc6f8d-c5e3-4b89-b356-0d10ccfbd313' -DELETE /v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d HTTP/1.1 +DELETE /v2/projects/78c7348f-eb8d-4fbb-a407-8a7dfd4161a0/links/36dc6f8d-c5e3-4b89-b356-0d10ccfbd313 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt index c43002b1..82ab6117 100644 --- a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b' +curl -i -X DELETE 'http://localhost:3080/v2/projects/98a9042c-e068-469c-bdbf-73f7d9358ec9/nodes/c838cd10-6930-4306-9a3b-7318563de413' -DELETE /v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b HTTP/1.1 +DELETE /v2/projects/98a9042c-e068-469c-bdbf-73f7d9358ec9/nodes/c838cd10-6930-4306-9a3b-7318563de413 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt index 9d767c68..b18d59b9 100644 --- a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4' +curl -i -X DELETE 'http://localhost:3080/v2/projects/56a6146a-721a-4062-8d86-bb1bd0dcd1af/snapshots/4d5a39b3-4e32-48e2-abf0-9fc8a20de7b7' -DELETE /v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4 HTTP/1.1 +DELETE /v2/projects/56a6146a-721a-4062-8d86-bb1bd0dcd1af/snapshots/4d5a39b3-4e32-48e2-abf0-9fc8a20de7b7 HTTP/1.1 diff --git a/docs/api/examples/controller_get_projects.txt b/docs/api/examples/controller_get_projects.txt index 35a3b1e6..73132c65 100644 --- a/docs/api/examples/controller_get_projects.txt +++ b/docs/api/examples/controller_get_projects.txt @@ -5,7 +5,7 @@ GET /v2/projects HTTP/1.1 HTTP/1.1 200 -CONTENT-LENGTH: 286 +CONTENT-LENGTH: 284 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects { "filename": "test.gns3", "name": "test", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_list_projects1", + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_list_projects1", "project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f", "status": "opened" } diff --git a/docs/api/examples/controller_get_projectsprojectid.txt b/docs/api/examples/controller_get_projectsprojectid.txt index 716f5c9b..e4107e74 100644 --- a/docs/api/examples/controller_get_projectsprojectid.txt +++ b/docs/api/examples/controller_get_projectsprojectid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/846403f5-9793-4576-b910-5fdd65838169' +curl -i -X GET 'http://localhost:3080/v2/projects/3a2b5f84-6aba-4125-a044-0c925f727547' -GET /v2/projects/846403f5-9793-4576-b910-5fdd65838169 HTTP/1.1 +GET /v2/projects/3a2b5f84-6aba-4125-a044-0c925f727547 HTTP/1.1 @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id} { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9nuqdhub/projects/846403f5-9793-4576-b910-5fdd65838169", - "project_id": "846403f5-9793-4576-b910-5fdd65838169", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpoxbcislw/projects/3a2b5f84-6aba-4125-a044-0c925f727547", + "project_id": "3a2b5f84-6aba-4125-a044-0c925f727547", "status": "opened" } diff --git a/docs/api/examples/controller_get_projectsprojectiddrawings.txt b/docs/api/examples/controller_get_projectsprojectiddrawings.txt index b0628388..49d6d9e5 100644 --- a/docs/api/examples/controller_get_projectsprojectiddrawings.txt +++ b/docs/api/examples/controller_get_projectsprojectiddrawings.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings' +curl -i -X GET 'http://localhost:3080/v2/projects/ac9ddc94-514a-4517-821e-39e7c958591b/drawings' -GET /v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings HTTP/1.1 +GET /v2/projects/ac9ddc94-514a-4517-821e-39e7c958591b/drawings HTTP/1.1 @@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings [ { - "drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4", - "project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23", + "drawing_id": "b717be1b-f3a8-4d7f-8b0f-c64c790f764c", + "project_id": "ac9ddc94-514a-4517-821e-39e7c958591b", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt index 24cf5801..8ec6da3e 100644 --- a/docs/api/examples/controller_get_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_get_projectsprojectidlinks.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links' +curl -i -X GET 'http://localhost:3080/v2/projects/ff74612a-3716-4a1b-94e3-611cfec47404/links' -GET /v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links HTTP/1.1 +GET /v2/projects/ff74612a-3716-4a1b-94e3-611cfec47404/links HTTP/1.1 @@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/{project_id}/links "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "c5df007d-4eef-4892-966f-4f2b142f1851", + "link_id": "e1904198-89c6-4e40-98e9-dee68a74314f", "nodes": [ { "adapter_number": 0, @@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4", + "node_id": "0295bcda-195e-49ec-8e09-d5cda9537656", "port_number": 3 }, { @@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "617d046f-1cca-4555-9237-cff43ef9966d", + "node_id": "3edda52d-d1e9-457e-adb0-b96cc431191c", "port_number": 4 } ], - "project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd" + "project_id": "ff74612a-3716-4a1b-94e3-611cfec47404" } ] diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt index d201c51f..557981eb 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodes.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodes.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes' +curl -i -X GET 'http://localhost:3080/v2/projects/fbe2b2ae-c040-41b4-83b8-3f342a1644fc/nodes' -GET /v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes HTTP/1.1 +GET /v2/projects/fbe2b2ae-c040-41b4-83b8-3f342a1644fc/nodes HTTP/1.1 @@ -28,9 +28,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "ba637508-65c3-49c4-ae13-a67a82df2448", + "node_id": "5eb6752d-e2d1-41e3-9267-2b501086f499", "node_type": "vpcs", - "project_id": "8cba891e-5cf2-4b59-8838-4967e7eac69f", + "project_id": "fbe2b2ae-c040-41b4-83b8-3f342a1644fc", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt index a708972f..ee21c46e 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc' +curl -i -X GET 'http://localhost:3080/v2/projects/652e8a52-a4f2-4d7a-8282-9a705a8e7ff3/nodes/6f1375d0-4a33-4e45-8cc5-2ba9cae479d1/dynamips/auto_idlepc' -GET /v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc HTTP/1.1 +GET /v2/projects/652e8a52-a4f2-4d7a-8282-9a705a8e7ff3/nodes/6f1375d0-4a33-4e45-8cc5-2ba9cae479d1/dynamips/auto_idlepc HTTP/1.1 diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt index 53bd4ce2..b9a2e725 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals' +curl -i -X GET 'http://localhost:3080/v2/projects/92597fc5-7c1a-44a6-8b62-62b55dc350e2/nodes/f2b03514-8111-4cdd-b3e0-91a3c59bd360/dynamips/idlepc_proposals' -GET /v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals HTTP/1.1 +GET /v2/projects/92597fc5-7c1a-44a6-8b62-62b55dc350e2/nodes/f2b03514-8111-4cdd-b3e0-91a3c59bd360/dynamips/idlepc_proposals HTTP/1.1 diff --git a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt index a2504c49..7bb50cc7 100644 --- a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt +++ b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots' +curl -i -X GET 'http://localhost:3080/v2/projects/3fb5988c-2390-44c4-a150-f595a2e215e6/snapshots' -GET /v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots HTTP/1.1 +GET /v2/projects/3fb5988c-2390-44c4-a150-f595a2e215e6/snapshots HTTP/1.1 @@ -13,9 +13,9 @@ X-ROUTE: /v2/projects/{project_id}/snapshots [ { - "created_at": 1469555807, + "created_at": 1471255682, "name": "test", - "project_id": "e02658a1-003e-4f81-981f-db262d96ef35", - "snapshot_id": "58ffc7e0-a59a-45db-ba7a-965e796fbfcd" + "project_id": "3fb5988c-2390-44c4-a150-f595a2e215e6", + "snapshot_id": "26c7190c-1a66-43f1-9799-9c11e6a65cf3" } ] diff --git a/docs/api/examples/controller_post_projects.txt b/docs/api/examples/controller_post_projects.txt index b2e5d2c5..1b2c4ec1 100644 --- a/docs/api/examples/controller_post_projects.txt +++ b/docs/api/examples/controller_post_projects.txt @@ -17,7 +17,7 @@ X-ROUTE: /v2/projects { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpktyus5u7/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeq5e2r05/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsload.txt b/docs/api/examples/controller_post_projectsload.txt index f55a6c40..9f1f75f6 100644 --- a/docs/api/examples/controller_post_projectsload.txt +++ b/docs/api/examples/controller_post_projectsload.txt @@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/load { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgt2csn5i/projects/f9a1163f-275f-4dfa-8001-5c01f9603c3c", - "project_id": "f9a1163f-275f-4dfa-8001-5c01f9603c3c", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmp466im_/projects/b57f5cb1-7161-4551-b042-7c5bcc239efe", + "project_id": "b57f5cb1-7161-4551-b042-7c5bcc239efe", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index 3e951ef7..e89314a0 100644 --- a/docs/api/examples/controller_post_projectsprojectidclose.txt +++ b/docs/api/examples/controller_post_projectsprojectidclose.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/d55aceb2-642f-4ef9-9d77-6b021edf1908/close' -d '{}' -POST /v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close HTTP/1.1 +POST /v2/projects/d55aceb2-642f-4ef9-9d77-6b021edf1908/close HTTP/1.1 {} @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/close { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpthw6lftl/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd", - "project_id": "8eabcff1-9b80-423e-b49f-c5389b3618bd", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz6d89io2/projects/d55aceb2-642f-4ef9-9d77-6b021edf1908", + "project_id": "d55aceb2-642f-4ef9-9d77-6b021edf1908", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectiddrawings.txt b/docs/api/examples/controller_post_projectsprojectiddrawings.txt index 4b815e1f..63db14dd 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/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/e7feced6-2e32-48f9-91e5-3ca6e091ffbd/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' -POST /v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings HTTP/1.1 +POST /v2/projects/e7feced6-2e32-48f9-91e5-3ca6e091ffbd/drawings HTTP/1.1 { "svg": "", "x": 10, @@ -17,8 +17,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/drawings { - "drawing_id": "63d8eb18-ed0d-4618-b199-4c62f32c23b1", - "project_id": "4636cb3b-b312-4e43-bfae-1c37ed9c447f", + "drawing_id": "ae38897a-9fcf-461b-aff0-20647d32b07f", + "project_id": "e7feced6-2e32-48f9-91e5-3ca6e091ffbd", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_post_projectsprojectidduplicate.txt b/docs/api/examples/controller_post_projectsprojectidduplicate.txt index 8285446b..eef8baa9 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/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate' -d '{"name": "hello"}' +curl -i -X POST 'http://localhost:3080/v2/projects/7b0df311-f239-4e48-a1f5-21f7638f9588/duplicate' -d '{"name": "hello"}' -POST /v2/projects/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate HTTP/1.1 +POST /v2/projects/7b0df311-f239-4e48-a1f5-21f7638f9588/duplicate HTTP/1.1 { "name": "hello" } @@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/{project_id}/duplicate { "filename": "hello.gns3", "name": "hello", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp52tlx0r1/projects/hello", - "project_id": "8a9fb1ed-dcc1-4090-b12e-9ce7364063d7", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmzo55377/projects/hello", + "project_id": "e34dd634-015e-4e8b-8d9d-8cbf93ffdd9f", "status": "closed" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index cc01f64b..e6b1b407 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/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", "port_number": 3}, {"adapter_number": 2, "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", "port_number": 4}]}' +curl -i -X POST 'http://localhost:3080/v2/projects/89e290ee-3f68-4c3c-914d-2346298c653a/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "ca180310-9f4a-4a26-b0a7-e306dee99bf1", "port_number": 3}, {"adapter_number": 2, "node_id": "32376395-9f93-446a-8792-921b607b3d90", "port_number": 4}]}' -POST /v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links HTTP/1.1 +POST /v2/projects/89e290ee-3f68-4c3c-914d-2346298c653a/links HTTP/1.1 { "nodes": [ { @@ -10,12 +10,12 @@ POST /v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links HTTP/1.1 "x": 42, "y": 0 }, - "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", + "node_id": "ca180310-9f4a-4a26-b0a7-e306dee99bf1", "port_number": 3 }, { "adapter_number": 2, - "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", + "node_id": "32376395-9f93-446a-8792-921b607b3d90", "port_number": 4 } ] @@ -33,7 +33,7 @@ X-ROUTE: /v2/projects/{project_id}/links "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "99885af4-208a-4911-be1d-dfcaf1ef0bd0", + "link_id": "ebeaf698-0187-45c8-9db0-f467a7b324be", "nodes": [ { "adapter_number": 0, @@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links "x": 42, "y": 0 }, - "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", + "node_id": "ca180310-9f4a-4a26-b0a7-e306dee99bf1", "port_number": 3 }, { @@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", + "node_id": "32376395-9f93-446a-8792-921b607b3d90", "port_number": 4 } ], - "project_id": "6b98809b-cc4d-4cc8-b865-8913c8f3bae5" + "project_id": "89e290ee-3f68-4c3c-914d-2346298c653a" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt index b6257231..9b4d00a0 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/e074e529-3775-414e-8453-ff8d2a974d4b/links/6f4467d9-bbb0-4d0a-9ccf-287dd524b21c/start_capture' -d '{}' -POST /v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture HTTP/1.1 +POST /v2/projects/e074e529-3775-414e-8453-ff8d2a974d4b/links/6f4467d9-bbb0-4d0a-9ccf-287dd524b21c/start_capture HTTP/1.1 {} @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/start_capture "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "0627d444-37f7-45e4-9cec-52a48f276691", + "link_id": "6f4467d9-bbb0-4d0a-9ccf-287dd524b21c", "nodes": [], - "project_id": "ce362c30-2afb-461c-9d15-653b109839ad" + "project_id": "e074e529-3775-414e-8453-ff8d2a974d4b" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt index e18a69fb..7d9f2b39 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/dd8bfb20-515c-4d38-b850-3315d3291bbe/links/313657f9-b4eb-4e2a-b6b3-0eb51eeb4657/stop_capture' -d '{}' -POST /v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture HTTP/1.1 +POST /v2/projects/dd8bfb20-515c-4d38-b850-3315d3291bbe/links/313657f9-b4eb-4e2a-b6b3-0eb51eeb4657/stop_capture HTTP/1.1 {} @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/stop_capture "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "0ee892d2-92e8-4063-8be4-a7c6483bcaca", + "link_id": "313657f9-b4eb-4e2a-b6b3-0eb51eeb4657", "nodes": [], - "project_id": "a6eb0c0f-f374-424b-b3e0-a03506973774" + "project_id": "dd8bfb20-515c-4d38-b850-3315d3291bbe" } diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt index ed12c031..f96923a1 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/dc47676e-c750-4f0b-9c16-f77d138567c9/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/4e42ea2c-8fa2-4382-8115-5ff0caba1ee3/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -POST /v2/projects/dc47676e-c750-4f0b-9c16-f77d138567c9/nodes HTTP/1.1 +POST /v2/projects/4e42ea2c-8fa2-4382-8115-5ff0caba1ee3/nodes HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -34,9 +34,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "23d30a86-685d-4a69-81f6-2629a2501dfa", + "node_id": "85d7395f-9138-45f1-9176-ad5540b26446", "node_type": "vpcs", - "project_id": "dc47676e-c750-4f0b-9c16-f77d138567c9", + "project_id": "4e42ea2c-8fa2-4382-8115-5ff0caba1ee3", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt index e53d1e68..ef666bbc 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/b545f5da-3277-47dc-82a3-b17aa13e4d89/nodes/9c10b9f2-cc01-4876-b16d-ae5e086e903a/reload' -d '{}' -POST /v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload HTTP/1.1 +POST /v2/projects/b545f5da-3277-47dc-82a3-b17aa13e4d89/nodes/9c10b9f2-cc01-4876-b16d-ae5e086e903a/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt index 4662bccf..551c4db8 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/97cebf07-e289-43a3-8b53-92c48eaddb52/nodes/a400e342-2860-4f7b-8263-023ba6455817/start' -d '{}' -POST /v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start HTTP/1.1 +POST /v2/projects/97cebf07-e289-43a3-8b53-92c48eaddb52/nodes/a400e342-2860-4f7b-8263-023ba6455817/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt index 58348ca8..2338cd3c 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/aa160196-8910-45f1-826a-abd9b889c4ce/nodes/a5ce2eae-228c-48dd-9876-826727d3aba7/stop' -d '{}' -POST /v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop HTTP/1.1 +POST /v2/projects/aa160196-8910-45f1-826a-abd9b889c4ce/nodes/a5ce2eae-228c-48dd-9876-826727d3aba7/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt index b2955e3a..3f83550d 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/626707c3-1edd-4639-b588-6b8f426308a1/nodes/2bacf7aa-a309-498c-872a-3c866936dd0e/suspend' -d '{}' -POST /v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend HTTP/1.1 +POST /v2/projects/626707c3-1edd-4639-b588-6b8f426308a1/nodes/2bacf7aa-a309-498c-872a-3c866936dd0e/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt index 3839d1f2..afe37cf4 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/efad62d4-0bd1-46a8-b07d-5e8dda367b0c/nodes/reload' -d '{}' -POST /v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload HTTP/1.1 +POST /v2/projects/efad62d4-0bd1-46a8-b07d-5e8dda367b0c/nodes/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt index 00618d33..63cc0e16 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/62a84209-94af-411c-8480-f8350acb6568/nodes/start' -d '{}' -POST /v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start HTTP/1.1 +POST /v2/projects/62a84209-94af-411c-8480-f8350acb6568/nodes/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt index 1753f90f..e2685bee 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/0b0a8e44-e6e0-4376-a13d-1817aee278be/nodes/stop' -d '{}' -POST /v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop HTTP/1.1 +POST /v2/projects/0b0a8e44-e6e0-4376-a13d-1817aee278be/nodes/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt index 3721e4c0..836195f0 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/3f2ef189-c551-4998-878d-5bb81a00d6c8/nodes/suspend' -d '{}' -POST /v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend HTTP/1.1 +POST /v2/projects/3f2ef189-c551-4998-878d-5bb81a00d6c8/nodes/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidopen.txt b/docs/api/examples/controller_post_projectsprojectidopen.txt index 90e842fe..edf8f605 100644 --- a/docs/api/examples/controller_post_projectsprojectidopen.txt +++ b/docs/api/examples/controller_post_projectsprojectidopen.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/afd371b6-552c-4a5f-af95-3d84e5124e5c/open' -d '{}' -POST /v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open HTTP/1.1 +POST /v2/projects/afd371b6-552c-4a5f-af95-3d84e5124e5c/open HTTP/1.1 {} @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/open { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6dp3nxma/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1", - "project_id": "63bc1a63-1959-4bd6-b7d0-db36f61e8db1", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpueqnywu8/projects/afd371b6-552c-4a5f-af95-3d84e5124e5c", + "project_id": "afd371b6-552c-4a5f-af95-3d84e5124e5c", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt index 71788d54..65188b11 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/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots' -d '{"name": "snap1"}' +curl -i -X POST 'http://localhost:3080/v2/projects/40536e06-c138-4cb1-8202-ae562227bfc3/snapshots' -d '{"name": "snap1"}' -POST /v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots HTTP/1.1 +POST /v2/projects/40536e06-c138-4cb1-8202-ae562227bfc3/snapshots HTTP/1.1 { "name": "snap1" } @@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/snapshots { - "created_at": 1469555808, + "created_at": 1471255682, "name": "snap1", - "project_id": "bf4b231b-77a0-415d-b6fe-729b651e2d5b", - "snapshot_id": "34fa5834-b012-4098-a972-08fbb34a3b5e" + "project_id": "40536e06-c138-4cb1-8202-ae562227bfc3", + "snapshot_id": "74e0d54a-84c5-4cda-99ee-86acb1f6dcca" } diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt index 5334afd6..982cd8ee 100644 --- a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt +++ b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4/snapshots/37665774-a772-4b41-bd7c-c56b29c0da60/restore' -d '{}' -POST /v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore HTTP/1.1 +POST /v2/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4/snapshots/37665774-a772-4b41-bd7c-c56b29c0da60/restore HTTP/1.1 {} @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpisnyewwx/projects/a8fe0312-be74-4ff1-9107-596ed58393e6", - "project_id": "a8fe0312-be74-4ff1-9107-596ed58393e6", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmph58tcopa/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4", + "project_id": "9ec22e91-7e4d-4537-83a5-c9e783c5cfe4", "status": "opened" } diff --git a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt index a499c46d..1df8966f 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/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf' -d '{"x": 42}' +curl -i -X PUT 'http://localhost:3080/v2/projects/9acee488-d70d-461c-aaa8-7ec372fe8da1/drawings/8e03860f-98bc-4325-9908-83aa773229bd' -d '{"x": 42}' -PUT /v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf HTTP/1.1 +PUT /v2/projects/9acee488-d70d-461c-aaa8-7ec372fe8da1/drawings/8e03860f-98bc-4325-9908-83aa773229bd HTTP/1.1 { "x": 42 } @@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/drawings/{drawing_id} { - "drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf", - "project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c", + "drawing_id": "8e03860f-98bc-4325-9908-83aa773229bd", + "project_id": "9acee488-d70d-461c-aaa8-7ec372fe8da1", "rotation": 0, "svg": "", "x": 42, diff --git a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt index 264909df..7d5d680d 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/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +curl -i -X PUT 'http://localhost:3080/v2/projects/325eb479-c038-4ab3-8fbc-df2195ea8ac9/nodes/9f6d26de-6d57-42cf-88fe-abd956544813' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -PUT /v2/projects/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b HTTP/1.1 +PUT /v2/projects/325eb479-c038-4ab3-8fbc-df2195ea8ac9/nodes/9f6d26de-6d57-42cf-88fe-abd956544813 HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -34,9 +34,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id} }, "name": "test", "node_directory": null, - "node_id": "15c3c722-70b2-403b-a3bc-e5cc8993d34b", + "node_id": "9f6d26de-6d57-42cf-88fe-abd956544813", "node_type": "vpcs", - "project_id": "ed3bb733-eef4-4018-965d-fedb73222398", + "project_id": "325eb479-c038-4ab3-8fbc-df2195ea8ac9", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/drawing.created.json b/docs/api/notifications/drawing.created.json index ccd7b2f2..a4f96712 100644 --- a/docs/api/notifications/drawing.created.json +++ b/docs/api/notifications/drawing.created.json @@ -1,6 +1,6 @@ { - "drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4", - "project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23", + "drawing_id": "b717be1b-f3a8-4d7f-8b0f-c64c790f764c", + "project_id": "ac9ddc94-514a-4517-821e-39e7c958591b", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/notifications/drawing.deleted.json b/docs/api/notifications/drawing.deleted.json index bb26d274..cbcb15eb 100644 --- a/docs/api/notifications/drawing.deleted.json +++ b/docs/api/notifications/drawing.deleted.json @@ -1,6 +1,6 @@ { - "drawing_id": "e6f49ba0-191d-4dec-b565-24633aaac514", - "project_id": "27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2", + "drawing_id": "cc8650a6-06cc-4ae2-a68f-67ba8a4dbced", + "project_id": "2c27794e-287e-489a-b4b8-0d58780088dd", "rotation": 0, "svg": "", "x": 0, diff --git a/docs/api/notifications/drawing.updated.json b/docs/api/notifications/drawing.updated.json index f1e81ac9..b42b3ddc 100644 --- a/docs/api/notifications/drawing.updated.json +++ b/docs/api/notifications/drawing.updated.json @@ -1,6 +1,6 @@ { - "drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf", - "project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c", + "drawing_id": "8e03860f-98bc-4325-9908-83aa773229bd", + "project_id": "9acee488-d70d-461c-aaa8-7ec372fe8da1", "rotation": 0, "x": 42, "y": 20, diff --git a/docs/api/notifications/link.created.json b/docs/api/notifications/link.created.json index 679f9009..df351f43 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": "c5df007d-4eef-4892-966f-4f2b142f1851", + "link_id": "e1904198-89c6-4e40-98e9-dee68a74314f", "nodes": [ { "adapter_number": 0, @@ -13,7 +13,7 @@ "x": -10, "y": -10 }, - "node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4", + "node_id": "0295bcda-195e-49ec-8e09-d5cda9537656", "port_number": 3 }, { @@ -25,9 +25,9 @@ "x": -10, "y": -10 }, - "node_id": "617d046f-1cca-4555-9237-cff43ef9966d", + "node_id": "3edda52d-d1e9-457e-adb0-b96cc431191c", "port_number": 4 } ], - "project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd" + "project_id": "ff74612a-3716-4a1b-94e3-611cfec47404" } \ No newline at end of file diff --git a/docs/api/notifications/link.deleted.json b/docs/api/notifications/link.deleted.json index cb49b24e..733445e6 100644 --- a/docs/api/notifications/link.deleted.json +++ b/docs/api/notifications/link.deleted.json @@ -2,7 +2,7 @@ "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "fba7ca91-0ead-4d87-b5b3-dd774553c02d", + "link_id": "36dc6f8d-c5e3-4b89-b356-0d10ccfbd313", "nodes": [], - "project_id": "0cee12de-d97f-46d4-8524-ded4ac09c2ee" + "project_id": "78c7348f-eb8d-4fbb-a407-8a7dfd4161a0" } \ No newline at end of file diff --git a/docs/api/notifications/link.updated.json b/docs/api/notifications/link.updated.json index 18306e3f..3632644a 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": "cb1581f0-85da-48e7-a2a1-f12667dc7a0a", + "link_id": "d6bd065b-ce1e-42e4-83ac-ee156bc8ffc8", "nodes": [ { "adapter_number": 0, @@ -11,7 +11,7 @@ "x": 64, "y": 0 }, - "node_id": "97b1f87f-43ae-4291-92b7-07df575214a5", + "node_id": "b16d98dd-5931-489a-adab-e0bb0c76bac8", "port_number": 3 }, { @@ -23,9 +23,9 @@ "x": -10, "y": -10 }, - "node_id": "e0fa8c63-4afc-4405-ab47-d7532ad06ada", + "node_id": "4d7deda6-218c-4aa2-919e-3f0e45eeab3d", "port_number": 4 } ], - "project_id": "472c6197-1b52-472c-b1db-027e76bdda56" + "project_id": "e275a44e-0981-46eb-89a8-969f2304c5e0" } \ No newline at end of file diff --git a/docs/api/notifications/node.deleted.json b/docs/api/notifications/node.deleted.json index c8364d9e..b5764850 100644 --- a/docs/api/notifications/node.deleted.json +++ b/docs/api/notifications/node.deleted.json @@ -14,9 +14,9 @@ }, "name": "test", "node_directory": null, - "node_id": "0a424518-818b-4446-bd32-dc6ee06a9c3b", + "node_id": "c838cd10-6930-4306-9a3b-7318563de413", "node_type": "vpcs", - "project_id": "15a99958-1ecb-4e3c-a6d7-b663a7525cba", + "project_id": "98a9042c-e068-469c-bdbf-73f7d9358ec9", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/node.updated.json b/docs/api/notifications/node.updated.json index 3cda0250..a99793b7 100644 --- a/docs/api/notifications/node.updated.json +++ b/docs/api/notifications/node.updated.json @@ -14,9 +14,9 @@ }, "name": "test", "node_directory": null, - "node_id": "a09b8477-f352-4d8c-ae4f-5235519cbb81", + "node_id": "32174e7e-c566-4f0b-aa4b-c9b983c02305", "node_type": "vpcs", - "project_id": "00558e56-680d-4ad4-84ba-c341687e64ea", + "project_id": "168cae40-9e3b-46fa-8954-e622068c734b", "properties": { "startup_config": "test.cfg" }, diff --git a/docs/api/notifications/project.closed.json b/docs/api/notifications/project.closed.json new file mode 100644 index 00000000..2d730ffc --- /dev/null +++ b/docs/api/notifications/project.closed.json @@ -0,0 +1,7 @@ +{ + "filename": "test.gns3", + "name": "test", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmph58tcopa/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4", + "project_id": "9ec22e91-7e4d-4537-83a5-c9e783c5cfe4", + "status": "closed" +} \ 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 06b94e3e..6ea1ccb1 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidatmswitchnodesnodeid.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst index 740fc5be..7ba756c5 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst @@ -9,8 +9,8 @@ Get an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -81,8 +81,8 @@ Delete an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **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 0a2dfad4..227fffd5 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **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,10 +27,10 @@ Remove a NIO from an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **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 590e5152..4bf42201 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidatmswitchnodesnodeidstart.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst index 121048b4..8b113ea0 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start an ATM switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst index 97de81c8..d51ff99a 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop an ATM switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst index d893d4d8..f3fb5f76 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend an ATM Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst index 630167ab..40992d7c 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst @@ -9,8 +9,8 @@ Get a cloud instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -39,8 +39,8 @@ Update a cloud instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -144,8 +144,8 @@ Delete a cloud instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ec11ac84..3ec5a74a 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a cloud instance Parameters ********** -- **node_id**: Node UUID - **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 ********************** @@ -27,10 +27,10 @@ Remove a NIO from a cloud instance Parameters ********** -- **node_id**: Node UUID - **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 5763a005..7fe06741 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a cloud instance Parameters ********** -- **node_id**: Node UUID - **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 7b91270c..af17cf73 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a cloud instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidcloudnodesnodeidstart.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst index 7332ec76..64a379fa 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a cloud Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst index 6a1070a7..06a1d80d 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a cloud Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst index 28c5de49..01641dad 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a cloud Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst index 0828a3c9..6371c4df 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst @@ -9,8 +9,8 @@ Delete a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -25,8 +25,8 @@ Update a Docker instance Parameters ********** -- **node_id**: Node UUID - **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 1374612b..0423484a 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Docker container Parameters ********** -- **node_id**: Node UUID - **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,10 +33,10 @@ Remove a NIO from a Docker container Parameters ********** -- **node_id**: Node UUID - **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 562e3b26..c9044946 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Docker container instance Parameters ********** -- **node_id**: Node UUID - **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 104d7638..1f3ef0bf 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Docker container instance Parameters ********** -- **node_id**: Node UUID - **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/docker/projectsprojectiddockernodesnodeidpause.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst index 62ea8357..6e2b1547 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst @@ -9,8 +9,8 @@ Pause a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst index 12b5d9e1..f88df489 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst @@ -9,8 +9,8 @@ Restart a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst index 073462cb..cf4c5131 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst index 88ca6b9a..f1f688d4 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst index 327ed120..281800d0 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst @@ -9,8 +9,8 @@ Unpause a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst index c7f7a768..9d3650df 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst @@ -9,8 +9,8 @@ Get a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -79,8 +79,8 @@ Update a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -202,8 +202,8 @@ Delete a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 2032664a..72fafc5a 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **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,10 +27,10 @@ Remove a NIO from a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **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 269f7b01..0a133f6c 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **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 0dce56f5..efe3932c 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectiddynamipsnodesnodeidautoidlepc.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst index 81a775f4..8e8d4f54 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst @@ -9,8 +9,8 @@ Retrieve the idlepc proposals Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst deleted file mode 100644 index 09ddcdd1..00000000 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst +++ /dev/null @@ -1,30 +0,0 @@ -/v2/compute/projects/{project_id}/dynamips/nodes/{node_id}/configs ------------------------------------------------------------------------------------------------------------------------------------------- - -.. contents:: - -GET /v2/compute/projects/**{project_id}**/dynamips/nodes/**{node_id}**/configs -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Retrieve the startup and private configs content - -Parameters -********** -- **node_id**: Node UUID -- **project_id**: Project UUID - -Response status codes -********************** -- **200**: Configs retrieved -- **400**: Invalid request -- **404**: Instance doesn't exist - -Output -******* -.. raw:: html - - - - - -
Name Mandatory Type Description
private_config_content ['string', 'null'] Content of the private configuration file
startup_config_content ['string', 'null'] Content of the startup configuration file
- diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst deleted file mode 100644 index be0bba50..00000000 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst +++ /dev/null @@ -1,20 +0,0 @@ -/v2/compute/projects/{project_id}/dynamips/nodes/{node_id}/configs/save ------------------------------------------------------------------------------------------------------------------------------------------- - -.. contents:: - -POST /v2/compute/projects/**{project_id}**/dynamips/nodes/**{node_id}**/configs/save -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Save the startup and private configs content - -Parameters -********** -- **node_id**: Node UUID -- **project_id**: Project UUID - -Response status codes -********************** -- **200**: Configs saved -- **400**: Invalid request -- **404**: Instance doesn't exist - diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst index 53d61343..c5cde1de 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst @@ -9,8 +9,8 @@ Retrieve the idlepc proposals Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst index 9ae98a06..655f3522 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst index d45ede09..53f7ef21 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst @@ -9,8 +9,8 @@ Resume a suspended Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst index de898325..0729560f 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst index c9b01c50..e09a2d31 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst index 075f3df6..ffa73f96 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst index b47b6e7f..55c25116 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst @@ -9,8 +9,8 @@ Get an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -97,8 +97,8 @@ Delete an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **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 2cd73193..ad983168 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **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,10 +27,10 @@ Remove a NIO from an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **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 898089df..3c5d2719 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **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 212f8fd3..ab8ebf39 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidethernethubnodesnodeidstart.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst index 275d9a62..04d7e9d2 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start an Ethernet hub Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst index 7a98a5dc..5ea86cc0 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop an Ethernet hub Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst index 1ee67e63..f3b3158a 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend an Ethernet hub Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst index d47bf391..f94fd64d 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst @@ -9,8 +9,8 @@ Get an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -100,8 +100,8 @@ Delete an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **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 d9c5ab31..943652cf 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **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,10 +27,10 @@ Remove a NIO from an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **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 d54991d8..4c6be111 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **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 5142526b..f86434d1 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidethernetswitchnodesnodeidstart.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst index a3d3d51d..a5b9c7a4 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start an Ethernet switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst index a5b5e5ec..6ac3a291 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop an Ethernet switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst index 89755223..8751dcc5 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend an Ethernet switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst index 245dce77..018e6d1a 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst @@ -9,8 +9,8 @@ Get a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -81,8 +81,8 @@ Delete a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **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 6b5eb998..fd380d47 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **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,10 +27,10 @@ Remove a NIO from a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **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 9b46f67f..68402f85 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **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 97c6b2a3..e23c3ff8 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidframerelayswitchnodesnodeidstart.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst index 89a7a3c9..0b1ae513 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a Frame Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst index 9d6e3273..e8f144f1 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a Frame Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst index aae9bc87..13a417da 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a Frame Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst index 337273bf..e939e427 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst @@ -9,8 +9,8 @@ Get an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -61,8 +61,8 @@ Update an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -144,8 +144,8 @@ Delete an IOU instance Parameters ********** -- **node_id**: Node UUID - **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 4864c175..7b327183 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a IOU instance Parameters ********** -- **node_id**: Node UUID - **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,10 +33,10 @@ Remove a NIO from a IOU instance Parameters ********** -- **node_id**: Node UUID - **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 d07fd2a8..63e76740 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an IOU VM instance Parameters ********** -- **node_id**: Node UUID - **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 f82dfd6a..f55aa254 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an IOU VM instance Parameters ********** -- **node_id**: Node UUID - **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/iou/projectsprojectidiounodesnodeidconfigs.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst deleted file mode 100644 index 3fb62188..00000000 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst +++ /dev/null @@ -1,36 +0,0 @@ -/v2/compute/projects/{project_id}/iou/nodes/{node_id}/configs ------------------------------------------------------------------------------------------------------------------------------------------- - -.. contents:: - -GET /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}**/configs -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Retrieve the startup and private configs content - -Parameters -********** -- **node_id**: Node UUID -- **project_id**: Project UUID - -Response status codes -********************** -- **200**: Configs retrieved -- **400**: Invalid request -- **404**: Instance doesn't exist - -Output -******* -.. raw:: html - - - - - -
Name Mandatory Type Description
private_config_content ['string', 'null'] Content of the private configuration file
startup_config_content ['string', 'null'] Content of the startup configuration file
- -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst deleted file mode 100644 index 8af1013b..00000000 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst +++ /dev/null @@ -1,20 +0,0 @@ -/v2/compute/projects/{project_id}/iou/nodes/{node_id}/configs/save ------------------------------------------------------------------------------------------------------------------------------------------- - -.. contents:: - -POST /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}**/configs/save -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Save the startup and private configs content - -Parameters -********** -- **node_id**: Node UUID -- **project_id**: Project UUID - -Response status codes -********************** -- **200**: Configs saved -- **400**: Invalid request -- **404**: Instance doesn't exist - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst index 86ada843..fcf350cd 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst index 0bcca224..57defba5 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst @@ -9,8 +9,8 @@ Start an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst index e1df8aa9..45c52663 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst index afa11ec4..4f357856 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst @@ -9,8 +9,8 @@ Get a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -80,8 +80,8 @@ Update a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -197,8 +197,8 @@ Delete a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **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 2b0cbc75..67a81f72 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **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,10 +33,10 @@ Remove a NIO from a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **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 6825f519..9da8374a 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **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 4d152760..8c2fa998 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **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/qemu/projectsprojectidqemunodesnodeidreload.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst index dff97a96..57a0c1c4 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst index b19656e5..ab5190f3 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst @@ -9,8 +9,8 @@ Resume a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst index 1cf2ac05..07abd6fa 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst index bcd612d6..e25400f6 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst index 306e3189..dd81c58d 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst index 1d78f182..33ff7a23 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst @@ -9,8 +9,8 @@ Get a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -54,8 +54,8 @@ Update a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -123,8 +123,8 @@ Delete a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **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 21cfbd6e..8bbbfea8 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **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,10 +33,10 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **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 4eeb369e..3d62c787 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **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 c8bb33db..94f70431 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidvirtualboxnodesnodeidreload.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst index ba593e10..03b5c253 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst index 50e1bba3..c3c15852 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst @@ -9,8 +9,8 @@ Resume a suspended VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst index 62ead042..999f5bca 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst index 202424dc..5f116158 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst index e1dad875..212c6ebf 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst index 4fea23d3..b5fcf5d8 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst @@ -9,8 +9,8 @@ Get a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -47,8 +47,8 @@ Update a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -108,8 +108,8 @@ Delete a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **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 8f81fe33..317cef9d 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **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,10 +27,10 @@ Remove a NIO from a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **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 9518f716..c662e206 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **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 aee682fa..f64b108c 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **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/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst index 16913e56..d3672687 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst @@ -9,8 +9,8 @@ Allocate a VMware VMnet interface on the server Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst index d63d89d9..33f5c50b 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst index 84d21d6c..ac7c95ef 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst @@ -9,8 +9,8 @@ Resume a suspended VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst index 3240f8da..d6c21dbf 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst index a260c0c8..a60da50d 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst index b2306c74..1c9a83cd 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst index 641002f8..a1b3a95d 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst @@ -9,8 +9,8 @@ Get a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -49,8 +49,8 @@ Update a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -103,8 +103,8 @@ Delete a VPCS instance Parameters ********** -- **node_id**: Node UUID - **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 b948c512..d4c6c174 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a VPCS instance Parameters ********** -- **node_id**: Node UUID - **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,10 +33,10 @@ Remove a NIO from a VPCS instance Parameters ********** -- **node_id**: Node UUID - **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 3257f84a..bf07aeba 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a VPCS instance Parameters ********** -- **node_id**: Node UUID - **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 ca093f95..f43562c8 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a VPCS instance Parameters ********** -- **node_id**: Node UUID - **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/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst index e3cc4ec9..1689078c 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst index 6f438a4f..d40a2398 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst index 280dbca1..779f0ad5 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst index d487b606..6bbb3d13 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst @@ -80,8 +80,8 @@ Delete a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst index cc04c2e5..3b74b947 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst @@ -9,8 +9,8 @@ Compute the IDLE PC for a Dynamips node Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst index e5e05092..3ee287e4 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst @@ -9,8 +9,8 @@ Compute a list of potential idle PC for a node Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst new file mode 100644 index 00000000..249f6341 --- /dev/null +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst @@ -0,0 +1,36 @@ +/v2/projects/{project_id}/nodes/{node_id}/files/{path:.+} +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +GET /v2/projects/**{project_id}**/nodes/**{node_id}**/files/**{path:.+}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Get a file in the node directory + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **400**: Invalid request +- **404**: Instance doesn't exist +- **204**: Instance reloaded + + +POST /v2/projects/**{project_id}**/nodes/**{node_id}**/files/**{path:.+}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Write a file in the node directory + +Parameters +********** +- **project_id**: Project UUID +- **node_id**: Node UUID + +Response status codes +********************** +- **400**: Invalid request +- **404**: Instance doesn't exist +- **204**: Instance reloaded + diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst index 4a1cad95..f6042bb2 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst @@ -9,8 +9,8 @@ Reload a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst index da8b3162..a43ed2cd 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst index 5d933fdf..11b00841 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst @@ -9,8 +9,8 @@ Stop a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst index cd92b436..7d9e0b6e 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst @@ -9,8 +9,8 @@ Suspend a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/gns3_file.json b/docs/gns3_file.json index f1ba3f41..37a37799 100644 --- a/docs/gns3_file.json +++ b/docs/gns3_file.json @@ -1,102 +1,47 @@ { - "type": "object", - "additionalProperties": false, - "required": [ - "project_id", - "type", - "revision", - "version", - "name", - "topology" - ], - "$schema": "http://json-schema.org/draft-04/schema#", "properties": { + "auto_start": { + "type": "boolean", + "description": "Start the topology when opened" + }, + "revision": { + "type": "integer", + "description": "Version of the .gns3 specification." + }, "type": { "enum": [ "topology" ], "description": "Type of file. It's always topology" }, - "name": { + "project_id": { + "maxLength": 36, + "minLength": 36, "type": "string", - "description": "Name of the project" + "description": "Project UUID", + "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}$" }, - "revision": { - "type": "integer", - "description": "Version of the .gns3 specification." + "version": { + "type": "string", + "description": "Version of the GNS3 software which have update the file for the last time" }, "topology": { - "type": "object", "properties": { - "drawings": { - "type": "array", - "description": "Drawings elements", - "items": { - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "x": { - "type": "integer", - "description": "X property" - }, - "z": { - "type": "integer", - "description": "Z property" - }, - "svg": { - "type": "string", - "description": "SVG content of the drawing" - }, - "drawing_id": { - "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}$", - "description": "Drawing UUID", - "maxLength": 36, - "minLength": 36 - }, - "project_id": { - "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}$", - "description": "Project UUID", - "maxLength": 36, - "minLength": 36 - }, - "y": { - "type": "integer", - "description": "Y property" - }, - "rotation": { - "type": "integer", - "maximum": 360, - "description": "Rotation of the element", - "minimum": 0 - } - }, - "description": "An drawing object", - "additionalProperties": false - } - }, "nodes": { - "type": "array", - "description": "Nodes elements", "items": { - "type": "object", - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#", "properties": { - "name": { - "type": "string", - "description": "Node name", - "minLength": 1 + "properties": { + "type": "object", + "description": "Properties specific to an emulator" }, - "console_type": { - "enum": [ - "serial", - "vnc", - "telnet", - null + "console": { + "type": [ + "integer", + "null" ], - "description": "Console type" + "description": "Console TCP port", + "maximum": 65535, + "minimum": 1 }, "node_type": { "enum": [ @@ -115,99 +60,111 @@ ], "description": "Type of node" }, - "x": { - "type": "integer", - "description": "X position of the node" - }, - "z": { - "type": "integer", - "description": "Z position of the node" - }, - "node_id": { + "symbol": { + "minLength": 1, "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}$", - "description": "Node UUID", + "description": "Symbol of the node" + }, + "project_id": { "maxLength": 36, - "minLength": 36 + "minLength": 36, + "type": "string", + "description": "Project UUID", + "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}$" }, - "width": { + "x": { "type": "integer", - "description": "Width of the node" + "description": "X position of the node" }, "y": { "type": "integer", "description": "Y position of the node" }, - "command_line": { + "node_directory": { "type": [ "null", "string" ], - "description": "Command line use to start the node" - }, - "symbol": { - "type": "string", - "description": "Symbol of the node", - "minLength": 1 + "description": "Working directory of the node. Read only" }, - "console": { - "type": [ - "integer", - "null" + "console_type": { + "enum": [ + "serial", + "vnc", + "telnet", + null ], - "maximum": 65535, - "description": "Console TCP port", - "minimum": 1 + "description": "Console type" + }, + "width": { + "type": "integer", + "description": "Width of the node" + }, + "z": { + "type": "integer", + "description": "Z position of the node" + }, + "compute_id": { + "type": "string", + "description": "Compute identifier" }, "console_host": { + "minLength": 1, "type": "string", - "description": "Console host", - "minLength": 1 + "description": "Console host" }, - "project_id": { + "height": { + "type": "integer", + "description": "Height of the node" + }, + "name": { + "minLength": 1, "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}$", - "description": "Project UUID", - "maxLength": 36, - "minLength": 36 + "description": "Node name" + }, + "command_line": { + "type": [ + "null", + "string" + ], + "description": "Command line use to start the node" }, "label": { - "type": "object", "properties": { - "y": { - "type": "integer", - "description": "Relative Y position of the label" - }, "text": { "type": "string" }, - "x": { + "rotation": { "type": "integer", - "description": "Relative X position of the label" + "description": "Rotation of the label" + }, + "y": { + "type": "integer", + "description": "Relative Y position of the label" }, "style": { "type": "string", "description": "SVG style attribute" }, - "rotation": { + "x": { "type": "integer", - "description": "Rotation of the label" + "description": "Relative X position of the label" } }, "additionalProperties": false, + "type": "object", "required": [ "text", "x", "y" ] }, - "height": { - "type": "integer", - "description": "Height of the node" - }, - "properties": { - "type": "object", - "description": "Properties specific to an emulator" + "node_id": { + "maxLength": 36, + "minLength": 36, + "type": "string", + "description": "Node UUID", + "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}$" }, "status": { "enum": [ @@ -216,110 +173,133 @@ "suspended" ], "description": "Status of the node" + } + }, + "type": "object", + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "A node object" + }, + "type": "array", + "description": "Nodes elements" + }, + "drawings": { + "items": { + "properties": { + "svg": { + "type": "string", + "description": "SVG content of the drawing" }, - "node_directory": { - "type": [ - "null", - "string" - ], - "description": "Working directory of the node. Read only" + "project_id": { + "maxLength": 36, + "minLength": 36, + "type": "string", + "description": "Project UUID", + "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}$" }, - "compute_id": { + "x": { + "type": "integer", + "description": "X property" + }, + "drawing_id": { + "maxLength": 36, + "minLength": 36, "type": "string", - "description": "Compute identifier" + "description": "Drawing UUID", + "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}$" + }, + "rotation": { + "type": "integer", + "description": "Rotation of the element", + "maximum": 360, + "minimum": 0 + }, + "y": { + "type": "integer", + "description": "Y property" + }, + "z": { + "type": "integer", + "description": "Z property" } }, - "description": "A node object" - } + "additionalProperties": false, + "type": "object", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "An drawing object" + }, + "type": "array", + "description": "Drawings elements" }, "links": { - "type": "array", - "description": "Link elements", "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "nodes" - ], - "$schema": "http://json-schema.org/draft-04/schema#", "properties": { - "capture_file_path": { - "type": [ - "string", - "null" - ], - "description": "Read only property. The full path of the capture file if capture is running" - }, - "capturing": { - "type": "boolean", - "description": "Read only property. True if a capture running on the link" - }, "nodes": { - "type": "array", - "description": "List of the VMS", "items": { - "type": "object", "properties": { + "port_number": { + "type": "integer", + "description": "Port number" + }, + "adapter_number": { + "type": "integer", + "description": "Adapter number" + }, + "node_id": { + "maxLength": 36, + "minLength": 36, + "type": "string", + "description": "Node UUID", + "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}$" + }, "label": { - "type": "object", "properties": { - "y": { - "type": "integer", - "description": "Relative Y position of the label" - }, "text": { "type": "string" }, - "x": { + "rotation": { "type": "integer", - "description": "Relative X position of the label" + "description": "Rotation of the label" + }, + "y": { + "type": "integer", + "description": "Relative Y position of the label" }, "style": { "type": "string", "description": "SVG style attribute" }, - "rotation": { + "x": { "type": "integer", - "description": "Rotation of the label" + "description": "Relative X position of the label" } }, "additionalProperties": false, + "type": "object", "required": [ "text", "x", "y" ] - }, - "node_id": { - "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}$", - "description": "Node UUID", - "maxLength": 36, - "minLength": 36 - }, - "port_number": { - "type": "integer", - "description": "Port number" - }, - "adapter_number": { - "type": "integer", - "description": "Adapter number" } }, "additionalProperties": false, + "type": "object", "required": [ "node_id", "adapter_number", "port_number" ] - } + }, + "type": "array", + "description": "List of the VMS" }, "project_id": { + "maxLength": 36, + "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}$", "description": "Project UUID", - "maxLength": 36, - "minLength": 36 + "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}$" }, "capture_file_name": { "type": [ @@ -328,32 +308,54 @@ ], "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" + }, "link_id": { + "maxLength": 36, + "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}$", "description": "Link UUID", - "maxLength": 36, - "minLength": 36 + "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}$" + }, + "capturing": { + "type": "boolean", + "description": "Read only property. True if a capture running on the link" } }, - "description": "A link object" - } - }, - "computes": { - "type": "array", - "description": "Computes servers", - "items": { "type": "object", + "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "required": [ - "compute_id", - "protocol", - "host", - "port", - "name" + "nodes" ], - "$schema": "http://json-schema.org/draft-04/schema#", + "description": "A link object" + }, + "type": "array", + "description": "Link elements" + }, + "computes": { + "items": { "properties": { + "version": { + "type": [ + "string", + "null" + ], + "description": "Version of the GNS3 remote compute server" + }, + "compute_id": { + "type": "string", + "description": "Server identifier" + }, + "host": { + "type": "string", + "description": "Server host" + }, "name": { "type": "string", "description": "Server name" @@ -363,38 +365,27 @@ "number", "null" ], - "maximum": 100, "description": "CPU usage of the compute. Read only", + "maximum": 100, "minimum": 0 }, "port": { "type": "integer", "description": "Server port" }, - "protocol": { - "enum": [ - "http", - "https" - ], - "description": "Server protocol" - }, "memory_usage_percent": { "type": [ "number", "null" ], - "maximum": 100, "description": "RAM usage of the compute. Read only", + "maximum": 100, "minimum": 0 }, "connected": { "type": "boolean", "description": "Whether the controller is connected to the compute server or not" }, - "host": { - "type": "string", - "description": "Server host" - }, "user": { "type": [ "string", @@ -402,46 +393,55 @@ ], "description": "User for authentication" }, - "version": { - "type": [ - "string", - "null" + "protocol": { + "enum": [ + "http", + "https" ], - "description": "Version of the GNS3 remote compute server" - }, - "compute_id": { - "type": "string", - "description": "Server identifier" + "description": "Server protocol" } }, + "type": "object", + "required": [ + "compute_id", + "protocol", + "host", + "port", + "name" + ], + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-04/schema#", "description": "Request validation to a GNS3 compute object instance" - } + }, + "type": "array", + "description": "Computes servers" } }, - "description": "The topology content", + "additionalProperties": false, + "type": "object", "required": [ "nodes", "links", "drawings", "computes" ], - "additionalProperties": false - }, - "project_id": { - "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}$", - "description": "Project UUID", - "maxLength": 36, - "minLength": 36 + "description": "The topology content" }, - "auto_start": { - "type": "boolean", - "description": "Start the topology when opened" - }, - "version": { + "name": { "type": "string", - "description": "Version of the GNS3 software which have update the file for the last time" + "description": "Name of the project" } }, + "type": "object", + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalProperties": false, + "required": [ + "project_id", + "type", + "revision", + "version", + "name", + "topology" + ], "description": "The topology" } \ No newline at end of file diff --git a/gns3server/web/documentation.py b/gns3server/web/documentation.py index cfecaca5..e72bd3f4 100644 --- a/gns3server/web/documentation.py +++ b/gns3server/web/documentation.py @@ -40,7 +40,6 @@ class Documentation: with open(os.path.join(self._directory, "gns3_file.json"), "w+") as f: from gns3server.schemas.topology import TOPOLOGY_SCHEMA print("Dump .gns3 schema") - print(TOPOLOGY_SCHEMA) json.dump(TOPOLOGY_SCHEMA, f, indent=4) self.write_documentation("compute") # Controller documentation