diff --git a/docs/api/examples/controller_delete_projectsprojectid.txt b/docs/api/examples/controller_delete_projectsprojectid.txt index 2c8083eb..f1daafba 100644 --- a/docs/api/examples/controller_delete_projectsprojectid.txt +++ b/docs/api/examples/controller_delete_projectsprojectid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/projects/ab68f6d3-fdf2-42f8-9bd3-a35f60063fdb' +curl -i -X DELETE 'http://localhost:8000/v2/projects/65cf5095-11e2-4b5f-a953-b74aca5a34ec' -DELETE /v2/projects/ab68f6d3-fdf2-42f8-9bd3-a35f60063fdb HTTP/1.1 +DELETE /v2/projects/65cf5095-11e2-4b5f-a953-b74aca5a34ec HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt new file mode 100644 index 00000000..ef5eddde --- /dev/null +++ b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt @@ -0,0 +1,18 @@ +curl -i -X DELETE 'http://localhost:8000/v2/projects/7e95cc8e-44b0-42ca-9c2b-8769755b7586/links/8805466a-991c-40ec-937f-517561ecf65b' + +DELETE /v2/projects/7e95cc8e-44b0-42ca-9c2b-8769755b7586/links/8805466a-991c-40ec-937f-517561ecf65b HTTP/1.1 + + + +HTTP/1.1 201 +ACCESS-CONTROL-ALLOW-ORIGIN: * +CONTENT-LENGTH: 72 +CONTENT-TYPE: application/json +DATE: Thu, 08 Jan 2015 16:09:15 GMT +SERVER: Python/3.5 GNS3/1.5.0dev1 +X-ROUTE: /v2/projects/{project_id}/links/{link_id} + +{ + "link_id": "8805466a-991c-40ec-937f-517561ecf65b", + "vms": [] +} diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index fbaccf0e..0e2f7917 100644 --- a/docs/api/examples/controller_post_projectsprojectidclose.txt +++ b/docs/api/examples/controller_post_projectsprojectidclose.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/projects/e77e2864-4c3f-4613-b06b-489cc608e9f5/close' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/projects/d7c2d234-9854-47d4-bb78-93a94f2d8bfc/close' -d '{}' -POST /v2/projects/e77e2864-4c3f-4613-b06b-489cc608e9f5/close HTTP/1.1 +POST /v2/projects/d7c2d234-9854-47d4-bb78-93a94f2d8bfc/close HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidcommit.txt b/docs/api/examples/controller_post_projectsprojectidcommit.txt index 3bdac162..6db8b18b 100644 --- a/docs/api/examples/controller_post_projectsprojectidcommit.txt +++ b/docs/api/examples/controller_post_projectsprojectidcommit.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/projects/86f47fd6-908d-4ca7-998d-a69782792b31/commit' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/projects/cf4f50f1-0a93-494b-ada6-39fe0c3df67d/commit' -d '{}' -POST /v2/projects/86f47fd6-908d-4ca7-998d-a69782792b31/commit HTTP/1.1 +POST /v2/projects/cf4f50f1-0a93-494b-ada6-39fe0c3df67d/commit HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index acdbe43d..d59ca9ca 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinks.txt @@ -1,17 +1,17 @@ -curl -i -X POST 'http://localhost:8000/v2/projects/f6bf6c1c-19ac-4441-9efe-8ed31a5f7542/links' -d '{"vms": [{"adapter_number": 0, "port_number": 3, "vm_id": "4b9f3a9a-b40e-4144-bcb2-429ff3f64049"}, {"adapter_number": 2, "port_number": 4, "vm_id": "d32d5a58-1f36-4937-a3b6-c24fb43df67c"}]}' +curl -i -X POST 'http://localhost:8000/v2/projects/b61e91b1-e69c-4eaa-a012-9d98135a53e0/links' -d '{"vms": [{"adapter_number": 0, "port_number": 3, "vm_id": "0f349889-091d-4919-87d2-11d7ec429066"}, {"adapter_number": 2, "port_number": 4, "vm_id": "bc556663-16a6-41e0-9562-4e541037d890"}]}' -POST /v2/projects/f6bf6c1c-19ac-4441-9efe-8ed31a5f7542/links HTTP/1.1 +POST /v2/projects/b61e91b1-e69c-4eaa-a012-9d98135a53e0/links HTTP/1.1 { "vms": [ { "adapter_number": 0, "port_number": 3, - "vm_id": "4b9f3a9a-b40e-4144-bcb2-429ff3f64049" + "vm_id": "0f349889-091d-4919-87d2-11d7ec429066" }, { "adapter_number": 2, "port_number": 4, - "vm_id": "d32d5a58-1f36-4937-a3b6-c24fb43df67c" + "vm_id": "bc556663-16a6-41e0-9562-4e541037d890" } ] } @@ -26,17 +26,17 @@ SERVER: Python/3.5 GNS3/1.5.0dev1 X-ROUTE: /v2/projects/{project_id}/links { - "link_id": "bfb1c5e0-4915-454d-acf9-fa8b19e62bf8", + "link_id": "43bd7b6b-8878-48fd-b8f7-1ca876b372ae", "vms": [ { "adapter_number": 0, "port_number": 3, - "vm_id": "4b9f3a9a-b40e-4144-bcb2-429ff3f64049" + "vm_id": "0f349889-091d-4919-87d2-11d7ec429066" }, { "adapter_number": 2, "port_number": 4, - "vm_id": "d32d5a58-1f36-4937-a3b6-c24fb43df67c" + "vm_id": "bc556663-16a6-41e0-9562-4e541037d890" } ] } diff --git a/docs/api/examples/controller_post_projectsprojectidvms.txt b/docs/api/examples/controller_post_projectsprojectidvms.txt index 154bccfb..190ca3e7 100644 --- a/docs/api/examples/controller_post_projectsprojectidvms.txt +++ b/docs/api/examples/controller_post_projectsprojectidvms.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/projects/b580182b-d534-4be7-818b-6ebf47ad8df8/vms' -d '{"hypervisor_id": "example.com", "name": "test", "properties": {"startup_script": "echo test"}, "vm_type": "vpcs"}' +curl -i -X POST 'http://localhost:8000/v2/projects/e00d950d-0d48-422c-b3ea-43d0fbaa8291/vms' -d '{"hypervisor_id": "example.com", "name": "test", "properties": {"startup_script": "echo test"}, "vm_type": "vpcs"}' -POST /v2/projects/b580182b-d534-4be7-818b-6ebf47ad8df8/vms HTTP/1.1 +POST /v2/projects/e00d950d-0d48-422c-b3ea-43d0fbaa8291/vms HTTP/1.1 { "hypervisor_id": "example.com", "name": "test", @@ -24,10 +24,10 @@ X-ROUTE: /v2/projects/{project_id}/vms "console_type": "telnet", "hypervisor_id": "example.com", "name": "test", - "project_id": "b580182b-d534-4be7-818b-6ebf47ad8df8", + "project_id": "e00d950d-0d48-422c-b3ea-43d0fbaa8291", "properties": { "startup_script": "echo test" }, - "vm_id": "65e7c4d6-82c4-42a5-a9ee-c419637180f0", + "vm_id": "a311973e-9ede-4aa2-823c-268e972fc66a", "vm_type": "vpcs" } diff --git a/docs/api/examples/hypervisor_delete_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_delete_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt index e88e8968..8b285df1 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/55ea1a0f-c23b-4021-981b-567a4bd5426d/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/acaac98d-b81f-4490-9392-ffa7fad3832e/adapters/0/ports/0/nio' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/55ea1a0f-c23b-4021-981b-567a4bd5426d/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/acaac98d-b81f-4490-9392-ffa7fad3832e/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmid.txt b/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmid.txt index 7a34ecab..519417c5 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmid.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6899c001-04b8-4219-a5fb-c0549e6a7437' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/30962bb6-155f-4da8-b5e3-499f899e103b' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6899c001-04b8-4219-a5fb-c0549e6a7437 HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/30962bb6-155f-4da8-b5e3-499f899e103b HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt index 6555bdf1..1c0a8832 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d7462950-4980-4633-8d48-128744cdb012/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4a38812f-0a66-4219-937a-c4f688dd2c08/adapters/1/ports/0/nio' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d7462950-4980-4633-8d48-128744cdb012/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4a38812f-0a66-4219-937a-c4f688dd2c08/adapters/1/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmid.txt b/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmid.txt index dd89e2d8..cfaf1b58 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmid.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/ad2930c4-fe84-497b-9ec0-853bf3c52feb' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/dd357050-393f-4f87-85a8-312c47aed7e6' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/ad2930c4-fe84-497b-9ec0-853bf3c52feb HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/dd357050-393f-4f87-85a8-312c47aed7e6 HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt index adb37e2a..25e7d3d1 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/704bfca0-ac4d-4cda-9926-f8d2254e12a0/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/986f79ba-ad3a-417b-a56f-d3769cfd7f82/adapters/1/ports/0/nio' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/704bfca0-ac4d-4cda-9926-f8d2254e12a0/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/986f79ba-ad3a-417b-a56f-d3769cfd7f82/adapters/1/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_delete_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt index 7e48caa4..1c3e77c6 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1fe30649-d55a-4a7e-873a-41c6254cf514/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/364e147a-7c89-4104-b987-6d0d7853f8de/adapters/0/ports/0/nio' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1fe30649-d55a-4a7e-873a-41c6254cf514/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/364e147a-7c89-4104-b987-6d0d7853f8de/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmid.txt b/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmid.txt index 05060878..c9d11021 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmid.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b81ae681-aa48-4114-8d36-1d2b8cc9ca09' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b3c886ce-7ad3-4721-9544-c93709c8b638' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b81ae681-aa48-4114-8d36-1d2b8cc9ca09 HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b3c886ce-7ad3-4721-9544-c93709c8b638 HTTP/1.1 diff --git a/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt index 8d08ce4a..94ff7cbb 100644 --- a/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_delete_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/31fe119f-a164-424e-8dfa-8d6454126766/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/06588b10-2226-43b1-8d08-28e1aa4f5393/adapters/0/ports/0/nio' -DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/31fe119f-a164-424e-8dfa-8d6454126766/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/06588b10-2226-43b1-8d08-28e1aa4f5393/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/hypervisor_get_interfaces.txt b/docs/api/examples/hypervisor_get_interfaces.txt index a9844a2d..30703b3a 100644 --- a/docs/api/examples/hypervisor_get_interfaces.txt +++ b/docs/api/examples/hypervisor_get_interfaces.txt @@ -6,7 +6,7 @@ GET /v2/hypervisor/interfaces HTTP/1.1 HTTP/1.1 200 ACCESS-CONTROL-ALLOW-ORIGIN: * -CONTENT-LENGTH: 1253 +CONTENT-LENGTH: 6277 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/1.5.0dev1 @@ -82,5 +82,255 @@ X-ROUTE: /v2/hypervisor/interfaces "id": "vboxnet6", "ip_address": "", "name": "vboxnet6" + }, + { + "id": "vmnet1", + "ip_address": "172.16.16.1", + "name": "vmnet1" + }, + { + "id": "vmnet10", + "ip_address": "172.16.7.1", + "name": "vmnet10" + }, + { + "id": "vmnet11", + "ip_address": "172.16.8.1", + "name": "vmnet11" + }, + { + "id": "vmnet12", + "ip_address": "172.16.9.1", + "name": "vmnet12" + }, + { + "id": "vmnet13", + "ip_address": "172.16.10.1", + "name": "vmnet13" + }, + { + "id": "vmnet14", + "ip_address": "172.16.11.1", + "name": "vmnet14" + }, + { + "id": "vmnet15", + "ip_address": "172.16.12.1", + "name": "vmnet15" + }, + { + "id": "vmnet16", + "ip_address": "172.16.13.1", + "name": "vmnet16" + }, + { + "id": "vmnet17", + "ip_address": "172.16.14.1", + "name": "vmnet17" + }, + { + "id": "vmnet18", + "ip_address": "172.16.15.1", + "name": "vmnet18" + }, + { + "id": "vmnet19", + "ip_address": "172.16.17.1", + "name": "vmnet19" + }, + { + "id": "vmnet2", + "ip_address": "172.16.0.1", + "name": "vmnet2" + }, + { + "id": "vmnet20", + "ip_address": "172.16.18.1", + "name": "vmnet20" + }, + { + "id": "vmnet21", + "ip_address": "172.16.19.1", + "name": "vmnet21" + }, + { + "id": "vmnet22", + "ip_address": "172.16.20.1", + "name": "vmnet22" + }, + { + "id": "vmnet23", + "ip_address": "172.16.21.1", + "name": "vmnet23" + }, + { + "id": "vmnet24", + "ip_address": "172.16.22.1", + "name": "vmnet24" + }, + { + "id": "vmnet25", + "ip_address": "172.16.23.1", + "name": "vmnet25" + }, + { + "id": "vmnet26", + "ip_address": "172.16.24.1", + "name": "vmnet26" + }, + { + "id": "vmnet27", + "ip_address": "172.16.25.1", + "name": "vmnet27" + }, + { + "id": "vmnet28", + "ip_address": "172.16.26.1", + "name": "vmnet28" + }, + { + "id": "vmnet29", + "ip_address": "172.16.27.1", + "name": "vmnet29" + }, + { + "id": "vmnet3", + "ip_address": "172.16.1.1", + "name": "vmnet3" + }, + { + "id": "vmnet30", + "ip_address": "172.16.28.1", + "name": "vmnet30" + }, + { + "id": "vmnet31", + "ip_address": "172.16.29.1", + "name": "vmnet31" + }, + { + "id": "vmnet32", + "ip_address": "172.16.30.1", + "name": "vmnet32" + }, + { + "id": "vmnet33", + "ip_address": "172.16.31.1", + "name": "vmnet33" + }, + { + "id": "vmnet34", + "ip_address": "172.16.32.1", + "name": "vmnet34" + }, + { + "id": "vmnet35", + "ip_address": "172.16.33.1", + "name": "vmnet35" + }, + { + "id": "vmnet36", + "ip_address": "172.16.34.1", + "name": "vmnet36" + }, + { + "id": "vmnet37", + "ip_address": "172.16.35.1", + "name": "vmnet37" + }, + { + "id": "vmnet38", + "ip_address": "172.16.36.1", + "name": "vmnet38" + }, + { + "id": "vmnet39", + "ip_address": "172.16.37.1", + "name": "vmnet39" + }, + { + "id": "vmnet4", + "ip_address": "172.16.2.1", + "name": "vmnet4" + }, + { + "id": "vmnet40", + "ip_address": "172.16.38.1", + "name": "vmnet40" + }, + { + "id": "vmnet41", + "ip_address": "172.16.39.1", + "name": "vmnet41" + }, + { + "id": "vmnet42", + "ip_address": "172.16.40.1", + "name": "vmnet42" + }, + { + "id": "vmnet43", + "ip_address": "172.16.41.1", + "name": "vmnet43" + }, + { + "id": "vmnet44", + "ip_address": "172.16.42.1", + "name": "vmnet44" + }, + { + "id": "vmnet45", + "ip_address": "172.16.43.1", + "name": "vmnet45" + }, + { + "id": "vmnet46", + "ip_address": "172.16.44.1", + "name": "vmnet46" + }, + { + "id": "vmnet47", + "ip_address": "172.16.45.1", + "name": "vmnet47" + }, + { + "id": "vmnet48", + "ip_address": "172.16.46.1", + "name": "vmnet48" + }, + { + "id": "vmnet49", + "ip_address": "172.16.47.1", + "name": "vmnet49" + }, + { + "id": "vmnet5", + "ip_address": "172.16.3.1", + "name": "vmnet5" + }, + { + "id": "vmnet50", + "ip_address": "172.16.48.1", + "name": "vmnet50" + }, + { + "id": "vmnet6", + "ip_address": "172.16.4.1", + "name": "vmnet6" + }, + { + "id": "vmnet7", + "ip_address": "172.16.5.1", + "name": "vmnet7" + }, + { + "id": "vmnet8", + "ip_address": "192.168.229.1", + "name": "vmnet8" + }, + { + "id": "vmnet9", + "ip_address": "172.16.6.1", + "name": "vmnet9" } ] diff --git a/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmid.txt b/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmid.txt index b5206564..9de11739 100644 --- a/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmid.txt +++ b/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e8423a70-2b34-4be2-bc37-a6bac6a3334a' +curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2e4fb556-c2ff-487a-b893-89ce71664e50' -GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e8423a70-2b34-4be2-bc37-a6bac6a3334a HTTP/1.1 +GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2e4fb556-c2ff-487a-b893-89ce71664e50 HTTP/1.1 @@ -28,6 +28,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id} "serial_adapters": 2, "startup_config": null, "use_default_iou_values": true, - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/e8423a70-2b34-4be2-bc37-a6bac6a3334a", - "vm_id": "e8423a70-2b34-4be2-bc37-a6bac6a3334a" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/2e4fb556-c2ff-487a-b893-89ce71664e50", + "vm_id": "2e4fb556-c2ff-487a-b893-89ce71664e50" } diff --git a/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmidconfigs.txt b/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmidconfigs.txt index c0ab32b2..de112203 100644 --- a/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmidconfigs.txt +++ b/docs/api/examples/hypervisor_get_projectsprojectidiouvmsvmidconfigs.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6a58f681-755e-4678-ae5f-9d747aeb05ec/configs' +curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ad0bffec-9cc8-40ab-8912-deb6747e8816/configs' -GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6a58f681-755e-4678-ae5f-9d747aeb05ec/configs HTTP/1.1 +GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ad0bffec-9cc8-40ab-8912-deb6747e8816/configs HTTP/1.1 diff --git a/docs/api/examples/hypervisor_get_projectsprojectidqemuvmsvmid.txt b/docs/api/examples/hypervisor_get_projectsprojectidqemuvmsvmid.txt index 9d7b7f5c..9791fcd9 100644 --- a/docs/api/examples/hypervisor_get_projectsprojectidqemuvmsvmid.txt +++ b/docs/api/examples/hypervisor_get_projectsprojectidqemuvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/97b9930a-de17-452c-8838-1fd384eb2ba4' +curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/91ef9646-40e4-476d-843f-15903bbd8ab7' -GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/97b9930a-de17-452c-8838-1fd384eb2ba4 HTTP/1.1 +GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/91ef9646-40e4-476d-843f-15903bbd8ab7 HTTP/1.1 @@ -42,15 +42,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms/{vm_id} "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:00:ab:2b:a4:00", + "mac_address": "00:00:ab:8a:b7:00", "name": "PC TEST 1", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 256, "usage": "", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/97b9930a-de17-452c-8838-1fd384eb2ba4", - "vm_id": "97b9930a-de17-452c-8838-1fd384eb2ba4" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/91ef9646-40e4-476d-843f-15903bbd8ab7", + "vm_id": "91ef9646-40e4-476d-843f-15903bbd8ab7" } diff --git a/docs/api/examples/hypervisor_get_projectsprojectidvirtualboxvmsvmid.txt b/docs/api/examples/hypervisor_get_projectsprojectidvirtualboxvmsvmid.txt index 0910e1b6..fae2532f 100644 --- a/docs/api/examples/hypervisor_get_projectsprojectidvirtualboxvmsvmid.txt +++ b/docs/api/examples/hypervisor_get_projectsprojectidvirtualboxvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/150848d4-6c71-4ca1-b039-174b479afe51' +curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e959b3bc-0d08-4528-a0a1-512bdd6b6cc8' -GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/150848d4-6c71-4ca1-b039-174b479afe51 HTTP/1.1 +GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e959b3bc-0d08-4528-a0a1-512bdd6b6cc8 HTTP/1.1 @@ -24,6 +24,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/virtualbox/vms/{vm_id} "ram": 0, "use_any_adapter": false, "vm_directory": null, - "vm_id": "150848d4-6c71-4ca1-b039-174b479afe51", + "vm_id": "e959b3bc-0d08-4528-a0a1-512bdd6b6cc8", "vmname": "VMTEST" } diff --git a/docs/api/examples/hypervisor_get_projectsprojectidvpcsvmsvmid.txt b/docs/api/examples/hypervisor_get_projectsprojectidvpcsvmsvmid.txt index 640bb927..28e79a29 100644 --- a/docs/api/examples/hypervisor_get_projectsprojectidvpcsvmsvmid.txt +++ b/docs/api/examples/hypervisor_get_projectsprojectidvpcsvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5d855bb2-517d-449b-a47d-128d0b8efbc2' +curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/7aa4b445-5fe9-4525-9704-8f409ce002f1' -GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5d855bb2-517d-449b-a47d-128d0b8efbc2 HTTP/1.1 +GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/7aa4b445-5fe9-4525-9704-8f409ce002f1 HTTP/1.1 @@ -21,6 +21,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms/{vm_id} "startup_script": null, "startup_script_path": null, "status": "stopped", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/5d855bb2-517d-449b-a47d-128d0b8efbc2", - "vm_id": "5d855bb2-517d-449b-a47d-128d0b8efbc2" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7aa4b445-5fe9-4525-9704-8f409ce002f1", + "vm_id": "7aa4b445-5fe9-4525-9704-8f409ce002f1" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt index bdbe31cf..824cbb73 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/b997d690-c8a3-4f15-83e8-a674e6cd006d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/30686a1e-59ac-4e43-8b0e-aeec3f1180c8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/b997d690-c8a3-4f15-83e8-a674e6cd006d/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/30686a1e-59ac-4e43-8b0e-aeec3f1180c8/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt index f1eec5b1..c2c815f4 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/739b85bc-2f6e-45bd-b173-4378060582c2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/430212e5-c7c1-42c5-bdf2-51f2fdd9d1f2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/739b85bc-2f6e-45bd-b173-4378060582c2/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/430212e5-c7c1-42c5-bdf2-51f2fdd9d1f2/adapters/0/ports/0/start_capture HTTP/1.1 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -16,5 +16,5 @@ SERVER: Python/3.5 GNS3/1.5.0dev1 X-ROUTE: /v2/hypervisor/projects/{project_id}/docker/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture { - "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap" + "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt index 41f3ebfa..117e17a8 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/ba1dc09d-3998-43a6-a014-d36dcb4a9179/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/f407d63c-43cd-44d5-b759-182527f85e6b/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/ba1dc09d-3998-43a6-a014-d36dcb4a9179/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/f407d63c-43cd-44d5-b759-182527f85e6b/adapters/0/ports/0/stop_capture HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvms.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvms.txt index a86100e2..e524aa8f 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvms.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvms.txt @@ -1,11 +1,11 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms' -d '{"name": "PC TEST 1", "path": "iou.bin", "startup_config_content": "hostname test", "vm_id": "12d081d8-d490-4535-9485-3820d7452cb3"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms' -d '{"name": "PC TEST 1", "path": "iou.bin", "startup_config_content": "hostname test", "vm_id": "3b289fdd-8fc9-48de-8366-db79c1a1dbe4"}' POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms HTTP/1.1 { "name": "PC TEST 1", "path": "iou.bin", "startup_config_content": "hostname test", - "vm_id": "12d081d8-d490-4535-9485-3820d7452cb3" + "vm_id": "3b289fdd-8fc9-48de-8366-db79c1a1dbe4" } @@ -33,6 +33,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms "serial_adapters": 2, "startup_config": "startup-config.cfg", "use_default_iou_values": true, - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/12d081d8-d490-4535-9485-3820d7452cb3", - "vm_id": "12d081d8-d490-4535-9485-3820d7452cb3" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/3b289fdd-8fc9-48de-8366-db79c1a1dbe4", + "vm_id": "3b289fdd-8fc9-48de-8366-db79c1a1dbe4" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt index dd5483dd..a15f7f8f 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2663a05a-a0b1-4f99-b1e6-0c88eb4f428f/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_generic_ethernet"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/946c98ca-806d-4335-80e3-9cb65d13dbf4/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_generic_ethernet"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2663a05a-a0b1-4f99-b1e6-0c88eb4f428f/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/946c98ca-806d-4335-80e3-9cb65d13dbf4/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "bridge0", "type": "nio_generic_ethernet" diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt index cef83a2a..9ef3784c 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8079ff79-b537-41aa-ae14-1e432d831542/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/7c669c68-7877-4542-a652-f3243556fb58/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8079ff79-b537-41aa-ae14-1e432d831542/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/7c669c68-7877-4542-a652-f3243556fb58/adapters/0/ports/0/start_capture HTTP/1.1 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -16,5 +16,5 @@ SERVER: Python/3.5 GNS3/1.5.0dev1 X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture { - "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap" + "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt index 803e094a..e880507e 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/1a9a1732-2d48-4951-8ea3-80bbd4a38a24/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/0c9e3dff-9bab-4523-a89c-6c1093e301a1/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/1a9a1732-2d48-4951-8ea3-80bbd4a38a24/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/0c9e3dff-9bab-4523-a89c-6c1093e301a1/adapters/0/ports/0/stop_capture HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidreload.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidreload.txt index 4734d481..081994dd 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidreload.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4bc03cbc-a8e3-482e-821f-76b75b4bb313/reload' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/dafdd9c1-4d5c-4d40-8a13-b866a74bb2c8/reload' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4bc03cbc-a8e3-482e-821f-76b75b4bb313/reload HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/dafdd9c1-4d5c-4d40-8a13-b866a74bb2c8/reload HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstart.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstart.txt index c126d5ef..1efcf5ec 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstart.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8881069e-0211-46ae-8f47-675b8f0ce206/start' -d '{"iourc_content": "test"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/cca906af-beae-4410-a54d-604a07eab8e3/start' -d '{"iourc_content": "test"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8881069e-0211-46ae-8f47-675b8f0ce206/start HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/cca906af-beae-4410-a54d-604a07eab8e3/start HTTP/1.1 { "iourc_content": "test" } @@ -18,7 +18,7 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/start "command_line": "", "console": 2001, "ethernet_adapters": 2, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpevnclseh/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8j6jo9a_/iourc", "l1_keepalives": false, "md5sum": null, "name": "PC TEST 1", @@ -30,6 +30,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/start "serial_adapters": 2, "startup_config": null, "use_default_iou_values": true, - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/8881069e-0211-46ae-8f47-675b8f0ce206", - "vm_id": "8881069e-0211-46ae-8f47-675b8f0ce206" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/cca906af-beae-4410-a54d-604a07eab8e3", + "vm_id": "cca906af-beae-4410-a54d-604a07eab8e3" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstop.txt b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstop.txt index 6562bb67..dcc6b035 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstop.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidiouvmsvmidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e81c63c7-26af-4129-8e36-4dec3306ca67/stop' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d6a25ceb-736a-4d24-b3d2-cba27138ce09/stop' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e81c63c7-26af-4129-8e36-4dec3306ca67/stop HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d6a25ceb-736a-4d24-b3d2-cba27138ce09/stop HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvms.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvms.txt index c4ebc608..54524f5e 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvms.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvms.txt @@ -1,10 +1,10 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", "ram": 1024}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 1024}' POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms HTTP/1.1 { "hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 1024 } @@ -47,15 +47,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:00:ab:9b:31:00", + "mac_address": "00:00:ab:18:4a:00", "name": "PC TEST 1", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 1024, "usage": "", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ca25d6ee-ca26-48ca-ada2-8e9a0b739b31", - "vm_id": "ca25d6ee-ca26-48ca-ada2-8e9a0b739b31" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/11bbadb6-e914-4182-ba7a-647b5f5d184a", + "vm_id": "11bbadb6-e914-4182-ba7a-647b5f5d184a" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt index 15e6fb7b..fc60646a 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/07830c1f-df4e-4fbd-b978-ce81f923a20b/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/26f94755-2893-4ca8-b5cd-01f4f5aeb667/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/07830c1f-df4e-4fbd-b978-ce81f923a20b/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/26f94755-2893-4ca8-b5cd-01f4f5aeb667/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "eth0", "type": "nio_generic_ethernet" diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidreload.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidreload.txt index e03f11a8..cf9b94e7 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidreload.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b01e27e4-ba29-4d13-8c09-a9a3e2391521/reload' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/34c53d14-505e-43c0-8f01-4140d2b12f02/reload' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b01e27e4-ba29-4d13-8c09-a9a3e2391521/reload HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/34c53d14-505e-43c0-8f01-4140d2b12f02/reload HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidresume.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidresume.txt index 7b74dea7..b5358597 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidresume.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidresume.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/d6e84048-dc17-4582-940e-3d8df5bf9c07/resume' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/51ea2f31-1a16-46e7-8088-a8bc0d0b6726/resume' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/d6e84048-dc17-4582-940e-3d8df5bf9c07/resume HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/51ea2f31-1a16-46e7-8088-a8bc0d0b6726/resume HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstart.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstart.txt index eea6ac84..fc928c48 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstart.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/9e9e0707-891f-42e8-afac-fb8febdbb525/start' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7d920e6d-b929-4a3b-a299-a9641030efaf/start' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/9e9e0707-891f-42e8-afac-fb8febdbb525/start HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7d920e6d-b929-4a3b-a299-a9641030efaf/start HTTP/1.1 {} @@ -42,15 +42,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms/{vm_id}/start "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:00:ab:b5:25:00", + "mac_address": "00:00:ab:ef:af:00", "name": "PC TEST 1", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 256, "usage": "", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9e9e0707-891f-42e8-afac-fb8febdbb525", - "vm_id": "9e9e0707-891f-42e8-afac-fb8febdbb525" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7d920e6d-b929-4a3b-a299-a9641030efaf", + "vm_id": "7d920e6d-b929-4a3b-a299-a9641030efaf" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstop.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstop.txt index fb38d5c3..e69d3a33 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstop.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/0fe62000-82a6-48cc-ac9f-4fb604f19a2a/stop' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b9ad593f-25d6-4942-9379-6c7e8d0c82ca/stop' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/0fe62000-82a6-48cc-ac9f-4fb604f19a2a/stop HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b9ad593f-25d6-4942-9379-6c7e8d0c82ca/stop HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidsuspend.txt b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidsuspend.txt index e5f73ce1..7b7711a6 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidsuspend.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidqemuvmsvmidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/781be018-69dd-4cd6-985d-be2301dba8ca/suspend' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/5ee4acd6-bc2d-489a-b3c5-4133351d9425/suspend' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/781be018-69dd-4cd6-985d-be2301dba8ca/suspend HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/5ee4acd6-bc2d-489a-b3c5-4133351d9425/suspend HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvms.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvms.txt index 2c5a202f..7573a6dd 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvms.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvms.txt @@ -28,6 +28,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/virtualbox/vms "ram": 0, "use_any_adapter": false, "vm_directory": null, - "vm_id": "cb0cef3c-a75e-45c8-9f97-5aec95f8e035", + "vm_id": "abab4e24-e383-441d-94c6-f652c42bd118", "vmname": "VM1" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt index 1012fdc7..a612d4dd 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/0af21b9f-c66d-400d-8654-3b602346f060/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/eb5565b0-a548-470d-9e4c-221b1e5d82a5/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/0af21b9f-c66d-400d-8654-3b602346f060/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/eb5565b0-a548-470d-9e4c-221b1e5d82a5/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidreload.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidreload.txt index 528c63ab..90a1ccff 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidreload.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ced4e23d-bea0-4b42-8523-893a00c2aa7e/reload' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b179e3b1-87b6-4dcc-a3de-1ad9e89358c4/reload' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ced4e23d-bea0-4b42-8523-893a00c2aa7e/reload HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b179e3b1-87b6-4dcc-a3de-1ad9e89358c4/reload HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidresume.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidresume.txt index deefbd8e..6366c83e 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidresume.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidresume.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/8d0086ae-cd1e-4342-9b58-efceb1181028/resume' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e6529446-ab5d-4190-a139-244c8a67c9c7/resume' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/8d0086ae-cd1e-4342-9b58-efceb1181028/resume HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e6529446-ab5d-4190-a139-244c8a67c9c7/resume HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstart.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstart.txt index ffb43cfa..c14395a6 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstart.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b5497eb4-d79a-47e0-add8-5c8253af8d8c/start' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e90e3431-d33b-48c1-b209-a020ef8bfb3b/start' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b5497eb4-d79a-47e0-add8-5c8253af8d8c/start HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e90e3431-d33b-48c1-b209-a020ef8bfb3b/start HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstop.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstop.txt index f203679c..da8c9f7d 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstop.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1cc2181a-cb95-4ad9-ac06-0d8b5260cc4e/stop' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f9284ef5-ac37-4fc1-80ec-557601b73014/stop' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1cc2181a-cb95-4ad9-ac06-0d8b5260cc4e/stop HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f9284ef5-ac37-4fc1-80ec-557601b73014/stop HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidsuspend.txt b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidsuspend.txt index 5d79d91b..3217b364 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidsuspend.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvirtualboxvmsvmidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1ea73ab1-24f3-4a3b-a2dd-762a39da3a1e/suspend' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/c678bfc1-e72f-4f98-a2f1-3c7d8045b314/suspend' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1ea73ab1-24f3-4a3b-a2dd-762a39da3a1e/suspend HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/c678bfc1-e72f-4f98-a2f1-3c7d8045b314/suspend HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvms.txt b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvms.txt index 623d3b45..03d08168 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvms.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvms.txt @@ -23,6 +23,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms "startup_script": null, "startup_script_path": null, "status": "stopped", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/3ac92acc-daaa-4f92-8665-1a767b468acd", - "vm_id": "3ac92acc-daaa-4f92-8665-1a767b468acd" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/0df154bc-6b88-4a64-a2ac-98bb4d533080", + "vm_id": "0df154bc-6b88-4a64-a2ac-98bb4d533080" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt index 7b0bdad8..ba400c14 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/73167116-8f1a-4d22-8de4-d01be61d1586/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/92d44e75-bf67-4af4-bb8a-5d37a11910a7/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/73167116-8f1a-4d22-8de4-d01be61d1586/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/92d44e75-bf67-4af4-bb8a-5d37a11910a7/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidreload.txt b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidreload.txt index 4168f9cd..bf09ef46 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidreload.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/c21f760d-5e7d-4c2e-b6c9-deedec0d3624/reload' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/878612a6-3fa2-40a6-9139-a7b0e9e8e240/reload' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/c21f760d-5e7d-4c2e-b6c9-deedec0d3624/reload HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/878612a6-3fa2-40a6-9139-a7b0e9e8e240/reload HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstart.txt b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstart.txt index 0f8f89a5..b0ccbea9 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstart.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/d602e749-c218-4bed-8090-eb9418184fc3/start' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd/start' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/d602e749-c218-4bed-8090-eb9418184fc3/start HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd/start HTTP/1.1 {} @@ -21,6 +21,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms/{vm_id}/start "startup_script": null, "startup_script_path": null, "status": "stopped", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d602e749-c218-4bed-8090-eb9418184fc3", - "vm_id": "d602e749-c218-4bed-8090-eb9418184fc3" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd", + "vm_id": "0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd" } diff --git a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstop.txt b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstop.txt index 8403c23b..513ba82e 100644 --- a/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstop.txt +++ b/docs/api/examples/hypervisor_post_projectsprojectidvpcsvmsvmidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5c800474-3d9d-4096-872e-5c78ecde9624/stop' -d '{}' +curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/258a6795-534b-4f3c-a201-9a5a880120c7/stop' -d '{}' -POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5c800474-3d9d-4096-872e-5c78ecde9624/stop HTTP/1.1 +POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/258a6795-534b-4f3c-a201-9a5a880120c7/stop HTTP/1.1 {} diff --git a/docs/api/examples/hypervisor_put_projectsprojectid.txt b/docs/api/examples/hypervisor_put_projectsprojectid.txt index 8a30994f..58802cbf 100644 --- a/docs/api/examples/hypervisor_put_projectsprojectid.txt +++ b/docs/api/examples/hypervisor_put_projectsprojectid.txt @@ -1,9 +1,9 @@ -curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-345/test_update_path_project_non_l0"}' +curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-29/test_update_path_project_non_l0"}' PUT /v2/hypervisor/projects/90010203-0405-0607-0809-0a0b0c0d0e0b HTTP/1.1 { "name": "second_name", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-345/test_update_path_project_non_l0" + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-29/test_update_path_project_non_l0" } diff --git a/docs/api/examples/hypervisor_put_projectsprojectiddockervmsvmid.txt b/docs/api/examples/hypervisor_put_projectsprojectiddockervmsvmid.txt index 7c117ce2..9a87b881 100644 --- a/docs/api/examples/hypervisor_put_projectsprojectiddockervmsvmid.txt +++ b/docs/api/examples/hypervisor_put_projectsprojectiddockervmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/3fc8b9d5-db4f-4904-a591-3e08e2b1d76b' -d '{"console": 2003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' +curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/2e306044-f567-47d5-a484-2da89c0f769b' -d '{"console": 2003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' -PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/3fc8b9d5-db4f-4904-a591-3e08e2b1d76b HTTP/1.1 +PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/2e306044-f567-47d5-a484-2da89c0f769b HTTP/1.1 { "console": 2003, "environment": "GNS3=1\nGNS4=0", @@ -28,6 +28,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/docker/vms/{vm_id} "name": "test", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "start_command": "yes", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/3fc8b9d5-db4f-4904-a591-3e08e2b1d76b", - "vm_id": "3fc8b9d5-db4f-4904-a591-3e08e2b1d76b" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/2e306044-f567-47d5-a484-2da89c0f769b", + "vm_id": "2e306044-f567-47d5-a484-2da89c0f769b" } diff --git a/docs/api/examples/hypervisor_put_projectsprojectidiouvmsvmid.txt b/docs/api/examples/hypervisor_put_projectsprojectidiouvmsvmid.txt index d4e97a34..84794cae 100644 --- a/docs/api/examples/hypervisor_put_projectsprojectidiouvmsvmid.txt +++ b/docs/api/examples/hypervisor_put_projectsprojectidiouvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/15104b60-b993-40f3-9065-6261c65a54ff' -d '{"console": 2002, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}' +curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca' -d '{"console": 2002, "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/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/15104b60-b993-40f3-9065-6261c65a54ff HTTP/1.1 +PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca HTTP/1.1 { "console": 2002, "ethernet_adapters": 4, @@ -27,7 +27,7 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id} "command_line": "", "console": 2002, "ethernet_adapters": 4, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3bj6zobt/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmppwv76w68/iourc", "l1_keepalives": true, "md5sum": null, "name": "test", @@ -39,6 +39,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id} "serial_adapters": 0, "startup_config": "startup-config.cfg", "use_default_iou_values": true, - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/15104b60-b993-40f3-9065-6261c65a54ff", - "vm_id": "15104b60-b993-40f3-9065-6261c65a54ff" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca", + "vm_id": "f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca" } diff --git a/docs/api/examples/hypervisor_put_projectsprojectidqemuvmsvmid.txt b/docs/api/examples/hypervisor_put_projectsprojectidqemuvmsvmid.txt index 7c2165ca..faae44cd 100644 --- a/docs/api/examples/hypervisor_put_projectsprojectidqemuvmsvmid.txt +++ b/docs/api/examples/hypervisor_put_projectsprojectidqemuvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/58d92f9b-26b2-4500-8995-cd5717e3cf7c' -d '{"console": 2002, "hdb_disk_image": "linux.img", "name": "test", "ram": 1024}' +curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/80dba7a3-62f4-4ff0-9c83-4dbe38ae647f' -d '{"console": 2002, "hdb_disk_image": "linux.img", "name": "test", "ram": 1024}' -PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/58d92f9b-26b2-4500-8995-cd5717e3cf7c HTTP/1.1 +PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/80dba7a3-62f4-4ff0-9c83-4dbe38ae647f HTTP/1.1 { "console": 2002, "hdb_disk_image": "linux.img", @@ -47,15 +47,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms/{vm_id} "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:00:ab:cf:7c:00", + "mac_address": "00:00:ab:64:7f:00", "name": "test", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 1024, "usage": "", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/58d92f9b-26b2-4500-8995-cd5717e3cf7c", - "vm_id": "58d92f9b-26b2-4500-8995-cd5717e3cf7c" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/80dba7a3-62f4-4ff0-9c83-4dbe38ae647f", + "vm_id": "80dba7a3-62f4-4ff0-9c83-4dbe38ae647f" } diff --git a/docs/api/examples/hypervisor_put_projectsprojectidvirtualboxvmsvmid.txt b/docs/api/examples/hypervisor_put_projectsprojectidvirtualboxvmsvmid.txt index e9dc1fb8..319db5d7 100644 --- a/docs/api/examples/hypervisor_put_projectsprojectidvirtualboxvmsvmid.txt +++ b/docs/api/examples/hypervisor_put_projectsprojectidvirtualboxvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f11456e7-a2d4-442b-b65a-baeba0a46087' -d '{"console": 2011, "name": "test"}' +curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ca8d44c3-d536-4649-a7f2-317c915b81f5' -d '{"console": 2011, "name": "test"}' -PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f11456e7-a2d4-442b-b65a-baeba0a46087 HTTP/1.1 +PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ca8d44c3-d536-4649-a7f2-317c915b81f5 HTTP/1.1 { "console": 2011, "name": "test" @@ -27,6 +27,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/virtualbox/vms/{vm_id} "ram": 0, "use_any_adapter": false, "vm_directory": null, - "vm_id": "f11456e7-a2d4-442b-b65a-baeba0a46087", + "vm_id": "ca8d44c3-d536-4649-a7f2-317c915b81f5", "vmname": "VMTEST" } diff --git a/docs/api/examples/hypervisor_put_projectsprojectidvpcsvmsvmid.txt b/docs/api/examples/hypervisor_put_projectsprojectidvpcsvmsvmid.txt index 556488e4..d445f543 100644 --- a/docs/api/examples/hypervisor_put_projectsprojectidvpcsvmsvmid.txt +++ b/docs/api/examples/hypervisor_put_projectsprojectidvpcsvmsvmid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/670e09f9-a0ec-4400-887d-7cb839582acc' -d '{"console": 2012, "name": "test", "startup_script": "ip 192.168.1.1"}' +curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/6f444597-b557-498a-9771-ab87707d3807' -d '{"console": 2012, "name": "test", "startup_script": "ip 192.168.1.1"}' -PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/670e09f9-a0ec-4400-887d-7cb839582acc HTTP/1.1 +PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/6f444597-b557-498a-9771-ab87707d3807 HTTP/1.1 { "console": 2012, "name": "test", @@ -25,6 +25,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms/{vm_id} "startup_script": "ip 192.168.1.1", "startup_script_path": "startup.vpc", "status": "stopped", - "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/670e09f9-a0ec-4400-887d-7cb839582acc", - "vm_id": "670e09f9-a0ec-4400-887d-7cb839582acc" + "vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6f444597-b557-498a-9771-ab87707d3807", + "vm_id": "6f444597-b557-498a-9771-ab87707d3807" } diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst new file mode 100644 index 00000000..db0f3667 --- /dev/null +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst @@ -0,0 +1,25 @@ +/v2/projects/{project_id}/links/{link_id} +------------------------------------------------------------------------------------------------------------------------------------------ + +.. contents:: + +DELETE /v2/projects/**{project_id}**/links/**{link_id}** +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Delete a link instance + +Parameters +********** +- **link_id**: UUID of the link +- **project_id**: UUID for the project + +Response status codes +********************** +- **400**: Invalid request +- **201**: Link deleted + +Sample session +*************** + + +.. literalinclude:: ../../../examples/controller_delete_projectsprojectidlinkslinkid.txt + diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsid.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsid.rst index 25f3afbf..51ce15bb 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsid.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsid.rst @@ -9,8 +9,8 @@ Delete a Docker container Parameters ********** -- **id**: ID for the container - **project_id**: UUID for the project +- **id**: ID for the container Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidreload.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidreload.rst index e47f6bb4..7ee62540 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidreload.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidreload.rst @@ -9,8 +9,8 @@ Restart a Docker container Parameters ********** -- **id**: ID of the container - **project_id**: UUID of the project +- **id**: ID of the container Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstart.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstart.rst index 730692bc..3ec44fe7 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstart.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstart.rst @@ -9,8 +9,8 @@ Start a Docker container Parameters ********** -- **id**: ID of the container - **project_id**: UUID of the project +- **id**: ID of the container Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstop.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstop.rst index 58c1ca3c..87de4a3b 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstop.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidstop.rst @@ -9,8 +9,8 @@ Stop a Docker container Parameters ********** -- **id**: ID of the container - **project_id**: UUID of the project +- **id**: ID of the container Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidsuspend.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidsuspend.rst index 120a7010..a5bb8678 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidsuspend.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsidsuspend.rst @@ -9,8 +9,8 @@ Pause a Docker container Parameters ********** -- **id**: ID of the container - **project_id**: UUID of the project +- **id**: ID of the container Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmid.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmid.rst index 89681d96..f7a35bd7 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmid.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmid.rst @@ -9,8 +9,8 @@ Update a Docker instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.rst index fdeccc69..20d1a978 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Docker container Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter -- **id**: ID of the container +- **adapter_number**: Adapter where the nio should be added - **project_id**: UUID for the project +- **id**: ID of the container Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a Docker container Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **port_number**: Port on the adapter -- **id**: ID of the container +- **adapter_number**: Adapter where the nio should be added - **project_id**: UUID for the project +- **id**: ID of the container Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst index 59bd0622..8e574c8c 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,9 +10,9 @@ Start a packet capture on a IOU VM instance Parameters ********** - **port_number**: Port on the adapter -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to start a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst index 04fe116e..53357120 100644 --- a/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/hypervisor/docker/projectsprojectiddockervmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,9 +10,9 @@ Stop a packet capture on a IOU VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to stop a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceid.rst b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceid.rst index 2c6c5808..1c7669df 100644 --- a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceid.rst +++ b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceid.rst @@ -9,8 +9,8 @@ Get a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** @@ -38,8 +38,8 @@ Update a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** @@ -96,8 +96,8 @@ Delete a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdnio.rst b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdnio.rst index 54a07e38..54059f3c 100644 --- a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdnio.rst @@ -9,9 +9,9 @@ Add a NIO to a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **port_number**: Port on the device - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** @@ -139,9 +139,9 @@ Remove a NIO from a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **port_number**: Port on the device - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstartcapture.rst b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstartcapture.rst index 708f70da..4c7134a6 100644 --- a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstartcapture.rst +++ b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstartcapture.rst @@ -9,9 +9,9 @@ Start a packet capture on a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **port_number**: Port on the device - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstopcapture.rst b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstopcapture.rst index 07685adc..81a35ee1 100644 --- a/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstopcapture.rst +++ b/docs/api/v2/hypervisor/dynamips_device/projectsprojectiddynamipsdevicesdeviceidportsportnumberdstopcapture.rst @@ -9,9 +9,9 @@ Stop a packet capture on a Dynamips device instance Parameters ********** -- **device_id**: UUID for the instance - **port_number**: Port on the device - **project_id**: UUID for the project +- **device_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmid.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmid.rst index 53632f1a..aa3df0c5 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmid.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmid.rst @@ -9,8 +9,8 @@ Get a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -77,8 +77,8 @@ Update a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -194,8 +194,8 @@ Delete a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdnio.rst index 07fd250e..64aefeff 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -10,9 +10,9 @@ Add a NIO to a Dynamips VM instance Parameters ********** - **port_number**: Port on the adapter -- **vm_id**: UUID for the instance - **adapter_number**: Adapter where the nio should be added - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -28,9 +28,9 @@ Remove a NIO from a Dynamips VM instance Parameters ********** - **port_number**: Port on the adapter -- **vm_id**: UUID for the instance - **adapter_number**: Adapter from where the nio should be removed - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst index 94b9ab0e..73af9886 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,9 +10,9 @@ Start a packet capture on a Dynamips VM instance Parameters ********** - **port_number**: Port on the adapter -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to start a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst index 0dbff116..45066456 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,9 +10,9 @@ Stop a packet capture on a Dynamips VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to stop a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidreload.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidreload.rst index a1aff578..9080c021 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidreload.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidreload.rst @@ -9,8 +9,8 @@ Reload a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidresume.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidresume.rst index 91162ad7..4c2c7000 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidresume.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidresume.rst @@ -9,8 +9,8 @@ Resume a suspended Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstart.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstart.rst index f6eb0d39..3dd4fa35 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstart.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstart.rst @@ -9,8 +9,8 @@ Start a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstop.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstop.rst index b4aabb29..4657bcf8 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstop.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidstop.rst @@ -9,8 +9,8 @@ Stop a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidsuspend.rst b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidsuspend.rst index 3dc7f270..35e765e9 100644 --- a/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidsuspend.rst +++ b/docs/api/v2/hypervisor/dynamips_vm/projectsprojectiddynamipsvmsvmidsuspend.rst @@ -9,8 +9,8 @@ Suspend a Dynamips VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmid.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmid.rst index 2e70fb0c..f1d38502 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmid.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmid.rst @@ -9,8 +9,8 @@ Get a IOU instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -56,8 +56,8 @@ Update a IOU instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -125,8 +125,8 @@ Delete a IOU instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.rst index 8de542ed..2257f43d 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -10,9 +10,9 @@ Add a NIO to a IOU instance Parameters ********** - **port_number**: Port where the nio should be added -- **vm_id**: UUID for the instance - **adapter_number**: Network adapter where the nio is located - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -34,9 +34,9 @@ Remove a NIO from a IOU instance Parameters ********** - **port_number**: Port from where the nio should be removed -- **vm_id**: UUID for the instance - **adapter_number**: Network adapter where the nio is located - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst index ae9fd148..529e00c9 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,9 +10,9 @@ Start a packet capture on a IOU VM instance Parameters ********** - **port_number**: Port on the adapter -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to start a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst index ba05811a..4f603d0a 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,9 +10,9 @@ Stop a packet capture on a IOU VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to stop a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidreload.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidreload.rst index f6df15ec..277675d0 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidreload.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidreload.rst @@ -9,8 +9,8 @@ Reload a IOU instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstart.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstart.rst index aba4e078..3a7e9161 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstart.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstart.rst @@ -9,8 +9,8 @@ Start a IOU instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstop.rst b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstop.rst index 52310247..ebce17a6 100644 --- a/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstop.rst +++ b/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidstop.rst @@ -9,8 +9,8 @@ Stop a IOU instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmid.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmid.rst index 1ac59073..64175e96 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmid.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmid.rst @@ -9,8 +9,8 @@ Get a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -79,8 +79,8 @@ Update a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -194,8 +194,8 @@ Delete a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.rst index effd4d87..2bc9e09c 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -10,9 +10,9 @@ Add a NIO to a Qemu VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Network adapter where the nio is located - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -34,9 +34,9 @@ Remove a NIO from a Qemu VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Network adapter where the nio is located - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidreload.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidreload.rst index 2f145f49..9c4a613d 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidreload.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidreload.rst @@ -9,8 +9,8 @@ Reload a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidresume.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidresume.rst index e9523f1e..46803865 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidresume.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidresume.rst @@ -9,8 +9,8 @@ Resume a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstart.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstart.rst index 2ed11267..d7dfab02 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstart.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstart.rst @@ -9,8 +9,8 @@ Start a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstop.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstop.rst index 239619fa..aa56ee04 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstop.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidstop.rst @@ -9,8 +9,8 @@ Stop a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidsuspend.rst b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidsuspend.rst index a9c640e7..feec4451 100644 --- a/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidsuspend.rst +++ b/docs/api/v2/hypervisor/qemu/projectsprojectidqemuvmsvmidsuspend.rst @@ -9,8 +9,8 @@ Suspend a Qemu VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmid.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmid.rst index 9e6c0c25..6970e0c3 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmid.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmid.rst @@ -9,8 +9,8 @@ Get a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -52,8 +52,8 @@ Update a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -114,8 +114,8 @@ Delete a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.rst index 2d20bb18..242bd10c 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -10,9 +10,9 @@ Add a NIO to a VirtualBox VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter where the nio should be added - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -34,9 +34,9 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter from where the nio should be removed - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst index 1a8d4d96..9998de72 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,9 +10,9 @@ Start a packet capture on a VirtualBox VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to start a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst index 0560b017..3065bc70 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,9 +10,9 @@ Stop a packet capture on a VirtualBox VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to stop a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidreload.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidreload.rst index d9876e4a..c92c38aa 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidreload.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidreload.rst @@ -9,8 +9,8 @@ Reload a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidresume.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidresume.rst index 944b6ddb..56a28de7 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidresume.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidresume.rst @@ -9,8 +9,8 @@ Resume a suspended VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstart.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstart.rst index 8b686da8..246ff3f2 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstart.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstart.rst @@ -9,8 +9,8 @@ Start a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstop.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstop.rst index df75ec9d..074c3c1a 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstop.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidstop.rst @@ -9,8 +9,8 @@ Stop a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidsuspend.rst b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidsuspend.rst index dfbdd759..d666b3e0 100644 --- a/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidsuspend.rst +++ b/docs/api/v2/hypervisor/virtualbox/projectsprojectidvirtualboxvmsvmidsuspend.rst @@ -9,8 +9,8 @@ Suspend a VirtualBox VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmid.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmid.rst index 9cf32716..1871c3a6 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmid.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmid.rst @@ -9,8 +9,8 @@ Get a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -46,8 +46,8 @@ Update a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -102,8 +102,8 @@ Delete a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdnio.rst index 1777f818..7f4d61ba 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -10,9 +10,9 @@ Add a NIO to a VMware VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter where the nio should be added - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -28,9 +28,9 @@ Remove a NIO from a VMware VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter from where the nio should be removed - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst index c1e82ad9..12855e25 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,9 +10,9 @@ Start a packet capture on a VMware VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to start a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst index f834fb6c..daddf975 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,9 +10,9 @@ Stop a packet capture on a VMware VM instance Parameters ********** - **port_number**: Port on the adapter (always 0) -- **vm_id**: UUID for the instance - **adapter_number**: Adapter to stop a packet capture - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidinterfacesvmnet.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidinterfacesvmnet.rst index bd4c166d..2d399168 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidinterfacesvmnet.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidinterfacesvmnet.rst @@ -9,8 +9,8 @@ Allocate a VMware VMnet interface on the server Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: The UUID of the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidreload.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidreload.rst index 20dfa30a..e1bb6cc9 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidreload.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidreload.rst @@ -9,8 +9,8 @@ Reload a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidresume.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidresume.rst index c55e24f4..2f45fd61 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidresume.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidresume.rst @@ -9,8 +9,8 @@ Resume a suspended VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstart.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstart.rst index 2c47e6a4..f077b904 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstart.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstart.rst @@ -9,8 +9,8 @@ Start a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstop.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstop.rst index c06fc038..3b9675ca 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstop.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidstop.rst @@ -9,8 +9,8 @@ Stop a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidsuspend.rst b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidsuspend.rst index 2326e477..177b5162 100644 --- a/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidsuspend.rst +++ b/docs/api/v2/hypervisor/vmware/projectsprojectidvmwarevmsvmidsuspend.rst @@ -9,8 +9,8 @@ Suspend a VMware VM instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmid.rst b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmid.rst index b1b3c32c..97b59784 100644 --- a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmid.rst +++ b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmid.rst @@ -9,8 +9,8 @@ Get a VPCS instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -49,8 +49,8 @@ Update a VPCS instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -102,8 +102,8 @@ Delete a VPCS instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.rst index 25c09e86..e566cd0a 100644 --- a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidadaptersadapternumberdportsportnumberdnio.rst @@ -10,9 +10,9 @@ Add a NIO to a VPCS instance Parameters ********** - **port_number**: Port where the nio should be added -- **vm_id**: UUID for the instance - **adapter_number**: Network adapter where the nio is located - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** @@ -34,9 +34,9 @@ Remove a NIO from a VPCS instance Parameters ********** - **port_number**: Port from where the nio should be removed -- **vm_id**: UUID for the instance - **adapter_number**: Network adapter where the nio is located - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidreload.rst b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidreload.rst index 88670b68..c23ea252 100644 --- a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidreload.rst +++ b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidreload.rst @@ -9,8 +9,8 @@ Reload a VPCS instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstart.rst b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstart.rst index 09a05374..1d15c5a4 100644 --- a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstart.rst +++ b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstart.rst @@ -9,8 +9,8 @@ Start a VPCS instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstop.rst b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstop.rst index 13f37701..baa8ced4 100644 --- a/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstop.rst +++ b/docs/api/v2/hypervisor/vpcs/projectsprojectidvpcsvmsvmidstop.rst @@ -9,8 +9,8 @@ Stop a VPCS instance Parameters ********** -- **vm_id**: UUID for the instance - **project_id**: UUID for the project +- **vm_id**: UUID for the instance Response status codes ********************** diff --git a/gns3server/controller/udp_link.py b/gns3server/controller/udp_link.py index ce04ae88..37317b8d 100644 --- a/gns3server/controller/udp_link.py +++ b/gns3server/controller/udp_link.py @@ -76,4 +76,3 @@ class UDPLink(Link): yield from vm1.delete("/adapters/{adapter_number}/ports/{port_number}/nio".format(adapter_number=adapter_number1, port_number=port_number1)) yield from vm2.delete("/adapters/{adapter_number}/ports/{port_number}/nio".format(adapter_number=adapter_number2, port_number=port_number2)) - diff --git a/tests/controller/test_udp_link.py b/tests/controller/test_udp_link.py index 97819a81..7335bc51 100644 --- a/tests/controller/test_udp_link.py +++ b/tests/controller/test_udp_link.py @@ -82,7 +82,6 @@ def test_create(async_run, project): }) - def test_delete(async_run, project): hypervisor1 = MagicMock() hypervisor2 = MagicMock()