From 54131bc9bbaf4cca39b461977d05a7d5193417d5 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 6 Mar 2017 14:35:39 +0100 Subject: [PATCH] Update the documentation --- .../compute_delete_projectsprojectid.txt | 13 - ...lete_projectsprojectidcloudnodesnodeid.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - ...delete_projectsprojectidiounodesnodeid.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - ...delete_projectsprojectidnatnodesnodeid.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - ...elete_projectsprojectidqemunodesnodeid.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - ...elete_projectsprojectidvpcsnodesnodeid.txt | 13 - ...ptersadapternumberdportsportnumberdnio.txt | 13 - .../api/examples/compute_get_capabilities.txt | 32 - docs/api/examples/compute_get_iouimages.txt | 21 - .../compute_get_networkinterfaces.txt | 240 ----- docs/api/examples/compute_get_projects.txt | 23 - .../compute_get_projectsprojectid.txt | 17 - ..._get_projectsprojectidcloudnodesnodeid.txt | 166 --- ...te_get_projectsprojectidiounodesnodeid.txt | 33 - ...te_get_projectsprojectidnatnodesnodeid.txt | 27 - ...e_get_projectsprojectidqemunodesnodeid.txt | 56 - ...projectsprojectidvirtualboxnodesnodeid.txt | 29 - ...e_get_projectsprojectidvpcsnodesnodeid.txt | 25 - .../api/examples/compute_get_qemubinaries.txt | 31 - .../examples/compute_get_qemucapabilities.txt | 18 - docs/api/examples/compute_get_version.txt | 17 - docs/api/examples/compute_post_projects.txt | 20 - .../compute_post_projectsprojectidclose.txt | 13 - ...mpute_post_projectsprojectidcloudnodes.txt | 168 --- ...ptersadapternumberdportsportnumberdnio.txt | 24 - ...ptersadapternumberdportsportnumberdnio.txt | 24 - ...ternumberdportsportnumberdstartcapture.txt | 19 - ...pternumberdportsportnumberdstopcapture.txt | 13 - ...compute_post_projectsprojectidiounodes.txt | 38 - ...ptersadapternumberdportsportnumberdnio.txt | 20 - ...ternumberdportsportnumberdstartcapture.txt | 19 - ...pternumberdportsportnumberdstopcapture.txt | 13 - ..._projectsprojectidiounodesnodeidreload.txt | 13 - ...t_projectsprojectidiounodesnodeidstart.txt | 35 - ...st_projectsprojectidiounodesnodeidstop.txt | 13 - ...compute_post_projectsprojectidnatnodes.txt | 29 - ...ptersadapternumberdportsportnumberdnio.txt | 24 - ...compute_post_projectsprojectidportsudp.txt | 16 - ...ompute_post_projectsprojectidqemunodes.txt | 61 -- ...ptersadapternumberdportsportnumberdnio.txt | 20 - ...projectsprojectidqemunodesnodeidreload.txt | 13 - ...projectsprojectidqemunodesnodeidresume.txt | 13 - ..._projectsprojectidqemunodesnodeidstart.txt | 56 - ...t_projectsprojectidqemunodesnodeidstop.txt | 13 - ...rojectsprojectidqemunodesnodeidsuspend.txt | 13 - ..._post_projectsprojectidvirtualboxnodes.txt | 33 - ...ptersadapternumberdportsportnumberdnio.txt | 24 - ...tsprojectidvirtualboxnodesnodeidreload.txt | 13 - ...tsprojectidvirtualboxnodesnodeidresume.txt | 13 - ...ctsprojectidvirtualboxnodesnodeidstart.txt | 13 - ...ectsprojectidvirtualboxnodesnodeidstop.txt | 13 - ...sprojectidvirtualboxnodesnodeidsuspend.txt | 13 - ...ompute_post_projectsprojectidvpcsnodes.txt | 27 - ...ptersadapternumberdportsportnumberdnio.txt | 24 - ...projectsprojectidvpcsnodesnodeidreload.txt | 13 - ..._projectsprojectidvpcsnodesnodeidstart.txt | 25 - ...t_projectsprojectidvpcsnodesnodeidstop.txt | 13 - docs/api/examples/compute_post_qemuimg.txt | 22 - ..._put_projectsprojectidcloudnodesnodeid.txt | 168 --- ...put_projectsprojectiddockernodesnodeid.txt | 36 - ...te_put_projectsprojectidiounodesnodeid.txt | 44 - ...te_put_projectsprojectidnatnodesnodeid.txt | 29 - ...e_put_projectsprojectidqemunodesnodeid.txt | 61 -- ...projectsprojectidvirtualboxnodesnodeid.txt | 32 - ...e_put_projectsprojectidvpcsnodesnodeid.txt | 29 - .../controller_delete_computescomputeid.txt | 13 - .../controller_delete_projectsprojectid.txt | 13 - ...ete_projectsprojectiddrawingsdrawingid.txt | 13 - ...er_delete_projectsprojectidlinkslinkid.txt | 13 - ...er_delete_projectsprojectidnodesnodeid.txt | 13 - ...e_projectsprojectidsnapshotssnapshotid.txt | 13 - docs/api/examples/controller_get_computes.txt | 30 - .../controller_get_computescomputeid.txt | 28 - ...er_get_computescomputeidemulatoraction.txt | 14 - ...er_get_computescomputeidemulatorimages.txt | 21 - docs/api/examples/controller_get_gns3vm.txt | 22 - .../examples/controller_get_gns3vmengines.txt | 39 - .../controller_get_gns3vmenginesenginevms.txt | 18 - docs/api/examples/controller_get_projects.txt | 27 - .../controller_get_projectsprojectid.txt | 25 - ...ntroller_get_projectsprojectiddrawings.txt | 24 - .../controller_get_projectsprojectidlinks.txt | 49 - .../controller_get_projectsprojectidnodes.txt | 59 -- ...oller_get_projectsprojectidnodesnodeid.txt | 57 - ...projectidnodesnodeiddynamipsautoidlepc.txt | 16 - ...ctidnodesnodeiddynamipsidlepcproposals.txt | 17 - ...troller_get_projectsprojectidsnapshots.txt | 21 - docs/api/examples/controller_get_settings.txt | 16 - docs/api/examples/controller_get_symbols.txt | 220 ---- docs/api/examples/controller_get_version.txt | 17 - .../api/examples/controller_post_computes.txt | 35 - ...r_post_computescomputeidemulatoraction.txt | 16 - .../api/examples/controller_post_projects.txt | 28 - .../examples/controller_post_projectsload.txt | 27 - ...controller_post_projectsprojectidclose.txt | 25 - ...troller_post_projectsprojectiddrawings.txt | 27 - ...roller_post_projectsprojectidduplicate.txt | 27 - ...controller_post_projectsprojectidlinks.txt | 35 - ...ojectsprojectidlinkslinkidstartcapture.txt | 22 - ...rojectsprojectidlinkslinkidstopcapture.txt | 22 - ...controller_post_projectsprojectidnodes.txt | 64 -- ...ost_projectsprojectidnodesnodeidreload.txt | 55 - ...post_projectsprojectidnodesnodeidstart.txt | 55 - ..._post_projectsprojectidnodesnodeidstop.txt | 55 - ...st_projectsprojectidnodesnodeidsuspend.txt | 55 - ...ller_post_projectsprojectidnodesreload.txt | 13 - ...oller_post_projectsprojectidnodesstart.txt | 13 - ...roller_post_projectsprojectidnodesstop.txt | 13 - ...ler_post_projectsprojectidnodessuspend.txt | 13 - .../controller_post_projectsprojectidopen.txt | 25 - ...roller_post_projectsprojectidsnapshots.txt | 21 - ...ctsprojectidsnapshotssnapshotidrestore.txt | 25 - .../api/examples/controller_post_settings.txt | 18 - .../api/examples/controller_post_shutdown.txt | 13 - docs/api/examples/controller_post_version.txt | 18 - .../controller_put_computescomputeid.txt | 35 - docs/api/examples/controller_put_gns3vm.txt | 18 - .../controller_put_projectsprojectid.txt | 27 - ...put_projectsprojectiddrawingsdrawingid.txt | 24 - ...oller_put_projectsprojectidnodesnodeid.txt | 62 -- docs/api/notifications/compute.created.json | 15 - docs/api/notifications/compute.deleted.json | 15 - docs/api/notifications/compute.updated.json | 15 - docs/api/notifications/drawing.created.json | 9 - docs/api/notifications/drawing.deleted.json | 9 - docs/api/notifications/drawing.updated.json | 8 - docs/api/notifications/ignore.json | 3 - docs/api/notifications/link.created.json | 34 - docs/api/notifications/link.deleted.json | 9 - docs/api/notifications/link.updated.json | 32 - docs/api/notifications/log.error.json | 3 - docs/api/notifications/log.info.json | 3 - docs/api/notifications/log.warning.json | 3 - docs/api/notifications/node.created.json | 3 - docs/api/notifications/node.updated.json | 45 - docs/api/notifications/ping.json | 3 - docs/api/notifications/project.closed.json | 12 - docs/api/notifications/project.updated.json | 12 - docs/api/notifications/settings.updated.json | 3 - docs/api/notifications/snapshot.restored.json | 6 - docs/api/notifications/test.json | 1 - ...pternumberdportsportnumberdstopcapture.rst | 6 +- .../projectsprojectidatmswitchnodes.rst | 2 +- .../projectsprojectidatmswitchnodesnodeid.rst | 8 +- ...ptersadapternumberdportsportnumberdnio.rst | 12 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...ectsprojectidatmswitchnodesnodeidstart.rst | 4 +- ...jectsprojectidatmswitchnodesnodeidstop.rst | 4 +- ...tsprojectidatmswitchnodesnodeidsuspend.rst | 4 +- .../v2/compute/capabilities/capabilities.rst | 6 - .../cloud/projectsprojectidcloudnodes.rst | 9 +- .../projectsprojectidcloudnodesnodeid.rst | 29 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...projectsprojectidcloudnodesnodeidstart.rst | 4 +- .../projectsprojectidcloudnodesnodeidstop.rst | 4 +- ...ojectsprojectidcloudnodesnodeidsuspend.rst | 4 +- .../docker/projectsprojectiddockernodes.rst | 2 +- .../projectsprojectiddockernodesnodeid.rst | 12 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 12 +- ...pternumberdportsportnumberdstopcapture.rst | 12 +- ...rojectsprojectiddockernodesnodeidpause.rst | 4 +- ...ojectsprojectiddockernodesnodeidreload.rst | 4 +- ...rojectsprojectiddockernodesnodeidstart.rst | 4 +- ...projectsprojectiddockernodesnodeidstop.rst | 4 +- ...jectsprojectiddockernodesnodeidunpause.rst | 4 +- .../projectsprojectiddynamipsnodes.rst | 4 +- .../projectsprojectiddynamipsnodesnodeid.rst | 12 +- ...ptersadapternumberdportsportnumberdnio.rst | 12 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...projectiddynamipsnodesnodeidautoidlepc.rst | 2 +- ...ctiddynamipsnodesnodeididlepcproposals.rst | 2 +- ...ectsprojectiddynamipsnodesnodeidreload.rst | 4 +- ...ectsprojectiddynamipsnodesnodeidresume.rst | 4 +- ...jectsprojectiddynamipsnodesnodeidstart.rst | 4 +- ...ojectsprojectiddynamipsnodesnodeidstop.rst | 4 +- ...ctsprojectiddynamipsnodesnodeidsuspend.rst | 4 +- .../projectsprojectidethernethubnodes.rst | 2 +- ...rojectsprojectidethernethubnodesnodeid.rst | 8 +- ...ptersadapternumberdportsportnumberdnio.rst | 12 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...tsprojectidethernethubnodesnodeidstart.rst | 4 +- ...ctsprojectidethernethubnodesnodeidstop.rst | 4 +- ...projectidethernethubnodesnodeidsuspend.rst | 4 +- .../projectsprojectidethernetswitchnodes.rst | 2 +- ...ectsprojectidethernetswitchnodesnodeid.rst | 8 +- ...ptersadapternumberdportsportnumberdnio.rst | 12 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...rojectidethernetswitchnodesnodeidstart.rst | 4 +- ...projectidethernetswitchnodesnodeidstop.rst | 4 +- ...jectidethernetswitchnodesnodeidsuspend.rst | 4 +- ...projectsprojectidframerelayswitchnodes.rst | 2 +- ...tsprojectidframerelayswitchnodesnodeid.rst | 8 +- ...ptersadapternumberdportsportnumberdnio.rst | 12 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...jectidframerelayswitchnodesnodeidstart.rst | 4 +- ...ojectidframerelayswitchnodesnodeidstop.rst | 4 +- ...ctidframerelayswitchnodesnodeidsuspend.rst | 4 +- docs/api/v2/compute/iou/iouimages.rst | 6 - .../compute/iou/projectsprojectidiounodes.rst | 8 +- .../iou/projectsprojectidiounodesnodeid.rst | 26 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 12 +- ...pternumberdportsportnumberdstopcapture.rst | 12 +- .../projectsprojectidiounodesnodeidreload.rst | 10 +- .../projectsprojectidiounodesnodeidstart.rst | 8 +- .../projectsprojectidiounodesnodeidstop.rst | 10 +- .../compute/nat/projectsprojectidnatnodes.rst | 8 +- .../nat/projectsprojectidnatnodesnodeid.rst | 26 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- .../projectsprojectidnatnodesnodeidstart.rst | 4 +- .../projectsprojectidnatnodesnodeidstop.rst | 4 +- ...projectsprojectidnatnodesnodeidsuspend.rst | 4 +- .../v2/compute/network/networkinterfaces.rst | 6 - .../network/projectsprojectidportsudp.rst | 6 - docs/api/v2/compute/project/projects.rst | 14 +- .../v2/compute/project/projectsprojectid.rst | 14 +- .../project/projectsprojectidclose.rst | 8 +- .../qemu/projectsprojectidqemunodes.rst | 14 +- .../qemu/projectsprojectidqemunodesnodeid.rst | 36 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...projectsprojectidqemunodesnodeidreload.rst | 10 +- ...projectsprojectidqemunodesnodeidresume.rst | 10 +- .../projectsprojectidqemunodesnodeidstart.rst | 12 +- .../projectsprojectidqemunodesnodeidstop.rst | 10 +- ...rojectsprojectidqemunodesnodeidsuspend.rst | 10 +- docs/api/v2/compute/qemu/qemubinaries.rst | 6 - docs/api/v2/compute/qemu/qemucapabilities.rst | 6 - docs/api/v2/compute/qemu/qemuimg.rst | 6 - .../v2/compute/{version.rst => server.rst} | 4 +- docs/api/v2/compute/server/debug.rst | 13 + .../compute/{version => server}/version.rst | 6 - .../projectsprojectidvirtualboxnodes.rst | 12 +- ...projectsprojectidvirtualboxnodesnodeid.rst | 29 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...tsprojectidvirtualboxnodesnodeidreload.rst | 10 +- ...tsprojectidvirtualboxnodesnodeidresume.rst | 10 +- ...ctsprojectidvirtualboxnodesnodeidstart.rst | 10 +- ...ectsprojectidvirtualboxnodesnodeidstop.rst | 10 +- ...sprojectidvirtualboxnodesnodeidsuspend.rst | 10 +- .../vmware/projectsprojectidvmwarenodes.rst | 6 +- .../projectsprojectidvmwarenodesnodeid.rst | 17 +- ...ptersadapternumberdportsportnumberdnio.rst | 12 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...jectidvmwarenodesnodeidinterfacesvmnet.rst | 2 +- ...ojectsprojectidvmwarenodesnodeidreload.rst | 4 +- ...ojectsprojectidvmwarenodesnodeidresume.rst | 4 +- ...rojectsprojectidvmwarenodesnodeidstart.rst | 4 +- ...projectsprojectidvmwarenodesnodeidstop.rst | 4 +- ...jectsprojectidvmwarenodesnodeidsuspend.rst | 4 +- .../vpcs/projectsprojectidvpcsnodes.rst | 10 +- .../vpcs/projectsprojectidvpcsnodesnodeid.rst | 30 +- ...ptersadapternumberdportsportnumberdnio.rst | 24 +- ...ternumberdportsportnumberdstartcapture.rst | 6 +- ...pternumberdportsportnumberdstopcapture.rst | 6 +- ...projectsprojectidvpcsnodesnodeidreload.rst | 10 +- .../projectsprojectidvpcsnodesnodeidstart.rst | 12 +- .../projectsprojectidvpcsnodesnodeidstop.rst | 10 +- ...rojectsprojectidvpcsnodesnodeidsuspend.rst | 4 +- docs/api/v2/controller/compute/sid.rst | 2 +- .../drawing/projectsprojectiddrawings.rst | 14 +- .../projectsprojectiddrawingsdrawingid.rst | 20 +- docs/api/v2/controller/gns3_vm/gns3vm.rst | 12 - .../v2/controller/gns3_vm/gns3vmengines.rst | 6 - .../gns3_vm/gns3vmenginesenginevms.rst | 6 - .../link/projectsprojectidlinks.rst | 14 +- .../link/projectsprojectidlinkslinkid.rst | 14 +- .../link/projectsprojectidlinkslinkidpcap.rst | 2 +- ...ojectsprojectidlinkslinkidstartcapture.rst | 12 +- ...rojectsprojectidlinkslinkidstopcapture.rst | 10 +- .../node/projectsprojectidnodes.rst | 14 +- .../node/projectsprojectidnodesnodeid.rst | 22 +- ...projectidnodesnodeiddynamipsautoidlepc.rst | 10 +- ...ctidnodesnodeiddynamipsidlepcproposals.rst | 10 +- .../projectsprojectidnodesnodeidfilespath.rst | 8 +- .../projectsprojectidnodesnodeidreload.rst | 10 +- .../projectsprojectidnodesnodeidstart.rst | 10 +- .../node/projectsprojectidnodesnodeidstop.rst | 10 +- .../projectsprojectidnodesnodeidsuspend.rst | 10 +- .../node/projectsprojectidnodesreload.rst | 8 +- .../node/projectsprojectidnodesstart.rst | 8 +- .../node/projectsprojectidnodesstop.rst | 8 +- .../node/projectsprojectidnodessuspend.rst | 8 +- docs/api/v2/controller/project/projects.rst | 14 +- .../v2/controller/project/projectsload.rst | 6 - .../controller/project/projectsprojectid.rst | 20 +- .../project/projectsprojectidclose.rst | 8 +- .../project/projectsprojectidduplicate.rst | 8 +- .../project/projectsprojectidopen.rst | 6 - docs/api/v2/controller/server/debug.rst | 2 +- docs/api/v2/controller/server/settings.rst | 12 - docs/api/v2/controller/server/shutdown.rst | 6 - docs/api/v2/controller/server/version.rst | 12 - .../snapshot/projectsprojectidsnapshots.rst | 12 - .../projectsprojectidsnapshotssnapshotid.rst | 8 +- ...ctsprojectidsnapshotssnapshotidrestore.rst | 6 - docs/api/v2/controller/symbol/symbols.rst | 6 - docs/gns3_file.json | 978 +++++++++--------- scripts/documentation.sh | 1 + tests/handlers/api/compute/test_server.py | 2 +- 319 files changed, 921 insertions(+), 5755 deletions(-) delete mode 100644 docs/api/examples/compute_delete_projectsprojectid.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt delete mode 100644 docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_get_capabilities.txt delete mode 100644 docs/api/examples/compute_get_iouimages.txt delete mode 100644 docs/api/examples/compute_get_networkinterfaces.txt delete mode 100644 docs/api/examples/compute_get_projects.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectid.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt delete mode 100644 docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt delete mode 100644 docs/api/examples/compute_get_qemubinaries.txt delete mode 100644 docs/api/examples/compute_get_qemucapabilities.txt delete mode 100644 docs/api/examples/compute_get_version.txt delete mode 100644 docs/api/examples/compute_post_projects.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidclose.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidcloudnodes.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodes.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidnatnodes.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidportsudp.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodes.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt delete mode 100644 docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt delete mode 100644 docs/api/examples/compute_post_qemuimg.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt delete mode 100644 docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt delete mode 100644 docs/api/examples/controller_delete_computescomputeid.txt delete mode 100644 docs/api/examples/controller_delete_projectsprojectid.txt delete mode 100644 docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt delete mode 100644 docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt delete mode 100644 docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt delete mode 100644 docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt delete mode 100644 docs/api/examples/controller_get_computes.txt delete mode 100644 docs/api/examples/controller_get_computescomputeid.txt delete mode 100644 docs/api/examples/controller_get_computescomputeidemulatoraction.txt delete mode 100644 docs/api/examples/controller_get_computescomputeidemulatorimages.txt delete mode 100644 docs/api/examples/controller_get_gns3vm.txt delete mode 100644 docs/api/examples/controller_get_gns3vmengines.txt delete mode 100644 docs/api/examples/controller_get_gns3vmenginesenginevms.txt delete mode 100644 docs/api/examples/controller_get_projects.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectid.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectiddrawings.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectidlinks.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectidnodes.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt delete mode 100644 docs/api/examples/controller_get_projectsprojectidsnapshots.txt delete mode 100644 docs/api/examples/controller_get_settings.txt delete mode 100644 docs/api/examples/controller_get_symbols.txt delete mode 100644 docs/api/examples/controller_get_version.txt delete mode 100644 docs/api/examples/controller_post_computes.txt delete mode 100644 docs/api/examples/controller_post_computescomputeidemulatoraction.txt delete mode 100644 docs/api/examples/controller_post_projects.txt delete mode 100644 docs/api/examples/controller_post_projectsload.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidclose.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectiddrawings.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidduplicate.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidlinks.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodes.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesreload.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesstart.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodesstop.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidnodessuspend.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidopen.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidsnapshots.txt delete mode 100644 docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt delete mode 100644 docs/api/examples/controller_post_settings.txt delete mode 100644 docs/api/examples/controller_post_shutdown.txt delete mode 100644 docs/api/examples/controller_post_version.txt delete mode 100644 docs/api/examples/controller_put_computescomputeid.txt delete mode 100644 docs/api/examples/controller_put_gns3vm.txt delete mode 100644 docs/api/examples/controller_put_projectsprojectid.txt delete mode 100644 docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt delete mode 100644 docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt delete mode 100644 docs/api/notifications/compute.created.json delete mode 100644 docs/api/notifications/compute.deleted.json delete mode 100644 docs/api/notifications/compute.updated.json delete mode 100644 docs/api/notifications/drawing.created.json delete mode 100644 docs/api/notifications/drawing.deleted.json delete mode 100644 docs/api/notifications/drawing.updated.json delete mode 100644 docs/api/notifications/ignore.json delete mode 100644 docs/api/notifications/link.created.json delete mode 100644 docs/api/notifications/link.deleted.json delete mode 100644 docs/api/notifications/link.updated.json delete mode 100644 docs/api/notifications/log.error.json delete mode 100644 docs/api/notifications/log.info.json delete mode 100644 docs/api/notifications/log.warning.json delete mode 100644 docs/api/notifications/node.created.json delete mode 100644 docs/api/notifications/node.updated.json delete mode 100644 docs/api/notifications/ping.json delete mode 100644 docs/api/notifications/project.closed.json delete mode 100644 docs/api/notifications/project.updated.json delete mode 100644 docs/api/notifications/settings.updated.json delete mode 100644 docs/api/notifications/snapshot.restored.json delete mode 100644 docs/api/notifications/test.json rename docs/api/v2/compute/{version.rst => server.rst} (77%) create mode 100644 docs/api/v2/compute/server/debug.rst rename docs/api/v2/compute/{version => server}/version.rst (91%) diff --git a/docs/api/examples/compute_delete_projectsprojectid.txt b/docs/api/examples/compute_delete_projectsprojectid.txt deleted file mode 100644 index d268787c..00000000 --- a/docs/api/examples/compute_delete_projectsprojectid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id} - diff --git a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt deleted file mode 100644 index a370a441..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} - diff --git a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index a5ae2239..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 104b2a48..00000000 --- a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt deleted file mode 100644 index 906e9fd3..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} - diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index b9284f54..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt deleted file mode 100644 index 71ed2661..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} - diff --git a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 45ef76eb..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt deleted file mode 100644 index 64389b5b..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} - diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index d7b17967..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index d9c6782a..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt deleted file mode 100644 index 076fef75..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} - diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 721fadd7..00000000 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio' - -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - diff --git a/docs/api/examples/compute_get_capabilities.txt b/docs/api/examples/compute_get_capabilities.txt deleted file mode 100644 index b7174218..00000000 --- a/docs/api/examples/compute_get_capabilities.txt +++ /dev/null @@ -1,32 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/capabilities' - -GET /v2/compute/capabilities HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 347 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:51 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/capabilities - -{ - "node_types": [ - "cloud", - "ethernet_hub", - "ethernet_switch", - "nat", - "vpcs", - "virtualbox", - "dynamips", - "frame_relay_switch", - "atm_switch", - "qemu", - "vmware", - "docker", - "iou" - ], - "platform": "linuxdebian", - "version": "2.0.0dev4" -} diff --git a/docs/api/examples/compute_get_iouimages.txt b/docs/api/examples/compute_get_iouimages.txt deleted file mode 100644 index cc983745..00000000 --- a/docs/api/examples/compute_get_iouimages.txt +++ /dev/null @@ -1,21 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/iou/images' - -GET /v2/compute/iou/images HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 149 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/iou/images - -[ - { - "filename": "iou.bin", - "filesize": 7, - "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", - "path": "iou.bin" - } -] diff --git a/docs/api/examples/compute_get_networkinterfaces.txt b/docs/api/examples/compute_get_networkinterfaces.txt deleted file mode 100644 index 8fc7448b..00000000 --- a/docs/api/examples/compute_get_networkinterfaces.txt +++ /dev/null @@ -1,240 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/network/interfaces' - -GET /v2/compute/network/interfaces HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 5489 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/network/interfaces - -[ - { - "id": "bridge0", - "ip_address": "", - "mac_address": "3e:07:54:87:bc:00", - "name": "bridge0", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "en0", - "ip_address": "", - "mac_address": "3c:07:54:78:07:cc", - "name": "en0", - "netmask": "", - "special": false, - "type": "ethernet" - }, - { - "id": "en1", - "ip_address": "192.168.84.156", - "mac_address": "68:a8:6d:4a:c3:16", - "name": "en1", - "netmask": "255.255.255.0", - "special": false, - "type": "ethernet" - }, - { - "id": "en2", - "ip_address": "", - "mac_address": "d2:00:1b:c0:17:80", - "name": "en2", - "netmask": "", - "special": false, - "type": "ethernet" - }, - { - "id": "fw0", - "ip_address": "", - "mac_address": "3c:07:54:ff:fe:bc:01:78", - "name": "fw0", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "lo0", - "ip_address": "127.0.0.1", - "mac_address": "", - "name": "lo0", - "netmask": "255.0.0.0", - "special": true, - "type": "ethernet" - }, - { - "id": "p2p0", - "ip_address": "", - "mac_address": "0a:a8:6d:4a:c3:16", - "name": "p2p0", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet0", - "ip_address": "", - "mac_address": "0a:00:27:00:00:00", - "name": "vboxnet0", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet1", - "ip_address": "", - "mac_address": "0a:00:27:00:00:01", - "name": "vboxnet1", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet2", - "ip_address": "", - "mac_address": "0a:00:27:00:00:02", - "name": "vboxnet2", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet3", - "ip_address": "", - "mac_address": "0a:00:27:00:00:03", - "name": "vboxnet3", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet4", - "ip_address": "", - "mac_address": "0a:00:27:00:00:04", - "name": "vboxnet4", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet5", - "ip_address": "192.168.33.1", - "mac_address": "0a:00:27:00:00:05", - "name": "vboxnet5", - "netmask": null, - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet6", - "ip_address": "", - "mac_address": "0a:00:27:00:00:06", - "name": "vboxnet6", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vboxnet7", - "ip_address": "", - "mac_address": "0a:00:27:00:00:07", - "name": "vboxnet7", - "netmask": "", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet1", - "ip_address": "172.16.16.1", - "mac_address": "00:50:56:c0:00:01", - "name": "vmnet1", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet10", - "ip_address": "172.16.7.1", - "mac_address": "00:50:56:c0:00:0a", - "name": "vmnet10", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet2", - "ip_address": "172.16.0.1", - "mac_address": "00:50:56:c0:00:02", - "name": "vmnet2", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet3", - "ip_address": "172.16.1.1", - "mac_address": "00:50:56:c0:00:03", - "name": "vmnet3", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet4", - "ip_address": "172.16.2.1", - "mac_address": "00:50:56:c0:00:04", - "name": "vmnet4", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet5", - "ip_address": "172.16.3.1", - "mac_address": "00:50:56:c0:00:05", - "name": "vmnet5", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet6", - "ip_address": "172.16.4.1", - "mac_address": "00:50:56:c0:00:06", - "name": "vmnet6", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet7", - "ip_address": "172.16.5.1", - "mac_address": "00:50:56:c0:00:07", - "name": "vmnet7", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet8", - "ip_address": "192.168.229.1", - "mac_address": "00:50:56:c0:00:08", - "name": "vmnet8", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - }, - { - "id": "vmnet9", - "ip_address": "172.16.6.1", - "mac_address": "00:50:56:c0:00:09", - "name": "vmnet9", - "netmask": "255.255.255.0", - "special": true, - "type": "ethernet" - } -] diff --git a/docs/api/examples/compute_get_projects.txt b/docs/api/examples/compute_get_projects.txt deleted file mode 100644 index b20b52bd..00000000 --- a/docs/api/examples/compute_get_projects.txt +++ /dev/null @@ -1,23 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects' - -GET /v2/compute/projects HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 198 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects - -[ - { - "name": "test", - "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" - }, - { - "name": "test", - "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" - } -] diff --git a/docs/api/examples/compute_get_projectsprojectid.txt b/docs/api/examples/compute_get_projectsprojectid.txt deleted file mode 100644 index df17abdc..00000000 --- a/docs/api/examples/compute_get_projectsprojectid.txt +++ /dev/null @@ -1,17 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02' - -GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 80 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id} - -{ - "name": "test", - "project_id": "40010203-0405-0607-0809-0a0b0c0d0e02" -} diff --git a/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt deleted file mode 100644 index fc895ed1..00000000 --- a/docs/api/examples/compute_get_projectsprojectidcloudnodesnodeid.txt +++ /dev/null @@ -1,166 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0 HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 3420 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:51 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} - -{ - "interfaces": [ - { - "name": "bridge0", - "special": true, - "type": "ethernet" - }, - { - "name": "en0", - "special": false, - "type": "ethernet" - }, - { - "name": "en1", - "special": false, - "type": "ethernet" - }, - { - "name": "en2", - "special": false, - "type": "ethernet" - }, - { - "name": "fw0", - "special": true, - "type": "ethernet" - }, - { - "name": "lo0", - "special": true, - "type": "ethernet" - }, - { - "name": "p2p0", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet0", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet1", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet2", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet3", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet4", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet5", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet6", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet7", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet1", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet10", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet2", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet3", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet4", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet5", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet6", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet7", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet8", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet9", - "special": true, - "type": "ethernet" - } - ], - "name": "Cloud 1", - "node_id": "27e91192-5c83-4c98-af0f-b25b156c22b0", - "ports_mapping": [ - { - "interface": "en0", - "name": "en0", - "port_number": 0, - "type": "ethernet" - }, - { - "interface": "en1", - "name": "en1", - "port_number": 1, - "type": "ethernet" - }, - { - "interface": "en2", - "name": "en2", - "port_number": 2, - "type": "ethernet" - } - ], - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "status": "started" -} diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt deleted file mode 100644 index 1b9a6dba..00000000 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt +++ /dev/null @@ -1,33 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 697 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} - -{ - "command_line": "", - "console": 5000, - "console_type": "telnet", - "ethernet_adapters": 2, - "l1_keepalives": false, - "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", - "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/85fe2caa-d9a7-46c3-b9bb-34e229c2594b", - "node_id": "85fe2caa-d9a7-46c3-b9bb-34e229c2594b", - "nvram": 128, - "path": "iou.bin", - "private_config": null, - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 256, - "serial_adapters": 2, - "startup_config": null, - "status": "stopped", - "use_default_iou_values": true -} diff --git a/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt deleted file mode 100644 index 5395b8ad..00000000 --- a/docs/api/examples/compute_get_projectsprojectidnatnodesnodeid.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05 HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 332 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} - -{ - "name": "Nat 1", - "node_id": "351021bf-5bbf-4bd4-beff-19b62b447f05", - "ports_mapping": [ - { - "interface": "gns3nat5", - "name": "nat0", - "port_number": 0, - "type": "tap" - } - ], - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "status": "started" -} diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt deleted file mode 100644 index 8ffc499d..00000000 --- a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt +++ /dev/null @@ -1,56 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 1415 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} - -{ - "acpi_shutdown": false, - "adapter_type": "e1000", - "adapters": 1, - "boot_priority": "c", - "cdrom_image": "", - "cdrom_image_md5sum": null, - "command_line": "", - "console": 5000, - "console_type": "telnet", - "cpu_throttling": 0, - "cpus": 1, - "hda_disk_image": "", - "hda_disk_image_md5sum": null, - "hda_disk_interface": "ide", - "hdb_disk_image": "", - "hdb_disk_image_md5sum": null, - "hdb_disk_interface": "ide", - "hdc_disk_image": "", - "hdc_disk_image_md5sum": null, - "hdc_disk_interface": "ide", - "hdd_disk_image": "", - "hdd_disk_image_md5sum": null, - "hdd_disk_interface": "ide", - "initrd": "", - "initrd_md5sum": null, - "kernel_command_line": "", - "kernel_image": "", - "kernel_image_md5sum": null, - "legacy_networking": false, - "mac_address": "00:dd:80:39:dd:00", - "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4a4b647d-f696-4a21-9fc2-2a56cdad39dd", - "node_id": "4a4b647d-f696-4a21-9fc2-2a56cdad39dd", - "options": "", - "platform": "x86_64", - "process_priority": "low", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/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 deleted file mode 100644 index 6d994f13..00000000 --- a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt +++ /dev/null @@ -1,29 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853 HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 435 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} - -{ - "acpi_shutdown": false, - "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", - "adapters": 0, - "console": 5000, - "headless": false, - "linked_clone": false, - "name": "VMTEST", - "node_directory": null, - "node_id": "afdfa713-f35c-4749-b165-77e9afd1a853", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 0, - "status": "stopped", - "use_any_adapter": false, - "vmname": "VMTEST" -} diff --git a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt deleted file mode 100644 index 7a3173fe..00000000 --- a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt +++ /dev/null @@ -1,25 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709' - -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709 HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 489 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} - -{ - "command_line": "", - "console": 5000, - "console_type": "telnet", - "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ea81751a-8e28-4226-942d-b56e3f3e5709", - "node_id": "ea81751a-8e28-4226-942d-b56e3f3e5709", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "startup_script": null, - "startup_script_path": null, - "status": "stopped" -} diff --git a/docs/api/examples/compute_get_qemubinaries.txt b/docs/api/examples/compute_get_qemubinaries.txt deleted file mode 100644 index 99a7533b..00000000 --- a/docs/api/examples/compute_get_qemubinaries.txt +++ /dev/null @@ -1,31 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/qemu/binaries' -d '{"archs": ["i386"]}' - -GET /v2/compute/qemu/binaries HTTP/1.1 -{ - "archs": [ - "i386" - ] -} - - -HTTP/1.1 200 -Content-Length: 212 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/qemu/binaries - -[ - { - "path": "/tmp/x86_64", - "version": "2.2.0" - }, - { - "path": "/tmp/alpha", - "version": "2.1.0" - }, - { - "path": "/tmp/i386", - "version": "2.1.0" - } -] diff --git a/docs/api/examples/compute_get_qemucapabilities.txt b/docs/api/examples/compute_get_qemucapabilities.txt deleted file mode 100644 index 7697a8fc..00000000 --- a/docs/api/examples/compute_get_qemucapabilities.txt +++ /dev/null @@ -1,18 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/qemu/capabilities' - -GET /v2/compute/qemu/capabilities HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 39 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/qemu/capabilities - -{ - "kvm": [ - "x86_64" - ] -} diff --git a/docs/api/examples/compute_get_version.txt b/docs/api/examples/compute_get_version.txt deleted file mode 100644 index 5bedb387..00000000 --- a/docs/api/examples/compute_get_version.txt +++ /dev/null @@ -1,17 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/version' - -GET /v2/compute/version HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 49 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/version - -{ - "local": true, - "version": "2.0.0dev4" -} diff --git a/docs/api/examples/compute_post_projects.txt b/docs/api/examples/compute_post_projects.txt deleted file mode 100644 index 8cbf1219..00000000 --- a/docs/api/examples/compute_post_projects.txt +++ /dev/null @@ -1,20 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects' -d '{"name": "test", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"}' - -POST /v2/compute/projects HTTP/1.1 -{ - "name": "test", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f" -} - - -HTTP/1.1 201 -Content-Length: 80 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects - -{ - "name": "test", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f" -} diff --git a/docs/api/examples/compute_post_projectsprojectidclose.txt b/docs/api/examples/compute_post_projectsprojectidclose.txt deleted file mode 100644 index b0007925..00000000 --- a/docs/api/examples/compute_post_projectsprojectidclose.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/close - diff --git a/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt b/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt deleted file mode 100644 index 98fab403..00000000 --- a/docs/api/examples/compute_post_projectsprojectidcloudnodes.txt +++ /dev/null @@ -1,168 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes' -d '{"name": "Cloud 1"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/1.1 -{ - "name": "Cloud 1" -} - - -HTTP/1.1 201 -Content-Length: 3420 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:51 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/cloud/nodes - -{ - "interfaces": [ - { - "name": "bridge0", - "special": true, - "type": "ethernet" - }, - { - "name": "en0", - "special": false, - "type": "ethernet" - }, - { - "name": "en1", - "special": false, - "type": "ethernet" - }, - { - "name": "en2", - "special": false, - "type": "ethernet" - }, - { - "name": "fw0", - "special": true, - "type": "ethernet" - }, - { - "name": "lo0", - "special": true, - "type": "ethernet" - }, - { - "name": "p2p0", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet0", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet1", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet2", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet3", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet4", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet5", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet6", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet7", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet1", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet10", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet2", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet3", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet4", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet5", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet6", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet7", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet8", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet9", - "special": true, - "type": "ethernet" - } - ], - "name": "Cloud 1", - "node_id": "c02a0a78-b84e-44b9-b151-0a650ecd7bb8", - "ports_mapping": [ - { - "interface": "en0", - "name": "en0", - "port_number": 0, - "type": "ethernet" - }, - { - "interface": "en1", - "name": "en1", - "port_number": 1, - "type": "ethernet" - }, - { - "interface": "en2", - "name": "en2", - "port_number": 2, - "type": "ethernet" - } - ], - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "status": "started" -} diff --git a/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index fe0d831b..00000000 --- a/docs/api/examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio HTTP/1.1 -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} - - -HTTP/1.1 201 -Content-Length: 89 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index b21bd1df..00000000 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/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/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio HTTP/1.1 -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} - - -HTTP/1.1 201 -Content-Length: 89 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt deleted file mode 100644 index a1836ec6..00000000 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt +++ /dev/null @@ -1,19 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/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/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/adapters/0/ports/0/start_capture HTTP/1.1 -{ - "capture_file_name": "test.pcap", - "data_link_type": "DLT_EN10MB" -} - - -HTTP/1.1 200 -Content-Length: 146 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -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-105/test_json5/tmp/captures/test.pcap" -} diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt deleted file mode 100644 index 6296342b..00000000 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture - diff --git a/docs/api/examples/compute_post_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt deleted file mode 100644 index c296ac2e..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodes.txt +++ /dev/null @@ -1,38 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", "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": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", - "path": "iou.bin", - "startup_config_content": "hostname test" -} - - -HTTP/1.1 201 -Content-Length: 713 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes - -{ - "command_line": "", - "console": 5000, - "console_type": "telnet", - "ethernet_adapters": 2, - "l1_keepalives": false, - "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", - "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/4ade4a52-c7b2-4ed8-abce-3598e4214c0a", - "node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", - "nvram": 128, - "path": "iou.bin", - "private_config": null, - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 256, - "serial_adapters": 2, - "startup_config": "startup-config.cfg", - "status": "stopped", - "use_default_iou_values": true -} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 00befd85..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,20 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio HTTP/1.1 -{ - "ethernet_device": "bridge0", - "type": "nio_ethernet" -} - - -HTTP/1.1 201 -Content-Length: 64 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "ethernet_device": "bridge0", - "type": "nio_ethernet" -} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt deleted file mode 100644 index c0941310..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt +++ /dev/null @@ -1,19 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b25-55ae-4066-b1b0-80551439d8e3/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/68117b25-55ae-4066-b1b0-80551439d8e3/adapters/0/ports/0/start_capture HTTP/1.1 -{ - "capture_file_name": "test.pcap", - "data_link_type": "DLT_EN10MB" -} - - -HTTP/1.1 200 -Content-Length: 146 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -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-105/test_json5/tmp/captures/test.pcap" -} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt deleted file mode 100644 index d8be9018..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture - diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt deleted file mode 100644 index 1ed10a7d..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload - diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt deleted file mode 100644 index 780b20e3..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt +++ /dev/null @@ -1,35 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start' -d '{"iourc_content": "test"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start HTTP/1.1 -{ - "iourc_content": "test" -} - - -HTTP/1.1 200 -Content-Length: 697 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start - -{ - "command_line": "", - "console": 5000, - "console_type": "telnet", - "ethernet_adapters": 2, - "l1_keepalives": false, - "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", - "name": "PC TEST 1", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/9b1a4092-9c1e-4714-97eb-2c9099a36f74", - "node_id": "9b1a4092-9c1e-4714-97eb-2c9099a36f74", - "nvram": 128, - "path": "iou.bin", - "private_config": null, - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 256, - "serial_adapters": 2, - "startup_config": null, - "status": "stopped", - "use_default_iou_values": true -} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt deleted file mode 100644 index ec9b16f7..00000000 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:53 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop - diff --git a/docs/api/examples/compute_post_projectsprojectidnatnodes.txt b/docs/api/examples/compute_post_projectsprojectidnatnodes.txt deleted file mode 100644 index 582844ed..00000000 --- a/docs/api/examples/compute_post_projectsprojectidnatnodes.txt +++ /dev/null @@ -1,29 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes' -d '{"name": "Nat 1"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.1 -{ - "name": "Nat 1" -} - - -HTTP/1.1 201 -Content-Length: 332 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/nat/nodes - -{ - "name": "Nat 1", - "node_id": "f8572394-f4a6-41c2-8990-76191f85976c", - "ports_mapping": [ - { - "interface": "gns3nat4", - "name": "nat0", - "port_number": 0, - "type": "tap" - } - ], - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "status": "started" -} diff --git a/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 57c71240..00000000 --- a/docs/api/examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio HTTP/1.1 -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} - - -HTTP/1.1 201 -Content-Length: 89 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} diff --git a/docs/api/examples/compute_post_projectsprojectidportsudp.txt b/docs/api/examples/compute_post_projectsprojectidportsudp.txt deleted file mode 100644 index 6a91cf91..00000000 --- a/docs/api/examples/compute_post_projectsprojectidportsudp.txt +++ /dev/null @@ -1,16 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 25 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/ports/udp - -{ - "udp_port": 10000 -} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt deleted file mode 100644 index 4d918c68..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt +++ /dev/null @@ -1,61 +0,0 @@ -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/tmp4__9bvkj/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/tmp4__9bvkj/qemu-system-x86_64", - "ram": 1024 -} - - -HTTP/1.1 201 -Content-Length: 1461 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes - -{ - "acpi_shutdown": false, - "adapter_type": "e1000", - "adapters": 1, - "boot_priority": "c", - "cdrom_image": "", - "cdrom_image_md5sum": null, - "command_line": "", - "console": 5000, - "console_type": "telnet", - "cpu_throttling": 0, - "cpus": 1, - "hda_disk_image": "linux\u8f7d.img", - "hda_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b", - "hda_disk_interface": "ide", - "hdb_disk_image": "", - "hdb_disk_image_md5sum": null, - "hdb_disk_interface": "ide", - "hdc_disk_image": "", - "hdc_disk_image_md5sum": null, - "hdc_disk_interface": "ide", - "hdd_disk_image": "", - "hdd_disk_image_md5sum": null, - "hdd_disk_interface": "ide", - "initrd": "", - "initrd_md5sum": null, - "kernel_command_line": "", - "kernel_image": "", - "kernel_image_md5sum": null, - "legacy_networking": false, - "mac_address": "00:dd:80:04:23:00", - "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26ee1a57-b93e-49e3-bcab-f495734c0423", - "node_id": "26ee1a57-b93e-49e3-bcab-f495734c0423", - "options": "", - "platform": "x86_64", - "process_priority": "low", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/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 deleted file mode 100644 index 25d57b69..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,20 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio HTTP/1.1 -{ - "ethernet_device": "eth0", - "type": "nio_ethernet" -} - - -HTTP/1.1 409 -Content-Length: 81 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "message": "NIO of type nio_ethernet is not supported", - "status": 409 -} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt deleted file mode 100644 index 4112ecaa..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload - diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt deleted file mode 100644 index 0a326988..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume - diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt deleted file mode 100644 index c43f1049..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt +++ /dev/null @@ -1,56 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start HTTP/1.1 -{} - - -HTTP/1.1 200 -Content-Length: 1415 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start - -{ - "acpi_shutdown": false, - "adapter_type": "e1000", - "adapters": 1, - "boot_priority": "c", - "cdrom_image": "", - "cdrom_image_md5sum": null, - "command_line": "", - "console": 5000, - "console_type": "telnet", - "cpu_throttling": 0, - "cpus": 1, - "hda_disk_image": "", - "hda_disk_image_md5sum": null, - "hda_disk_interface": "ide", - "hdb_disk_image": "", - "hdb_disk_image_md5sum": null, - "hdb_disk_interface": "ide", - "hdc_disk_image": "", - "hdc_disk_image_md5sum": null, - "hdc_disk_interface": "ide", - "hdd_disk_image": "", - "hdd_disk_image_md5sum": null, - "hdd_disk_interface": "ide", - "initrd": "", - "initrd_md5sum": null, - "kernel_command_line": "", - "kernel_image": "", - "kernel_image_md5sum": null, - "legacy_networking": false, - "mac_address": "00:dd:80:32:90:00", - "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/12876bc4-6262-41d0-87bf-2a0762d63290", - "node_id": "12876bc4-6262-41d0-87bf-2a0762d63290", - "options": "", - "platform": "x86_64", - "process_priority": "low", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/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 deleted file mode 100644 index b263a428..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop - diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt deleted file mode 100644 index 3b45592f..00000000 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend - diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt deleted file mode 100644 index f819d73a..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt +++ /dev/null @@ -1,33 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes' -d '{"linked_clone": false, "name": "VM1", "vmname": "VM1"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes HTTP/1.1 -{ - "linked_clone": false, - "name": "VM1", - "vmname": "VM1" -} - - -HTTP/1.1 201 -Content-Length: 429 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes - -{ - "acpi_shutdown": false, - "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", - "adapters": 0, - "console": 5000, - "headless": false, - "linked_clone": false, - "name": "VM1", - "node_directory": null, - "node_id": "91fe27cf-47af-40a9-85a1-d4e3c80dc826", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 0, - "status": "stopped", - "use_any_adapter": false, - "vmname": "VM1" -} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 408de5f3..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a6a1fde9-419d-481d-ad56-154da1d8fdcb/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/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio HTTP/1.1 -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} - - -HTTP/1.1 201 -Content-Length: 89 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt deleted file mode 100644 index 882227ef..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload - diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt deleted file mode 100644 index 1f11aa96..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume - diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt deleted file mode 100644 index a15b8176..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start - diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt deleted file mode 100644 index 84ce4749..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop - diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt deleted file mode 100644 index 9b59382d..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend - diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt deleted file mode 100644 index 442c4bb8..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes' -d '{"name": "PC TEST 1"}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1.1 -{ - "name": "PC TEST 1" -} - - -HTTP/1.1 201 -Content-Length: 489 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes - -{ - "command_line": "", - "console": 5000, - "console_type": "telnet", - "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/97bd62ea-c059-43f0-a5a1-016d7eb0d921", - "node_id": "97bd62ea-c059-43f0-a5a1-016d7eb0d921", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "startup_script": null, - "startup_script_path": null, - "status": "stopped" -} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt deleted file mode 100644 index 982be9bc..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/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/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio HTTP/1.1 -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} - - -HTTP/1.1 201 -Content-Length: 89 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio - -{ - "lport": 4242, - "rhost": "127.0.0.1", - "rport": 4343, - "type": "nio_udp" -} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt deleted file mode 100644 index d531522f..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload - diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt deleted file mode 100644 index 4d75bfde..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt +++ /dev/null @@ -1,25 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start HTTP/1.1 -{} - - -HTTP/1.1 200 -Content-Length: 489 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start - -{ - "command_line": "", - "console": 5000, - "console_type": "telnet", - "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff", - "node_id": "cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "startup_script": null, - "startup_script_path": null, - "status": "stopped" -} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt deleted file mode 100644 index 396bf044..00000000 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop' -d '{}' - -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop - diff --git a/docs/api/examples/compute_post_qemuimg.txt b/docs/api/examples/compute_post_qemuimg.txt deleted file mode 100644 index 03781725..00000000 --- a/docs/api/examples/compute_post_qemuimg.txt +++ /dev/null @@ -1,22 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/qemu/img' -d '{"cluster_size": 64, "format": "qcow2", "lazy_refcounts": "off", "path": "/tmp/hda.qcow2", "preallocation": "metadata", "qemu_img": "/tmp/qemu-img", "refcount_bits": 12, "size": 100}' - -POST /v2/compute/qemu/img HTTP/1.1 -{ - "cluster_size": 64, - "format": "qcow2", - "lazy_refcounts": "off", - "path": "/tmp/hda.qcow2", - "preallocation": "metadata", - "qemu_img": "/tmp/qemu-img", - "refcount_bits": 12, - "size": 100 -} - - -HTTP/1.1 201 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:57 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/qemu/img - diff --git a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt deleted file mode 100644 index c14b57c8..00000000 --- a/docs/api/examples/compute_put_projectsprojectidcloudnodesnodeid.txt +++ /dev/null @@ -1,168 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8' -d '{"name": "test"}' - -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8 HTTP/1.1 -{ - "name": "test" -} - - -HTTP/1.1 200 -Content-Length: 3417 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id} - -{ - "interfaces": [ - { - "name": "bridge0", - "special": true, - "type": "ethernet" - }, - { - "name": "en0", - "special": false, - "type": "ethernet" - }, - { - "name": "en1", - "special": false, - "type": "ethernet" - }, - { - "name": "en2", - "special": false, - "type": "ethernet" - }, - { - "name": "fw0", - "special": true, - "type": "ethernet" - }, - { - "name": "lo0", - "special": true, - "type": "ethernet" - }, - { - "name": "p2p0", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet0", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet1", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet2", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet3", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet4", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet5", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet6", - "special": true, - "type": "ethernet" - }, - { - "name": "vboxnet7", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet1", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet10", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet2", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet3", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet4", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet5", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet6", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet7", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet8", - "special": true, - "type": "ethernet" - }, - { - "name": "vmnet9", - "special": true, - "type": "ethernet" - } - ], - "name": "test", - "node_id": "1609e4ce-3925-4dfa-beb9-a37bb6e4eba8", - "ports_mapping": [ - { - "interface": "en0", - "name": "en0", - "port_number": 0, - "type": "ethernet" - }, - { - "interface": "en1", - "name": "en1", - "port_number": 1, - "type": "ethernet" - }, - { - "interface": "en2", - "name": "en2", - "port_number": 2, - "type": "ethernet" - } - ], - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "status": "started" -} diff --git a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt deleted file mode 100644 index e54cda72..00000000 --- a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt +++ /dev/null @@ -1,36 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8' -d '{"console": 5003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' - -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8 HTTP/1.1 -{ - "console": 5003, - "environment": "GNS3=1\nGNS4=0", - "name": "test", - "start_command": "yes" -} - - -HTTP/1.1 200 -Content-Length: 654 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:52 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id} - -{ - "adapters": 2, - "aux": 5002, - "console": 5003, - "console_http_path": "/", - "console_http_port": 80, - "console_resolution": "1280x1024", - "console_type": "telnet", - "container_id": "8bd8153ea8f5", - "environment": "GNS3=1\nGNS4=0", - "image": "nginx:latest", - "name": "test", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/docker/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8", - "node_id": "5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8", - "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 deleted file mode 100644 index 95f77756..00000000 --- a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt +++ /dev/null @@ -1,44 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79' -d '{"console": 5002, "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/2aec8581-8312-4c46-9c64-8801854aea79 HTTP/1.1 -{ - "console": 5002, - "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 -} - - -HTTP/1.1 200 -Content-Length: 708 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:54 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id} - -{ - "command_line": "", - "console": 5002, - "console_type": "telnet", - "ethernet_adapters": 4, - "l1_keepalives": true, - "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", - "name": "test", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/2aec8581-8312-4c46-9c64-8801854aea79", - "node_id": "2aec8581-8312-4c46-9c64-8801854aea79", - "nvram": 2048, - "path": "iou.bin", - "private_config": null, - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 512, - "serial_adapters": 0, - "startup_config": "startup-config.cfg", - "status": "stopped", - "use_default_iou_values": true -} diff --git a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt deleted file mode 100644 index 5fd8811f..00000000 --- a/docs/api/examples/compute_put_projectsprojectidnatnodesnodeid.txt +++ /dev/null @@ -1,29 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c' -d '{"name": "test"}' - -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c HTTP/1.1 -{ - "name": "test" -} - - -HTTP/1.1 200 -Content-Length: 331 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:55 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id} - -{ - "name": "test", - "node_id": "7061bfeb-39f5-4b27-9557-2420b81fac6c", - "ports_mapping": [ - { - "interface": "gns3nat9", - "name": "nat0", - "port_number": 0, - "type": "tap" - } - ], - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "status": "started" -} diff --git a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt deleted file mode 100644 index 6a7543d7..00000000 --- a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt +++ /dev/null @@ -1,61 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb' -d '{"console": 5002, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' - -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb HTTP/1.1 -{ - "console": 5002, - "hdb_disk_image": "linux\u8f7d.img", - "name": "test", - "ram": 1024 -} - - -HTTP/1.1 200 -Content-Length: 1456 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:56 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} - -{ - "acpi_shutdown": false, - "adapter_type": "e1000", - "adapters": 1, - "boot_priority": "c", - "cdrom_image": "", - "cdrom_image_md5sum": null, - "command_line": "", - "console": 5002, - "console_type": "telnet", - "cpu_throttling": 0, - "cpus": 1, - "hda_disk_image": "", - "hda_disk_image_md5sum": null, - "hda_disk_interface": "ide", - "hdb_disk_image": "linux\u8f7d.img", - "hdb_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b", - "hdb_disk_interface": "ide", - "hdc_disk_image": "", - "hdc_disk_image_md5sum": null, - "hdc_disk_interface": "ide", - "hdd_disk_image": "", - "hdd_disk_image_md5sum": null, - "hdd_disk_interface": "ide", - "initrd": "", - "initrd_md5sum": null, - "kernel_command_line": "", - "kernel_image": "", - "kernel_image_md5sum": null, - "legacy_networking": false, - "mac_address": "00:dd:80:49:fb:00", - "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/b99813b1-5ff4-485e-9f83-8e3cb55649fb", - "node_id": "b99813b1-5ff4-485e-9f83-8e3cb55649fb", - "options": "", - "platform": "x86_64", - "process_priority": "low", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/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 deleted file mode 100644 index 03652c00..00000000 --- a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt +++ /dev/null @@ -1,32 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19' -d '{"console": 5002, "name": "test"}' - -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19 HTTP/1.1 -{ - "console": 5002, - "name": "test" -} - - -HTTP/1.1 200 -Content-Length: 433 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:58 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} - -{ - "acpi_shutdown": false, - "adapter_type": "Intel PRO/1000 MT Desktop (82540EM)", - "adapters": 0, - "console": 5002, - "headless": false, - "linked_clone": false, - "name": "test", - "node_directory": null, - "node_id": "99b36e74-6202-4c94-a64a-4e90a177fb19", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "ram": 0, - "status": "stopped", - "use_any_adapter": false, - "vmname": "VMTEST" -} diff --git a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt deleted file mode 100644 index 228f69ad..00000000 --- a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt +++ /dev/null @@ -1,29 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1fb10f34-00dc-48d8-8a07-ee9337e03c06' -d '{"console": 5002, "name": "test", "startup_script": "ip 192.168.1.1"}' - -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1fb10f34-00dc-48d8-8a07-ee9337e03c06 HTTP/1.1 -{ - "console": 5002, - "name": "test", - "startup_script": "ip 192.168.1.1" -} - - -HTTP/1.1 200 -Content-Length: 505 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} - -{ - "command_line": "", - "console": 5002, - "console_type": "telnet", - "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/1fb10f34-00dc-48d8-8a07-ee9337e03c06", - "node_id": "1fb10f34-00dc-48d8-8a07-ee9337e03c06", - "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "startup_script": "ip 192.168.1.1", - "startup_script_path": "startup.vpc", - "status": "stopped" -} diff --git a/docs/api/examples/controller_delete_computescomputeid.txt b/docs/api/examples/controller_delete_computescomputeid.txt deleted file mode 100644 index d7c54284..00000000 --- a/docs/api/examples/controller_delete_computescomputeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/computes/my_compute_id' - -DELETE /v2/computes/my_compute_id HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes/{compute_id} - diff --git a/docs/api/examples/controller_delete_projectsprojectid.txt b/docs/api/examples/controller_delete_projectsprojectid.txt deleted file mode 100644 index 63defef1..00000000 --- a/docs/api/examples/controller_delete_projectsprojectid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/5a0dc853-249e-4f7b-ac4e-00bdef741285' - -DELETE /v2/projects/5a0dc853-249e-4f7b-ac4e-00bdef741285 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id} - diff --git a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt deleted file mode 100644 index 051ca0b6..00000000 --- a/docs/api/examples/controller_delete_projectsprojectiddrawingsdrawingid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/dae36643-b4b9-489d-b4c1-0d6bf8c6a079/drawings/59f70a89-21a8-4e7f-a3d4-a9c559c73f58' - -DELETE /v2/projects/dae36643-b4b9-489d-b4c1-0d6bf8c6a079/drawings/59f70a89-21a8-4e7f-a3d4-a9c559c73f58 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/drawings/{drawing_id} - diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt deleted file mode 100644 index 32ae07a5..00000000 --- a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/90d544c0-ecc1-43c4-9daf-f349a7fbc647/links/8975791d-acea-404c-9c4f-afc9cb74f08c' - -DELETE /v2/projects/90d544c0-ecc1-43c4-9daf-f349a7fbc647/links/8975791d-acea-404c-9c4f-afc9cb74f08c HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/links/{link_id} - diff --git a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt deleted file mode 100644 index 6ae518ba..00000000 --- a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/a345928e-d655-457d-bd8e-5ece2233b547/nodes/a155fe6a-c8bc-4cd3-8200-76e43e17b26c' - -DELETE /v2/projects/a345928e-d655-457d-bd8e-5ece2233b547/nodes/a155fe6a-c8bc-4cd3-8200-76e43e17b26c HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id} - diff --git a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt b/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt deleted file mode 100644 index bd3b0bf8..00000000 --- a/docs/api/examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/dd06697e-76d3-46a9-951e-c3e360c17759/snapshots/76eb2f34-7854-4fd6-9354-4227f401bd07' - -DELETE /v2/projects/dd06697e-76d3-46a9-951e-c3e360c17759/snapshots/76eb2f34-7854-4fd6-9354-4227f401bd07 HTTP/1.1 - - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id} - diff --git a/docs/api/examples/controller_get_computes.txt b/docs/api/examples/controller_get_computes.txt deleted file mode 100644 index 268ea896..00000000 --- a/docs/api/examples/controller_get_computes.txt +++ /dev/null @@ -1,30 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/computes' - -GET /v2/computes HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 387 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes - -[ - { - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute_id", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "My super server", - "port": 84, - "protocol": "http", - "user": "julien" - } -] diff --git a/docs/api/examples/controller_get_computescomputeid.txt b/docs/api/examples/controller_get_computescomputeid.txt deleted file mode 100644 index 7086d6f7..00000000 --- a/docs/api/examples/controller_get_computescomputeid.txt +++ /dev/null @@ -1,28 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/computes/my_compute_id' - -GET /v2/computes/my_compute_id HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 334 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes/{compute_id} - -{ - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute_id", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "http://julien@localhost:84", - "port": 84, - "protocol": "http", - "user": "julien" -} diff --git a/docs/api/examples/controller_get_computescomputeidemulatoraction.txt b/docs/api/examples/controller_get_computescomputeidemulatoraction.txt deleted file mode 100644 index 586387b7..00000000 --- a/docs/api/examples/controller_get_computescomputeidemulatoraction.txt +++ /dev/null @@ -1,14 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/virtualbox/vms' - -GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 2 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+} - -[] diff --git a/docs/api/examples/controller_get_computescomputeidemulatorimages.txt b/docs/api/examples/controller_get_computescomputeidemulatorimages.txt deleted file mode 100644 index cafc037a..00000000 --- a/docs/api/examples/controller_get_computescomputeidemulatorimages.txt +++ /dev/null @@ -1,21 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/qemu/images' - -GET /v2/computes/my_compute/qemu/images HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 95 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes/{compute_id}/{emulator}/images - -[ - { - "filename": "linux.qcow2" - }, - { - "filename": "asav.qcow2" - } -] diff --git a/docs/api/examples/controller_get_gns3vm.txt b/docs/api/examples/controller_get_gns3vm.txt deleted file mode 100644 index 29593cd7..00000000 --- a/docs/api/examples/controller_get_gns3vm.txt +++ /dev/null @@ -1,22 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/gns3vm' - -GET /v2/gns3vm HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 148 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/gns3vm - -{ - "enable": false, - "engine": "vmware", - "headless": false, - "ram": 2048, - "vcpus": 1, - "vmname": null, - "when_exit": "stop" -} diff --git a/docs/api/examples/controller_get_gns3vmengines.txt b/docs/api/examples/controller_get_gns3vmengines.txt deleted file mode 100644 index ce68b7dc..00000000 --- a/docs/api/examples/controller_get_gns3vmengines.txt +++ /dev/null @@ -1,39 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines' - -GET /v2/gns3vm/engines HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 1106 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/gns3vm/engines - -[ - { - "description": "VMware is the recommended choice for best performances.
The GNS3 VM can be downloaded here.", - "engine_id": "vmware", - "name": "VMware Fusion", - "support_headless": true, - "support_ram": true, - "support_when_exit": true - }, - { - "description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.
The GNS3 VM can be downloaded here", - "engine_id": "virtualbox", - "name": "VirtualBox", - "support_headless": true, - "support_ram": true, - "support_when_exit": true - }, - { - "description": "Use a remote GNS3 server as the GNS3 VM.", - "engine_id": "remote", - "name": "Remote", - "support_headless": false, - "support_ram": false, - "support_when_exit": false - } -] diff --git a/docs/api/examples/controller_get_gns3vmenginesenginevms.txt b/docs/api/examples/controller_get_gns3vmenginesenginevms.txt deleted file mode 100644 index 8cdf9c30..00000000 --- a/docs/api/examples/controller_get_gns3vmenginesenginevms.txt +++ /dev/null @@ -1,18 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines/vmware/vms' - -GET /v2/gns3vm/engines/vmware/vms HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 40 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/gns3vm/engines/{engine}/vms - -[ - { - "vmname": "test" - } -] diff --git a/docs/api/examples/controller_get_projects.txt b/docs/api/examples/controller_get_projects.txt deleted file mode 100644 index 204a60e9..00000000 --- a/docs/api/examples/controller_get_projects.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects' - -GET /v2/projects HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 429 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects - -[ - { - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_list_projects1", - "project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" - } -] diff --git a/docs/api/examples/controller_get_projectsprojectid.txt b/docs/api/examples/controller_get_projectsprojectid.txt deleted file mode 100644 index 5379eab6..00000000 --- a/docs/api/examples/controller_get_projectsprojectid.txt +++ /dev/null @@ -1,25 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/0714c0ef-654f-402d-9b5f-9a42431478c9' - -GET /v2/projects/0714c0ef-654f-402d-9b5f-9a42431478c9 HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 379 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id} - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpibw102pd/projects/0714c0ef-654f-402d-9b5f-9a42431478c9", - "project_id": "0714c0ef-654f-402d-9b5f-9a42431478c9", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_get_projectsprojectiddrawings.txt b/docs/api/examples/controller_get_projectsprojectiddrawings.txt deleted file mode 100644 index 22bd902a..00000000 --- a/docs/api/examples/controller_get_projectsprojectiddrawings.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/b46d5053-9683-4b4b-ae08-d67fdd8016a3/drawings' - -GET /v2/projects/b46d5053-9683-4b4b-ae08-d67fdd8016a3/drawings HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 363 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/drawings - -[ - { - "drawing_id": "f0d4d443-3a0e-4319-897b-b58d87668092", - "project_id": "b46d5053-9683-4b4b-ae08-d67fdd8016a3", - "rotation": 0, - "svg": "", - "x": 10, - "y": 20, - "z": 0 - } -] diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt deleted file mode 100644 index 182e5653..00000000 --- a/docs/api/examples/controller_get_projectsprojectidlinks.txt +++ /dev/null @@ -1,49 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/ca14de30-087a-4994-bb54-b2b00e18d1ef/links' - -GET /v2/projects/ca14de30-087a-4994-bb54-b2b00e18d1ef/links HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 1111 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/links - -[ - { - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "398c9cb0-724e-4d56-a9b5-2b33831c8c39", - "link_type": "ethernet", - "nodes": [ - { - "adapter_number": 0, - "label": { - "rotation": 0, - "style": "font-size: 10; font-style: Verdana", - "text": "0/3", - "x": -10, - "y": -10 - }, - "node_id": "f931da2a-abe7-4e8b-8b40-385fa091cb4d", - "port_number": 3 - }, - { - "adapter_number": 2, - "label": { - "rotation": 0, - "style": "font-size: 10; font-style: Verdana", - "text": "2/4", - "x": -10, - "y": -10 - }, - "node_id": "3fcc232f-a6df-422c-800a-39ca356661d5", - "port_number": 4 - } - ], - "project_id": "ca14de30-087a-4994-bb54-b2b00e18d1ef" - } -] diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt deleted file mode 100644 index bf189e17..00000000 --- a/docs/api/examples/controller_get_projectsprojectidnodes.txt +++ /dev/null @@ -1,59 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes' - -GET /v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 1305 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes - -[ - { - "command_line": null, - "compute_id": "example.com", - "console": 2048, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "efe73b73-94c6-40d8-bdaf-df0e2948940c", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "a75e8c91-cb8a-4d9f-8d66-8180793b3c1c", - "properties": { - "startup_script": "echo test" - }, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 - } -] diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt deleted file mode 100644 index f16098d8..00000000 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeid.txt +++ /dev/null @@ -1,57 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/e1b0cf1f-9284-4cd8-af88-047c18def631/nodes/160fed8d-9518-448a-8adf-6678f40cdfbe' - -GET /v2/projects/e1b0cf1f-9284-4cd8-af88-047c18def631/nodes/160fed8d-9518-448a-8adf-6678f40cdfbe HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 1125 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id} - -{ - "command_line": null, - "compute_id": "example.com", - "console": 2048, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "160fed8d-9518-448a-8adf-6678f40cdfbe", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "e1b0cf1f-9284-4cd8-af88-047c18def631", - "properties": { - "startup_script": "echo test" - }, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt deleted file mode 100644 index cabe02af..00000000 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt +++ /dev/null @@ -1,16 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/db5ec58a-09ff-497e-9631-1472bf262a3d/nodes/563ae8d3-cab5-4c53-b0db-b2d0d0eee741/dynamips/auto_idlepc' - -GET /v2/projects/db5ec58a-09ff-497e-9631-1472bf262a3d/nodes/563ae8d3-cab5-4c53-b0db-b2d0d0eee741/dynamips/auto_idlepc HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 30 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc - -{ - "idlepc": "0x60606f54" -} diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt deleted file mode 100644 index a8c4be5a..00000000 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt +++ /dev/null @@ -1,17 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/74e08b86-700e-4d38-a32c-f898421a8bef/nodes/fcdc2c76-cb28-4380-9c1c-f1e56f1f2017/dynamips/idlepc_proposals' - -GET /v2/projects/74e08b86-700e-4d38-a32c-f898421a8bef/nodes/fcdc2c76-cb28-4380-9c1c-f1e56f1f2017/dynamips/idlepc_proposals HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 38 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals - -[ - "0x60606f54", - "0x33805a22" -] diff --git a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt b/docs/api/examples/controller_get_projectsprojectidsnapshots.txt deleted file mode 100644 index 51217e2b..00000000 --- a/docs/api/examples/controller_get_projectsprojectidsnapshots.txt +++ /dev/null @@ -1,21 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/6bb95778-66d6-499a-b872-722ab5f1bbb4/snapshots' - -GET /v2/projects/6bb95778-66d6-499a-b872-722ab5f1bbb4/snapshots HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 197 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/snapshots - -[ - { - "created_at": 1478193604, - "name": "test", - "project_id": "6bb95778-66d6-499a-b872-722ab5f1bbb4", - "snapshot_id": "3fd6e6b5-084e-4eb7-b599-f7636c0bd117" - } -] diff --git a/docs/api/examples/controller_get_settings.txt b/docs/api/examples/controller_get_settings.txt deleted file mode 100644 index 90316062..00000000 --- a/docs/api/examples/controller_get_settings.txt +++ /dev/null @@ -1,16 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/settings' - -GET /v2/settings HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 20 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/settings - -{ - "test": true -} diff --git a/docs/api/examples/controller_get_symbols.txt b/docs/api/examples/controller_get_symbols.txt deleted file mode 100644 index ebe2c04e..00000000 --- a/docs/api/examples/controller_get_symbols.txt +++ /dev/null @@ -1,220 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/symbols' - -GET /v2/symbols HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 5174 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/symbols - -[ - { - "builtin": true, - "filename": "PBX.svg", - "symbol_id": ":/symbols/PBX.svg" - }, - { - "builtin": true, - "filename": "PIX_firewall.svg", - "symbol_id": ":/symbols/PIX_firewall.svg" - }, - { - "builtin": true, - "filename": "access_point.svg", - "symbol_id": ":/symbols/access_point.svg" - }, - { - "builtin": true, - "filename": "access_server.svg", - "symbol_id": ":/symbols/access_server.svg" - }, - { - "builtin": true, - "filename": "asa.svg", - "symbol_id": ":/symbols/asa.svg" - }, - { - "builtin": true, - "filename": "atm_bridge.svg", - "symbol_id": ":/symbols/atm_bridge.svg" - }, - { - "builtin": true, - "filename": "atm_switch.svg", - "symbol_id": ":/symbols/atm_switch.svg" - }, - { - "builtin": true, - "filename": "call_manager.svg", - "symbol_id": ":/symbols/call_manager.svg" - }, - { - "builtin": true, - "filename": "cloud.svg", - "symbol_id": ":/symbols/cloud.svg" - }, - { - "builtin": true, - "filename": "computer.svg", - "symbol_id": ":/symbols/computer.svg" - }, - { - "builtin": true, - "filename": "docker_guest.svg", - "symbol_id": ":/symbols/docker_guest.svg" - }, - { - "builtin": true, - "filename": "dslam.svg", - "symbol_id": ":/symbols/dslam.svg" - }, - { - "builtin": true, - "filename": "edge_label_switch_router.svg", - "symbol_id": ":/symbols/edge_label_switch_router.svg" - }, - { - "builtin": true, - "filename": "ethernet_switch.svg", - "symbol_id": ":/symbols/ethernet_switch.svg" - }, - { - "builtin": true, - "filename": "firewall.svg", - "symbol_id": ":/symbols/firewall.svg" - }, - { - "builtin": true, - "filename": "frame_relay_switch.svg", - "symbol_id": ":/symbols/frame_relay_switch.svg" - }, - { - "builtin": true, - "filename": "gateway.svg", - "symbol_id": ":/symbols/gateway.svg" - }, - { - "builtin": true, - "filename": "hub.svg", - "symbol_id": ":/symbols/hub.svg" - }, - { - "builtin": true, - "filename": "ids.svg", - "symbol_id": ":/symbols/ids.svg" - }, - { - "builtin": true, - "filename": "iosv_l2_virl.svg", - "symbol_id": ":/symbols/iosv_l2_virl.svg" - }, - { - "builtin": true, - "filename": "iosv_virl.svg", - "symbol_id": ":/symbols/iosv_virl.svg" - }, - { - "builtin": true, - "filename": "ip_phone.svg", - "symbol_id": ":/symbols/ip_phone.svg" - }, - { - "builtin": true, - "filename": "label_switch_router.svg", - "symbol_id": ":/symbols/label_switch_router.svg" - }, - { - "builtin": true, - "filename": "lightweight_ap.svg", - "symbol_id": ":/symbols/lightweight_ap.svg" - }, - { - "builtin": true, - "filename": "multilayer_switch.svg", - "symbol_id": ":/symbols/multilayer_switch.svg" - }, - { - "builtin": true, - "filename": "optical_router.svg", - "symbol_id": ":/symbols/optical_router.svg" - }, - { - "builtin": true, - "filename": "printer.svg", - "symbol_id": ":/symbols/printer.svg" - }, - { - "builtin": true, - "filename": "qemu_guest.svg", - "symbol_id": ":/symbols/qemu_guest.svg" - }, - { - "builtin": true, - "filename": "route_switch_processor.svg", - "symbol_id": ":/symbols/route_switch_processor.svg" - }, - { - "builtin": true, - "filename": "router.awp.svg", - "symbol_id": ":/symbols/router.awp.svg" - }, - { - "builtin": true, - "filename": "router.svg", - "symbol_id": ":/symbols/router.svg" - }, - { - "builtin": true, - "filename": "router_firewall.svg", - "symbol_id": ":/symbols/router_firewall.svg" - }, - { - "builtin": true, - "filename": "router_netflow.svg", - "symbol_id": ":/symbols/router_netflow.svg" - }, - { - "builtin": true, - "filename": "server.svg", - "symbol_id": ":/symbols/server.svg" - }, - { - "builtin": true, - "filename": "sip_server.svg", - "symbol_id": ":/symbols/sip_server.svg" - }, - { - "builtin": true, - "filename": "vbox_guest.svg", - "symbol_id": ":/symbols/vbox_guest.svg" - }, - { - "builtin": true, - "filename": "vmware_guest.svg", - "symbol_id": ":/symbols/vmware_guest.svg" - }, - { - "builtin": true, - "filename": "voice_access_server.svg", - "symbol_id": ":/symbols/voice_access_server.svg" - }, - { - "builtin": true, - "filename": "voice_router.svg", - "symbol_id": ":/symbols/voice_router.svg" - }, - { - "builtin": true, - "filename": "vpcs_guest.svg", - "symbol_id": ":/symbols/vpcs_guest.svg" - }, - { - "builtin": true, - "filename": "wlan_controller.svg", - "symbol_id": ":/symbols/wlan_controller.svg" - } -] diff --git a/docs/api/examples/controller_get_version.txt b/docs/api/examples/controller_get_version.txt deleted file mode 100644 index 34834d1c..00000000 --- a/docs/api/examples/controller_get_version.txt +++ /dev/null @@ -1,17 +0,0 @@ -curl -i -X GET 'http://localhost:3080/v2/version' - -GET /v2/version HTTP/1.1 - - - -HTTP/1.1 200 -Content-Length: 49 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/version - -{ - "local": true, - "version": "2.0.0dev4" -} diff --git a/docs/api/examples/controller_post_computes.txt b/docs/api/examples/controller_post_computes.txt deleted file mode 100644 index 6b476016..00000000 --- a/docs/api/examples/controller_post_computes.txt +++ /dev/null @@ -1,35 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/computes' -d '{"compute_id": "my_compute_id", "host": "localhost", "password": "secure", "port": 84, "protocol": "http", "user": "julien"}' - -POST /v2/computes HTTP/1.1 -{ - "compute_id": "my_compute_id", - "host": "localhost", - "password": "secure", - "port": 84, - "protocol": "http", - "user": "julien" -} - - -HTTP/1.1 201 -Content-Length: 334 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes - -{ - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute_id", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "http://julien@localhost:84", - "port": 84, - "protocol": "http", - "user": "julien" -} diff --git a/docs/api/examples/controller_post_computescomputeidemulatoraction.txt b/docs/api/examples/controller_post_computescomputeidemulatoraction.txt deleted file mode 100644 index ad812ea1..00000000 --- a/docs/api/examples/controller_post_computescomputeidemulatoraction.txt +++ /dev/null @@ -1,16 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/computes/my_compute/qemu/img' -d '{"path": "/test"}' - -POST /v2/computes/my_compute/qemu/img HTTP/1.1 -{ - "path": "/test" -} - - -HTTP/1.1 200 -Content-Length: 2 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+} - -[] diff --git a/docs/api/examples/controller_post_projects.txt b/docs/api/examples/controller_post_projects.txt deleted file mode 100644 index 1a85c816..00000000 --- a/docs/api/examples/controller_post_projects.txt +++ /dev/null @@ -1,28 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects' -d '{"name": "test", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"}' - -POST /v2/projects HTTP/1.1 -{ - "name": "test", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f" -} - - -HTTP/1.1 201 -Content-Length: 379 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpr3nqew3l/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_post_projectsload.txt b/docs/api/examples/controller_post_projectsload.txt deleted file mode 100644 index ad13b7c9..00000000 --- a/docs/api/examples/controller_post_projectsload.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/load' -d '{"path": "/tmp/test.gns3"}' - -POST /v2/projects/load HTTP/1.1 -{ - "path": "/tmp/test.gns3" -} - - -HTTP/1.1 201 -Content-Length: 379 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/load - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeix5a_qk/projects/63b6688e-fada-44ad-a1e2-ff7cc76a1cec", - "project_id": "63b6688e-fada-44ad-a1e2-ff7cc76a1cec", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt deleted file mode 100644 index fef444f2..00000000 --- a/docs/api/examples/controller_post_projectsprojectidclose.txt +++ /dev/null @@ -1,25 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/b0cb4971-fae8-4ed1-a5a8-63a6c7ac2a7d/close' -d '{}' - -POST /v2/projects/b0cb4971-fae8-4ed1-a5a8-63a6c7ac2a7d/close HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 379 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/close - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpexaeqigq/projects/b0cb4971-fae8-4ed1-a5a8-63a6c7ac2a7d", - "project_id": "b0cb4971-fae8-4ed1-a5a8-63a6c7ac2a7d", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_post_projectsprojectiddrawings.txt b/docs/api/examples/controller_post_projectsprojectiddrawings.txt deleted file mode 100644 index 875bf5d3..00000000 --- a/docs/api/examples/controller_post_projectsprojectiddrawings.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/437af3f1-8056-45bf-9b87-c51b3c7c260a/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' - -POST /v2/projects/437af3f1-8056-45bf-9b87-c51b3c7c260a/drawings HTTP/1.1 -{ - "svg": "", - "x": 10, - "y": 20, - "z": 0 -} - - -HTTP/1.1 201 -Content-Length: 323 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/drawings - -{ - "drawing_id": "2f774d3e-5a2f-4b66-8e81-6c324287c055", - "project_id": "437af3f1-8056-45bf-9b87-c51b3c7c260a", - "rotation": 0, - "svg": "", - "x": 10, - "y": 20, - "z": 0 -} diff --git a/docs/api/examples/controller_post_projectsprojectidduplicate.txt b/docs/api/examples/controller_post_projectsprojectidduplicate.txt deleted file mode 100644 index 31b7dae9..00000000 --- a/docs/api/examples/controller_post_projectsprojectidduplicate.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/21717e3a-16a4-4858-be4c-afe4c9c801e9/duplicate' -d '{"name": "hello"}' - -POST /v2/projects/21717e3a-16a4-4858-be4c-afe4c9c801e9/duplicate HTTP/1.1 -{ - "name": "hello" -} - - -HTTP/1.1 201 -Content-Length: 350 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/duplicate - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "hello.gns3", - "name": "hello", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp468uc8zp/projects/hello", - "project_id": "7b99f0f3-b680-4e45-8281-948122b6196f", - "scene_height": 1000, - "scene_width": 2000, - "status": "closed" -} diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt deleted file mode 100644 index a9cad4cb..00000000 --- a/docs/api/examples/controller_post_projectsprojectidlinks.txt +++ /dev/null @@ -1,35 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/68f3f9b2-b1d7-487d-bdc2-7464a6dafe0d/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "e738f747-1345-4b05-911f-96d2f9200c1b", "port_number": 3}, {"adapter_number": 0, "node_id": "e738f747-1345-4b05-911f-96d2f9200c1b", "port_number": 4}]}' - -POST /v2/projects/68f3f9b2-b1d7-487d-bdc2-7464a6dafe0d/links HTTP/1.1 -{ - "nodes": [ - { - "adapter_number": 0, - "label": { - "text": "Text", - "x": 42, - "y": 0 - }, - "node_id": "e738f747-1345-4b05-911f-96d2f9200c1b", - "port_number": 3 - }, - { - "adapter_number": 0, - "node_id": "e738f747-1345-4b05-911f-96d2f9200c1b", - "port_number": 4 - } - ] -} - - -HTTP/1.1 409 -Content-Length: 64 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/links - -{ - "message": "Cannot connect to itself", - "status": 409 -} diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt deleted file mode 100644 index 93db1819..00000000 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt +++ /dev/null @@ -1,22 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/c1f16949-230a-47b7-950b-19632435ce00/links/5a694af3-08a4-4bbc-be38-504bec6a546a/start_capture' -d '{}' - -POST /v2/projects/c1f16949-230a-47b7-950b-19632435ce00/links/5a694af3-08a4-4bbc-be38-504bec6a546a/start_capture HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 247 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture - -{ - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "5a694af3-08a4-4bbc-be38-504bec6a546a", - "link_type": "ethernet", - "nodes": [], - "project_id": "c1f16949-230a-47b7-950b-19632435ce00" -} diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt deleted file mode 100644 index 0a9174cf..00000000 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt +++ /dev/null @@ -1,22 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/f8484e41-910f-484f-8d3a-f9e675ede081/links/e6771357-c1c7-4b5b-86c2-33a6efcb5f76/stop_capture' -d '{}' - -POST /v2/projects/f8484e41-910f-484f-8d3a-f9e675ede081/links/e6771357-c1c7-4b5b-86c2-33a6efcb5f76/stop_capture HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 247 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture - -{ - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "e6771357-c1c7-4b5b-86c2-33a6efcb5f76", - "link_type": "ethernet", - "nodes": [], - "project_id": "f8484e41-910f-484f-8d3a-f9e675ede081" -} diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt deleted file mode 100644 index 3cdd01fe..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodes.txt +++ /dev/null @@ -1,64 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/78a89c6c-f21b-4306-a00b-72976f8671dc/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' - -POST /v2/projects/78a89c6c-f21b-4306-a00b-72976f8671dc/nodes HTTP/1.1 -{ - "compute_id": "example.com", - "name": "test", - "node_type": "vpcs", - "properties": { - "startup_script": "echo test" - } -} - - -HTTP/1.1 201 -Content-Length: 1125 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes - -{ - "command_line": null, - "compute_id": "example.com", - "console": 2048, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "5318dfed-a8b1-4cc1-a4a4-f88f84ac0ff8", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "78a89c6c-f21b-4306-a00b-72976f8671dc", - "properties": { - "startup_script": "echo test" - }, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt deleted file mode 100644 index 6cdd4013..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt +++ /dev/null @@ -1,55 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/402d4d4f-337f-435d-a517-d05a849f7d31/nodes/00c09f81-0df4-4ff0-bec8-644b744355ab/reload' -d '{}' - -POST /v2/projects/402d4d4f-337f-435d-a517-d05a849f7d31/nodes/00c09f81-0df4-4ff0-bec8-644b744355ab/reload HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 1082 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id}/reload - -{ - "command_line": null, - "compute_id": "example.com", - "console": null, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "00c09f81-0df4-4ff0-bec8-644b744355ab", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "402d4d4f-337f-435d-a517-d05a849f7d31", - "properties": {}, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt deleted file mode 100644 index 7a1497c4..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt +++ /dev/null @@ -1,55 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/1f656a70-fc03-424e-9491-3a5dbe302a35/nodes/ed8a3a61-ee8c-44e6-a987-7f80d107563b/start' -d '{}' - -POST /v2/projects/1f656a70-fc03-424e-9491-3a5dbe302a35/nodes/ed8a3a61-ee8c-44e6-a987-7f80d107563b/start HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 1082 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id}/start - -{ - "command_line": null, - "compute_id": "example.com", - "console": null, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "ed8a3a61-ee8c-44e6-a987-7f80d107563b", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "1f656a70-fc03-424e-9491-3a5dbe302a35", - "properties": {}, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt deleted file mode 100644 index 24614f16..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt +++ /dev/null @@ -1,55 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/8d4294c8-b961-4952-8d6b-d27e34592086/nodes/9d0ca34a-d99e-4fd2-87e6-834065a9b7e9/stop' -d '{}' - -POST /v2/projects/8d4294c8-b961-4952-8d6b-d27e34592086/nodes/9d0ca34a-d99e-4fd2-87e6-834065a9b7e9/stop HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 1082 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id}/stop - -{ - "command_line": null, - "compute_id": "example.com", - "console": null, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "9d0ca34a-d99e-4fd2-87e6-834065a9b7e9", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "8d4294c8-b961-4952-8d6b-d27e34592086", - "properties": {}, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt deleted file mode 100644 index 0496cf69..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt +++ /dev/null @@ -1,55 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/67a92178-fb07-4082-8c05-378080dc1557/nodes/a38eaf59-4086-430a-b527-a2e61203b2f5/suspend' -d '{}' - -POST /v2/projects/67a92178-fb07-4082-8c05-378080dc1557/nodes/a38eaf59-4086-430a-b527-a2e61203b2f5/suspend HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 1082 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id}/suspend - -{ - "command_line": null, - "compute_id": "example.com", - "console": null, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "a38eaf59-4086-430a-b527-a2e61203b2f5", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "67a92178-fb07-4082-8c05-378080dc1557", - "properties": {}, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt deleted file mode 100644 index 364010c3..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/d88d3fcf-44b2-408c-a7e3-22de232071f7/nodes/reload' -d '{}' - -POST /v2/projects/d88d3fcf-44b2-408c-a7e3-22de232071f7/nodes/reload HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:02 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/reload - diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt deleted file mode 100644 index 6c06a736..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/1d00a88c-b784-4f47-9010-c72bca77ee90/nodes/start' -d '{}' - -POST /v2/projects/1d00a88c-b784-4f47-9010-c72bca77ee90/nodes/start HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/start - diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt deleted file mode 100644 index 744f1707..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/38d08891-6244-449e-823a-86f7ab623032/nodes/stop' -d '{}' - -POST /v2/projects/38d08891-6244-449e-823a-86f7ab623032/nodes/stop HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/stop - diff --git a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt deleted file mode 100644 index 4d989508..00000000 --- a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a9dd6fbb-b6e9-43c6-a1b6-13cdce153f39/nodes/suspend' -d '{}' - -POST /v2/projects/a9dd6fbb-b6e9-43c6-a1b6-13cdce153f39/nodes/suspend HTTP/1.1 -{} - - -HTTP/1.1 204 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/suspend - diff --git a/docs/api/examples/controller_post_projectsprojectidopen.txt b/docs/api/examples/controller_post_projectsprojectidopen.txt deleted file mode 100644 index 75d7e7d7..00000000 --- a/docs/api/examples/controller_post_projectsprojectidopen.txt +++ /dev/null @@ -1,25 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/74933b9a-9481-4935-8bf6-68efc1ba235d/open' -d '{}' - -POST /v2/projects/74933b9a-9481-4935-8bf6-68efc1ba235d/open HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 379 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/open - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfho4foo3/projects/74933b9a-9481-4935-8bf6-68efc1ba235d", - "project_id": "74933b9a-9481-4935-8bf6-68efc1ba235d", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt b/docs/api/examples/controller_post_projectsprojectidsnapshots.txt deleted file mode 100644 index 115c814d..00000000 --- a/docs/api/examples/controller_post_projectsprojectidsnapshots.txt +++ /dev/null @@ -1,21 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/4f486b95-604e-43ea-9b44-d6db866aa331/snapshots' -d '{"name": "snap1"}' - -POST /v2/projects/4f486b95-604e-43ea-9b44-d6db866aa331/snapshots HTTP/1.1 -{ - "name": "snap1" -} - - -HTTP/1.1 201 -Content-Length: 170 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/snapshots - -{ - "created_at": 1478193604, - "name": "snap1", - "project_id": "4f486b95-604e-43ea-9b44-d6db866aa331", - "snapshot_id": "9ff3332f-5388-4946-80a7-b81334f6f321" -} diff --git a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt b/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt deleted file mode 100644 index b1bc4a8e..00000000 --- a/docs/api/examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt +++ /dev/null @@ -1,25 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/8ebb5d97-6716-4b68-bbac-db60e91afcd5/snapshots/c11d2478-3e60-4708-9ac7-4a90532e62c4/restore' -d '{}' - -POST /v2/projects/8ebb5d97-6716-4b68-bbac-db60e91afcd5/snapshots/c11d2478-3e60-4708-9ac7-4a90532e62c4/restore HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 379 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpolw_ute0/projects/8ebb5d97-6716-4b68-bbac-db60e91afcd5", - "project_id": "8ebb5d97-6716-4b68-bbac-db60e91afcd5", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_post_settings.txt b/docs/api/examples/controller_post_settings.txt deleted file mode 100644 index bafb4f5b..00000000 --- a/docs/api/examples/controller_post_settings.txt +++ /dev/null @@ -1,18 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/settings' -d '{"test": true}' - -POST /v2/settings HTTP/1.1 -{ - "test": true -} - - -HTTP/1.1 201 -Content-Length: 20 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/settings - -{ - "test": true -} diff --git a/docs/api/examples/controller_post_shutdown.txt b/docs/api/examples/controller_post_shutdown.txt deleted file mode 100644 index 8471b86b..00000000 --- a/docs/api/examples/controller_post_shutdown.txt +++ /dev/null @@ -1,13 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/shutdown' -d '{}' - -POST /v2/shutdown HTTP/1.1 -{} - - -HTTP/1.1 201 -Content-Length: 0 -Content-Type: application/octet-stream -Date: Thu, 03 Nov 2016 17:20:04 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/shutdown - diff --git a/docs/api/examples/controller_post_version.txt b/docs/api/examples/controller_post_version.txt deleted file mode 100644 index 72ce0d3e..00000000 --- a/docs/api/examples/controller_post_version.txt +++ /dev/null @@ -1,18 +0,0 @@ -curl -i -X POST 'http://localhost:3080/v2/version' -d '{"version": "2.0.0dev4"}' - -POST /v2/version HTTP/1.1 -{ - "version": "2.0.0dev4" -} - - -HTTP/1.1 200 -Content-Length: 30 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:05 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/version - -{ - "version": "2.0.0dev4" -} diff --git a/docs/api/examples/controller_put_computescomputeid.txt b/docs/api/examples/controller_put_computescomputeid.txt deleted file mode 100644 index 2e279713..00000000 --- a/docs/api/examples/controller_put_computescomputeid.txt +++ /dev/null @@ -1,35 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/computes/my_compute_id' -d '{"compute_id": "my_compute_id", "host": "localhost", "password": "secure", "port": 84, "protocol": "https", "user": "julien"}' - -PUT /v2/computes/my_compute_id HTTP/1.1 -{ - "compute_id": "my_compute_id", - "host": "localhost", - "password": "secure", - "port": 84, - "protocol": "https", - "user": "julien" -} - - -HTTP/1.1 200 -Content-Length: 335 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:19:59 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/computes/{compute_id} - -{ - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute_id", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "http://julien@localhost:84", - "port": 84, - "protocol": "https", - "user": "julien" -} diff --git a/docs/api/examples/controller_put_gns3vm.txt b/docs/api/examples/controller_put_gns3vm.txt deleted file mode 100644 index 23a8942f..00000000 --- a/docs/api/examples/controller_put_gns3vm.txt +++ /dev/null @@ -1,18 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/gns3vm' -d '{"vmname": "TEST VM"}' - -PUT /v2/gns3vm HTTP/1.1 -{ - "vmname": "TEST VM" -} - - -HTTP/1.1 201 -Content-Length: 27 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/gns3vm - -{ - "vmname": "TEST VM" -} diff --git a/docs/api/examples/controller_put_projectsprojectid.txt b/docs/api/examples/controller_put_projectsprojectid.txt deleted file mode 100644 index b60efa71..00000000 --- a/docs/api/examples/controller_put_projectsprojectid.txt +++ /dev/null @@ -1,27 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/10010203-0405-0607-0809-0a0b0c0d0e0f' -d '{"name": "test2"}' - -PUT /v2/projects/10010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1 -{ - "name": "test2" -} - - -HTTP/1.1 200 -Content-Length: 380 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:03 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id} - -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test2", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpqs4mvhu8/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} diff --git a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt b/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt deleted file mode 100644 index 0f5b068e..00000000 --- a/docs/api/examples/controller_put_projectsprojectiddrawingsdrawingid.txt +++ /dev/null @@ -1,24 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/7e9159b4-b024-4beb-adc2-b62bbe350870/drawings/7c43091b-742f-4f8f-b6d8-b9025ac4d627' -d '{"x": 42}' - -PUT /v2/projects/7e9159b4-b024-4beb-adc2-b62bbe350870/drawings/7c43091b-742f-4f8f-b6d8-b9025ac4d627 HTTP/1.1 -{ - "x": 42 -} - - -HTTP/1.1 201 -Content-Length: 323 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:00 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/drawings/{drawing_id} - -{ - "drawing_id": "7c43091b-742f-4f8f-b6d8-b9025ac4d627", - "project_id": "7e9159b4-b024-4beb-adc2-b62bbe350870", - "rotation": 0, - "svg": "", - "x": 42, - "y": 20, - "z": 0 -} diff --git a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt deleted file mode 100644 index a602c73d..00000000 --- a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt +++ /dev/null @@ -1,62 +0,0 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/47cfbe19-809c-4e83-b3f4-2e11edbb04cc/nodes/193fec66-6bf5-4a7c-85a3-952952a4e956' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' - -PUT /v2/projects/47cfbe19-809c-4e83-b3f4-2e11edbb04cc/nodes/193fec66-6bf5-4a7c-85a3-952952a4e956 HTTP/1.1 -{ - "compute_id": "example.com", - "name": "test", - "node_type": "vpcs", - "properties": { - "startup_script": "echo test" - } -} - - -HTTP/1.1 200 -Content-Length: 1082 -Content-Type: application/json -Date: Thu, 03 Nov 2016 17:20:01 GMT -Server: Python/3.5 GNS3/2.0.0dev4 -X-Route: /v2/projects/{project_id}/nodes/{node_id} - -{ - "command_line": null, - "compute_id": "example.com", - "console": 2048, - "console_host": "", - "console_type": null, - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-size: 10;font-familly: Verdana", - "text": "test", - "x": null, - "y": -40 - }, - "name": "test", - "node_directory": null, - "node_id": "193fec66-6bf5-4a7c-85a3-952952a4e956", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "47cfbe19-809c-4e83-b3f4-2e11edbb04cc", - "properties": {}, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": 0, - "y": 0, - "z": 0 -} diff --git a/docs/api/notifications/compute.created.json b/docs/api/notifications/compute.created.json deleted file mode 100644 index 48759ae3..00000000 --- a/docs/api/notifications/compute.created.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "http://julien@localhost:84", - "port": 84, - "protocol": "http", - "user": "julien" -} \ No newline at end of file diff --git a/docs/api/notifications/compute.deleted.json b/docs/api/notifications/compute.deleted.json deleted file mode 100644 index 2c489ad4..00000000 --- a/docs/api/notifications/compute.deleted.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute_id", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "http://julien@localhost:84", - "port": 84, - "protocol": "http", - "user": "julien" -} \ No newline at end of file diff --git a/docs/api/notifications/compute.updated.json b/docs/api/notifications/compute.updated.json deleted file mode 100644 index 75d786f7..00000000 --- a/docs/api/notifications/compute.updated.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "capabilities": { - "node_types": [], - "version": null - }, - "compute_id": "my_compute_id", - "connected": false, - "cpu_usage_percent": null, - "host": "localhost", - "memory_usage_percent": null, - "name": "http://julien@localhost:84", - "port": 84, - "protocol": "https", - "user": "julien" -} \ No newline at end of file diff --git a/docs/api/notifications/drawing.created.json b/docs/api/notifications/drawing.created.json deleted file mode 100644 index dca468f8..00000000 --- a/docs/api/notifications/drawing.created.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "drawing_id": "f0d4d443-3a0e-4319-897b-b58d87668092", - "project_id": "b46d5053-9683-4b4b-ae08-d67fdd8016a3", - "rotation": 0, - "svg": "", - "x": 10, - "y": 20, - "z": 0 -} \ No newline at end of file diff --git a/docs/api/notifications/drawing.deleted.json b/docs/api/notifications/drawing.deleted.json deleted file mode 100644 index 77015b15..00000000 --- a/docs/api/notifications/drawing.deleted.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "drawing_id": "59f70a89-21a8-4e7f-a3d4-a9c559c73f58", - "project_id": "dae36643-b4b9-489d-b4c1-0d6bf8c6a079", - "rotation": 0, - "svg": "", - "x": 0, - "y": 0, - "z": 0 -} \ No newline at end of file diff --git a/docs/api/notifications/drawing.updated.json b/docs/api/notifications/drawing.updated.json deleted file mode 100644 index edac7590..00000000 --- a/docs/api/notifications/drawing.updated.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "drawing_id": "7c43091b-742f-4f8f-b6d8-b9025ac4d627", - "project_id": "7e9159b4-b024-4beb-adc2-b62bbe350870", - "rotation": 0, - "x": 42, - "y": 20, - "z": 0 -} \ No newline at end of file diff --git a/docs/api/notifications/ignore.json b/docs/api/notifications/ignore.json deleted file mode 100644 index 9bf8f5c3..00000000 --- a/docs/api/notifications/ignore.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "project_id": 42 -} \ No newline at end of file diff --git a/docs/api/notifications/link.created.json b/docs/api/notifications/link.created.json deleted file mode 100644 index bc5cb9b4..00000000 --- a/docs/api/notifications/link.created.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "398c9cb0-724e-4d56-a9b5-2b33831c8c39", - "link_type": "ethernet", - "nodes": [ - { - "adapter_number": 0, - "label": { - "rotation": 0, - "style": "font-size: 10; font-style: Verdana", - "text": "0/3", - "x": -10, - "y": -10 - }, - "node_id": "f931da2a-abe7-4e8b-8b40-385fa091cb4d", - "port_number": 3 - }, - { - "adapter_number": 2, - "label": { - "rotation": 0, - "style": "font-size: 10; font-style: Verdana", - "text": "2/4", - "x": -10, - "y": -10 - }, - "node_id": "3fcc232f-a6df-422c-800a-39ca356661d5", - "port_number": 4 - } - ], - "project_id": "ca14de30-087a-4994-bb54-b2b00e18d1ef" -} \ No newline at end of file diff --git a/docs/api/notifications/link.deleted.json b/docs/api/notifications/link.deleted.json deleted file mode 100644 index 70678a54..00000000 --- a/docs/api/notifications/link.deleted.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "8975791d-acea-404c-9c4f-afc9cb74f08c", - "link_type": "ethernet", - "nodes": [], - "project_id": "90d544c0-ecc1-43c4-9daf-f349a7fbc647" -} \ No newline at end of file diff --git a/docs/api/notifications/link.updated.json b/docs/api/notifications/link.updated.json deleted file mode 100644 index 0da41ad6..00000000 --- a/docs/api/notifications/link.updated.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "65559a20-c765-457c-a5a8-d7d888a463b4", - "link_type": "ethernet", - "nodes": [ - { - "adapter_number": 0, - "label": { - "text": "Hello", - "x": 64, - "y": 0 - }, - "node_id": "a6d134f5-be5e-4c5b-aabc-cfa27082e8ce", - "port_number": 3 - }, - { - "adapter_number": 2, - "label": { - "rotation": 0, - "style": "font-size: 10; font-style: Verdana", - "text": "2/4", - "x": -10, - "y": -10 - }, - "node_id": "dd3133ce-2a62-4f2e-9304-8d5fb3e5a972", - "port_number": 4 - } - ], - "project_id": "a278f1ce-4fd4-4161-ab9c-db7e6cc8ad1c" -} \ No newline at end of file diff --git a/docs/api/notifications/log.error.json b/docs/api/notifications/log.error.json deleted file mode 100644 index aaf314d7..00000000 --- a/docs/api/notifications/log.error.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "message": "Permission denied on /tmp" -} \ No newline at end of file diff --git a/docs/api/notifications/log.info.json b/docs/api/notifications/log.info.json deleted file mode 100644 index f77299a5..00000000 --- a/docs/api/notifications/log.info.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "message": "Image uploaded" -} \ No newline at end of file diff --git a/docs/api/notifications/log.warning.json b/docs/api/notifications/log.warning.json deleted file mode 100644 index 5d630354..00000000 --- a/docs/api/notifications/log.warning.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "message": "Warning ASA 8 is not officialy supported by GNS3" -} \ No newline at end of file diff --git a/docs/api/notifications/node.created.json b/docs/api/notifications/node.created.json deleted file mode 100644 index e24038fa..00000000 --- a/docs/api/notifications/node.created.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "a": "b" -} \ No newline at end of file diff --git a/docs/api/notifications/node.updated.json b/docs/api/notifications/node.updated.json deleted file mode 100644 index fcb8b6ea..00000000 --- a/docs/api/notifications/node.updated.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "command_line": "", - "compute_id": "local", - "console": 5002, - "console_host": "localhost", - "console_type": "telnet", - "first_port_name": null, - "height": 59, - "label": { - "rotation": 0, - "style": "font-family: TypeWriter;font-size: 10;font-weight: bold;fill: #000000;fill-opacity: 1.0;", - "text": "PC2", - "x": 18, - "y": -25 - }, - "name": "PC2", - "node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_open0/project-files/vpcs/748bcd89-624a-40eb-a8d3-1d2e85c99b51", - "node_id": "748bcd89-624a-40eb-a8d3-1d2e85c99b51", - "node_type": "vpcs", - "port_name_format": "Ethernet{0}", - "port_segment_size": 0, - "ports": [ - { - "adapter_number": 0, - "data_link_types": { - "Ethernet": "DLT_EN10MB" - }, - "link_type": "ethernet", - "name": "Ethernet0", - "port_number": 0, - "short_name": "e0/0" - } - ], - "project_id": "3c1be6f9-b4ba-4737-b209-63c47c23359f", - "properties": { - "startup_script": "", - "startup_script_path": "startup.vpc" - }, - "status": "stopped", - "symbol": ":/symbols/computer.svg", - "width": 65, - "x": -71, - "y": -98, - "z": 1 -} \ No newline at end of file diff --git a/docs/api/notifications/ping.json b/docs/api/notifications/ping.json deleted file mode 100644 index 4df2d436..00000000 --- a/docs/api/notifications/ping.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "compute_id": 12 -} \ No newline at end of file diff --git a/docs/api/notifications/project.closed.json b/docs/api/notifications/project.closed.json deleted file mode 100644 index f9d8122a..00000000 --- a/docs/api/notifications/project.closed.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3li3k94u/projects/d5adb1de-f412-4b25-8626-5c4c51e18dda", - "project_id": "d5adb1de-f412-4b25-8626-5c4c51e18dda", - "scene_height": 1000, - "scene_width": 2000, - "status": "closed" -} \ No newline at end of file diff --git a/docs/api/notifications/project.updated.json b/docs/api/notifications/project.updated.json deleted file mode 100644 index b00fd398..00000000 --- a/docs/api/notifications/project.updated.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "auto_close": true, - "auto_open": false, - "auto_start": false, - "filename": "test.gns3", - "name": "test2", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpqs4mvhu8/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", - "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", - "scene_height": 1000, - "scene_width": 2000, - "status": "opened" -} \ No newline at end of file diff --git a/docs/api/notifications/settings.updated.json b/docs/api/notifications/settings.updated.json deleted file mode 100644 index 69fbf10a..00000000 --- a/docs/api/notifications/settings.updated.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "test": true -} \ No newline at end of file diff --git a/docs/api/notifications/snapshot.restored.json b/docs/api/notifications/snapshot.restored.json deleted file mode 100644 index 6a28f3bb..00000000 --- a/docs/api/notifications/snapshot.restored.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "created_at": 1478193604, - "name": "test", - "project_id": "8ebb5d97-6716-4b68-bbac-db60e91afcd5", - "snapshot_id": "c11d2478-3e60-4708-9ac7-4a90532e62c4" -} \ No newline at end of file diff --git a/docs/api/notifications/test.json b/docs/api/notifications/test.json deleted file mode 100644 index 9e26dfee..00000000 --- a/docs/api/notifications/test.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index f48f895f..16feb6f9 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodes.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodes.rst index 901f086f..02ff16fd 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodes.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst index 740fc5be..b9f44b22 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeid.rst @@ -9,8 +9,8 @@ Get an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -81,12 +81,12 @@ Delete an ATM switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ad356b8e..cfda08c3 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,15 +9,15 @@ Add a NIO to an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist @@ -27,14 +27,14 @@ Remove a NIO from an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 6f1e5fe5..57ad186f 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst index 121048b4..e52cccb8 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start an ATM switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst index 97de81c8..a7a9d18b 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop an ATM switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst index d893d4d8..5dfe016d 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend an ATM Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/capabilities/capabilities.rst b/docs/api/v2/compute/capabilities/capabilities.rst index 7c6f7fcc..d0685663 100644 --- a/docs/api/v2/compute/capabilities/capabilities.rst +++ b/docs/api/v2/compute/capabilities/capabilities.rst @@ -22,9 +22,3 @@ Output version ✔ ['string', 'null'] Version number -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_capabilities.txt - diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodes.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodes.rst index 0fac182f..c9a5338e 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodes.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -54,15 +54,10 @@ Output Name Mandatory Type Description interfaces array name string Cloud name + node_directory string Path to the VM working directory node_id string Node UUID ports_mapping array project_id string Project UUID status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidcloudnodes.txt - diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst index f045cd13..ec97be6e 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeid.rst @@ -9,8 +9,8 @@ Get a cloud instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -26,18 +26,13 @@ Output Name Mandatory Type Description interfaces array name string Cloud name + node_directory string Path to the VM working directory node_id string Node UUID ports_mapping array project_id string Project UUID status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidcloudnodesnodeid.txt - PUT /v2/compute/projects/**{project_id}**/cloud/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -45,8 +40,8 @@ Update a cloud instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -80,6 +75,7 @@ Body Name Mandatory Type Description interfaces array name string Cloud name + node_directory string Path to the VM working directory node_id string Node UUID ports_mapping array project_id string Project UUID @@ -94,18 +90,13 @@ Output Name Mandatory Type Description interfaces array name string Cloud name + node_directory string Path to the VM working directory node_id string Node UUID ports_mapping array project_id string Project UUID status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectidcloudnodesnodeid.txt - DELETE /v2/compute/projects/**{project_id}**/cloud/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -113,18 +104,12 @@ Delete a cloud instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidcloudnodesnodeid.txt diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 355ad180..693ea808 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/cloud/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 296939b2..869e3ff4 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index cc5656ec..e4059ca5 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) - **port_number**: Port on the cloud Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst index 7332ec76..c57ec5e6 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start a cloud Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst index 6a1070a7..90168769 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop a cloud Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst index 28c5de49..2452d545 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend a cloud Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst index d80ac2e2..74fbb78c 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst index 0828a3c9..4de9efa8 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeid.rst @@ -9,14 +9,14 @@ Delete a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted PUT /v2/compute/projects/**{project_id}**/docker/nodes/**{node_id}** @@ -25,8 +25,8 @@ Update a Docker instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -83,9 +83,3 @@ Output status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectiddockernodesnodeid.txt - diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 5e67e473..9728e7c2 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a Docker container Parameters ********** -- **adapter_number**: Adapter where the nio should be added -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/docker/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a Docker container Parameters ********** -- **adapter_number**: Adapter where the nio should be added -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 91eddb80..b224ea50 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Docker container instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter Response status codes @@ -28,12 +28,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
-Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt - diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 0306dbce..4cc91dd6 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,21 +9,15 @@ Stop a packet capture on a Docker container instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped - **409**: Container not started -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt - diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst index 62ea8357..89a92fa4 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidpause.rst @@ -9,12 +9,12 @@ Pause a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance paused - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance paused diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst index 12b5d9e1..8f6e006b 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidreload.rst @@ -9,12 +9,12 @@ Restart a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance restarted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance restarted diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst index 073462cb..0f0a3cc6 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstart.rst @@ -9,12 +9,12 @@ Start a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst index 88ca6b9a..65e9d5d4 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst index 327ed120..37e97c15 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidunpause.rst @@ -9,12 +9,12 @@ Unpause a Docker container Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance unpaused - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance unpaused diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst index 3aa37114..20ef3a94 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -94,7 +94,7 @@ Output midplane enum Possible values: std, vxr mmap boolean MMAP feature name ✔ string Dynamips VM instance name - node_directory string + node_directory string Path to the vm working directory node_id ✔ string Node UUID npe enum Possible values: npe-100, npe-150, npe-175, npe-200, npe-225, npe-300, npe-400, npe-g2 nvram integer Amount of NVRAM in KB diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst index 4a111b55..72cd15e5 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeid.rst @@ -9,8 +9,8 @@ Get a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -44,7 +44,7 @@ Output midplane enum Possible values: std, vxr mmap boolean MMAP feature name ✔ string Dynamips VM instance name - node_directory string + node_directory string Path to the vm working directory node_id ✔ string Node UUID npe enum Possible values: npe-100, npe-150, npe-175, npe-200, npe-225, npe-300, npe-400, npe-g2 nvram integer Amount of NVRAM in KB @@ -79,8 +79,8 @@ Update a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -165,7 +165,7 @@ Output midplane enum Possible values: std, vxr mmap boolean MMAP feature name ✔ string Dynamips VM instance name - node_directory string + node_directory string Path to the vm working directory node_id ✔ string Node UUID npe enum Possible values: npe-100, npe-150, npe-175, npe-200, npe-225, npe-300, npe-400, npe-g2 nvram integer Amount of NVRAM in KB @@ -200,12 +200,12 @@ Delete a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index b9316d8a..1f309347 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,15 +9,15 @@ Add a NIO to a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter where the nio should be added -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist @@ -27,14 +27,14 @@ Remove a NIO from a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter from where the nio should be removed -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter from where the nio should be removed - **port_number**: Port on the adapter Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index ab4fc798..11b2aa3f 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 5f3c3b21..f305598c 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst index 81a775f4..8e8d4f54 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidautoidlepc.rst @@ -9,8 +9,8 @@ Retrieve the idlepc proposals Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst index 53d61343..c5cde1de 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeididlepcproposals.rst @@ -9,8 +9,8 @@ Retrieve the idlepc proposals Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst index 9ae98a06..d313251a 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidreload.rst @@ -9,12 +9,12 @@ Reload a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst index d45ede09..15887578 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidresume.rst @@ -9,12 +9,12 @@ Resume a suspended Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance resumed - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance resumed diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst index de898325..9df36fba 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst index c9b01c50..304f905a 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst index 075f3df6..33412332 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend a Dynamips VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodes.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodes.rst index a18152b1..aa8b28d9 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodes.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst index 0d582397..8976581c 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeid.rst @@ -9,8 +9,8 @@ Get an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -97,12 +97,12 @@ Delete an Ethernet hub instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 42753e96..7d2b087b 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,15 +9,15 @@ Add a NIO to an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist @@ -27,14 +27,14 @@ Remove a NIO from an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 95c4c6f2..a24e1577 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 23843300..650b46db 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) - **port_number**: Port on the hub Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst index 275d9a62..7b20e5c3 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start an Ethernet hub Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst index 7a98a5dc..7940753a 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop an Ethernet hub Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst index 1ee67e63..e5195707 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend an Ethernet hub Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodes.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodes.rst index 57433578..9dec4975 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodes.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst index 23b6ac6d..a5d5f977 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst @@ -9,8 +9,8 @@ Get an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -100,12 +100,12 @@ Delete an Ethernet switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index da1b31c1..8c2eaa7e 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,15 +9,15 @@ Add a NIO to an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist @@ -27,14 +27,14 @@ Remove a NIO from an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 32758189..62938b61 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 6fd29062..f9c6275c 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst index a3d3d51d..58d551a1 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start an Ethernet switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst index a5b5e5ec..4531d526 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop an Ethernet switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst index 89755223..ca2173a9 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend an Ethernet switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodes.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodes.rst index 49c5b291..e393dc10 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodes.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst index 245dce77..63d110fe 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeid.rst @@ -9,8 +9,8 @@ Get a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -38,8 +38,8 @@ Update a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -81,12 +81,12 @@ Delete a Frame Relay switch instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 9fc39361..8a17eba7 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,15 +9,15 @@ Add a NIO to a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist @@ -27,14 +27,14 @@ Remove a NIO from a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 57b81e48..92ea49c0 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index cfafdb6e..ef36dc08 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) - **port_number**: Port on the switch Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst index 89a7a3c9..bd3716e0 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start a Frame Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst index 9d6e3273..0b37be95 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop a Frame Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst index aae9bc87..5e48c4a6 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend a Frame Relay switch Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/iou/iouimages.rst b/docs/api/v2/compute/iou/iouimages.rst index 95456098..f2b0d7ab 100644 --- a/docs/api/v2/compute/iou/iouimages.rst +++ b/docs/api/v2/compute/iou/iouimages.rst @@ -11,9 +11,3 @@ Response status codes ********************** - **200**: List of IOU images -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_iouimages.txt - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodes.rst b/docs/api/v2/compute/iou/projectsprojectidiounodes.rst index 8c837d6a..6bfcc865 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodes.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -71,9 +71,3 @@ Output use_default_iou_values ['boolean', 'null'] Use default IOU values -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodes.txt - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst index 0c3f693b..b7b93742 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeid.rst @@ -9,8 +9,8 @@ Get an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -47,12 +47,6 @@ Output use_default_iou_values ['boolean', 'null'] Use default IOU values -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidiounodesnodeid.txt - PUT /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -60,8 +54,8 @@ Update an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -128,12 +122,6 @@ Output use_default_iou_values ['boolean', 'null'] Use default IOU values -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectidiounodesnodeid.txt - DELETE /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -141,18 +129,12 @@ Delete an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidiounodesnodeid.txt diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst index e3e33d25..6f58909e 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a IOU instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located - **port_number**: Port where the nio should be added Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/iou/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a IOU instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located - **port_number**: Port from where the nio should be removed Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index b6a16dd7..12670a6c 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on an IOU VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter Response status codes @@ -28,12 +28,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
-Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 3ffdd795..2ea2fc51 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,21 +9,15 @@ Stop a packet capture on an IOU VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped - **409**: VM not started -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst index 86ada843..7f6d6262 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidreload.rst @@ -9,18 +9,12 @@ Reload an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodesnodeidreload.txt diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst index 70eab247..c8eda9d1 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstart.rst @@ -9,8 +9,8 @@ Start an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -56,9 +56,3 @@ Output use_default_iou_values ['boolean', 'null'] Use default IOU values -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodesnodeidstart.txt - diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst index e1df8aa9..d9348673 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidstop.rst @@ -9,18 +9,12 @@ Stop an IOU instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidiounodesnodeidstop.txt diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodes.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodes.rst index 99cb0344..4d64ab54 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodes.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -43,9 +43,3 @@ Output status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidnatnodes.txt - diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeid.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeid.rst index 07f4ebd8..fbaff64d 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeid.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeid.rst @@ -9,8 +9,8 @@ Get a nat instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -31,12 +31,6 @@ Output status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidnatnodesnodeid.txt - PUT /v2/compute/projects/**{project_id}**/nat/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -44,8 +38,8 @@ Update a nat instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -80,12 +74,6 @@ Output status enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectidnatnodesnodeid.txt - DELETE /v2/compute/projects/**{project_id}**/nat/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -93,18 +81,12 @@ Delete a nat instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidnatnodesnodeid.txt diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 2044fce5..4563f285 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a nat instance Parameters ********** -- **adapter_number**: Adapter on the nat (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/nat/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a nat instance Parameters ********** -- **adapter_number**: Adapter on the nat (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index c4bd9bf8..ca03814b 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a nat instance Parameters ********** -- **adapter_number**: Adapter on the nat (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index e11b5e12..588f1425 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a nat instance Parameters ********** -- **adapter_number**: Adapter on the nat (always 0) -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter on the nat (always 0) - **port_number**: Port on the nat Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstart.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstart.rst index b35197f7..ca31ef98 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstart.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstart.rst @@ -9,12 +9,12 @@ Start a nat Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstop.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstop.rst index 837e5d6d..42f722f2 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstop.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop a nat Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst index cf78d8d8..9d8e1433 100644 --- a/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/nat/projectsprojectidnatnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend a nat Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/network/networkinterfaces.rst b/docs/api/v2/compute/network/networkinterfaces.rst index 66f40f0d..61d1ed3d 100644 --- a/docs/api/v2/compute/network/networkinterfaces.rst +++ b/docs/api/v2/compute/network/networkinterfaces.rst @@ -11,9 +11,3 @@ Response status codes ********************** - **200**: OK -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_networkinterfaces.txt - diff --git a/docs/api/v2/compute/network/projectsprojectidportsudp.rst b/docs/api/v2/compute/network/projectsprojectidportsudp.rst index ca5f9b03..0c6f0090 100644 --- a/docs/api/v2/compute/network/projectsprojectidportsudp.rst +++ b/docs/api/v2/compute/network/projectsprojectidportsudp.rst @@ -16,9 +16,3 @@ Response status codes - **201**: UDP port allocated - **404**: The project doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidportsudp.txt - diff --git a/docs/api/v2/compute/project/projects.rst b/docs/api/v2/compute/project/projects.rst index 3599488c..36379831 100644 --- a/docs/api/v2/compute/project/projects.rst +++ b/docs/api/v2/compute/project/projects.rst @@ -11,12 +11,6 @@ Response status codes ********************** - **200**: Project list -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projects.txt - POST /v2/compute/projects ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -35,7 +29,7 @@ Input - + @@ -60,9 +54,3 @@ Output
Name Mandatory Type Description
auto_close boolean Project auto close
name ['string', 'null'] Project name
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
scene_height integer Height of the drawing area
status enum Possible values: opened, closed
-Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projects.txt - diff --git a/docs/api/v2/compute/project/projectsprojectid.rst b/docs/api/v2/compute/project/projectsprojectid.rst index 534c11a9..606c1c78 100644 --- a/docs/api/v2/compute/project/projectsprojectid.rst +++ b/docs/api/v2/compute/project/projectsprojectid.rst @@ -34,12 +34,6 @@ Output status enum Possible values: opened, closed -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectid.txt - DELETE /v2/compute/projects/**{project_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -51,12 +45,6 @@ Parameters Response status codes ********************** -- **404**: The project doesn't exist - **204**: Changes have been written on disk - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectid.txt +- **404**: The project doesn't exist diff --git a/docs/api/v2/compute/project/projectsprojectidclose.rst b/docs/api/v2/compute/project/projectsprojectidclose.rst index 45c77199..c651d88d 100644 --- a/docs/api/v2/compute/project/projectsprojectidclose.rst +++ b/docs/api/v2/compute/project/projectsprojectidclose.rst @@ -13,12 +13,6 @@ Parameters Response status codes ********************** -- **404**: The project doesn't exist - **204**: Project closed - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidclose.txt +- **404**: The project doesn't exist diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodes.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodes.rst index c028493d..b6b1b2f2 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodes.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -26,6 +26,8 @@ Input acpi_shutdown ['boolean', 'null'] ACPI shutdown support adapter_type ['string', 'null'] QEMU adapter type adapters ['integer', 'null'] Number of adapters + bios_image string QEMU bios image path + bios_image_md5sum ['string', 'null'] QEMU bios image checksum boot_priority enum Possible values: c, d, n, cn, cd cdrom_image string QEMU cdrom image path cdrom_image_md5sum ['string', 'null'] QEMU cdrom image checksum @@ -72,6 +74,8 @@ Output acpi_shutdown ✔ boolean ACPI shutdown support adapter_type ✔ string QEMU adapter type adapters ✔ integer Number of adapters + bios_image ✔ string QEMU bios image path + bios_image_md5sum ✔ ['string', 'null'] QEMU bios image checksum boot_priority ✔ enum Possible values: c, d, n, cn, cd cdrom_image ✔ string QEMU cdrom image path cdrom_image_md5sum ✔ ['string', 'null'] QEMU cdrom image checksum @@ -100,7 +104,7 @@ Output legacy_networking ✔ boolean Use QEMU legagy networking commands (-net syntax) mac_address ✔ string QEMU MAC address name ✔ string QEMU VM instance name - node_directory ✔ string + node_directory ✔ string Path to the VM working directory node_id ✔ string Node UUID options ✔ string Additional QEMU options platform ✔ enum Possible values: aarch64, alpha, arm, cris, i386, lm32, m68k, microblaze, microblazeel, mips, mips64, mips64el, mipsel, moxie, or32, ppc, ppc64, ppcemb, s390x, sh4, sh4eb, sparc, sparc64, tricore, unicore32, x86_64, xtensa, xtensaeb @@ -112,9 +116,3 @@ Output usage ✔ string How to use the QEMU VM -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodes.txt - diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst index afa11ec4..bc82ed07 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst @@ -9,8 +9,8 @@ Get a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -27,6 +27,8 @@ Output acpi_shutdown ✔ boolean ACPI shutdown support adapter_type ✔ string QEMU adapter type adapters ✔ integer Number of adapters + bios_image ✔ string QEMU bios image path + bios_image_md5sum ✔ ['string', 'null'] QEMU bios image checksum boot_priority ✔ enum Possible values: c, d, n, cn, cd cdrom_image ✔ string QEMU cdrom image path cdrom_image_md5sum ✔ ['string', 'null'] QEMU cdrom image checksum @@ -55,7 +57,7 @@ Output legacy_networking ✔ boolean Use QEMU legagy networking commands (-net syntax) mac_address ✔ string QEMU MAC address name ✔ string QEMU VM instance name - node_directory ✔ string + node_directory ✔ string Path to the VM working directory node_id ✔ string Node UUID options ✔ string Additional QEMU options platform ✔ enum Possible values: aarch64, alpha, arm, cris, i386, lm32, m68k, microblaze, microblazeel, mips, mips64, mips64el, mipsel, moxie, or32, ppc, ppc64, ppcemb, s390x, sh4, sh4eb, sparc, sparc64, tricore, unicore32, x86_64, xtensa, xtensaeb @@ -67,12 +69,6 @@ Output usage ✔ string How to use the QEMU VM -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidqemunodesnodeid.txt - PUT /v2/compute/projects/**{project_id}**/qemu/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -80,8 +76,8 @@ Update a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -99,6 +95,8 @@ Input acpi_shutdown ['boolean', 'null'] ACPI shutdown support adapter_type ['string', 'null'] QEMU adapter type adapters ['integer', 'null'] Number of adapters + bios_image string QEMU bios image path + bios_image_md5sum ['string', 'null'] QEMU bios image checksum boot_priority enum Possible values: c, d, n, cn, cd cdrom_image string QEMU cdrom image path cdrom_image_md5sum ['string', 'null'] QEMU cdrom image checksum @@ -144,6 +142,8 @@ Output acpi_shutdown ✔ boolean ACPI shutdown support adapter_type ✔ string QEMU adapter type adapters ✔ integer Number of adapters + bios_image ✔ string QEMU bios image path + bios_image_md5sum ✔ ['string', 'null'] QEMU bios image checksum boot_priority ✔ enum Possible values: c, d, n, cn, cd cdrom_image ✔ string QEMU cdrom image path cdrom_image_md5sum ✔ ['string', 'null'] QEMU cdrom image checksum @@ -172,7 +172,7 @@ Output legacy_networking ✔ boolean Use QEMU legagy networking commands (-net syntax) mac_address ✔ string QEMU MAC address name ✔ string QEMU VM instance name - node_directory ✔ string + node_directory ✔ string Path to the VM working directory node_id ✔ string Node UUID options ✔ string Additional QEMU options platform ✔ enum Possible values: aarch64, alpha, arm, cris, i386, lm32, m68k, microblaze, microblazeel, mips, mips64, mips64el, mipsel, moxie, or32, ppc, ppc64, ppcemb, s390x, sh4, sh4eb, sparc, sparc64, tricore, unicore32, x86_64, xtensa, xtensaeb @@ -184,12 +184,6 @@ Output usage ✔ string How to use the QEMU VM -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectidqemunodesnodeid.txt - DELETE /v2/compute/projects/**{project_id}**/qemu/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -197,18 +191,12 @@ Delete a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidqemunodesnodeid.txt diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst index d20f387f..c83d8fa3 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a Qemu VM instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located - **port_number**: Port on the adapter (always 0) Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/qemu/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a Qemu VM instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 0c1636b3..51c724e7 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Qemu VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter (always 0) Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index aa2a9dd5..f29195ad 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a Qemu VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst index dff97a96..8bee2ec1 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidreload.rst @@ -9,18 +9,12 @@ Reload a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodesnodeidreload.txt diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst index b19656e5..938c5ad0 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidresume.rst @@ -9,18 +9,12 @@ Resume a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance resumed - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance resumed - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodesnodeidresume.txt diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst index 1cf2ac05..4b59d12c 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst @@ -9,8 +9,8 @@ Start a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -27,6 +27,8 @@ Output acpi_shutdown ✔ boolean ACPI shutdown support adapter_type ✔ string QEMU adapter type adapters ✔ integer Number of adapters + bios_image ✔ string QEMU bios image path + bios_image_md5sum ✔ ['string', 'null'] QEMU bios image checksum boot_priority ✔ enum Possible values: c, d, n, cn, cd cdrom_image ✔ string QEMU cdrom image path cdrom_image_md5sum ✔ ['string', 'null'] QEMU cdrom image checksum @@ -55,7 +57,7 @@ Output legacy_networking ✔ boolean Use QEMU legagy networking commands (-net syntax) mac_address ✔ string QEMU MAC address name ✔ string QEMU VM instance name - node_directory ✔ string + node_directory ✔ string Path to the VM working directory node_id ✔ string Node UUID options ✔ string Additional QEMU options platform ✔ enum Possible values: aarch64, alpha, arm, cris, i386, lm32, m68k, microblaze, microblazeel, mips, mips64, mips64el, mipsel, moxie, or32, ppc, ppc64, ppcemb, s390x, sh4, sh4eb, sparc, sparc64, tricore, unicore32, x86_64, xtensa, xtensaeb @@ -67,9 +69,3 @@ Output usage ✔ string How to use the QEMU VM -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodesnodeidstart.txt - diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst index bcd612d6..90b6447e 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstop.rst @@ -9,18 +9,12 @@ Stop a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodesnodeidstop.txt diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst index 306e3189..f41b998b 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidsuspend.rst @@ -9,18 +9,12 @@ Suspend a Qemu VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt diff --git a/docs/api/v2/compute/qemu/qemubinaries.rst b/docs/api/v2/compute/qemu/qemubinaries.rst index f1a4173b..572aa802 100644 --- a/docs/api/v2/compute/qemu/qemubinaries.rst +++ b/docs/api/v2/compute/qemu/qemubinaries.rst @@ -22,9 +22,3 @@ Input archs array Architectures to filter binaries with -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_qemubinaries.txt - diff --git a/docs/api/v2/compute/qemu/qemucapabilities.rst b/docs/api/v2/compute/qemu/qemucapabilities.rst index eeb70e2f..f1a5b841 100644 --- a/docs/api/v2/compute/qemu/qemucapabilities.rst +++ b/docs/api/v2/compute/qemu/qemucapabilities.rst @@ -20,9 +20,3 @@ Output kvm array Architectures that KVM is enabled for -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_qemucapabilities.txt - diff --git a/docs/api/v2/compute/qemu/qemuimg.rst b/docs/api/v2/compute/qemu/qemuimg.rst index b64f4d8d..efa21555 100644 --- a/docs/api/v2/compute/qemu/qemuimg.rst +++ b/docs/api/v2/compute/qemu/qemuimg.rst @@ -31,9 +31,3 @@ Input zeroed_grain enum Possible values: on, off -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_qemuimg.txt - diff --git a/docs/api/v2/compute/version.rst b/docs/api/v2/compute/server.rst similarity index 77% rename from docs/api/v2/compute/version.rst rename to docs/api/v2/compute/server.rst index 70939776..d6b9081f 100644 --- a/docs/api/v2/compute/version.rst +++ b/docs/api/v2/compute/server.rst @@ -1,8 +1,8 @@ -Version +Server ----------------------------- .. toctree:: :glob: :maxdepth: 2 - version/* + server/* diff --git a/docs/api/v2/compute/server/debug.rst b/docs/api/v2/compute/server/debug.rst new file mode 100644 index 00000000..1e04dd1a --- /dev/null +++ b/docs/api/v2/compute/server/debug.rst @@ -0,0 +1,13 @@ +/v2/compute/debug +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +GET /v2/compute/debug +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Return debug informations about the compute + +Response status codes +********************** +- **201**: Writed + diff --git a/docs/api/v2/compute/version/version.rst b/docs/api/v2/compute/server/version.rst similarity index 91% rename from docs/api/v2/compute/version/version.rst rename to docs/api/v2/compute/server/version.rst index b4947701..d58dc956 100644 --- a/docs/api/v2/compute/version/version.rst +++ b/docs/api/v2/compute/server/version.rst @@ -21,9 +21,3 @@ Output version ✔ string Version number -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_version.txt - diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodes.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodes.rst index d9705ed1..710eed0c 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodes.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -27,6 +27,7 @@ Input adapter_type string VirtualBox adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name ✔ string VirtualBox VM instance name @@ -46,10 +47,11 @@ Output adapter_type string VirtualBox adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VirtualBox VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the VM working directory node_id string Node UUID project_id string Project UUID ram integer Amount of RAM @@ -58,9 +60,3 @@ Output vmname string VirtualBox VM name (in VirtualBox itself) -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodes.txt - diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst index 9654d420..461089b6 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeid.rst @@ -9,8 +9,8 @@ Get a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -28,10 +28,11 @@ Output adapter_type string VirtualBox adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VirtualBox VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the VM working directory node_id string Node UUID project_id string Project UUID ram integer Amount of RAM @@ -40,12 +41,6 @@ Output vmname string VirtualBox VM name (in VirtualBox itself) -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt - PUT /v2/compute/projects/**{project_id}**/virtualbox/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -53,8 +48,8 @@ Update a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -73,10 +68,11 @@ Input adapter_type string VirtualBox adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VirtualBox VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the VM working directory node_id string Node UUID project_id string Project UUID ram integer Amount of RAM @@ -95,10 +91,11 @@ Output adapter_type string VirtualBox adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VirtualBox VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the VM working directory node_id string Node UUID project_id string Project UUID ram integer Amount of RAM @@ -107,12 +104,6 @@ Output vmname string VirtualBox VM name (in VirtualBox itself) -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt - DELETE /v2/compute/projects/**{project_id}**/virtualbox/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -120,12 +111,12 @@ Delete a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 566baef5..2bfdd646 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter where the nio should be added -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter (always 0) Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/virtualbox/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter from where the nio should be removed -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter from where the nio should be removed - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 99be64ae..d22d2127 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter (always 0) Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index aac05aaa..10093905 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst index ba593e10..58a62435 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidreload.rst @@ -9,18 +9,12 @@ Reload a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst index 50e1bba3..2e4f8523 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidresume.rst @@ -9,18 +9,12 @@ Resume a suspended VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance resumed - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance resumed - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst index 62ead042..506d8663 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstart.rst @@ -9,18 +9,12 @@ Start a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst index 202424dc..6050655a 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidstop.rst @@ -9,18 +9,12 @@ Stop a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst index e1dad875..dc24b777 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidsuspend.rst @@ -9,18 +9,12 @@ Suspend a VirtualBox VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodes.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodes.rst index 05479c37..8d648e4f 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodes.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -27,6 +27,7 @@ Input adapter_type string VMware adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone ✔ boolean Whether the VM is a linked clone or not name ✔ string VMware VM instance name @@ -45,10 +46,11 @@ Output adapter_type string VMware adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VMware VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the node working directory node_id string Node UUID project_id string Project UUID status enum Possible values: started, stopped, suspended diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst index 8d2e88e0..d2dca26c 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeid.rst @@ -9,8 +9,8 @@ Get a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -28,10 +28,11 @@ Output adapter_type string VMware adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VMware VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the node working directory node_id string Node UUID project_id string Project UUID status enum Possible values: started, stopped, suspended @@ -46,8 +47,8 @@ Update a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -66,10 +67,11 @@ Input adapter_type string VMware adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VMware VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the node working directory node_id string Node UUID project_id string Project UUID status enum Possible values: started, stopped, suspended @@ -87,10 +89,11 @@ Output adapter_type string VMware adapter type adapters integer Number of adapters console integer Console TCP port + console_type enum Possible values: telnet headless boolean Headless mode linked_clone boolean Whether the VM is a linked clone or not name string VMware VM instance name - node_directory ['string', 'null'] + node_directory ['string', 'null'] Path to the node working directory node_id string Node UUID project_id string Project UUID status enum Possible values: started, stopped, suspended @@ -105,12 +108,12 @@ Delete a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst index f51a2bf2..cfd84f4c 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,15 +9,15 @@ Add a NIO to a VMware VM instance Parameters ********** -- **adapter_number**: Adapter where the nio should be added -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter (always 0) Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist @@ -27,14 +27,14 @@ Remove a NIO from a VMware VM instance Parameters ********** -- **adapter_number**: Adapter from where the nio should be removed -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter from where the nio should be removed - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index b25c9c0c..d6b37ace 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a VMware VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter (always 0) Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index b168f138..732cf328 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a VMware VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter (always 0) Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst index 16913e56..d3672687 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidinterfacesvmnet.rst @@ -9,8 +9,8 @@ Allocate a VMware VMnet interface on the server Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst index d63d89d9..24f890cb 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidreload.rst @@ -9,12 +9,12 @@ Reload a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst index 84d21d6c..9167c921 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidresume.rst @@ -9,12 +9,12 @@ Resume a suspended VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance resumed - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance resumed diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst index 3240f8da..15f4853a 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstart.rst @@ -9,12 +9,12 @@ Start a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst index a260c0c8..1242ad89 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidstop.rst @@ -9,12 +9,12 @@ Stop a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst index b2306c74..5b7478f7 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend a VMware VM instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodes.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodes.rst index dab04e62..d0fb80de 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodes.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request - **409**: Conflict Input @@ -41,7 +41,7 @@ Output console ✔ integer Console TCP port console_type ✔ enum Possible values: telnet name ✔ string VPCS VM name - node_directory string + node_directory string Path to the VM working directory node_id ✔ string Node UUID project_id ✔ string Project UUID startup_script ['string', 'null'] Content of the VPCS startup script @@ -49,9 +49,3 @@ Output status ✔ enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvpcsnodes.txt - diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst index 641002f8..330e3490 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeid.rst @@ -9,8 +9,8 @@ Get a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -28,7 +28,7 @@ Output console ✔ integer Console TCP port console_type ✔ enum Possible values: telnet name ✔ string VPCS VM name - node_directory string + node_directory string Path to the VM working directory node_id ✔ string Node UUID project_id ✔ string Project UUID startup_script ['string', 'null'] Content of the VPCS startup script @@ -36,12 +36,6 @@ Output status ✔ enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_get_projectsprojectidvpcsnodesnodeid.txt - PUT /v2/compute/projects/**{project_id}**/vpcs/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -49,8 +43,8 @@ Update a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** @@ -82,7 +76,7 @@ Output console ✔ integer Console TCP port console_type ✔ enum Possible values: telnet name ✔ string VPCS VM name - node_directory string + node_directory string Path to the VM working directory node_id ✔ string Node UUID project_id ✔ string Project UUID startup_script ['string', 'null'] Content of the VPCS startup script @@ -90,12 +84,6 @@ Output status ✔ enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_put_projectsprojectidvpcsnodesnodeid.txt - DELETE /v2/compute/projects/**{project_id}**/vpcs/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -103,18 +91,12 @@ Delete a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index f42dd571..62e23572 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,23 +9,17 @@ Add a NIO to a VPCS instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located - **port_number**: Port where the nio should be added Response status codes ********************** -- **400**: Invalid request - **201**: NIO created +- **400**: Invalid request - **404**: Instance doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt - DELETE /v2/compute/projects/**{project_id}**/vpcs/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -33,20 +27,14 @@ Remove a NIO from a VPCS instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located - **port_number**: Port from where the nio should be removed Response status codes ********************** +- **204**: NIO deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: NIO deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 5abe77d9..4091ed70 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a VPCS instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture - **port_number**: Port on the adapter Response status codes @@ -27,6 +27,6 @@ Input - +
Name Mandatory Type Description
capture_file_name string Capture file name
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 055ce0c4..3ecc986e 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,14 +9,14 @@ Stop a packet capture on a VPCS instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture - **port_number**: Port on the adapter Response status codes ********************** +- **204**: Capture stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Capture stopped diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst index e3cc4ec9..0f721c01 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidreload.rst @@ -9,18 +9,12 @@ Reload a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst index 6f438a4f..7a579b26 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstart.rst @@ -9,14 +9,14 @@ Start a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started Output ******* @@ -28,7 +28,7 @@ Output console ✔ integer Console TCP port console_type ✔ enum Possible values: telnet name ✔ string VPCS VM name - node_directory string + node_directory string Path to the VM working directory node_id ✔ string Node UUID project_id ✔ string Project UUID startup_script ['string', 'null'] Content of the VPCS startup script @@ -36,9 +36,3 @@ Output status ✔ enum Possible values: started, stopped, suspended -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt - diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst index 280dbca1..1f1fff3c 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidstop.rst @@ -9,18 +9,12 @@ Stop a VPCS instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped - -Sample session -*************** - - -.. literalinclude:: ../../../examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst index 430b8fab..32abd416 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidsuspend.rst @@ -9,12 +9,12 @@ Suspend a VPCS instance (stop it) Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped diff --git a/docs/api/v2/controller/compute/sid.rst b/docs/api/v2/controller/compute/sid.rst index aab5eb2f..25bcc968 100644 --- a/docs/api/v2/controller/compute/sid.rst +++ b/docs/api/v2/controller/compute/sid.rst @@ -84,7 +84,7 @@ Parameters Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted diff --git a/docs/api/v2/controller/drawing/projectsprojectiddrawings.rst b/docs/api/v2/controller/drawing/projectsprojectiddrawings.rst index 85658213..972354dc 100644 --- a/docs/api/v2/controller/drawing/projectsprojectiddrawings.rst +++ b/docs/api/v2/controller/drawing/projectsprojectiddrawings.rst @@ -15,12 +15,6 @@ Response status codes ********************** - **200**: List of drawings returned -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectiddrawings.txt - POST /v2/projects/**{project_id}**/drawings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -32,8 +26,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Drawing created +- **400**: Invalid request Input ******* @@ -65,9 +59,3 @@ Output z integer Z property -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectiddrawings.txt - diff --git a/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst b/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst index 956f0a76..6f16c063 100644 --- a/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst +++ b/docs/api/v2/controller/drawing/projectsprojectiddrawingsdrawingid.rst @@ -9,13 +9,13 @@ Create a new drawing instance Parameters ********** -- **drawing_id**: Drawing UUID - **project_id**: Project UUID +- **drawing_id**: Drawing UUID Response status codes ********************** -- **400**: Invalid request - **201**: Drawing updated +- **400**: Invalid request Input ******* @@ -47,12 +47,6 @@ Output z integer Z property -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_put_projectsprojectiddrawingsdrawingid.txt - DELETE /v2/projects/**{project_id}**/drawings/**{drawing_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -60,17 +54,11 @@ Delete a drawing instance Parameters ********** -- **drawing_id**: Drawing UUID - **project_id**: Project UUID +- **drawing_id**: Drawing UUID Response status codes ********************** -- **400**: Invalid request - **204**: Drawing deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_delete_projectsprojectiddrawingsdrawingid.txt +- **400**: Invalid request diff --git a/docs/api/v2/controller/gns3_vm/gns3vm.rst b/docs/api/v2/controller/gns3_vm/gns3vm.rst index 423ff461..e6acb4e4 100644 --- a/docs/api/v2/controller/gns3_vm/gns3vm.rst +++ b/docs/api/v2/controller/gns3_vm/gns3vm.rst @@ -11,12 +11,6 @@ Response status codes ********************** - **200**: GNS3 VM settings returned -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_gns3vm.txt - PUT /v2/gns3vm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -26,9 +20,3 @@ Response status codes ********************** - **201**: GNS3 VM updated -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_put_gns3vm.txt - diff --git a/docs/api/v2/controller/gns3_vm/gns3vmengines.rst b/docs/api/v2/controller/gns3_vm/gns3vmengines.rst index 1c9f5c29..6ee79e12 100644 --- a/docs/api/v2/controller/gns3_vm/gns3vmengines.rst +++ b/docs/api/v2/controller/gns3_vm/gns3vmengines.rst @@ -11,9 +11,3 @@ Response status codes ********************** - **200**: OK -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_gns3vmengines.txt - diff --git a/docs/api/v2/controller/gns3_vm/gns3vmenginesenginevms.rst b/docs/api/v2/controller/gns3_vm/gns3vmenginesenginevms.rst index 4b5cc690..b6158597 100644 --- a/docs/api/v2/controller/gns3_vm/gns3vmenginesenginevms.rst +++ b/docs/api/v2/controller/gns3_vm/gns3vmenginesenginevms.rst @@ -16,9 +16,3 @@ Response status codes - **200**: Success - **400**: Invalid request -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_gns3vmenginesenginevms.txt - diff --git a/docs/api/v2/controller/link/projectsprojectidlinks.rst b/docs/api/v2/controller/link/projectsprojectidlinks.rst index f24e9b6d..1c8c739e 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinks.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinks.rst @@ -15,12 +15,6 @@ Response status codes ********************** - **200**: List of links returned -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectidlinks.txt - POST /v2/projects/**{project_id}**/links ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -32,8 +26,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Link created +- **400**: Invalid request Input ******* @@ -65,9 +59,3 @@ Output project_id string Project UUID -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidlinks.txt - diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst index 5acf4a66..65716bea 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst @@ -9,13 +9,13 @@ Update a link instance Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** -- **400**: Invalid request - **201**: Link updated +- **400**: Invalid request Input ******* @@ -54,17 +54,11 @@ Delete a link instance Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** -- **400**: Invalid request - **204**: Link deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_delete_projectsprojectidlinkslinkid.txt +- **400**: Invalid request diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst index 99a050aa..48426bdd 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst @@ -9,8 +9,8 @@ Stream the pcap capture file Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst index 4ba786c0..37a0e4f5 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst @@ -9,13 +9,13 @@ Start capture on a link instance. By default we consider it as an Ethernet link Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** -- **400**: Invalid request - **201**: Capture started +- **400**: Invalid request Input ******* @@ -24,7 +24,7 @@ Input - +
Name Mandatory Type Description
capture_file_name string Read only property. The name of the capture file if capture is running
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC
data_link_type enum Possible values: DLT_ATM_RFC1483, DLT_EN10MB, DLT_FRELAY, DLT_C_HDLC, DLT_PPP_SERIAL
Output @@ -42,9 +42,3 @@ Output project_id string Project UUID -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt - diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst index 53c97524..ec1f0ccd 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst @@ -9,17 +9,11 @@ Stop capture on a link instance Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** -- **400**: Invalid request - **201**: Capture stopped - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt +- **400**: Invalid request diff --git a/docs/api/v2/controller/node/projectsprojectidnodes.rst b/docs/api/v2/controller/node/projectsprojectidnodes.rst index ca45fd1e..d2177317 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodes.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodes.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **400**: Invalid request - **201**: Instance created +- **400**: Invalid request Input ******* @@ -78,12 +78,6 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodes.txt - GET /v2/projects/**{project_id}**/nodes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -97,9 +91,3 @@ Response status codes ********************** - **200**: List of nodes returned -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectidnodes.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst index 1772e6ce..3258a098 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeid.rst @@ -44,12 +44,6 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectidnodesnodeid.txt - PUT /v2/projects/**{project_id}**/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -123,12 +117,6 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_put_projectsprojectidnodesnodeid.txt - DELETE /v2/projects/**{project_id}**/nodes/**{node_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -136,18 +124,12 @@ Delete a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance deleted - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance deleted - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_delete_projectsprojectidnodesnodeid.txt diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst index cc04c2e5..83e3b94c 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsautoidlepc.rst @@ -9,18 +9,12 @@ Compute the IDLE PC for a Dynamips node Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst index e5e05092..8affe5a1 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeiddynamipsidlepcproposals.rst @@ -9,18 +9,12 @@ Compute a list of potential idle PC for a node Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst index 54e26c0c..3fc4bbaf 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidfilespath.rst @@ -9,14 +9,14 @@ Get a file in the node directory Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded POST /v2/projects/**{project_id}**/nodes/**{node_id}**/files/**{path:.+}** @@ -25,12 +25,12 @@ Write a file in the node directory Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst index 4efd1928..994a8c2d 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidreload.rst @@ -9,14 +9,14 @@ Reload a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance reloaded Output ******* @@ -49,9 +49,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesnodeidreload.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst index cc6cc8a1..afdf56e8 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstart.rst @@ -9,14 +9,14 @@ Start a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance started Output ******* @@ -49,9 +49,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesnodeidstart.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst index a97de38f..7eba9826 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidstop.rst @@ -9,14 +9,14 @@ Stop a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance stopped Output ******* @@ -49,9 +49,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesnodeidstop.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst index ae0ee25c..dcf6474d 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesnodeidsuspend.rst @@ -9,14 +9,14 @@ Suspend a node instance Parameters ********** -- **node_id**: Node UUID - **project_id**: Project UUID +- **node_id**: Node UUID Response status codes ********************** +- **204**: Instance suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: Instance suspended Output ******* @@ -49,9 +49,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesnodeidsuspend.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesreload.rst b/docs/api/v2/controller/node/projectsprojectidnodesreload.rst index c3952c6e..66719c66 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesreload.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesreload.rst @@ -13,9 +13,9 @@ Parameters Response status codes ********************** +- **204**: All nodes successfully reloaded - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: All nodes successfully reloaded Output ******* @@ -48,9 +48,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesreload.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesstart.rst b/docs/api/v2/controller/node/projectsprojectidnodesstart.rst index f14f95e2..6ec39708 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesstart.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesstart.rst @@ -13,9 +13,9 @@ Parameters Response status codes ********************** +- **204**: All nodes successfully started - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: All nodes successfully started Output ******* @@ -48,9 +48,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesstart.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodesstop.rst b/docs/api/v2/controller/node/projectsprojectidnodesstop.rst index 7de57fbf..94a3c5f1 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodesstop.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodesstop.rst @@ -13,9 +13,9 @@ Parameters Response status codes ********************** +- **204**: All nodes successfully stopped - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: All nodes successfully stopped Output ******* @@ -48,9 +48,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodesstop.txt - diff --git a/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst b/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst index bb8112c4..595b4740 100644 --- a/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst +++ b/docs/api/v2/controller/node/projectsprojectidnodessuspend.rst @@ -13,9 +13,9 @@ Parameters Response status codes ********************** +- **204**: All nodes successfully suspended - **400**: Invalid request - **404**: Instance doesn't exist -- **204**: All nodes successfully suspended Output ******* @@ -48,9 +48,3 @@ Output z integer Z position of the node -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidnodessuspend.txt - diff --git a/docs/api/v2/controller/project/projects.rst b/docs/api/v2/controller/project/projects.rst index de09074c..cfc45158 100644 --- a/docs/api/v2/controller/project/projects.rst +++ b/docs/api/v2/controller/project/projects.rst @@ -19,7 +19,7 @@ Input - + @@ -44,12 +44,6 @@ Output
Name Mandatory Type Description
auto_close boolean Project auto close
name ['string', 'null'] Project name
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
scene_height integer Height of the drawing area
status enum Possible values: opened, closed
-Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projects.txt - GET /v2/projects ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -59,9 +53,3 @@ Response status codes ********************** - **200**: List of projects -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projects.txt - diff --git a/docs/api/v2/controller/project/projectsload.rst b/docs/api/v2/controller/project/projectsload.rst index e59bc766..8f018a42 100644 --- a/docs/api/v2/controller/project/projectsload.rst +++ b/docs/api/v2/controller/project/projectsload.rst @@ -43,9 +43,3 @@ Output status enum Possible values: opened, closed -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsload.txt - diff --git a/docs/api/v2/controller/project/projectsprojectid.rst b/docs/api/v2/controller/project/projectsprojectid.rst index 074bf368..3a257af0 100644 --- a/docs/api/v2/controller/project/projectsprojectid.rst +++ b/docs/api/v2/controller/project/projectsprojectid.rst @@ -16,12 +16,6 @@ Response status codes - **200**: Project information returned - **404**: The project doesn't exist -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_projectsprojectid.txt - PUT /v2/projects/**{project_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -66,12 +60,6 @@ Output status enum Possible values: opened, closed -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_put_projectsprojectid.txt - DELETE /v2/projects/**{project_id}** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -83,12 +71,6 @@ Parameters Response status codes ********************** -- **404**: The project doesn't exist - **204**: Changes have been written on disk - -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_delete_projectsprojectid.txt +- **404**: The project doesn't exist diff --git a/docs/api/v2/controller/project/projectsprojectidclose.rst b/docs/api/v2/controller/project/projectsprojectidclose.rst index 49ec81a6..72c36ddb 100644 --- a/docs/api/v2/controller/project/projectsprojectidclose.rst +++ b/docs/api/v2/controller/project/projectsprojectidclose.rst @@ -13,8 +13,8 @@ Parameters Response status codes ********************** -- **404**: The project doesn't exist - **204**: The project has been closed +- **404**: The project doesn't exist Output ******* @@ -34,9 +34,3 @@ Output status enum Possible values: opened, closed -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidclose.txt - diff --git a/docs/api/v2/controller/project/projectsprojectidduplicate.rst b/docs/api/v2/controller/project/projectsprojectidduplicate.rst index 39c607a9..17a0611a 100644 --- a/docs/api/v2/controller/project/projectsprojectidduplicate.rst +++ b/docs/api/v2/controller/project/projectsprojectidduplicate.rst @@ -24,7 +24,7 @@ Input - + @@ -49,9 +49,3 @@ Output
Name Mandatory Type Description
auto_close boolean Project auto close
name ['string', 'null'] Project name
name ['string', 'null'] Project name
path ['string', 'null'] Project directory
project_id ['string', 'null'] Project UUID
scene_height integer Height of the drawing area
status enum Possible values: opened, closed
-Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidduplicate.txt - diff --git a/docs/api/v2/controller/project/projectsprojectidopen.rst b/docs/api/v2/controller/project/projectsprojectidopen.rst index 02c3e627..9af3191a 100644 --- a/docs/api/v2/controller/project/projectsprojectidopen.rst +++ b/docs/api/v2/controller/project/projectsprojectidopen.rst @@ -34,9 +34,3 @@ Output status enum Possible values: opened, closed -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidopen.txt - diff --git a/docs/api/v2/controller/server/debug.rst b/docs/api/v2/controller/server/debug.rst index cac05a97..9cc6bb13 100644 --- a/docs/api/v2/controller/server/debug.rst +++ b/docs/api/v2/controller/server/debug.rst @@ -5,7 +5,7 @@ POST /v2/debug ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Dump debug informations to disk (debug directory in config directory) +Dump debug informations to disk (debug directory in config directory). Work only for local server Response status codes ********************** diff --git a/docs/api/v2/controller/server/settings.rst b/docs/api/v2/controller/server/settings.rst index ff3cac61..8d9d6f63 100644 --- a/docs/api/v2/controller/server/settings.rst +++ b/docs/api/v2/controller/server/settings.rst @@ -11,12 +11,6 @@ Response status codes ********************** - **200**: OK -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_settings.txt - POST /v2/settings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -26,9 +20,3 @@ Response status codes ********************** - **201**: Writed -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_settings.txt - diff --git a/docs/api/v2/controller/server/shutdown.rst b/docs/api/v2/controller/server/shutdown.rst index 27d95fed..8a1849d1 100644 --- a/docs/api/v2/controller/server/shutdown.rst +++ b/docs/api/v2/controller/server/shutdown.rst @@ -12,9 +12,3 @@ Response status codes - **201**: Server is shutting down - **403**: Server shutdown refused -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_shutdown.txt - diff --git a/docs/api/v2/controller/server/version.rst b/docs/api/v2/controller/server/version.rst index 70c5f5db..b43d4d0b 100644 --- a/docs/api/v2/controller/server/version.rst +++ b/docs/api/v2/controller/server/version.rst @@ -21,12 +21,6 @@ Output version ✔ string Version number -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_version.txt - POST /v2/version ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -57,9 +51,3 @@ Output version ✔ string Version number -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_version.txt - diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst index c37b5788..4c537bbe 100644 --- a/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshots.rst @@ -37,12 +37,6 @@ Output snapshot_id ✔ string Snapshot UUID -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidsnapshots.txt - GET /v2/projects/**{project_id}**/snapshots ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -57,9 +51,3 @@ 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 index f949f4a8..3540c7bd 100644 --- a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst @@ -14,12 +14,6 @@ Parameters 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 +- **404**: The project or snapshot doesn't exist diff --git a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst index 7c55a564..e8885eb2 100644 --- a/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst +++ b/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotidrestore.rst @@ -35,9 +35,3 @@ Output status enum Possible values: opened, closed -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_post_projectsprojectidsnapshotssnapshotidrestore.txt - diff --git a/docs/api/v2/controller/symbol/symbols.rst b/docs/api/v2/controller/symbol/symbols.rst index d6ed5aa6..a58a8b66 100644 --- a/docs/api/v2/controller/symbol/symbols.rst +++ b/docs/api/v2/controller/symbol/symbols.rst @@ -11,9 +11,3 @@ Response status codes ********************** - **200**: Symbols list returned -Sample session -*************** - - -.. literalinclude:: ../../../examples/controller_get_symbols.txt - diff --git a/docs/gns3_file.json b/docs/gns3_file.json index bc2aeea6..768fe434 100644 --- a/docs/gns3_file.json +++ b/docs/gns3_file.json @@ -1,440 +1,137 @@ { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "The topology", + "type": "object", "properties": { + "project_id": { + "description": "Project UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "type": { + "description": "Type of file. It's always topology", + "enum": [ + "topology" + ] + }, "auto_start": { - "type": "boolean", - "description": "Start the topology when opened" + "description": "Start the topology when opened", + "type": "boolean" + }, + "auto_close": { + "description": "Close the topology when no client is connected", + "type": "boolean" }, "auto_open": { - "type": "boolean", - "description": "Open the topology with GNS3" + "description": "Open the topology with GNS3", + "type": "boolean" + }, + "revision": { + "description": "Version of the .gns3 specification.", + "type": "integer" + }, + "version": { + "description": "Version of the GNS3 software which have update the file for the last time", + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of the project" + }, + "scene_height": { + "type": "integer", + "description": "Height of the drawing area" + }, + "scene_width": { + "type": "integer", + "description": "Width of the drawing area" }, "topology": { + "description": "The topology content", + "type": "object", "properties": { - "drawings": { - "items": { - "properties": { - "rotation": { - "maximum": 360, - "type": "integer", - "description": "Rotation of the element", - "minimum": -359 - }, - "z": { - "type": "integer", - "description": "Z property" - }, - "drawing_id": { - "minLength": 36, - "type": "string", - "description": "Drawing UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "y": { - "type": "integer", - "description": "Y property" - }, - "x": { - "type": "integer", - "description": "X property" - }, - "project_id": { - "minLength": 36, - "type": "string", - "description": "Project UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "svg": { - "type": "string", - "description": "SVG content of the drawing" - } - }, - "additionalProperties": false, - "type": "object", - "description": "An drawing object", - "$schema": "http://json-schema.org/draft-04/schema#" - }, + "computes": { + "description": "Computes servers", "type": "array", - "description": "Drawings elements" - }, - "nodes": { "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "Request validation to a GNS3 compute object instance", + "type": "object", "properties": { - "properties": { - "type": "object", - "description": "Properties specific to an emulator" - }, - "command_line": { - "type": [ - "null", - "string" - ], - "description": "Command line use to start the node" - }, - "z": { - "type": "integer", - "description": "Z position of the node" - }, - "first_port_name": { - "type": [ - "string", - "null" - ], - "description": "Name of the first port" - }, - "console_host": { - "minLength": 1, - "type": "string", - "description": "Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller." - }, - "console": { - "maximum": 65535, - "type": [ - "integer", - "null" - ], - "description": "Console TCP port", - "minimum": 1 - }, - "status": { - "enum": [ - "stopped", - "started", - "suspended" - ], - "description": "Status of the node" - }, - "project_id": { - "minLength": 36, - "type": "string", - "description": "Project UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "port_segment_size": { - "type": "integer", - "description": "Size of the port segment", - "minimum": 0 - }, - "port_name_format": { - "type": "string", - "description": "Formating for port name {0} will be replace by port number" - }, - "height": { - "type": "integer", - "description": "Height of the node (Read only)" - }, - "width": { - "type": "integer", - "description": "Width of the node (Read only)" - }, - "symbol": { - "minLength": 1, - "type": [ - "string", - "null" - ], - "description": "Symbol of the node" - }, - "label": { - "properties": { - "text": { - "type": "string" - }, - "rotation": { - "maximum": 360, - "type": "integer", - "description": "Rotation of the label", - "minimum": -359 - }, - "y": { - "type": "integer", - "description": "Relative Y position of the label" - }, - "x": { - "type": [ - "integer", - "null" - ], - "description": "Relative X position of the label. If null center it" - }, - "style": { - "type": "string", - "description": "SVG style attribute" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "text", - "x", - "y" - ] - }, "compute_id": { - "type": "string", - "description": "Compute identifier" - }, - "console_type": { - "enum": [ - "vnc", - "telnet", - "http", - null - ], - "description": "Console type" - }, - "ports": { - "items": { - "properties": { - "adapter_number": { - "type": "integer", - "description": "Adapter slot" - }, - "link_type": { - "enum": [ - "ethernet", - "serial" - ], - "description": "Type of link" - }, - "port_number": { - "type": "integer", - "description": "Port slot" - }, - "data_link_types": { - "properties": {}, - "type": "object", - "description": "Available PCAP type for capture" - }, - "name": { - "type": "string", - "description": "Port name" - }, - "short_name": { - "type": "string", - "description": "Short version of port name" - } - }, - "additionalProperties": false, - "type": "object", - "description": "A node port" - }, - "type": "array", - "description": "List of node ports READ only" + "description": "Server identifier", + "type": "string" }, "name": { - "minLength": 1, - "type": "string", - "description": "Node name" + "description": "Server name", + "type": "string" }, - "node_type": { + "protocol": { + "description": "Server protocol", "enum": [ - "cloud", - "nat", - "ethernet_hub", - "ethernet_switch", - "frame_relay_switch", - "atm_switch", - "docker", - "dynamips", - "vpcs", - "virtualbox", - "vmware", - "iou", - "qemu" - ], - "description": "Type of node" + "http", + "https" + ] }, - "node_directory": { - "type": [ - "null", - "string" - ], - "description": "Working directory of the node. Read only" + "host": { + "description": "Server host", + "type": "string" }, - "y": { - "type": "integer", - "description": "Y position of the node" - }, - "x": { - "type": "integer", - "description": "X position of the node" - }, - "node_id": { - "minLength": 36, - "type": "string", - "description": "Node UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - } - }, - "type": "object", - "description": "A node object", - "additionalProperties": false, - "$schema": "http://json-schema.org/draft-04/schema#" - }, - "type": "array", - "description": "Nodes elements" - }, - "links": { - "items": { - "properties": { - "link_type": { - "enum": [ - "ethernet", - "serial" - ], - "description": "Type of link" - }, - "link_id": { - "minLength": 36, - "type": "string", - "description": "Link UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "capturing": { - "type": "boolean", - "description": "Read only property. True if a capture running on the link" - }, - "capture_file_path": { - "type": [ - "string", - "null" - ], - "description": "Read only property. The full path of the capture file if capture is running" - }, - "capture_file_name": { - "type": [ - "string", - "null" - ], - "description": "Read only property. The name of the capture file if capture is running" - }, - "project_id": { - "minLength": 36, - "type": "string", - "description": "Project UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "nodes": { - "items": { - "properties": { - "adapter_number": { - "type": "integer", - "description": "Adapter number" - }, - "label": { - "properties": { - "text": { - "type": "string" - }, - "rotation": { - "maximum": 360, - "type": "integer", - "description": "Rotation of the label", - "minimum": -359 - }, - "y": { - "type": "integer", - "description": "Relative Y position of the label" - }, - "x": { - "type": [ - "integer", - "null" - ], - "description": "Relative X position of the label. If null center it" - }, - "style": { - "type": "string", - "description": "SVG style attribute" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "text", - "x", - "y" - ] - }, - "node_id": { - "minLength": 36, - "type": "string", - "description": "Node UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "port_number": { - "type": "integer", - "description": "Port number" - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "node_id", - "adapter_number", - "port_number" - ] - }, - "type": "array", - "description": "List of the VMS" - } - }, - "type": "object", - "description": "A link object", - "additionalProperties": false, - "required": [ - "nodes" - ], - "$schema": "http://json-schema.org/draft-04/schema#" - }, - "type": "array", - "description": "Link elements" - }, - "computes": { - "items": { - "properties": { "port": { - "type": "integer", - "description": "Server port" + "description": "Server port", + "type": "integer" }, "user": { + "description": "User for authentication", "type": [ "string", "null" - ], - "description": "User for authentication" + ] }, - "memory_usage_percent": { - "maximum": 100, + "connected": { + "description": "Whether the controller is connected to the compute server or not", + "type": "boolean" + }, + "cpu_usage_percent": { + "description": "CPU usage of the compute. Read only", "type": [ "number", "null" ], - "description": "RAM usage of the compute. Read only", + "maximum": 100, "minimum": 0 }, - "protocol": { - "enum": [ - "http", - "https" + "memory_usage_percent": { + "description": "RAM usage of the compute. Read only", + "type": [ + "number", + "null" ], - "description": "Server protocol" - }, - "compute_id": { - "type": "string", - "description": "Server identifier" + "maximum": 100, + "minimum": 0 }, "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "Get what a server support", + "type": "object", + "required": [ + "version", + "node_types" + ], "properties": { + "version": { + "description": "Version number", + "type": [ + "string", + "null" + ] + }, "node_types": { + "type": "array", "items": { + "description": "Type of node", "enum": [ "cloud", "nat", @@ -449,57 +146,18 @@ "vmware", "iou", "qemu" - ], - "description": "Type of node" + ] }, - "type": "array", "description": "Node type supported by the compute" }, "platform": { "type": "string", "description": "Platform where the compute is running" - }, - "version": { - "type": [ - "string", - "null" - ], - "description": "Version number" } }, - "type": "object", - "description": "Get what a server support", - "additionalProperties": false, - "required": [ - "version", - "node_types" - ], - "$schema": "http://json-schema.org/draft-04/schema#" - }, - "host": { - "type": "string", - "description": "Server host" - }, - "name": { - "type": "string", - "description": "Server name" - }, - "cpu_usage_percent": { - "maximum": 100, - "type": [ - "number", - "null" - ], - "description": "CPU usage of the compute. Read only", - "minimum": 0 - }, - "connected": { - "type": "boolean", - "description": "Whether the controller is connected to the compute server or not" + "additionalProperties": false } }, - "type": "object", - "description": "Request validation to a GNS3 compute object instance", "additionalProperties": false, "required": [ "compute_id", @@ -507,64 +165,406 @@ "host", "port", "name" - ], - "$schema": "http://json-schema.org/draft-04/schema#" - }, + ] + } + }, + "drawings": { + "description": "Drawings elements", "type": "array", - "description": "Computes servers" + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "An drawing object", + "type": "object", + "properties": { + "drawing_id": { + "description": "Drawing UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "project_id": { + "description": "Project UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "x": { + "description": "X property", + "type": "integer" + }, + "y": { + "description": "Y property", + "type": "integer" + }, + "z": { + "description": "Z property", + "type": "integer" + }, + "rotation": { + "description": "Rotation of the element", + "type": "integer", + "minimum": -359, + "maximum": 360 + }, + "svg": { + "description": "SVG content of the drawing", + "type": "string" + } + }, + "additionalProperties": false + } + }, + "links": { + "description": "Link elements", + "type": "array", + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "A link object", + "type": "object", + "properties": { + "link_id": { + "description": "Link UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "project_id": { + "description": "Project UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "nodes": { + "description": "List of the VMS", + "type": "array", + "items": { + "type": "object", + "properties": { + "node_id": { + "description": "Node UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "adapter_number": { + "description": "Adapter number", + "type": "integer" + }, + "port_number": { + "description": "Port number", + "type": "integer" + }, + "label": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "style": { + "description": "SVG style attribute", + "type": "string" + }, + "x": { + "description": "Relative X position of the label. If null center it", + "type": [ + "integer", + "null" + ] + }, + "y": { + "description": "Relative Y position of the label", + "type": "integer" + }, + "rotation": { + "description": "Rotation of the label", + "type": "integer", + "minimum": -359, + "maximum": 360 + } + }, + "required": [ + "text", + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "node_id", + "adapter_number", + "port_number" + ], + "additionalProperties": false + } + }, + "capturing": { + "description": "Read only property. True if a capture running on the link", + "type": "boolean" + }, + "capture_file_name": { + "description": "Read only property. The name of the capture file if capture is running", + "type": [ + "string", + "null" + ] + }, + "capture_file_path": { + "description": "Read only property. The full path of the capture file if capture is running", + "type": [ + "string", + "null" + ] + }, + "link_type": { + "description": "Type of link", + "enum": [ + "ethernet", + "serial" + ] + } + }, + "required": [ + "nodes" + ], + "additionalProperties": false + } + }, + "nodes": { + "description": "Nodes elements", + "type": "array", + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "A node object", + "type": "object", + "properties": { + "compute_id": { + "description": "Compute identifier", + "type": "string" + }, + "project_id": { + "description": "Project UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "node_id": { + "description": "Node UUID", + "type": "string", + "minLength": 36, + "maxLength": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "node_type": { + "description": "Type of node", + "enum": [ + "cloud", + "nat", + "ethernet_hub", + "ethernet_switch", + "frame_relay_switch", + "atm_switch", + "docker", + "dynamips", + "vpcs", + "virtualbox", + "vmware", + "iou", + "qemu" + ] + }, + "node_directory": { + "description": "Working directory of the node. Read only", + "type": [ + "null", + "string" + ] + }, + "command_line": { + "description": "Command line use to start the node", + "type": [ + "null", + "string" + ] + }, + "name": { + "description": "Node name", + "type": "string", + "minLength": 1 + }, + "console": { + "description": "Console TCP port", + "minimum": 1, + "maximum": 65535, + "type": [ + "integer", + "null" + ] + }, + "console_host": { + "description": "Console host. Warning if the host is 0.0.0.0 or :: (listen on all interfaces) you need to use the same address you use to connect to the controller.", + "type": "string", + "minLength": 1 + }, + "console_type": { + "description": "Console type", + "enum": [ + "vnc", + "telnet", + "http", + null + ] + }, + "properties": { + "description": "Properties specific to an emulator", + "type": "object" + }, + "status": { + "description": "Status of the node", + "enum": [ + "stopped", + "started", + "suspended" + ] + }, + "label": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "style": { + "description": "SVG style attribute", + "type": "string" + }, + "x": { + "description": "Relative X position of the label. If null center it", + "type": [ + "integer", + "null" + ] + }, + "y": { + "description": "Relative Y position of the label", + "type": "integer" + }, + "rotation": { + "description": "Rotation of the label", + "type": "integer", + "minimum": -359, + "maximum": 360 + } + }, + "required": [ + "text", + "x", + "y" + ], + "additionalProperties": false + }, + "symbol": { + "description": "Symbol of the node", + "type": [ + "string", + "null" + ], + "minLength": 1 + }, + "width": { + "description": "Width of the node (Read only)", + "type": "integer" + }, + "height": { + "description": "Height of the node (Read only)", + "type": "integer" + }, + "x": { + "description": "X position of the node", + "type": "integer" + }, + "y": { + "description": "Y position of the node", + "type": "integer" + }, + "z": { + "description": "Z position of the node", + "type": "integer" + }, + "port_name_format": { + "description": "Formating for port name {0} will be replace by port number", + "type": "string" + }, + "port_segment_size": { + "description": "Size of the port segment", + "type": "integer", + "minimum": 0 + }, + "first_port_name": { + "description": "Name of the first port", + "type": [ + "string", + "null" + ] + }, + "ports": { + "description": "List of node ports READ only", + "type": "array", + "items": { + "type": "object", + "description": "A node port", + "properties": { + "name": { + "type": "string", + "description": "Port name" + }, + "short_name": { + "type": "string", + "description": "Short version of port name" + }, + "adapter_number": { + "type": "integer", + "description": "Adapter slot" + }, + "port_number": { + "type": "integer", + "description": "Port slot" + }, + "link_type": { + "description": "Type of link", + "enum": [ + "ethernet", + "serial" + ] + }, + "data_link_types": { + "type": "object", + "description": "Available PCAP type for capture", + "properties": {} + } + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false + } } }, - "additionalProperties": false, - "type": "object", - "description": "The topology content", "required": [ "nodes", "links", "drawings", "computes" - ] - }, - "type": { - "enum": [ - "topology" ], - "description": "Type of file. It's always topology" - }, - "revision": { - "type": "integer", - "description": "Version of the .gns3 specification." - }, - "auto_close": { - "type": "boolean", - "description": "Close the topology when no client is connected" - }, - "scene_height": { - "type": "integer", - "description": "Height of the drawing area" - }, - "scene_width": { - "type": "integer", - "description": "Width of the drawing area" - }, - "name": { - "type": "string", - "description": "Name of the project" - }, - "project_id": { - "minLength": 36, - "type": "string", - "description": "Project UUID", - "maxLength": 36, - "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" - }, - "version": { - "type": "string", - "description": "Version of the GNS3 software which have update the file for the last time" + "additionalProperties": false } }, - "type": "object", - "description": "The topology", - "additionalProperties": false, "required": [ "project_id", "type", @@ -573,5 +573,5 @@ "name", "topology" ], - "$schema": "http://json-schema.org/draft-04/schema#" + "additionalProperties": false } \ No newline at end of file diff --git a/scripts/documentation.sh b/scripts/documentation.sh index 012794fe..38464e30 100755 --- a/scripts/documentation.sh +++ b/scripts/documentation.sh @@ -30,6 +30,7 @@ mkdir -p docs/api/examples py.test -v tests +export PYTHONPATH=. python3 gns3server/web/documentation.py cd docs make html diff --git a/tests/handlers/api/compute/test_server.py b/tests/handlers/api/compute/test_server.py index 67c878ef..e39c2913 100644 --- a/tests/handlers/api/compute/test_server.py +++ b/tests/handlers/api/compute/test_server.py @@ -35,5 +35,5 @@ def test_version_output(http_compute): def test_debug_output(http_compute): - response = http_compute.get('/debug', example=True) + response = http_compute.get('/debug') assert response.status == 200