From c96bd5f2a9f1904dedcbb3b978998a8548c930f4 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 26 Jul 2016 19:57:53 +0200 Subject: [PATCH] Update 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 +- ...te_get_projectsprojectidiounodesnodeid.txt | 8 +- ...projectsprojectidiounodesnodeidconfigs.txt | 4 +- ...e_get_projectsprojectidqemunodesnodeid.txt | 12 +- ...projectsprojectidvirtualboxnodesnodeid.txt | 6 +- ...e_get_projectsprojectidvpcsnodesnodeid.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...ternumberdportsportnumberdstartcapture.txt | 6 +- ...pternumberdportsportnumberdstopcapture.txt | 4 +- ...compute_post_projectsprojectidiounodes.txt | 8 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...ternumberdportsportnumberdstartcapture.txt | 6 +- ...pternumberdportsportnumberdstopcapture.txt | 4 +- ..._projectsprojectidiounodesnodeidreload.txt | 4 +- ...t_projectsprojectidiounodesnodeidstart.txt | 10 +- ...st_projectsprojectidiounodesnodeidstop.txt | 4 +- ...ompute_post_projectsprojectidqemunodes.txt | 12 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...projectsprojectidqemunodesnodeidreload.txt | 4 +- ...projectsprojectidqemunodesnodeidresume.txt | 4 +- ..._projectsprojectidqemunodesnodeidstart.txt | 12 +- ...t_projectsprojectidqemunodesnodeidstop.txt | 4 +- ...rojectsprojectidqemunodesnodeidsuspend.txt | 4 +- ..._post_projectsprojectidvirtualboxnodes.txt | 2 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...tsprojectidvirtualboxnodesnodeidreload.txt | 4 +- ...tsprojectidvirtualboxnodesnodeidresume.txt | 4 +- ...ctsprojectidvirtualboxnodesnodeidstart.txt | 4 +- ...ectsprojectidvirtualboxnodesnodeidstop.txt | 4 +- ...sprojectidvirtualboxnodesnodeidsuspend.txt | 4 +- ...ompute_post_projectsprojectidvpcsnodes.txt | 4 +- ...ptersadapternumberdportsportnumberdnio.txt | 4 +- ...projectsprojectidvpcsnodesnodeidreload.txt | 4 +- ..._projectsprojectidvpcsnodesnodeidstart.txt | 8 +- ...t_projectsprojectidvpcsnodesnodeidstop.txt | 4 +- .../compute_put_projectsprojectid.txt | 4 +- ...put_projectsprojectiddockernodesnodeid.txt | 8 +- ...te_put_projectsprojectidiounodesnodeid.txt | 10 +- ...e_put_projectsprojectidqemunodesnodeid.txt | 12 +- ...projectsprojectidvirtualboxnodesnodeid.txt | 6 +- ...e_put_projectsprojectidvpcsnodesnodeid.txt | 8 +- .../controller_delete_projectsprojectid.txt | 4 +- ...ete_projectsprojectiddrawingsdrawingid.txt | 4 +- ...er_delete_projectsprojectidlinkslinkid.txt | 4 +- ...er_delete_projectsprojectidnodesnodeid.txt | 4 +- ...e_projectsprojectidsnapshotssnapshotid.txt | 12 + docs/api/examples/controller_get_projects.txt | 2 +- .../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 | 21 + .../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 | 22 + ...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 | 21 + ...ctsprojectidsnapshotssnapshotidrestore.txt | 20 + ...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 +- ...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 +- .../docker/projectsprojectiddockernodes.rst | 1 + .../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 | 2 +- ...rojectiddynamipsnodesnodeidconfigssave.rst | 2 +- ...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 | 2 +- ...ectsprojectidiounodesnodeidconfigssave.rst | 2 +- .../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 +- .../projectsprojectiddrawingsdrawingid.rst | 4 +- .../link/projectsprojectidlinkslinkid.rst | 4 +- .../link/projectsprojectidlinkslinkidpcap.rst | 2 +- ...ojectsprojectidlinkslinkidstartcapture.rst | 2 +- ...rojectsprojectidlinkslinkidstopcapture.rst | 2 +- .../node/projectsprojectidnodesnodeid.rst | 2 +- ...projectidnodesnodeiddynamipsautoidlepc.rst | 2 +- ...ctidnodesnodeiddynamipsidlepcproposals.rst | 2 +- .../projectsprojectidnodesnodeidreload.rst | 2 +- .../projectsprojectidnodesnodeidstart.rst | 2 +- .../node/projectsprojectidnodesnodeidstop.rst | 2 +- .../projectsprojectidnodesnodeidsuspend.rst | 2 +- .../project/projectsprojectidduplicate.rst | 49 ++ docs/api/v2/controller/snapshot.rst | 8 + .../snapshot/projectsprojectidsnapshots.rst | 65 ++ .../projectsprojectidsnapshotssnapshotid.rst | 25 + ...ctsprojectidsnapshotssnapshotidrestore.rst | 38 ++ docs/gns3_file.json | 616 +++++++++--------- 211 files changed, 983 insertions(+), 701 deletions(-) create mode 100644 docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt create mode 100644 docs/api/examples/controller_get_projectsprojectidsnapshots.txt create mode 100644 docs/api/examples/controller_post_projectsprojectidduplicate.txt create mode 100644 docs/api/examples/controller_post_projectsprojectidsnapshots.txt create mode 100644 docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt create mode 100644 docs/api/v2/controller/project/projectsprojectidduplicate.rst create mode 100644 docs/api/v2/controller/snapshot.rst create mode 100644 docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst create mode 100644 docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst create mode 100644 docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst diff --git a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index c2310a48..34fcbd2b 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/2b3ef2f1-06ac-44ab-a980-2bbf3df3d4a9/adapters/0/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2b3ef2f1-06ac-44ab-a980-2bbf3df3d4a9/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/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 d7802620..5d7dead5 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/cb93b35e-f756-426d-953e-df347513e8d8' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cb93b35e-f756-426d-953e-df347513e8d8 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index bbcf24a1..96da785d 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/2d5ed591-b7f7-4fd9-87da-2a8041aff861/adapters/1/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2d5ed591-b7f7-4fd9-87da-2a8041aff861/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e209cd0c-6705-4edd-b552-e5e51d1150bd/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 baba77cb..73f73e98 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/b83255ec-827a-49cd-acb5-ba55a3355fe0' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b83255ec-827a-49cd-acb5-ba55a3355fe0 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163 HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 37612835..821e0c43 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/9eccc91e-6ce6-442c-84ba-97969ceb043a/adapters/1/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9eccc91e-6ce6-442c-84ba-97969ceb043a/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da07b6e8-6031-411b-a2fe-a8423114c205/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 15fe0bd3..802eb92f 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/2f32627f-c346-4f51-a492-f2078b6b4caa/adapters/0/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2f32627f-c346-4f51-a492-f2078b6b4caa/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f480e178-42b7-4aaa-81f0-7623a98f4d6a/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 367e8f8d..6c20d707 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/0c6d314f-8345-471b-9a43-9eebc8d8ea6d' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6d314f-8345-471b-9a43-9eebc8d8ea6d HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 8e8cf87f..29c44c04 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/1288b33c-169d-4aa3-a8f9-ba91537c4aa8/adapters/0/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1288b33c-169d-4aa3-a8f9-ba91537c4aa8/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt index c056e379..6e07d456 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e4f6564d-1d40-4840-80c2-ecea2f29a14a' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e4f6564d-1d40-4840-80c2-ecea2f29a14a HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b HTTP/1.1 @@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id} "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/e4f6564d-1d40-4840-80c2-ecea2f29a14a", - "node_id": "e4f6564d-1d40-4840-80c2-ecea2f29a14a", + "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", "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 index a5e09230..24a03624 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c791ef3-51ef-4440-8cea-e6ee70c40475/configs' +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/7c791ef3-51ef-4440-8cea-e6ee70c40475/configs HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs HTTP/1.1 diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt index 8a49b5d9..7db7dea9 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/54c0602e-b77c-4285-a25f-be4a15016364' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/54c0602e-b77c-4285-a25f-be4a15016364 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc HTTP/1.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:63:64:00", + "mac_address": "00:dd:80:e0:cc:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/54c0602e-b77c-4285-a25f-be4a15016364", - "node_id": "54c0602e-b77c-4285-a25f-be4a15016364", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/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 80f6f9ed..a1654965 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/c6dac8af-3ae6-40d0-a45a-eaaf5a34a227' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c6dac8af-3ae6-40d0-a45a-eaaf5a34a227 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4 HTTP/1.1 @@ -21,7 +21,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} "linked_clone": false, "name": "VMTEST", "node_directory": null, - "node_id": "c6dac8af-3ae6-40d0-a45a-eaaf5a34a227", + "node_id": "9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4", "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 52f098c7..267592f6 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/fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a HTTP/1.1 @@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} "console": 5721, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256", - "node_id": "fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256", + "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", "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 d9df6670..28e1eb2a 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/2f9bb9bb-9c14-4034-8da0-212e3d20ba15/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/427777a3-43f9-49b3-a6e3-60ba02b04747/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/2f9bb9bb-9c14-4034-8da0-212e3d20ba15/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/427777a3-43f9-49b3-a6e3-60ba02b04747/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 97303fcf..b113a06c 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/86eaf1ae-228b-4070-b67f-3b6a63ddb60c/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/c7b8e805-7d4d-4804-b64b-cc7feff207e2/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/86eaf1ae-228b-4070-b67f-3b6a63ddb60c/adapters/0/ports/0/start_capture HTTP/1.1 +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 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -15,5 +15,5 @@ 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-1615/test_json4/tmp/captures/test.pcap" + "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/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 f8be29a9..e1088f31 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/945d4525-7f44-477c-bf5e-8ece7d1c870d/adapters/0/ports/0/stop_capture' -d '{}' +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 '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/945d4525-7f44-477c-bf5e-8ece7d1c870d/adapters/0/ports/0/stop_capture HTTP/1.1 +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 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt index 6e11442d..6c8c9197 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodes.txt @@ -1,9 +1,9 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "5913b5cf-035d-40e0-a094-918bfe4b223a", "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": "210bf489-e712-471f-a1ea-00dab02a21da", "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": "5913b5cf-035d-40e0-a094-918bfe4b223a", + "node_id": "210bf489-e712-471f-a1ea-00dab02a21da", "path": "iou.bin", "startup_config_content": "hostname test" } @@ -25,8 +25,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/5913b5cf-035d-40e0-a094-918bfe4b223a", - "node_id": "5913b5cf-035d-40e0-a094-918bfe4b223a", + "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", "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 3fc99799..1c40556a 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/1f5895d0-cf8c-48ab-852c-e11fbd8a3982/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/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1f5895d0-cf8c-48ab-852c-e11fbd8a3982/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/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 e7b97b74..32868f30 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/c6114408-b83b-4eb1-a32f-b00786b63271/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/cbe987db-52ef-4c41-b2c1-1de19b45f57a/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/c6114408-b83b-4eb1-a32f-b00786b63271/adapters/0/ports/0/start_capture HTTP/1.1 +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 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -15,5 +15,5 @@ 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-1615/test_json4/tmp/captures/test.pcap" + "pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/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 3761b23f..633e514e 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/b4a7f87a-a27c-4c19-938e-dc0341de0a81/adapters/0/ports/0/stop_capture' -d '{}' +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 '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4a7f87a-a27c-4c19-938e-dc0341de0a81/adapters/0/ports/0/stop_capture HTTP/1.1 +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 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt index e92b0a17..027b125d 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/f4e416f5-e5ec-493e-adcf-eadc46f86587/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f4e416f5-e5ec-493e-adcf-eadc46f86587/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt index 6667c605..62b2117a 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37995599-2a0f-4eba-b661-ab9a353af9af/start' -d '{"iourc_content": "test"}' +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"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37995599-2a0f-4eba-b661-ab9a353af9af/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/192a813c-9760-47d7-aeee-17cbbddb8599/start HTTP/1.1 { "iourc_content": "test" } @@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start "console": 5712, "console_type": "telnet", "ethernet_adapters": 2, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmprk3014is/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptd6ogj3n/iourc", "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/37995599-2a0f-4eba-b661-ab9a353af9af", - "node_id": "37995599-2a0f-4eba-b661-ab9a353af9af", + "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", "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 ee58825e..62a0b2df 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/0713a75e-ee3d-4904-a750-0632969b439a/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0713a75e-ee3d-4904-a750-0632969b439a/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt index fbfb43dd..b33d2fb6 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/tmpohgwih_d/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/tmpz_99bmcz/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/tmpohgwih_d/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64", "ram": 1024 } @@ -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:97:69:00", + "mac_address": "00:dd:80:2d:57:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d491a199-67ab-487f-a9a9-4e4657489769", - "node_id": "d491a199-67ab-487f-a9a9-4e4657489769", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/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 f4449d97..5a1c11c4 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/59d404ea-718d-44b9-976d-7a8cffe857d1/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/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/59d404ea-718d-44b9-976d-7a8cffe857d1/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/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 1da401c6..23104fb9 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/c66cd69f-a16e-4f3b-b273-c5bb3919aa6f/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c66cd69f-a16e-4f3b-b273-c5bb3919aa6f/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt index cd0452ff..dca62586 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/fbc22414-5ca4-4279-8831-cc9cc8da72c2/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fbc22414-5ca4-4279-8831-cc9cc8da72c2/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt index a957cd63..094466e2 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/00459e30-4fac-41cf-bbef-2a5dba39f47c/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/00459e30-4fac-41cf-bbef-2a5dba39f47c/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start HTTP/1.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:f4:7c:00", + "mac_address": "00:dd:80:ba:ae:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/00459e30-4fac-41cf-bbef-2a5dba39f47c", - "node_id": "00459e30-4fac-41cf-bbef-2a5dba39f47c", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/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 31353ee3..a1a64aac 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/fff154a4-b585-4ffe-b3c3-c7263d48cd8a/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fff154a4-b585-4ffe-b3c3-c7263d48cd8a/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt index 12aa0f36..c57fdbfc 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/a1f4da5d-5e1f-4d95-9e10-1844cdd793c1/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a1f4da5d-5e1f-4d95-9e10-1844cdd793c1/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt index 4da34a86..eebfbaaf 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt @@ -25,7 +25,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes "linked_clone": false, "name": "VM1", "node_directory": null, - "node_id": "49869e55-29f7-438b-ad0b-cf240d399b9a", + "node_id": "512763bf-c13f-4bb2-b8c0-ab7a2f22e897", "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 a20d2417..a112d76f 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/5424b741-a94e-4128-b452-b9567057ef39/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/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/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/5424b741-a94e-4128-b452-b9567057ef39/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/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 8539d8a6..d860c839 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/de53c6ae-1e45-49dc-a975-2c7ceff86927/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de53c6ae-1e45-49dc-a975-2c7ceff86927/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt index f21c2df8..0bd69643 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/842b2246-9d1e-414b-b28b-64b5ec8c6a7f/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/842b2246-9d1e-414b-b28b-64b5ec8c6a7f/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt index 8d14d6ad..ea405b2d 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/4d3c8f80-1e2b-4413-8eb7-06713d95a66d/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d3c8f80-1e2b-4413-8eb7-06713d95a66d/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt index 9babf2cc..77a268f2 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/b679cf79-135f-4090-a760-e32028adcbeb/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b679cf79-135f-4090-a760-e32028adcbeb/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt index 02536a92..9ee8e585 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/0f80391a-1421-4971-b208-8276a343882a/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0f80391a-1421-4971-b208-8276a343882a/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt index b22b08ea..97e3bb1f 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt @@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes "console": 5721, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/214cf5da-3383-4b73-8369-0eab8dc718d3", - "node_id": "214cf5da-3383-4b73-8369-0eab8dc718d3", + "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", "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 3bed5d86..ac53ee70 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/fa939ac9-39ee-4e75-a07d-dea1b3024642/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/be53ce7b-8656-410f-ba66-28ac2d48cffd/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/fa939ac9-39ee-4e75-a07d-dea1b3024642/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/be53ce7b-8656-410f-ba66-28ac2d48cffd/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 fde80209..d613d66e 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/fb050a25-8377-4e92-934b-4d212da587ea/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb050a25-8377-4e92-934b-4d212da587ea/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt index 83eca94b..0ace6786 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/f9240f44-b653-4010-ac2e-cb38d80e96d7/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9240f44-b653-4010-ac2e-cb38d80e96d7/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start HTTP/1.1 {} @@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start "console": 5721, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f9240f44-b653-4010-ac2e-cb38d80e96d7", - "node_id": "f9240f44-b653-4010-ac2e-cb38d80e96d7", + "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", "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 b4a50047..a079a1ee 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/e2de4ebc-1136-43fe-8d4b-5a37b9e89592/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e2de4ebc-1136-43fe-8d4b-5a37b9e89592/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_put_projectsprojectid.txt b/docs/api/examples/compute_put_projectsprojectid.txt index afff59f7..912dd27f 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-1615/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-2130/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-1615/test_update_path_project_non_l0" + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/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 67639e67..4378867e 100644 --- a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169' -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/db2eb53d-cc7c-42a0-ba95-f819ba66c589' -d '{"console": 5714, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb53d-cc7c-42a0-ba95-f819ba66c589 HTTP/1.1 { "console": 5714, "environment": "GNS3=1\nGNS4=0", @@ -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-1615/test_json4/project-files/docker/8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169", - "node_id": "8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169", + "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", "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 a448f75f..50c181fb 100644 --- a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99fcf923-1d1f-451f-808d-0562446ab983' -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/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}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99fcf923-1d1f-451f-808d-0562446ab983 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae HTTP/1.1 { "console": 5713, "ethernet_adapters": 4, @@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id} "console": 5713, "console_type": "telnet", "ethernet_adapters": 4, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmprys_zk85/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkd3orias/iourc", "l1_keepalives": true, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "test", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/99fcf923-1d1f-451f-808d-0562446ab983", - "node_id": "99fcf923-1d1f-451f-808d-0562446ab983", + "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", "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 f8b9bc3d..3434e44e 100644 --- a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/975c8cc2-230b-4bcf-9b3c-799668a38f75' -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/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a' -d '{"console": 5713, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/975c8cc2-230b-4bcf-9b3c-799668a38f75 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a HTTP/1.1 { "console": 5713, "hdb_disk_image": "linux\u8f7d.img", @@ -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:8f:75:00", + "mac_address": "00:dd:80:fd:0a:00", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/975c8cc2-230b-4bcf-9b3c-799668a38f75", - "node_id": "975c8cc2-230b-4bcf-9b3c-799668a38f75", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/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 3e6373a8..d083d909 100644 --- a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/373e36f5-6128-4a99-969d-baa2ced74b71' -d '{"console": 5722, "name": "test"}' +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"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/373e36f5-6128-4a99-969d-baa2ced74b71 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0763054-c2af-4ca4-a400-ae701b534653 HTTP/1.1 { "console": 5722, "name": "test" @@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} "linked_clone": false, "name": "test", "node_directory": null, - "node_id": "373e36f5-6128-4a99-969d-baa2ced74b71", + "node_id": "f0763054-c2af-4ca4-a400-ae701b534653", "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 2fa14980..bf4d7941 100644 --- a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/43749238-108e-46d4-8972-a201ab3f041c' -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/d741e315-806f-4849-ba3c-81f224501d94' -d '{"console": 5723, "name": "test", "startup_script": "ip 192.168.1.1"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/43749238-108e-46d4-8972-a201ab3f041c HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d741e315-806f-4849-ba3c-81f224501d94 HTTP/1.1 { "console": 5723, "name": "test", @@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} "console": 5723, "console_type": "telnet", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/43749238-108e-46d4-8972-a201ab3f041c", - "node_id": "43749238-108e-46d4-8972-a201ab3f041c", + "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", "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 b075f5b5..efda8ba2 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/38eb454f-0e47-4c31-9eb9-4996036e076e' +curl -i -X DELETE 'http://localhost:3080/v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9' -DELETE /v2/projects/38eb454f-0e47-4c31-9eb9-4996036e076e HTTP/1.1 +DELETE /v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt index b6db3160..215a6be4 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/3bfa063a-bbfb-4c46-aefd-39b73c8ee707/drawings/a816efd7-0c3e-4267-8891-011de8389855' +curl -i -X DELETE 'http://localhost:3080/v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514' -DELETE /v2/projects/3bfa063a-bbfb-4c46-aefd-39b73c8ee707/drawings/a816efd7-0c3e-4267-8891-011de8389855 HTTP/1.1 +DELETE /v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt index 85b4956c..952c9eea 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/0f1adb1a-e58d-47ae-92a5-a0f4ed1858b2/links/b9be3e2e-4090-43a9-95a0-f95b30f441eb' +curl -i -X DELETE 'http://localhost:3080/v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d' -DELETE /v2/projects/0f1adb1a-e58d-47ae-92a5-a0f4ed1858b2/links/b9be3e2e-4090-43a9-95a0-f95b30f441eb HTTP/1.1 +DELETE /v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt index bf2bd069..c43002b1 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/9f98296f-7740-45a2-a40f-e6db8c356318/nodes/65b24f26-b0a1-416b-9a00-822e256954e9' +curl -i -X DELETE 'http://localhost:3080/v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b' -DELETE /v2/projects/9f98296f-7740-45a2-a40f-e6db8c356318/nodes/65b24f26-b0a1-416b-9a00-822e256954e9 HTTP/1.1 +DELETE /v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt new file mode 100644 index 00000000..9d767c68 --- /dev/null +++ b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt @@ -0,0 +1,12 @@ +curl -i -X DELETE 'http://localhost:3080/v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4' + +DELETE /v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4 HTTP/1.1 + + + +HTTP/1.1 204 +CONTENT-LENGTH: 0 +DATE: Thu, 08 Jan 2015 16:09:15 GMT +SERVER: Python/3.5 GNS3/2.0.0dev1 +X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id} + diff --git a/docs/api/examples/controller_get_projects.txt b/docs/api/examples/controller_get_projects.txt index e7bbbe21..35a3b1e6 100644 --- a/docs/api/examples/controller_get_projects.txt +++ b/docs/api/examples/controller_get_projects.txt @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects { "filename": "test.gns3", "name": "test", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_list_projects1", + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/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 2331db11..716f5c9b 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/7e9f04f0-3d50-4e8e-acf0-0181436113a2' +curl -i -X GET 'http://localhost:3080/v2/projects/846403f5-9793-4576-b910-5fdd65838169' -GET /v2/projects/7e9f04f0-3d50-4e8e-acf0-0181436113a2 HTTP/1.1 +GET /v2/projects/846403f5-9793-4576-b910-5fdd65838169 HTTP/1.1 @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id} { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpckxarug_/projects/7e9f04f0-3d50-4e8e-acf0-0181436113a2", - "project_id": "7e9f04f0-3d50-4e8e-acf0-0181436113a2", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9nuqdhub/projects/846403f5-9793-4576-b910-5fdd65838169", + "project_id": "846403f5-9793-4576-b910-5fdd65838169", "status": "opened" } diff --git a/docs/api/examples/controller_get_projectsprojectiddrawings.txt b/docs/api/examples/controller_get_projectsprojectiddrawings.txt index f277b840..b0628388 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/8136bd49-a9e0-43a2-8012-e49d539bc0b4/drawings' +curl -i -X GET 'http://localhost:3080/v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings' -GET /v2/projects/8136bd49-a9e0-43a2-8012-e49d539bc0b4/drawings HTTP/1.1 +GET /v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings HTTP/1.1 @@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings [ { - "drawing_id": "7d8a9489-e8f8-4cab-ad67-c71d26c6d570", - "project_id": "8136bd49-a9e0-43a2-8012-e49d539bc0b4", + "drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4", + "project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt index 2d51422a..24cf5801 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/8d82f6d1-a010-4dc0-bd01-77155280e3b8/links' +curl -i -X GET 'http://localhost:3080/v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links' -GET /v2/projects/8d82f6d1-a010-4dc0-bd01-77155280e3b8/links HTTP/1.1 +GET /v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/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": "3a5d720e-c005-421a-ba55-c4f9ba6b7fd8", + "link_id": "c5df007d-4eef-4892-966f-4f2b142f1851", "nodes": [ { "adapter_number": 0, @@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "54888447-9a71-4a5c-9d0c-ebc39433fed6", + "node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4", "port_number": 3 }, { @@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "c8e9784f-4a8f-4a1f-826a-e095d55d10c8", + "node_id": "617d046f-1cca-4555-9237-cff43ef9966d", "port_number": 4 } ], - "project_id": "8d82f6d1-a010-4dc0-bd01-77155280e3b8" + "project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd" } ] diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt index 8b50dcec..d201c51f 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/1e2f0577-9ba9-4c61-9a57-f85f2dd81cc7/nodes' +curl -i -X GET 'http://localhost:3080/v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes' -GET /v2/projects/1e2f0577-9ba9-4c61-9a57-f85f2dd81cc7/nodes HTTP/1.1 +GET /v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes HTTP/1.1 @@ -28,9 +28,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "9dab4635-2ad4-4b19-b222-3810f483b977", + "node_id": "ba637508-65c3-49c4-ae13-a67a82df2448", "node_type": "vpcs", - "project_id": "1e2f0577-9ba9-4c61-9a57-f85f2dd81cc7", + "project_id": "8cba891e-5cf2-4b59-8838-4967e7eac69f", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt index bf02ad62..a708972f 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/339656cd-0ce9-481f-b4ef-358c1ac0fac6/nodes/f50e6309-1048-47b1-acaf-b60e5855e812/dynamips/auto_idlepc' +curl -i -X GET 'http://localhost:3080/v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc' -GET /v2/projects/339656cd-0ce9-481f-b4ef-358c1ac0fac6/nodes/f50e6309-1048-47b1-acaf-b60e5855e812/dynamips/auto_idlepc HTTP/1.1 +GET /v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/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 aa472bab..53bd4ce2 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/46581e8f-d9f1-46fd-a072-b327ea821383/nodes/7615fe23-3526-4a5c-882c-99bd2e162e0b/dynamips/idlepc_proposals' +curl -i -X GET 'http://localhost:3080/v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals' -GET /v2/projects/46581e8f-d9f1-46fd-a072-b327ea821383/nodes/7615fe23-3526-4a5c-882c-99bd2e162e0b/dynamips/idlepc_proposals HTTP/1.1 +GET /v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals HTTP/1.1 diff --git a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt new file mode 100644 index 00000000..a2504c49 --- /dev/null +++ b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt @@ -0,0 +1,21 @@ +curl -i -X GET 'http://localhost:3080/v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots' + +GET /v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots HTTP/1.1 + + + +HTTP/1.1 200 +CONTENT-LENGTH: 197 +CONTENT-TYPE: application/json +DATE: Thu, 08 Jan 2015 16:09:15 GMT +SERVER: Python/3.5 GNS3/2.0.0dev1 +X-ROUTE: /v2/projects/{project_id}/snapshots + +[ + { + "created_at": 1469555807, + "name": "test", + "project_id": "e02658a1-003e-4f81-981f-db262d96ef35", + "snapshot_id": "58ffc7e0-a59a-45db-ba7a-965e796fbfcd" + } +] diff --git a/docs/api/examples/controller_post_projects.txt b/docs/api/examples/controller_post_projects.txt index ff33996f..b2e5d2c5 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/tmp1c1w2tok/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpktyus5u7/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 2b26a73d..f55a6c40 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/tmpcflvzj3w/projects/38b1f122-36b5-40a9-a7e1-a93f37acb6af", - "project_id": "38b1f122-36b5-40a9-a7e1-a93f37acb6af", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgt2csn5i/projects/f9a1163f-275f-4dfa-8001-5c01f9603c3c", + "project_id": "f9a1163f-275f-4dfa-8001-5c01f9603c3c", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index 8a342ee2..3e951ef7 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/f035eff7-1f81-49ad-a201-8c842bb84c3a/close' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close' -d '{}' -POST /v2/projects/f035eff7-1f81-49ad-a201-8c842bb84c3a/close HTTP/1.1 +POST /v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/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/tmpm94m69wa/projects/f035eff7-1f81-49ad-a201-8c842bb84c3a", - "project_id": "f035eff7-1f81-49ad-a201-8c842bb84c3a", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpthw6lftl/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd", + "project_id": "8eabcff1-9b80-423e-b49f-c5389b3618bd", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectiddrawings.txt b/docs/api/examples/controller_post_projectsprojectiddrawings.txt index 500e0791..4b815e1f 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/9449db23-6aba-4527-a3cb-5e0ace8abd99/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' -POST /v2/projects/9449db23-6aba-4527-a3cb-5e0ace8abd99/drawings HTTP/1.1 +POST /v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/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": "2d1208b7-599e-4146-b1d2-a10982621ecb", - "project_id": "9449db23-6aba-4527-a3cb-5e0ace8abd99", + "drawing_id": "63d8eb18-ed0d-4618-b199-4c62f32c23b1", + "project_id": "4636cb3b-b312-4e43-bfae-1c37ed9c447f", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/examples/controller_post_projectsprojectidduplicate.txt b/docs/api/examples/controller_post_projectsprojectidduplicate.txt new file mode 100644 index 00000000..8285446b --- /dev/null +++ b/docs/api/examples/controller_post_projectsprojectidduplicate.txt @@ -0,0 +1,22 @@ +curl -i -X POST 'http://localhost:3080/v2/projects/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate' -d '{"name": "hello"}' + +POST /v2/projects/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate HTTP/1.1 +{ + "name": "hello" +} + + +HTTP/1.1 201 +CONTENT-LENGTH: 226 +CONTENT-TYPE: application/json +DATE: Thu, 08 Jan 2015 16:09:15 GMT +SERVER: Python/3.5 GNS3/2.0.0dev1 +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", + "status": "closed" +} diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index 8b79e771..cc01f64b 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/0440a070-64dd-4bca-9368-8c9f04e67a82/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "b097d38a-cef2-4beb-8080-d984d894ee69", "port_number": 3}, {"adapter_number": 2, "node_id": "353a552d-eecb-4ba5-9fbc-64af28984d7b", "port_number": 4}]}' +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}]}' -POST /v2/projects/0440a070-64dd-4bca-9368-8c9f04e67a82/links HTTP/1.1 +POST /v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links HTTP/1.1 { "nodes": [ { @@ -10,12 +10,12 @@ POST /v2/projects/0440a070-64dd-4bca-9368-8c9f04e67a82/links HTTP/1.1 "x": 42, "y": 0 }, - "node_id": "b097d38a-cef2-4beb-8080-d984d894ee69", + "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", "port_number": 3 }, { "adapter_number": 2, - "node_id": "353a552d-eecb-4ba5-9fbc-64af28984d7b", + "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", "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": "a2c18baf-c87c-492f-968f-761706a3574c", + "link_id": "99885af4-208a-4911-be1d-dfcaf1ef0bd0", "nodes": [ { "adapter_number": 0, @@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links "x": 42, "y": 0 }, - "node_id": "b097d38a-cef2-4beb-8080-d984d894ee69", + "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", "port_number": 3 }, { @@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links "x": -10, "y": -10 }, - "node_id": "353a552d-eecb-4ba5-9fbc-64af28984d7b", + "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", "port_number": 4 } ], - "project_id": "0440a070-64dd-4bca-9368-8c9f04e67a82" + "project_id": "6b98809b-cc4d-4cc8-b865-8913c8f3bae5" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt index 1b7aefc4..b6257231 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/4b771c3c-5344-4384-a307-35b5f5ff8c92/links/2515aaa7-ce74-4812-8a25-b6d78b8b7378/start_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture' -d '{}' -POST /v2/projects/4b771c3c-5344-4384-a307-35b5f5ff8c92/links/2515aaa7-ce74-4812-8a25-b6d78b8b7378/start_capture HTTP/1.1 +POST /v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/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": "2515aaa7-ce74-4812-8a25-b6d78b8b7378", + "link_id": "0627d444-37f7-45e4-9cec-52a48f276691", "nodes": [], - "project_id": "4b771c3c-5344-4384-a307-35b5f5ff8c92" + "project_id": "ce362c30-2afb-461c-9d15-653b109839ad" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt index c8a3c503..e18a69fb 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/ab4b1299-fda7-4314-af02-da51dc8bcfba/links/4acdbe58-0fa5-45bc-8e38-c95852302c03/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture' -d '{}' -POST /v2/projects/ab4b1299-fda7-4314-af02-da51dc8bcfba/links/4acdbe58-0fa5-45bc-8e38-c95852302c03/stop_capture HTTP/1.1 +POST /v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/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": "4acdbe58-0fa5-45bc-8e38-c95852302c03", + "link_id": "0ee892d2-92e8-4063-8be4-a7c6483bcaca", "nodes": [], - "project_id": "ab4b1299-fda7-4314-af02-da51dc8bcfba" + "project_id": "a6eb0c0f-f374-424b-b3e0-a03506973774" } diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt index eca31c22..ed12c031 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/9349f15d-1bdb-4a0b-8f67-16af020d4463/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/dc47676e-c750-4f0b-9c16-f77d138567c9/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -POST /v2/projects/9349f15d-1bdb-4a0b-8f67-16af020d4463/nodes HTTP/1.1 +POST /v2/projects/dc47676e-c750-4f0b-9c16-f77d138567c9/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": "f7c9e8dd-be7d-4733-ad67-6ecd27d476c6", + "node_id": "23d30a86-685d-4a69-81f6-2629a2501dfa", "node_type": "vpcs", - "project_id": "9349f15d-1bdb-4a0b-8f67-16af020d4463", + "project_id": "dc47676e-c750-4f0b-9c16-f77d138567c9", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt index 1e780125..e53d1e68 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/2a0d8e7b-af13-4e0a-9a3a-ab3bd5e3be84/nodes/4bc29ac1-ca1c-4de0-b30a-a75edf0635cf/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload' -d '{}' -POST /v2/projects/2a0d8e7b-af13-4e0a-9a3a-ab3bd5e3be84/nodes/4bc29ac1-ca1c-4de0-b30a-a75edf0635cf/reload HTTP/1.1 +POST /v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt index ad0f9691..4662bccf 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/368ca0b2-72e0-4d0c-a974-c1930dac31bd/nodes/074bb9ee-71fd-40ad-8954-7c0c2d8c1d80/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start' -d '{}' -POST /v2/projects/368ca0b2-72e0-4d0c-a974-c1930dac31bd/nodes/074bb9ee-71fd-40ad-8954-7c0c2d8c1d80/start HTTP/1.1 +POST /v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt index dd845b95..58348ca8 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/0f6df111-846c-42bd-b932-14e18c7fbbcc/nodes/61c2e423-df24-44bc-bf57-7c373dc05837/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop' -d '{}' -POST /v2/projects/0f6df111-846c-42bd-b932-14e18c7fbbcc/nodes/61c2e423-df24-44bc-bf57-7c373dc05837/stop HTTP/1.1 +POST /v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt index f0189b27..b2955e3a 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/8c89c990-c2e5-46c1-85f7-d3966772ba40/nodes/e7441ee5-2c60-4e73-896e-2d49344777ec/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend' -d '{}' -POST /v2/projects/8c89c990-c2e5-46c1-85f7-d3966772ba40/nodes/e7441ee5-2c60-4e73-896e-2d49344777ec/suspend HTTP/1.1 +POST /v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt index 4ea82cf4..3839d1f2 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/3f6380d1-0110-4d00-8e1d-55009cf11a86/nodes/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload' -d '{}' -POST /v2/projects/3f6380d1-0110-4d00-8e1d-55009cf11a86/nodes/reload HTTP/1.1 +POST /v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt index 73f0d48f..00618d33 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/9aa737af-509e-4714-b24c-369671a83a96/nodes/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start' -d '{}' -POST /v2/projects/9aa737af-509e-4714-b24c-369671a83a96/nodes/start HTTP/1.1 +POST /v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt index ba0fe849..1753f90f 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/423165ca-8b0d-42c4-bb0e-b25c171626fd/nodes/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop' -d '{}' -POST /v2/projects/423165ca-8b0d-42c4-bb0e-b25c171626fd/nodes/stop HTTP/1.1 +POST /v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt index d3f16bb6..3721e4c0 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/437ff4c1-dcb2-4885-81b2-b5ea1ad65336/nodes/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend' -d '{}' -POST /v2/projects/437ff4c1-dcb2-4885-81b2-b5ea1ad65336/nodes/suspend HTTP/1.1 +POST /v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidopen.txt b/docs/api/examples/controller_post_projectsprojectidopen.txt index 835342ad..90e842fe 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/5444d366-9ec2-40c7-8fb8-7c01746e3cf2/open' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open' -d '{}' -POST /v2/projects/5444d366-9ec2-40c7-8fb8-7c01746e3cf2/open HTTP/1.1 +POST /v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/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/tmp_jtyu9qk/projects/5444d366-9ec2-40c7-8fb8-7c01746e3cf2", - "project_id": "5444d366-9ec2-40c7-8fb8-7c01746e3cf2", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6dp3nxma/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1", + "project_id": "63bc1a63-1959-4bd6-b7d0-db36f61e8db1", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt new file mode 100644 index 00000000..71788d54 --- /dev/null +++ b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt @@ -0,0 +1,21 @@ +curl -i -X POST 'http://localhost:3080/v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots' -d '{"name": "snap1"}' + +POST /v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots HTTP/1.1 +{ + "name": "snap1" +} + + +HTTP/1.1 201 +CONTENT-LENGTH: 170 +CONTENT-TYPE: application/json +DATE: Thu, 08 Jan 2015 16:09:15 GMT +SERVER: Python/3.5 GNS3/2.0.0dev1 +X-ROUTE: /v2/projects/{project_id}/snapshots + +{ + "created_at": 1469555808, + "name": "snap1", + "project_id": "bf4b231b-77a0-415d-b6fe-729b651e2d5b", + "snapshot_id": "34fa5834-b012-4098-a972-08fbb34a3b5e" +} diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt new file mode 100644 index 00000000..5334afd6 --- /dev/null +++ b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt @@ -0,0 +1,20 @@ +curl -i -X POST 'http://localhost:3080/v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore' -d '{}' + +POST /v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore HTTP/1.1 +{} + + +HTTP/1.1 201 +CONTENT-LENGTH: 255 +CONTENT-TYPE: application/json +DATE: Thu, 08 Jan 2015 16:09:15 GMT +SERVER: Python/3.5 GNS3/2.0.0dev1 +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", + "status": "opened" +} diff --git a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt index 2bb581f2..a499c46d 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/488ca1f9-a404-43d3-87e9-ec82f1e33fb7/drawings/7a33ad88-12fd-4d5e-a373-0d9220c71f5a' -d '{"x": 42}' +curl -i -X PUT 'http://localhost:3080/v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf' -d '{"x": 42}' -PUT /v2/projects/488ca1f9-a404-43d3-87e9-ec82f1e33fb7/drawings/7a33ad88-12fd-4d5e-a373-0d9220c71f5a HTTP/1.1 +PUT /v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf 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": "7a33ad88-12fd-4d5e-a373-0d9220c71f5a", - "project_id": "488ca1f9-a404-43d3-87e9-ec82f1e33fb7", + "drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf", + "project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c", "rotation": 0, "svg": "", "x": 42, diff --git a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt index aea916b8..264909df 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/57b14348-d5cd-4082-b9af-5cbe41d59d9f/nodes/64078814-e8a2-43ca-bbea-b649f6e97c5f' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +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"}}' -PUT /v2/projects/57b14348-d5cd-4082-b9af-5cbe41d59d9f/nodes/64078814-e8a2-43ca-bbea-b649f6e97c5f HTTP/1.1 +PUT /v2/projects/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b 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": "64078814-e8a2-43ca-bbea-b649f6e97c5f", + "node_id": "15c3c722-70b2-403b-a3bc-e5cc8993d34b", "node_type": "vpcs", - "project_id": "57b14348-d5cd-4082-b9af-5cbe41d59d9f", + "project_id": "ed3bb733-eef4-4018-965d-fedb73222398", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/drawing.created.json b/docs/api/notifications/drawing.created.json index 89fbc91c..ccd7b2f2 100644 --- a/docs/api/notifications/drawing.created.json +++ b/docs/api/notifications/drawing.created.json @@ -1,6 +1,6 @@ { - "drawing_id": "7d8a9489-e8f8-4cab-ad67-c71d26c6d570", - "project_id": "8136bd49-a9e0-43a2-8012-e49d539bc0b4", + "drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4", + "project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23", "rotation": 0, "svg": "", "x": 10, diff --git a/docs/api/notifications/drawing.deleted.json b/docs/api/notifications/drawing.deleted.json index 4a2e5d28..bb26d274 100644 --- a/docs/api/notifications/drawing.deleted.json +++ b/docs/api/notifications/drawing.deleted.json @@ -1,6 +1,6 @@ { - "drawing_id": "a816efd7-0c3e-4267-8891-011de8389855", - "project_id": "3bfa063a-bbfb-4c46-aefd-39b73c8ee707", + "drawing_id": "e6f49ba0-191d-4dec-b565-24633aaac514", + "project_id": "27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2", "rotation": 0, "svg": "", "x": 0, diff --git a/docs/api/notifications/drawing.updated.json b/docs/api/notifications/drawing.updated.json index 303aae9f..f1e81ac9 100644 --- a/docs/api/notifications/drawing.updated.json +++ b/docs/api/notifications/drawing.updated.json @@ -1,6 +1,6 @@ { - "drawing_id": "7a33ad88-12fd-4d5e-a373-0d9220c71f5a", - "project_id": "488ca1f9-a404-43d3-87e9-ec82f1e33fb7", + "drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf", + "project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c", "rotation": 0, "x": 42, "y": 20, diff --git a/docs/api/notifications/link.created.json b/docs/api/notifications/link.created.json index d2dea5ce..679f9009 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": "3a5d720e-c005-421a-ba55-c4f9ba6b7fd8", + "link_id": "c5df007d-4eef-4892-966f-4f2b142f1851", "nodes": [ { "adapter_number": 0, @@ -13,7 +13,7 @@ "x": -10, "y": -10 }, - "node_id": "54888447-9a71-4a5c-9d0c-ebc39433fed6", + "node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4", "port_number": 3 }, { @@ -25,9 +25,9 @@ "x": -10, "y": -10 }, - "node_id": "c8e9784f-4a8f-4a1f-826a-e095d55d10c8", + "node_id": "617d046f-1cca-4555-9237-cff43ef9966d", "port_number": 4 } ], - "project_id": "8d82f6d1-a010-4dc0-bd01-77155280e3b8" + "project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd" } \ No newline at end of file diff --git a/docs/api/notifications/link.deleted.json b/docs/api/notifications/link.deleted.json index 2e4ce501..cb49b24e 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": "b9be3e2e-4090-43a9-95a0-f95b30f441eb", + "link_id": "fba7ca91-0ead-4d87-b5b3-dd774553c02d", "nodes": [], - "project_id": "0f1adb1a-e58d-47ae-92a5-a0f4ed1858b2" + "project_id": "0cee12de-d97f-46d4-8524-ded4ac09c2ee" } \ No newline at end of file diff --git a/docs/api/notifications/link.updated.json b/docs/api/notifications/link.updated.json index fc1dc0bc..18306e3f 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": "6d5a6cca-006f-4611-a016-cb5cbad218c7", + "link_id": "cb1581f0-85da-48e7-a2a1-f12667dc7a0a", "nodes": [ { "adapter_number": 0, @@ -11,7 +11,7 @@ "x": 64, "y": 0 }, - "node_id": "b04b19fe-8053-46ee-bd20-3591edf873bb", + "node_id": "97b1f87f-43ae-4291-92b7-07df575214a5", "port_number": 3 }, { @@ -23,9 +23,9 @@ "x": -10, "y": -10 }, - "node_id": "633daae6-4069-48cc-b8ab-b3e93c309a49", + "node_id": "e0fa8c63-4afc-4405-ab47-d7532ad06ada", "port_number": 4 } ], - "project_id": "a7427d10-d89b-4f96-b93c-3ef46fe8aae8" + "project_id": "472c6197-1b52-472c-b1db-027e76bdda56" } \ No newline at end of file diff --git a/docs/api/notifications/node.deleted.json b/docs/api/notifications/node.deleted.json index 87d41002..c8364d9e 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": "65b24f26-b0a1-416b-9a00-822e256954e9", + "node_id": "0a424518-818b-4446-bd32-dc6ee06a9c3b", "node_type": "vpcs", - "project_id": "9f98296f-7740-45a2-a40f-e6db8c356318", + "project_id": "15a99958-1ecb-4e3c-a6d7-b663a7525cba", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/notifications/node.updated.json b/docs/api/notifications/node.updated.json index 66f1ffc3..3cda0250 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": "c10d4f21-4f52-4de2-a84c-a5beeff49e95", + "node_id": "a09b8477-f352-4d8c-ae4f-5235519cbb81", "node_type": "vpcs", - "project_id": "3f125837-0591-45d3-8740-e054e2222710", + "project_id": "00558e56-680d-4ad4-84ba-c341687e64ea", "properties": { "startup_config": "test.cfg" }, diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index ad62fa8c..06b94e3e 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 7ba756c5..740fc5be 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an ATM switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -81,8 +81,8 @@ Delete an ATM switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 5418f9ef..0a2dfad4 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 8501288e..590e5152 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 8b113ea0..121048b4 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 d51ff99a..97de81c8 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 f3fb5f76..d893d4d8 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst index 40992d7c..630167ab 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -39,8 +39,8 @@ Update a cloud instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -144,8 +144,8 @@ Delete a cloud instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 76adfd79..ec11ac84 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the cloud - **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a cloud instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the cloud - **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 5729bf7d..5763a005 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the cloud - **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 50f62db8..7b91270c 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the cloud - **adapter_number**: Adapter on the cloud (always 0) +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst index 64a379fa..7332ec76 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst index 06a1d80d..6a1070a7 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst index 01641dad..28c5de49 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst index 586db74a..d80ac2e2 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst @@ -30,6 +30,7 @@ Input console_http_port integer Internal port in the container for the HTTP server console_resolution ['string', 'null'] Console resolution for VNC console_type enum Possible values: telnet, vnc, http, https + container_id string Docker container ID Read only environment ['string', 'null'] Docker environment variables image ✔ string Docker image name name ✔ string Docker container name diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst index 6371c4df..0828a3c9 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -25,8 +25,8 @@ Update a Docker instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 40015c75..1374612b 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a Docker container Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 12e4fefb..562e3b26 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index d9e297a2..104d7638 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst index 6e2b1547..62ea8357 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst index f88df489..12b5d9e1 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst index cf4c5131..073462cb 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst index f1f688d4..88ca6b9a 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst index 281800d0..327ed120 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 9d3650df..c7f7a768 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -79,8 +79,8 @@ Update a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -202,8 +202,8 @@ Delete a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 ec77053d..2032664a 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter where the nio should be added +- **project_id**: Project UUID Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a Dynamips VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter from where the nio should be removed +- **project_id**: Project 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 a9814119..269f7b01 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project 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 40ee8371..0dce56f5 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project 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 8e8d4f54..81a775f4 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst index 924bbdca..09ddcdd1 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigs.rst @@ -9,8 +9,8 @@ Retrieve the startup and private configs content Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst index 4bd6f4c2..be0bba50 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidconfigssave.rst @@ -9,8 +9,8 @@ Save the startup and private configs content Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst index c5cde1de..53d61343 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 655f3522..9ae98a06 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 53f7ef21..d45ede09 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 0729560f..de898325 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 e09a2d31..c9b01c50 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 ffa73f96..075f3df6 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 55c25116..b47b6e7f 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -97,8 +97,8 @@ Delete an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 b0092229..2cd73193 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the hub - **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project UUID Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from an Ethernet hub instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the hub - **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project 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 bf7a28dd..898089df 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the hub - **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project 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 17170cad..212f8fd3 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the hub - **adapter_number**: Adapter on the hub (always 0) +- **project_id**: Project 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 04d7e9d2..275d9a62 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 5ea86cc0..7a98a5dc 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 f3b3158a..1ee67e63 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 f94fd64d..d47bf391 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -100,8 +100,8 @@ Delete an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 1001a7eb..d9c5ab31 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from an Ethernet switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 77ea715c..d54991d8 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 0e8d7ff5..5142526b 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 a5b9c7a4..a3d3d51d 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 6ac3a291..a5b5e5ec 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 8751dcc5..89755223 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 018e6d1a..245dce77 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -81,8 +81,8 @@ Delete a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 682156d1..6b5eb998 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project UUID Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a Frame Relay switch instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 08a55a5a..9b46f67f 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 693ce7ca..97c6b2a3 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the switch - **adapter_number**: Adapter on the switch (always 0) +- **project_id**: Project 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 0b1ae513..89a7a3c9 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 e8f144f1..9d6e3273 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project 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 13a417da..aae9bc87 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst index e939e427..337273bf 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -61,8 +61,8 @@ Update an IOU instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -144,8 +144,8 @@ Delete an IOU instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 55c4588e..4864c175 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 ********** -- **project_id**: Project UUID - **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 Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a IOU instance Parameters ********** -- **project_id**: Project UUID - **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 Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 95fe90e3..d07fd2a8 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 8525b401..f82dfd6a 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst index dd00efc8..3fb62188 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigs.rst @@ -9,8 +9,8 @@ Retrieve the startup and private configs content Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst index 2d6eaa6b..8af1013b 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidconfigssave.rst @@ -9,8 +9,8 @@ Save the startup and private configs content Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst index fcf350cd..86ada843 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst index 57defba5..0bcca224 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst index 45c52663..e1df8aa9 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst index 4f357856..afa11ec4 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -80,8 +80,8 @@ Update a Qemu VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -197,8 +197,8 @@ Delete a Qemu VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 5087526e..2b0cbc75 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 ********** -- **project_id**: Project UUID - **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 Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a Qemu VM instance Parameters ********** -- **project_id**: Project UUID - **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 Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index b9a3790f..6825f519 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index c2c6abe5..4d152760 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst index 57a0c1c4..dff97a96 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst index ab5190f3..b19656e5 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst index 07abd6fa..1cf2ac05 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst index e25400f6..bcd612d6 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst index dd81c58d..306e3189 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst index 33ff7a23..1d78f182 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -54,8 +54,8 @@ Update a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -123,8 +123,8 @@ Delete a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index c5ac72d1..21cfbd6e 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 ********** -- **project_id**: Project UUID - **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 Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** -- **project_id**: Project UUID - **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 Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index b0e83a1d..4eeb369e 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index ceaaa96c..c8bb33db 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst index 03b5c253..ba593e10 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst index c3c15852..50e1bba3 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst index 999f5bca..62ead042 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst index 5f116158..202424dc 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst index 212c6ebf..e1dad875 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst index b5fcf5d8..4fea23d3 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -47,8 +47,8 @@ Update a VMware VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -108,8 +108,8 @@ Delete a VMware VM instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst index f5ed8d65..8f81fe33 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 ********** -- **project_id**: Project UUID - **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 Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a VMware VM instance Parameters ********** -- **project_id**: Project UUID - **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 Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 9919c916..9518f716 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 4f4da5b1..aee682fa 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter (always 0) - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst index d3672687..16913e56 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst index 33f5c50b..d63d89d9 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst index ac7c95ef..84d21d6c 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst index d6c21dbf..3240f8da 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst index a60da50d..a260c0c8 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst index 1c9a83cd..b2306c74 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst index a1b3a95d..641002f8 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -49,8 +49,8 @@ Update a VPCS instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** @@ -103,8 +103,8 @@ Delete a VPCS instance Parameters ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 8af0e4c1..b948c512 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 ********** -- **project_id**: Project UUID - **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 Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a VPCS instance Parameters ********** -- **project_id**: Project UUID - **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 Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 30e6fc6c..3257f84a 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter to start a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 2c1d78bf..ca093f95 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID - **port_number**: Port on the adapter - **adapter_number**: Adapter to stop a packet capture +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst index 1689078c..e3cc4ec9 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst index d40a2398..6f438a4f 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst index 779f0ad5..280dbca1 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst b/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst index 749b099f..956f0a76 100644 --- a/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst +++ b/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst @@ -9,8 +9,8 @@ Create a new drawing instance Parameters ********** -- **project_id**: Project UUID - **drawing_id**: Drawing UUID +- **project_id**: Project UUID Response status codes ********************** @@ -60,8 +60,8 @@ Delete a drawing instance Parameters ********** -- **project_id**: Project UUID - **drawing_id**: Drawing UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst index 0d62948b..db905435 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst @@ -9,8 +9,8 @@ Update a link instance Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** @@ -52,8 +52,8 @@ Delete a link instance Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst index b40eba31..45885529 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst @@ -9,8 +9,8 @@ Steam the pcap capture file Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst index 9e57489f..0bcdbfc5 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst @@ -9,8 +9,8 @@ Start capture on a link instance. By default we consider it as an Ethernet link Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst index da2bcb29..53c97524 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst @@ -9,8 +9,8 @@ Stop capture on a link instance Parameters ********** -- **project_id**: Project UUID - **link_id**: Link UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst index 6bbb3d13..d487b606 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst index 3b74b947..cc04c2e5 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst index 3ee287e4..e5e05092 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst index f6042bb2..4a1cad95 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst index a43ed2cd..da8b3162 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst index 11b00841..5d933fdf 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst index 7d9e0b6e..cd92b436 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 ********** -- **project_id**: Project UUID - **node_id**: Node UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/api/v2/controller/project/projectsprojectidduplicate.rst b/docs/api/v2/controller/project/projectsprojectidduplicate.rst new file mode 100644 index 00000000..9834924d --- /dev/null +++ b/docs/api/v2/controller/project/projectsprojectidduplicate.rst @@ -0,0 +1,49 @@ +/v2/projects/{project_id}/duplicate +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/projects/**{project_id}**/duplicate +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Duplicate a project + +Parameters +********** +- **project_id**: Project UUID + +Response status codes +********************** +- **201**: Project duplicate +- **403**: The server is not the local server +- **404**: The project doesn't exist + +Input +******* +.. raw:: html + + + + + + +
Name Mandatory Type Description
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
+ +Output +******* +.. raw:: html + + + + + + + + +
Name Mandatory Type Description
filename ['string', 'null'] Project filename
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id string Project UUID
status enum Possible values: opened, closed
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/controller_post_projectsprojectidduplicate.txt + diff --git a/docs/api/v2/controller/snapshot.rst b/docs/api/v2/controller/snapshot.rst new file mode 100644 index 00000000..6c8a9556 --- /dev/null +++ b/docs/api/v2/controller/snapshot.rst @@ -0,0 +1,8 @@ +Snapshot +----------------------------- + +.. toctree:: + :glob: + :maxdepth: 2 + + snapshot/* diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst new file mode 100644 index 00000000..c37b5788 --- /dev/null +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst @@ -0,0 +1,65 @@ +/v2/projects/{project_id}/snapshots +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/projects/**{project_id}**/snapshots +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Create snapshot of a project + +Parameters +********** +- **project_id**: Project UUID + +Response status codes +********************** +- **201**: Snasphot created +- **404**: The project doesn't exist + +Input +******* +.. raw:: html + + + + +
Name Mandatory Type Description
name Snapshot name
+ +Output +******* +.. raw:: html + + + + + + + +
Name Mandatory Type Description
created_at integer Date of the snapshot (UTC timestamp)
name string Project name
project_id string Project UUID
snapshot_id string Snapshot UUID
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/controller_post_projectsprojectidsnapshots.txt + + +GET /v2/projects/**{project_id}**/snapshots +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +List snapshots of a project + +Parameters +********** +- **project_id**: Project UUID + +Response status codes +********************** +- **200**: Snasphot list returned +- **404**: The project doesn't exist + +Sample session +*************** + + +.. literalinclude:: ../../../examples/controller_get_projectsprojectidsnapshots.txt + diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst new file mode 100644 index 00000000..2d5319da --- /dev/null +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst @@ -0,0 +1,25 @@ +/v2/projects/{project_id}/snapshots/{snapshot_id} +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +DELETE /v2/projects/**{project_id}**/snapshots/**{snapshot_id}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Delete a snapshot from disk + +Parameters +********** +- **snapshot_id**: Snasphot UUID +- **project_id**: Project UUID + +Response status codes +********************** +- **404**: The project or snapshot doesn't exist +- **204**: Changes have been written on disk + +Sample session +*************** + + +.. literalinclude:: ../../../examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt + diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst new file mode 100644 index 00000000..de14bcc1 --- /dev/null +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst @@ -0,0 +1,38 @@ +/v2/projects/{project_id}/snapshots/{snapshot_id}/restore +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +POST /v2/projects/**{project_id}**/snapshots/**{snapshot_id}**/restore +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Restore a snapshot from disk + +Parameters +********** +- **snapshot_id**: Snasphot UUID +- **project_id**: Project UUID + +Response status codes +********************** +- **201**: The snapshot has been restored +- **404**: The project or snapshot doesn't exist + +Output +******* +.. raw:: html + + + + + + + + +
Name Mandatory Type Description
filename ['string', 'null'] Project filename
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id string Project UUID
status enum Possible values: opened, closed
+ +Sample session +*************** + + +.. literalinclude:: ../../../examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt + diff --git a/docs/gns3_file.json b/docs/gns3_file.json index 63bf2f95..f1ba3f41 100644 --- a/docs/gns3_file.json +++ b/docs/gns3_file.json @@ -1,447 +1,447 @@ { - "description": "The topology", + "type": "object", + "additionalProperties": false, + "required": [ + "project_id", + "type", + "revision", + "version", + "name", + "topology" + ], + "$schema": "http://json-schema.org/draft-04/schema#", "properties": { - "auto_start": { - "description": "Start the topology when opened", - "type": "boolean" + "type": { + "enum": [ + "topology" + ], + "description": "Type of file. It's always topology" + }, + "name": { + "type": "string", + "description": "Name of the project" + }, + "revision": { + "type": "integer", + "description": "Version of the .gns3 specification." }, "topology": { - "description": "The topology content", + "type": "object", "properties": { - "computes": { - "description": "Computes servers", - "items": { - "description": "Request validation to a GNS3 compute object instance", - "properties": { - "user": { - "description": "User for authentication", - "type": [ - "string", - "null" - ] - }, - "port": { - "description": "Server port", - "type": "integer" - }, - "version": { - "description": "Version of the GNS3 remote compute server", - "type": [ - "string", - "null" - ] - }, - "memory_usage_percent": { - "description": "RAM usage of the compute. Read only", - "minimum": 0, - "type": [ - "number", - "null" - ], - "maximum": 100 - }, - "compute_id": { - "description": "Server identifier", - "type": "string" - }, - "name": { - "description": "Server name", - "type": "string" - }, - "cpu_usage_percent": { - "description": "CPU usage of the compute. Read only", - "minimum": 0, - "type": [ - "number", - "null" - ], - "maximum": 100 - }, - "protocol": { - "description": "Server protocol", - "enum": [ - "http", - "https" - ] - }, - "connected": { - "description": "Whether the controller is connected to the compute server or not", - "type": "boolean" - }, - "host": { - "description": "Server host", - "type": "string" - } - }, - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#", - "required": [ - "compute_id", - "protocol", - "host", - "port", - "name" - ], - "type": "object" - }, - "type": "array" - }, "drawings": { + "type": "array", "description": "Drawings elements", "items": { - "description": "An drawing object", + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", "properties": { - "rotation": { - "description": "Rotation of the element", - "maximum": 360, + "x": { "type": "integer", - "minimum": 0 + "description": "X property" }, - "y": { - "description": "Y property", - "type": "integer" + "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, - "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}$" + "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, - "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}$" - }, - "z": { - "description": "Z property", - "type": "integer" + "minLength": 36 }, - "x": { - "description": "X property", - "type": "integer" + "y": { + "type": "integer", + "description": "Y property" }, - "svg": { - "description": "SVG content of the drawing", - "type": "string" + "rotation": { + "type": "integer", + "maximum": 360, + "description": "Rotation of the element", + "minimum": 0 } }, - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object" - }, - "type": "array" + "description": "An drawing object", + "additionalProperties": false + } }, "nodes": { + "type": "array", "description": "Nodes elements", "items": { - "description": "A node object", + "type": "object", + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-04/schema#", "properties": { - "symbol": { - "description": "Symbol of the node", - "minLength": 1, - "type": "string" + "name": { + "type": "string", + "description": "Node name", + "minLength": 1 }, - "y": { - "description": "Y position of the node", - "type": "integer" + "console_type": { + "enum": [ + "serial", + "vnc", + "telnet", + null + ], + "description": "Console type" }, - "command_line": { - "description": "Command line use to start the node", - "type": [ - "null", - "string" - ] + "node_type": { + "enum": [ + "cloud", + "ethernet_hub", + "ethernet_switch", + "frame_relay_switch", + "atm_switch", + "docker", + "dynamips", + "vpcs", + "virtualbox", + "vmware", + "iou", + "qemu" + ], + "description": "Type of node" }, - "console_host": { - "description": "Console host", - "minLength": 1, - "type": "string" + "x": { + "type": "integer", + "description": "X position of the node" }, - "compute_id": { - "description": "Compute identifier", - "type": "string" + "z": { + "type": "integer", + "description": "Z position of the node" }, - "node_directory": { - "description": "Working directory of the node. Read only", + "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 + }, + "width": { + "type": "integer", + "description": "Width of the node" + }, + "y": { + "type": "integer", + "description": "Y position of the node" + }, + "command_line": { "type": [ "null", "string" - ] + ], + "description": "Command line use to start the node" }, - "z": { - "description": "Z position of the node", - "type": "integer" + "symbol": { + "type": "string", + "description": "Symbol of the node", + "minLength": 1 }, "console": { - "description": "Console TCP port", - "minimum": 1, "type": [ "integer", "null" ], - "maximum": 65535 - }, - "properties": { - "description": "Properties specific to an emulator", - "type": "object" - }, - "status": { - "description": "Status of the node", - "enum": [ - "stopped", - "started", - "suspended" - ] + "maximum": 65535, + "description": "Console TCP port", + "minimum": 1 }, - "node_id": { - "description": "Node UUID", - "maxLength": 36, - "minLength": 36, + "console_host": { "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": "Console host", + "minLength": 1 }, - "node_type": { - "description": "Type of node", - "enum": [ - "cloud", - "ethernet_hub", - "ethernet_switch", - "frame_relay_switch", - "atm_switch", - "docker", - "dynamips", - "vpcs", - "virtualbox", - "vmware", - "iou", - "qemu" - ] + "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 }, "label": { + "type": "object", "properties": { - "rotation": { - "description": "Rotation of the label", - "type": "integer" + "y": { + "type": "integer", + "description": "Relative Y position of the label" }, "text": { "type": "string" }, - "y": { - "description": "Relative Y position of the label", - "type": "integer" - }, "x": { - "description": "Relative X position of the label", - "type": "integer" + "type": "integer", + "description": "Relative X position of the label" }, "style": { - "description": "SVG style attribute", - "type": "string" + "type": "string", + "description": "SVG style attribute" + }, + "rotation": { + "type": "integer", + "description": "Rotation of the label" } }, "additionalProperties": false, - "type": "object", "required": [ "text", "x", "y" ] }, - "width": { - "description": "Width of the node", - "type": "integer" - }, - "project_id": { - "description": "Project UUID", - "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}$" + "height": { + "type": "integer", + "description": "Height of the node" }, - "name": { - "description": "Node name", - "minLength": 1, - "type": "string" + "properties": { + "type": "object", + "description": "Properties specific to an emulator" }, - "x": { - "description": "X position of the node", - "type": "integer" + "status": { + "enum": [ + "stopped", + "started", + "suspended" + ], + "description": "Status of the node" }, - "height": { - "description": "Height of the node", - "type": "integer" + "node_directory": { + "type": [ + "null", + "string" + ], + "description": "Working directory of the node. Read only" }, - "console_type": { - "description": "Console type", - "enum": [ - "serial", - "vnc", - "telnet", - null - ] + "compute_id": { + "type": "string", + "description": "Compute identifier" } }, - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object" - }, - "type": "array" + "description": "A node object" + } }, "links": { + "type": "array", "description": "Link elements", "items": { - "description": "A link object", + "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": { - "adapter_number": { - "description": "Adapter number", - "type": "integer" - }, - "node_id": { - "description": "Node UUID", - "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}$" - }, "label": { + "type": "object", "properties": { - "rotation": { - "description": "Rotation of the label", - "type": "integer" + "y": { + "type": "integer", + "description": "Relative Y position of the label" }, "text": { "type": "string" }, - "y": { - "description": "Relative Y position of the label", - "type": "integer" - }, "x": { - "description": "Relative X position of the label", - "type": "integer" + "type": "integer", + "description": "Relative X position of the label" }, "style": { - "description": "SVG style attribute", - "type": "string" + "type": "string", + "description": "SVG style attribute" + }, + "rotation": { + "type": "integer", + "description": "Rotation 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": { - "description": "Port number", - "type": "integer" + "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" + } }, - "capturing": { - "description": "Read only property. True if a capture running on the link", - "type": "boolean" + "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 }, - "capture_file_path": { - "description": "Read only property. The full path of the capture file if capture is running", + "capture_file_name": { "type": [ "string", "null" - ] - }, - "project_id": { - "description": "Project UUID", - "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": "Read only property. The name of the capture file if capture is running" }, "link_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": "Link UUID", "maxLength": 36, - "minLength": 36, + "minLength": 36 + } + }, + "description": "A link object" + } + }, + "computes": { + "type": "array", + "description": "Computes servers", + "items": { + "type": "object", + "additionalProperties": false, + "required": [ + "compute_id", + "protocol", + "host", + "port", + "name" + ], + "$schema": "http://json-schema.org/draft-04/schema#", + "properties": { + "name": { "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": "Server name" }, - "capture_file_name": { - "description": "Read only property. The name of the capture file if capture is running", + "cpu_usage_percent": { + "type": [ + "number", + "null" + ], + "maximum": 100, + "description": "CPU usage of the compute. Read only", + "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", + "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", "null" - ] + ], + "description": "User for authentication" + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "Version of the GNS3 remote compute server" + }, + "compute_id": { + "type": "string", + "description": "Server identifier" } }, - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#", - "required": [ - "nodes" - ], - "type": "object" - }, - "type": "array" + "description": "Request validation to a GNS3 compute object instance" + } } }, - "additionalProperties": false, - "type": "object", + "description": "The topology content", "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, - "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}$" - }, - "version": { - "description": "Version of the GNS3 software which have update the file for the last time", - "type": "string" - }, - "name": { - "description": "Name of the project", - "type": "string" + "minLength": 36 }, - "type": { - "description": "Type of file. It's always topology", - "enum": [ - "topology" - ] + "auto_start": { + "type": "boolean", + "description": "Start the topology when opened" }, - "revision": { - "description": "Version of the .gns3 specification.", - "type": "integer" + "version": { + "type": "string", + "description": "Version of the GNS3 software which have update the file for the last time" } }, - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#", - "required": [ - "project_id", - "type", - "revision", - "version", - "name", - "topology" - ], - "type": "object" + "description": "The topology" } \ No newline at end of file