diff --git a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index fe5e5c5a..3a0e98b3 100644 --- a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7ea17aa-8e3b-4043-a3a2-b4b9a93aee7a/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c93700dc-ab17-4bed-ac9a-1ea9de518be0/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7ea17aa-8e3b-4043-a3a2-b4b9a93aee7a/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c93700dc-ab17-4bed-ac9a-1ea9de518be0/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt index 34c47cfd..cd6e367b 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6c093167-ead8-4b38-adb9-bfcc5894c30d' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1d2e7d71-14e9-4a83-8d64-aaef759f88fe' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6c093167-ead8-4b38-adb9-bfcc5894c30d HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1d2e7d71-14e9-4a83-8d64-aaef759f88fe HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index fd245478..ae2ec6ca 100644 --- a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d52caffb-7a25-4f50-afdc-2e8d6d1abbb7/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6011b8c1-fc88-40a6-8cb3-aeb833199ade/adapters/1/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d52caffb-7a25-4f50-afdc-2e8d6d1abbb7/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6011b8c1-fc88-40a6-8cb3-aeb833199ade/adapters/1/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt index fef98d8f..2512e555 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/980b76a3-2ec2-4913-bf32-38974f9fde7f' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5abea892-2ca0-4b97-87c9-f8e3190cc81c' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/980b76a3-2ec2-4913-bf32-38974f9fde7f HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5abea892-2ca0-4b97-87c9-f8e3190cc81c HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index e6711722..a17e5ff0 100644 --- a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51d45c62-f134-46af-8a7e-86a40b97069a/adapters/1/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e1861424-3a38-40fb-8ca4-43c0ec13e349/adapters/1/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51d45c62-f134-46af-8a7e-86a40b97069a/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e1861424-3a38-40fb-8ca4-43c0ec13e349/adapters/1/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 148e8aba..68a88c39 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c07dd73c-7859-4e69-8b78-f1de3db37cb9/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2b4a0825-5652-42a0-b413-347a2af149dc/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c07dd73c-7859-4e69-8b78-f1de3db37cb9/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2b4a0825-5652-42a0-b413-347a2af149dc/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt index 837d68e0..73e2bf16 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/009e27c5-b8c5-4040-9a22-2e08c4e80305' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aef325e9-e38f-42b3-b4cc-ee4117390710' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/009e27c5-b8c5-4040-9a22-2e08c4e80305 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aef325e9-e38f-42b3-b4cc-ee4117390710 HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 0aa3c13b..97c96146 100644 --- a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8c20d85-cbb6-43fe-a4b8-dbe3f46e9eac/adapters/0/ports/0/nio' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/466e992d-dde3-4d49-97c7-78699fc977b1/adapters/0/ports/0/nio' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8c20d85-cbb6-43fe-a4b8-dbe3f46e9eac/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/466e992d-dde3-4d49-97c7-78699fc977b1/adapters/0/ports/0/nio HTTP/1.1 diff --git a/docs/api/examples/compute_get_projects.txt b/docs/api/examples/compute_get_projects.txt index e2e41882..efcab351 100644 --- a/docs/api/examples/compute_get_projects.txt +++ b/docs/api/examples/compute_get_projects.txt @@ -14,10 +14,10 @@ X-ROUTE: /v2/compute/projects [ { "name": "test", - "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" + "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" }, { "name": "test", - "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" + "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" } ] diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt index 62f4b8b3..2a445ff2 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d33076a2-d8ef-40f5-95eb-f249273fb056' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ab65917c-0e42-4aa2-ad31-d5ff851fdf74' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d33076a2-d8ef-40f5-95eb-f249273fb056 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ab65917c-0e42-4aa2-ad31-d5ff851fdf74 HTTP/1.1 @@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id} "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/d33076a2-d8ef-40f5-95eb-f249273fb056", - "node_id": "d33076a2-d8ef-40f5-95eb-f249273fb056", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/ab65917c-0e42-4aa2-ad31-d5ff851fdf74", + "node_id": "ab65917c-0e42-4aa2-ad31-d5ff851fdf74", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt index 4ab036aa..49e63b3d 100644 --- a/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt +++ b/docs/api/examples/compute_get_projectsprojectidiounodesnodeidconfigs.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/badf1be7-0c2c-48ff-9bd2-a8ed1b69cea5/configs' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/35aae624-128f-4fc1-a1cb-9780b72bdd37/configs' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/badf1be7-0c2c-48ff-9bd2-a8ed1b69cea5/configs HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/35aae624-128f-4fc1-a1cb-9780b72bdd37/configs HTTP/1.1 diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt index 6055be85..dbf66854 100644 --- a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5103ccd0-6ac8-4365-b402-b81e0b6f175e' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5103ccd0-6ac8-4365-b402-b81e0b6f175e HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99 HTTP/1.1 @@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:17:5e:00", + "mac_address": "00:dd:80:1a:99:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/5103ccd0-6ac8-4365-b402-b81e0b6f175e", - "node_id": "5103ccd0-6ac8-4365-b402-b81e0b6f175e", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99", + "node_id": "8ddf7699-6cbd-4133-8226-9c5e0bfd1a99", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 256, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt index 51133bae..4681b896 100644 --- a/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvirtualboxnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/92e2089e-6b65-4585-ac63-bf5bc9cb9464' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fe9e03ad-db69-4b6a-8435-cf2374aa4158' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/92e2089e-6b65-4585-ac63-bf5bc9cb9464 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fe9e03ad-db69-4b6a-8435-cf2374aa4158 HTTP/1.1 @@ -20,7 +20,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} "headless": false, "name": "VMTEST", "node_directory": null, - "node_id": "92e2089e-6b65-4585-ac63-bf5bc9cb9464", + "node_id": "fe9e03ad-db69-4b6a-8435-cf2374aa4158", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt index f3bf35d7..6b5be3ee 100644 --- a/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_get_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fde0336e-d88b-4b85-8aef-2b315b5c5a9a' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9758893-3d6d-426c-8040-794e92dac8f5' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fde0336e-d88b-4b85-8aef-2b315b5c5a9a HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9758893-3d6d-426c-8040-794e92dac8f5 HTTP/1.1 @@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} "console": 5009, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/fde0336e-d88b-4b85-8aef-2b315b5c5a9a", - "node_id": "fde0336e-d88b-4b85-8aef-2b315b5c5a9a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f9758893-3d6d-426c-8040-794e92dac8f5", + "node_id": "f9758893-3d6d-426c-8040-794e92dac8f5", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index a3e7b565..79c0c002 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f4ecf7e0-3e74-4366-9d19-fec5b2ae9063/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6a89d29c-43fe-4863-830e-3ee7c4150d4d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f4ecf7e0-3e74-4366-9d19-fec5b2ae9063/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6a89d29c-43fe-4863-830e-3ee7c4150d4d/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt index 9293ffc0..0937860f 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/907b963b-2e07-4976-aff2-a0026e337fb0/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aef16712-b132-48f8-9607-9bdf866ed9b1/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/907b963b-2e07-4976-aff2-a0026e337fb0/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aef16712-b132-48f8-9607-9bdf866ed9b1/adapters/0/ports/0/start_capture HTTP/1.1 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture { - "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap" + "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap" } diff --git a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index 91a823f0..02da0df8 100644 --- a/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2ea003b5-6409-4d47-abb3-e3805343997e/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a38c9e0c-7adb-4486-8678-f92c861b56bb/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2ea003b5-6409-4d47-abb3-e3805343997e/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a38c9e0c-7adb-4486-8678-f92c861b56bb/adapters/0/ports/0/stop_capture HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt index 64591d9d..e804bfd4 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodes.txt @@ -1,9 +1,9 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "17707689-865c-4663-8e6e-50be75d149e1", "path": "iou.bin", "startup_config_content": "hostname test"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d", "path": "iou.bin", "startup_config_content": "hostname test"}' POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1 { "name": "PC TEST 1", - "node_id": "17707689-865c-4663-8e6e-50be75d149e1", + "node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d", "path": "iou.bin", "startup_config_content": "hostname test" } @@ -25,8 +25,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/17707689-865c-4663-8e6e-50be75d149e1", - "node_id": "17707689-865c-4663-8e6e-50be75d149e1", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/2998b54b-6c61-4854-b3d7-144d8cd79d1d", + "node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index d39ca4a0..fff0b77f 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c17e979-0e3d-4436-94ba-cb9fe735abb0/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cea7463c-f135-4799-b005-039c113aa82c/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c17e979-0e3d-4436-94ba-cb9fe735abb0/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cea7463c-f135-4799-b005-039c113aa82c/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "bridge0", "type": "nio_ethernet" diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt index 948ded3a..aa459fab 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/741b1c60-5cf1-48c9-8fdf-e4b289e26e15/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d4ffc132-bd43-42f6-8880-4b50faaaed86/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/741b1c60-5cf1-48c9-8fdf-e4b289e26e15/adapters/0/ports/0/start_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d4ffc132-bd43-42f6-8880-4b50faaaed86/adapters/0/ports/0/start_capture HTTP/1.1 { "capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB" @@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture { - "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap" + "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap" } diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt index 59b752f9..7587cbeb 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9fa94d1d-4b48-4184-ab66-86462733d154/adapters/0/ports/0/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38ad2d60-359b-4823-8942-498926a5f72f/adapters/0/ports/0/stop_capture' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9fa94d1d-4b48-4184-ab66-86462733d154/adapters/0/ports/0/stop_capture HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38ad2d60-359b-4823-8942-498926a5f72f/adapters/0/ports/0/stop_capture HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt index e12c0aa1..3f6e9d78 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3756ec8d-cd19-42cc-b9d9-e5a99c5c81e1/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2528e1c3-b3fe-4fda-a01a-2c0f5a5271bc/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3756ec8d-cd19-42cc-b9d9-e5a99c5c81e1/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2528e1c3-b3fe-4fda-a01a-2c0f5a5271bc/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt index 2c8c2d21..3f0baa99 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4f8a28d6-9e9d-4af3-8560-5c1c2668a786/start' -d '{"iourc_content": "test"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0/start' -d '{"iourc_content": "test"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4f8a28d6-9e9d-4af3-8560-5c1c2668a786/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0/start HTTP/1.1 { "iourc_content": "test" } @@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start "console": 5000, "console_type": "telnet", "ethernet_adapters": 2, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp60s8wcgt/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpk9paj89z/iourc", "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/4f8a28d6-9e9d-4af3-8560-5c1c2668a786", - "node_id": "4f8a28d6-9e9d-4af3-8560-5c1c2668a786", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0", + "node_id": "74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0", "nvram": 128, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt index d58a2bae..04a01534 100644 --- a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f16ec511-2c3b-4035-8bb2-70899dae73f8/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c875459-29f2-44a5-aa52-a0873c5161b4/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f16ec511-2c3b-4035-8bb2-70899dae73f8/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c875459-29f2-44a5-aa52-a0873c5161b4/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt index c08945a1..bba3e3c1 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt @@ -1,10 +1,10 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", "ram": 1024}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 1024}' POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1 { "hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 1024 } @@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:a9:7e:00", + "mac_address": "00:dd:80:b7:46:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c2fce02c-7fe8-4ecf-a6db-19ee1ed9a97e", - "node_id": "c2fce02c-7fe8-4ecf-a6db-19ee1ed9a97e", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c042a9f0-9d7d-4d33-a5e5-88f8536fb746", + "node_id": "c042a9f0-9d7d-4d33-a5e5-88f8536fb746", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 1024, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 58a2ba39..8a801ed7 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2340b680-340d-4377-af6f-bb50419a0923/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a7a72654-fad8-4516-ad64-d984f764d5f9/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2340b680-340d-4377-af6f-bb50419a0923/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a7a72654-fad8-4516-ad64-d984f764d5f9/adapters/1/ports/0/nio HTTP/1.1 { "ethernet_device": "eth0", "type": "nio_ethernet" diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt index 463d381f..3bbcb88b 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/19f72a5a-e0ee-411e-ae40-9dfedce59dd4/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0841398-f0ca-4007-9443-cfb5bbedaf5d/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/19f72a5a-e0ee-411e-ae40-9dfedce59dd4/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0841398-f0ca-4007-9443-cfb5bbedaf5d/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt index 1e4aa0a3..1456b1fa 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f61fd565-775a-48ba-832c-a477792c248a/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d82f80a8-6d25-474b-8ff3-b289943c3d1e/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f61fd565-775a-48ba-832c-a477792c248a/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d82f80a8-6d25-474b-8ff3-b289943c3d1e/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt index 09702d7e..2c2564ea 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d64e2751-ad98-4a51-8afa-7beeb77b0c3e/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61474a2f-707c-477e-876c-79ee23bb131c/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d64e2751-ad98-4a51-8afa-7beeb77b0c3e/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61474a2f-707c-477e-876c-79ee23bb131c/start HTTP/1.1 {} @@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:0c:3e:00", + "mac_address": "00:dd:80:13:1c:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d64e2751-ad98-4a51-8afa-7beeb77b0c3e", - "node_id": "d64e2751-ad98-4a51-8afa-7beeb77b0c3e", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/61474a2f-707c-477e-876c-79ee23bb131c", + "node_id": "61474a2f-707c-477e-876c-79ee23bb131c", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 256, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt index 7a9a997e..c637e5f6 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab345fe1-8e70-4a99-94af-71208f1dad9a/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ff86be35-ec89-4108-98f1-5f0f5aed8c6c/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab345fe1-8e70-4a99-94af-71208f1dad9a/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ff86be35-ec89-4108-98f1-5f0f5aed8c6c/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt index 1b49bb0e..e40dc79f 100644 --- a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dddf0548-5e17-456f-a611-962e4da38a94/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0f1cbd71-97b9-48c7-bcb3-6ad3af04be61/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dddf0548-5e17-456f-a611-962e4da38a94/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0f1cbd71-97b9-48c7-bcb3-6ad3af04be61/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt index 85035f1b..e89659eb 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt @@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes "headless": false, "name": "VM1", "node_directory": null, - "node_id": "ab86d80b-66fa-4098-9065-f333af35e0e6", + "node_id": "13723223-c89d-4ea7-a6d2-e42ecf7519c1", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index f1c63fd9..ba4b832c 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3115da3e-d7d9-4a0b-a6e4-01ed820edb8f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/54cfde03-d6c9-4dd2-b1dc-90999dd78882/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3115da3e-d7d9-4a0b-a6e4-01ed820edb8f/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/54cfde03-d6c9-4dd2-b1dc-90999dd78882/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt index afc41c0a..d5fbbd03 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/40834c7d-f767-4e44-87f9-403a9e99ca85/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2d1c227c-397e-4ffc-bd5a-a4b49ba2e108/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/40834c7d-f767-4e44-87f9-403a9e99ca85/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2d1c227c-397e-4ffc-bd5a-a4b49ba2e108/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt index 6886bab9..db944a56 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6219c919-b130-48e4-9ca0-f66d36761677/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/999baf55-62e4-4f90-8b90-f5f4107b2cbc/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6219c919-b130-48e4-9ca0-f66d36761677/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/999baf55-62e4-4f90-8b90-f5f4107b2cbc/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt index 8471327f..4687195f 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e407964a-5147-42e5-927c-9e0aa84b2318/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bdfbb95e-0b03-4929-b2e6-305802481326/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e407964a-5147-42e5-927c-9e0aa84b2318/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bdfbb95e-0b03-4929-b2e6-305802481326/start HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt index ff03b1f2..acc1ce4b 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad292abe-b49f-4343-8493-b6412a98a0d2/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b92bf1d6-c646-4338-b705-163aab129e31/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad292abe-b49f-4343-8493-b6412a98a0d2/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b92bf1d6-c646-4338-b705-163aab129e31/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt index aa019d79..9cb587b6 100644 --- a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt +++ b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b63eb0c7-35fd-4892-8e1a-029da8b9773a/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4f8ca1e-76b6-4ed7-ac9c-4f0744f1ba15/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b63eb0c7-35fd-4892-8e1a-029da8b9773a/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4f8ca1e-76b6-4ed7-ac9c-4f0744f1ba15/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt index 005466c8..11762284 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt @@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes "console": 5009, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/725b73c7-5928-4ecf-a274-8a0c663351d7", - "node_id": "725b73c7-5928-4ecf-a274-8a0c663351d7", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/88a76f7e-cfcf-4e86-a927-135a9a5dd336", + "node_id": "88a76f7e-cfcf-4e86-a927-135a9a5dd336", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index b0611ac4..cc8c71ee 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/470c91f6-8c8f-42c9-b892-587df84764c8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ed56301-f966-4afa-b220-e5862864a095/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/470c91f6-8c8f-42c9-b892-587df84764c8/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ed56301-f966-4afa-b220-e5862864a095/adapters/0/ports/0/nio HTTP/1.1 { "lport": 4242, "rhost": "127.0.0.1", diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt index 63f8bcae..b0017aae 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67fee68c-20c8-44bf-86dc-d0c2fc555687/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a42ce13a-c066-4b4f-be8b-edf9d016dec3/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67fee68c-20c8-44bf-86dc-d0c2fc555687/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a42ce13a-c066-4b4f-be8b-edf9d016dec3/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt index d2460604..c779bf88 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c81aadc7-87b8-4e81-a523-723c33bd31c0/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c81aadc7-87b8-4e81-a523-723c33bd31c0/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283/start HTTP/1.1 {} @@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start "console": 5009, "console_type": "telnet", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c81aadc7-87b8-4e81-a523-723c33bd31c0", - "node_id": "c81aadc7-87b8-4e81-a523-723c33bd31c0", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283", + "node_id": "56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": null, "startup_script_path": null, diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt index 99252c03..ca124400 100644 --- a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt +++ b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1d06aa81-e032-4d69-9896-02842ea8e1b6/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ad534b7d-b0c3-4eeb-8924-7f3ea9a47c6a/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1d06aa81-e032-4d69-9896-02842ea8e1b6/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ad534b7d-b0c3-4eeb-8924-7f3ea9a47c6a/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_put_projectsprojectid.txt b/docs/api/examples/compute_put_projectsprojectid.txt index 7f681a10..4a12e349 100644 --- a/docs/api/examples/compute_put_projectsprojectid.txt +++ b/docs/api/examples/compute_put_projectsprojectid.txt @@ -1,9 +1,9 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_update_path_project_non_l0"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_update_path_project_non_l0"}' PUT /v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b HTTP/1.1 { "name": "second_name", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_update_path_project_non_l0" + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_update_path_project_non_l0" } diff --git a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt index be963b23..d083422f 100644 --- a/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectiddockernodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/efe01fdb-07fb-4bb4-b9d2-2caa19714084' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/efe01fdb-07fb-4bb4-b9d2-2caa19714084 HTTP/1.1 { "console": 5002, "environment": "GNS3=1\nGNS4=0", @@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id} "environment": "GNS3=1\nGNS4=0", "image": "nginx:latest", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d", - "node_id": "b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/efe01fdb-07fb-4bb4-b9d2-2caa19714084", + "node_id": "efe01fdb-07fb-4bb4-b9d2-2caa19714084", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "start_command": "yes", "status": "stopped" diff --git a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt index 7f8ddbc8..59f4993d 100644 --- a/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidiounodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/81ada2f6-256b-496c-9e6b-459f934b2346' -d '{"console": 5001, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/95f2a374-a421-4a10-96a5-97ec3960358b' -d '{"console": 5001, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/81ada2f6-256b-496c-9e6b-459f934b2346 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/95f2a374-a421-4a10-96a5-97ec3960358b HTTP/1.1 { "console": 5001, "ethernet_adapters": 4, @@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id} "console": 5001, "console_type": "telnet", "ethernet_adapters": 4, - "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw8qg56du/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyy4f48ub/iourc", "l1_keepalives": true, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/81ada2f6-256b-496c-9e6b-459f934b2346", - "node_id": "81ada2f6-256b-496c-9e6b-459f934b2346", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/95f2a374-a421-4a10-96a5-97ec3960358b", + "node_id": "95f2a374-a421-4a10-96a5-97ec3960358b", "nvram": 2048, "path": "iou.bin", "private_config": null, diff --git a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt index f920957e..2710f56f 100644 --- a/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidqemunodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/031195a7-0811-40ca-8cf2-77625c495e2a' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d203c06f-67aa-4236-aff5-a2395f723648' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/031195a7-0811-40ca-8cf2-77625c495e2a HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d203c06f-67aa-4236-aff5-a2395f723648 HTTP/1.1 { "console": 5001, "hdb_disk_image": "linux\u8f7d.img", @@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id} "kernel_image": "", "kernel_image_md5sum": null, "legacy_networking": false, - "mac_address": "00:dd:80:5e:2a:00", + "mac_address": "00:dd:80:36:48:00", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/031195a7-0811-40ca-8cf2-77625c495e2a", - "node_id": "031195a7-0811-40ca-8cf2-77625c495e2a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d203c06f-67aa-4236-aff5-a2395f723648", + "node_id": "d203c06f-67aa-4236-aff5-a2395f723648", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 1024, "status": "stopped", "usage": "" diff --git a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt index 67d8dc59..65d1f2f9 100644 --- a/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvirtualboxnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e8fcf41-aeee-4ff5-8715-efa30fafdac7' -d '{"console": 5010, "name": "test"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b93f062e-287f-42ec-a1c3-89eb59b437af' -d '{"console": 5010, "name": "test"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e8fcf41-aeee-4ff5-8715-efa30fafdac7 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b93f062e-287f-42ec-a1c3-89eb59b437af HTTP/1.1 { "console": 5010, "name": "test" @@ -23,7 +23,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id} "headless": false, "name": "test", "node_directory": null, - "node_id": "6e8fcf41-aeee-4ff5-8715-efa30fafdac7", + "node_id": "b93f062e-287f-42ec-a1c3-89eb59b437af", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "ram": 0, "status": "stopped", diff --git a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt index 4069e9cd..20965f45 100644 --- a/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt +++ b/docs/api/examples/compute_put_projectsprojectidvpcsnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/15933cd1-f207-4d81-8864-e3e66f05c74a' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}' +curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/52779772-af61-417f-9005-eb2bb8d18cdf' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/15933cd1-f207-4d81-8864-e3e66f05c74a HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/52779772-af61-417f-9005-eb2bb8d18cdf HTTP/1.1 { "console": 5011, "name": "test", @@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id} "console": 5011, "console_type": "telnet", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/15933cd1-f207-4d81-8864-e3e66f05c74a", - "node_id": "15933cd1-f207-4d81-8864-e3e66f05c74a", + "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/52779772-af61-417f-9005-eb2bb8d18cdf", + "node_id": "52779772-af61-417f-9005-eb2bb8d18cdf", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "startup_script": "ip 192.168.1.1", "startup_script_path": "startup.vpc", diff --git a/docs/api/examples/controller_delete_projectsprojectid.txt b/docs/api/examples/controller_delete_projectsprojectid.txt index b6e69f7b..c1d0437f 100644 --- a/docs/api/examples/controller_delete_projectsprojectid.txt +++ b/docs/api/examples/controller_delete_projectsprojectid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/2140d8a8-35f9-44c1-b314-17a0f2197bcf' +curl -i -X DELETE 'http://localhost:3080/v2/projects/4428c3a0-ae16-430f-b1e5-e2caeea27c05' -DELETE /v2/projects/2140d8a8-35f9-44c1-b314-17a0f2197bcf HTTP/1.1 +DELETE /v2/projects/4428c3a0-ae16-430f-b1e5-e2caeea27c05 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt index d1441fda..8d4b115d 100644 --- a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/4cf03af9-24d0-4f1a-b4f3-d08967a55be9/links/3e263d1a-ade5-44dc-9a24-601228f89946' +curl -i -X DELETE 'http://localhost:3080/v2/projects/1b3eb3a0-63a2-4bbd-82c1-3b3297753ee2/links/a2935e13-8792-4ca7-a718-8d9967ce6380' -DELETE /v2/projects/4cf03af9-24d0-4f1a-b4f3-d08967a55be9/links/3e263d1a-ade5-44dc-9a24-601228f89946 HTTP/1.1 +DELETE /v2/projects/1b3eb3a0-63a2-4bbd-82c1-3b3297753ee2/links/a2935e13-8792-4ca7-a718-8d9967ce6380 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt index f72b9c4b..ec30603a 100644 --- a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/d84c46b4-7238-4a4d-800f-dc718412c058/nodes/ba61fb11-4f64-4c7f-99ed-896cdeb19d54' +curl -i -X DELETE 'http://localhost:3080/v2/projects/47574627-ebb4-417d-8c01-2b115d18a6b8/nodes/b8aaebdb-70ca-44d3-b162-ecf1ca83642e' -DELETE /v2/projects/d84c46b4-7238-4a4d-800f-dc718412c058/nodes/ba61fb11-4f64-4c7f-99ed-896cdeb19d54 HTTP/1.1 +DELETE /v2/projects/47574627-ebb4-417d-8c01-2b115d18a6b8/nodes/b8aaebdb-70ca-44d3-b162-ecf1ca83642e HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidshapesshapeid.txt b/docs/api/examples/controller_delete_projectsprojectidshapesshapeid.txt index e8ef6bc2..084b6d6a 100644 --- a/docs/api/examples/controller_delete_projectsprojectidshapesshapeid.txt +++ b/docs/api/examples/controller_delete_projectsprojectidshapesshapeid.txt @@ -1,6 +1,6 @@ -curl -i -X DELETE 'http://localhost:3080/v2/projects/9410af67-e849-456c-b9cb-ed18de51ccda/shapes/ea3260b9-6b57-4888-9683-433cdc2a0642' +curl -i -X DELETE 'http://localhost:3080/v2/projects/6b74fe6e-f65a-46a9-84a9-1db0cd42a9d2/shapes/6e313846-5d8f-4dcc-a231-e2dd9406bb71' -DELETE /v2/projects/9410af67-e849-456c-b9cb-ed18de51ccda/shapes/ea3260b9-6b57-4888-9683-433cdc2a0642 HTTP/1.1 +DELETE /v2/projects/6b74fe6e-f65a-46a9-84a9-1db0cd42a9d2/shapes/6e313846-5d8f-4dcc-a231-e2dd9406bb71 HTTP/1.1 diff --git a/docs/api/examples/controller_get_projects.txt b/docs/api/examples/controller_get_projects.txt index b3c39bfd..de0f6da3 100644 --- a/docs/api/examples/controller_get_projects.txt +++ b/docs/api/examples/controller_get_projects.txt @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects { "filename": "test.gns3", "name": "test", - "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_list_projects1", + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_list_projects1", "project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f", "status": "opened" } diff --git a/docs/api/examples/controller_get_projectsprojectid.txt b/docs/api/examples/controller_get_projectsprojectid.txt index f9d8824d..a9d0c0f2 100644 --- a/docs/api/examples/controller_get_projectsprojectid.txt +++ b/docs/api/examples/controller_get_projectsprojectid.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/4e37c994-877e-406a-b824-b666c06217bb' +curl -i -X GET 'http://localhost:3080/v2/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa' -GET /v2/projects/4e37c994-877e-406a-b824-b666c06217bb HTTP/1.1 +GET /v2/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa HTTP/1.1 @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id} { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8y9c1jdz/projects/4e37c994-877e-406a-b824-b666c06217bb", - "project_id": "4e37c994-877e-406a-b824-b666c06217bb", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpahtyzp8o/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa", + "project_id": "c25dc0dd-39a8-4ce8-9944-3801a4f6afaa", "status": "opened" } diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt index 41c4d1c9..40210787 100644 --- a/docs/api/examples/controller_get_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_get_projectsprojectidlinks.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/f2bc92e3-caa8-4578-900a-89b54bbc59e7/links' +curl -i -X GET 'http://localhost:3080/v2/projects/3876626a-cb4f-4bed-bfd3-dc905ab97be6/links' -GET /v2/projects/f2bc92e3-caa8-4578-900a-89b54bbc59e7/links HTTP/1.1 +GET /v2/projects/3876626a-cb4f-4bed-bfd3-dc905ab97be6/links HTTP/1.1 @@ -16,19 +16,19 @@ X-ROUTE: /v2/projects/{project_id}/links "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "202f1200-8d0b-4c62-aafe-223372215ff7", + "link_id": "f4df9060-2a0b-4bb5-9181-31f0a202c9ce", "nodes": [ { "adapter_number": 0, - "node_id": "449835f2-8777-4583-9ad9-6d4968ec9f57", + "node_id": "991bcb7a-7772-4b7a-95ef-ec6c2ccbcea7", "port_number": 3 }, { "adapter_number": 2, - "node_id": "31790131-6d28-4ae9-8258-8d287f7666cf", + "node_id": "58feb337-36f6-45bb-b0f3-d776ea1f7b8c", "port_number": 4 } ], - "project_id": "f2bc92e3-caa8-4578-900a-89b54bbc59e7" + "project_id": "3876626a-cb4f-4bed-bfd3-dc905ab97be6" } ] diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt index cf2ac002..a16be33d 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodes.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodes.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/56ba1d86-410c-4d54-99f0-cd8bd3120a1d/nodes' +curl -i -X GET 'http://localhost:3080/v2/projects/0a173834-2ce1-4bbe-a65b-72dc5239c6b1/nodes' -GET /v2/projects/56ba1d86-410c-4d54-99f0-cd8bd3120a1d/nodes HTTP/1.1 +GET /v2/projects/0a173834-2ce1-4bbe-a65b-72dc5239c6b1/nodes HTTP/1.1 @@ -27,9 +27,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "1fdf02e8-f60d-4a14-bfea-f53ffebbf567", + "node_id": "4d9d61be-ba6b-442b-803c-565a35838045", "node_type": "vpcs", - "project_id": "56ba1d86-410c-4d54-99f0-cd8bd3120a1d", + "project_id": "0a173834-2ce1-4bbe-a65b-72dc5239c6b1", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt index fd2e7c59..a0677e0c 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/12075178-c5cc-4309-8db2-fee208082672/nodes/ba76d174-931b-42d0-b057-54f5afdfb178/dynamips/auto_idlepc' +curl -i -X GET 'http://localhost:3080/v2/projects/5f47bc58-7d5a-4065-b628-24277d345e9d/nodes/d75ad07f-fc2f-4a5d-be7c-f9e720efe7ce/dynamips/auto_idlepc' -GET /v2/projects/12075178-c5cc-4309-8db2-fee208082672/nodes/ba76d174-931b-42d0-b057-54f5afdfb178/dynamips/auto_idlepc HTTP/1.1 +GET /v2/projects/5f47bc58-7d5a-4065-b628-24277d345e9d/nodes/d75ad07f-fc2f-4a5d-be7c-f9e720efe7ce/dynamips/auto_idlepc HTTP/1.1 diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt index ca11d6b0..0a25e23d 100644 --- a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt +++ b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsidlepcproposals.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/6d26d78a-1b23-4234-98ab-013627d6aed2/nodes/99d7facd-d7fd-4d84-8482-6df6693453b8/dynamips/idlepc_proposals' +curl -i -X GET 'http://localhost:3080/v2/projects/a9a3bad5-7f05-4bd8-a043-7ed780c8e6b8/nodes/ece4e9f9-0a9b-4ac8-8409-03afa17f5111/dynamips/idlepc_proposals' -GET /v2/projects/6d26d78a-1b23-4234-98ab-013627d6aed2/nodes/99d7facd-d7fd-4d84-8482-6df6693453b8/dynamips/idlepc_proposals HTTP/1.1 +GET /v2/projects/a9a3bad5-7f05-4bd8-a043-7ed780c8e6b8/nodes/ece4e9f9-0a9b-4ac8-8409-03afa17f5111/dynamips/idlepc_proposals HTTP/1.1 diff --git a/docs/api/examples/controller_get_projectsprojectidshapes.txt b/docs/api/examples/controller_get_projectsprojectidshapes.txt index beec083b..61b074d4 100644 --- a/docs/api/examples/controller_get_projectsprojectidshapes.txt +++ b/docs/api/examples/controller_get_projectsprojectidshapes.txt @@ -1,11 +1,11 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/c12bf232-1798-4e0e-8fbb-28d6a88d8adb/shapes' +curl -i -X GET 'http://localhost:3080/v2/projects/0bb34c74-e696-46b5-9c94-d00e3f55da18/shapes' -GET /v2/projects/c12bf232-1798-4e0e-8fbb-28d6a88d8adb/shapes HTTP/1.1 +GET /v2/projects/0bb34c74-e696-46b5-9c94-d00e3f55da18/shapes HTTP/1.1 HTTP/1.1 200 -CONTENT-LENGTH: 186 +CONTENT-LENGTH: 361 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 @@ -13,8 +13,10 @@ X-ROUTE: /v2/projects/{project_id}/shapes [ { - "project_id": "c12bf232-1798-4e0e-8fbb-28d6a88d8adb", - "shape_id": "4b993c42-488e-4c28-8ec8-61bd47042726", + "project_id": "0bb34c74-e696-46b5-9c94-d00e3f55da18", + "rotation": 0, + "shape_id": "a0690cd5-6460-464e-b599-7980f5c08e67", + "svg": "", "x": 10, "y": 20, "z": 0 diff --git a/docs/api/examples/controller_post_projects.txt b/docs/api/examples/controller_post_projects.txt index 6a565749..80d61763 100644 --- a/docs/api/examples/controller_post_projects.txt +++ b/docs/api/examples/controller_post_projects.txt @@ -17,7 +17,7 @@ X-ROUTE: /v2/projects { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2vuofhbl/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6hypql_9/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsload.txt b/docs/api/examples/controller_post_projectsload.txt index 2616e378..3ac4336d 100644 --- a/docs/api/examples/controller_post_projectsload.txt +++ b/docs/api/examples/controller_post_projectsload.txt @@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/load { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpwmp23_op/projects/5366c143-b4cf-40dd-b7e5-5e12840375d2", - "project_id": "5366c143-b4cf-40dd-b7e5-5e12840375d2", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps90fqa5n/projects/ace2096c-31a6-445a-b9fb-37585eb25657", + "project_id": "ace2096c-31a6-445a-b9fb-37585eb25657", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index 14687718..a937f14c 100644 --- a/docs/api/examples/controller_post_projectsprojectidclose.txt +++ b/docs/api/examples/controller_post_projectsprojectidclose.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed/close' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/8638b449-14f1-4040-b2ba-cb279584fdbb/close' -d '{}' -POST /v2/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed/close HTTP/1.1 +POST /v2/projects/8638b449-14f1-4040-b2ba-cb279584fdbb/close HTTP/1.1 {} @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/close { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw6lfp1iz/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed", - "project_id": "5ce96a34-0311-4d5a-b2d9-848927a323ed", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy5ymyj_8/projects/8638b449-14f1-4040-b2ba-cb279584fdbb", + "project_id": "8638b449-14f1-4040-b2ba-cb279584fdbb", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index daa8d794..059e0f23 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinks.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinks.txt @@ -1,16 +1,16 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/3f579df1-5465-4fd7-95ee-93b1536084a4/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6", "port_number": 3}, {"adapter_number": 2, "node_id": "a4952662-0983-4f11-b606-21403ab0a2c8", "port_number": 4}]}' +curl -i -X POST 'http://localhost:3080/v2/projects/bf318436-7d6f-4378-8f78-a0877dfcaf75/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af", "port_number": 3}, {"adapter_number": 2, "node_id": "36cf770e-191f-452d-8cec-786afefc42d5", "port_number": 4}]}' -POST /v2/projects/3f579df1-5465-4fd7-95ee-93b1536084a4/links HTTP/1.1 +POST /v2/projects/bf318436-7d6f-4378-8f78-a0877dfcaf75/links HTTP/1.1 { "nodes": [ { "adapter_number": 0, - "node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6", + "node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af", "port_number": 3 }, { "adapter_number": 2, - "node_id": "a4952662-0983-4f11-b606-21403ab0a2c8", + "node_id": "36cf770e-191f-452d-8cec-786afefc42d5", "port_number": 4 } ] @@ -28,18 +28,18 @@ X-ROUTE: /v2/projects/{project_id}/links "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "b4306700-9337-4f7a-8561-0794f0a618a0", + "link_id": "a11364fa-2662-4f8f-9bc6-8ed16e1c87f2", "nodes": [ { "adapter_number": 0, - "node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6", + "node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af", "port_number": 3 }, { "adapter_number": 2, - "node_id": "a4952662-0983-4f11-b606-21403ab0a2c8", + "node_id": "36cf770e-191f-452d-8cec-786afefc42d5", "port_number": 4 } ], - "project_id": "3f579df1-5465-4fd7-95ee-93b1536084a4" + "project_id": "bf318436-7d6f-4378-8f78-a0877dfcaf75" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt index fcaf09e9..de043b05 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/2b3b03cb-fe70-4f18-892f-e4c7a7b5deec/links/c88caa3f-661f-4537-9341-0143951d6b35/start_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/f3c1d05b-04c5-4eee-b699-7901377aea61/links/a82b2414-7d9d-4e68-ab5a-2b50d42efc7e/start_capture' -d '{}' -POST /v2/projects/2b3b03cb-fe70-4f18-892f-e4c7a7b5deec/links/c88caa3f-661f-4537-9341-0143951d6b35/start_capture HTTP/1.1 +POST /v2/projects/f3c1d05b-04c5-4eee-b699-7901377aea61/links/a82b2414-7d9d-4e68-ab5a-2b50d42efc7e/start_capture HTTP/1.1 {} @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/start_capture "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "c88caa3f-661f-4537-9341-0143951d6b35", + "link_id": "a82b2414-7d9d-4e68-ab5a-2b50d42efc7e", "nodes": [], - "project_id": "2b3b03cb-fe70-4f18-892f-e4c7a7b5deec" + "project_id": "f3c1d05b-04c5-4eee-b699-7901377aea61" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt index ee63d0cb..b6c61683 100644 --- a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt +++ b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/e484467e-a739-472d-b158-cee8bd5fa1cc/links/9513e664-ab02-4417-af7f-41c65acd6a47/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/88aecf41-997a-4a25-be5c-3f144b4b7d42/links/a2f2ff8f-61e5-4f9b-a75e-58a2f225e841/stop_capture' -d '{}' -POST /v2/projects/e484467e-a739-472d-b158-cee8bd5fa1cc/links/9513e664-ab02-4417-af7f-41c65acd6a47/stop_capture HTTP/1.1 +POST /v2/projects/88aecf41-997a-4a25-be5c-3f144b4b7d42/links/a2f2ff8f-61e5-4f9b-a75e-58a2f225e841/stop_capture HTTP/1.1 {} @@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/stop_capture "capture_file_name": null, "capture_file_path": null, "capturing": false, - "link_id": "9513e664-ab02-4417-af7f-41c65acd6a47", + "link_id": "a2f2ff8f-61e5-4f9b-a75e-58a2f225e841", "nodes": [], - "project_id": "e484467e-a739-472d-b158-cee8bd5fa1cc" + "project_id": "88aecf41-997a-4a25-be5c-3f144b4b7d42" } diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt index f9958db6..35699c5e 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodes.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodes.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/02dff695-7eb3-4af0-b71f-827d7b5ab08b/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +curl -i -X POST 'http://localhost:3080/v2/projects/06614bf2-52da-4866-8665-371ecda03f04/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -POST /v2/projects/02dff695-7eb3-4af0-b71f-827d7b5ab08b/nodes HTTP/1.1 +POST /v2/projects/06614bf2-52da-4866-8665-371ecda03f04/nodes HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -33,9 +33,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "d7500563-9014-4d29-8488-5b5a926a8ee4", + "node_id": "2896c352-b937-4a6f-a5a1-f684b3b83152", "node_type": "vpcs", - "project_id": "02dff695-7eb3-4af0-b71f-827d7b5ab08b", + "project_id": "06614bf2-52da-4866-8665-371ecda03f04", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt index 7a7dc3fe..e2b9c965 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/d93bb1ef-9dfa-4cb5-b6a9-4e668947f988/nodes/b11bb2db-3cfb-451b-8e87-5182c1ecccc5/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/79c57711-2dec-4657-af36-c30115e64b35/nodes/71b58ff9-bee8-4186-ace0-1a6746e0030f/reload' -d '{}' -POST /v2/projects/d93bb1ef-9dfa-4cb5-b6a9-4e668947f988/nodes/b11bb2db-3cfb-451b-8e87-5182c1ecccc5/reload HTTP/1.1 +POST /v2/projects/79c57711-2dec-4657-af36-c30115e64b35/nodes/71b58ff9-bee8-4186-ace0-1a6746e0030f/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt index 580f32d6..29fc71b2 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a1d92625-3437-4cae-a196-2149b4115a3d/nodes/652ecae0-067e-410e-84c8-e36a972fd5d1/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/59b054f1-4502-4cbb-9707-10534b2f5609/nodes/14a5f227-5a1c-4295-83da-c71701e1c039/start' -d '{}' -POST /v2/projects/a1d92625-3437-4cae-a196-2149b4115a3d/nodes/652ecae0-067e-410e-84c8-e36a972fd5d1/start HTTP/1.1 +POST /v2/projects/59b054f1-4502-4cbb-9707-10534b2f5609/nodes/14a5f227-5a1c-4295-83da-c71701e1c039/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt index 58c737bd..6b1b408e 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/d654fcdd-c622-43a1-8f42-8de2b369dd1f/nodes/f2545768-c9c3-42f2-883e-7ea24c502b94/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/820265d4-7691-4218-9b00-4e2dc9f4babf/nodes/b171a9b8-7806-4e72-9aaa-305bb901bb63/stop' -d '{}' -POST /v2/projects/d654fcdd-c622-43a1-8f42-8de2b369dd1f/nodes/f2545768-c9c3-42f2-883e-7ea24c502b94/stop HTTP/1.1 +POST /v2/projects/820265d4-7691-4218-9b00-4e2dc9f4babf/nodes/b171a9b8-7806-4e72-9aaa-305bb901bb63/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt index d2b401d7..6291baf1 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/d15a68c6-48a9-4ddc-aefa-ab79601b4d4f/nodes/368c0b76-ecca-4a43-aac6-a32583657b51/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/76763e4c-d12b-4a53-ab8e-55a322e83bb9/nodes/e387799f-4a82-4464-836b-d37fa4a770e9/suspend' -d '{}' -POST /v2/projects/d15a68c6-48a9-4ddc-aefa-ab79601b4d4f/nodes/368c0b76-ecca-4a43-aac6-a32583657b51/suspend HTTP/1.1 +POST /v2/projects/76763e4c-d12b-4a53-ab8e-55a322e83bb9/nodes/e387799f-4a82-4464-836b-d37fa4a770e9/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt index 9017b0e7..25815b17 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/77b1cf62-ec30-403a-918c-671638891c7a/nodes/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/62943f57-fe21-454b-ba31-f0e57e6d646e/nodes/reload' -d '{}' -POST /v2/projects/77b1cf62-ec30-403a-918c-671638891c7a/nodes/reload HTTP/1.1 +POST /v2/projects/62943f57-fe21-454b-ba31-f0e57e6d646e/nodes/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt index 91eb0a84..fb976ecd 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/26c8a89e-74c2-4e83-a6a3-40acec885d7d/nodes/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/1568b3e9-96d8-4793-b6db-f59131466192/nodes/start' -d '{}' -POST /v2/projects/26c8a89e-74c2-4e83-a6a3-40acec885d7d/nodes/start HTTP/1.1 +POST /v2/projects/1568b3e9-96d8-4793-b6db-f59131466192/nodes/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt index 759f059e..1564f26b 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/86492f69-8170-4528-bb1d-7e1634ae6e27/nodes/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/59787bb4-ff7f-4523-b3cb-ad02f194c422/nodes/stop' -d '{}' -POST /v2/projects/86492f69-8170-4528-bb1d-7e1634ae6e27/nodes/stop HTTP/1.1 +POST /v2/projects/59787bb4-ff7f-4523-b3cb-ad02f194c422/nodes/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt index 1275b780..8f0f0112 100644 --- a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt +++ b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/1af7747d-711f-42e5-a786-7df48da0ebe3/nodes/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/f6d30e3d-f80a-46e8-b01a-d0579a0b0aa4/nodes/suspend' -d '{}' -POST /v2/projects/1af7747d-711f-42e5-a786-7df48da0ebe3/nodes/suspend HTTP/1.1 +POST /v2/projects/f6d30e3d-f80a-46e8-b01a-d0579a0b0aa4/nodes/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidopen.txt b/docs/api/examples/controller_post_projectsprojectidopen.txt index bab154af..c2c9c084 100644 --- a/docs/api/examples/controller_post_projectsprojectidopen.txt +++ b/docs/api/examples/controller_post_projectsprojectidopen.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/a2261063-ef11-4d30-806e-346fd96114f3/open' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52/open' -d '{}' -POST /v2/projects/a2261063-ef11-4d30-806e-346fd96114f3/open HTTP/1.1 +POST /v2/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52/open HTTP/1.1 {} @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/open { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3s08ou3p/projects/a2261063-ef11-4d30-806e-346fd96114f3", - "project_id": "a2261063-ef11-4d30-806e-346fd96114f3", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2zch7cjb/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52", + "project_id": "75eeceb9-4b90-4671-9b83-9bf5c33c1e52", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidshapes.txt b/docs/api/examples/controller_post_projectsprojectidshapes.txt index 7a2eb26a..7a8b1b51 100644 --- a/docs/api/examples/controller_post_projectsprojectidshapes.txt +++ b/docs/api/examples/controller_post_projectsprojectidshapes.txt @@ -1,6 +1,6 @@ -curl -i -X POST 'http://localhost:3080/v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/shapes' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' -POST /v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes HTTP/1.1 +POST /v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/shapes HTTP/1.1 { "svg": "", "x": 10, @@ -10,15 +10,17 @@ POST /v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes HTTP/1.1 HTTP/1.1 201 -CONTENT-LENGTH: 154 +CONTENT-LENGTH: 321 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/shapes { - "project_id": "c4c496e0-2d4d-4377-aba3-1c90ed0e5e93", - "shape_id": "a9c8ddfe-a300-4970-9891-6a3276c82a42", + "project_id": "e82d1e06-4235-41dc-9a57-0cd0672692f0", + "rotation": 0, + "shape_id": "66594d41-524e-4dfd-a07b-3186ed392c86", + "svg": "", "x": 10, "y": 20, "z": 0 diff --git a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt index a2ea2e4d..e6b57ce4 100644 --- a/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt +++ b/docs/api/examples/controller_put_projectsprojectidnodesnodeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/1108215e-0cda-4a72-be9c-232d67445f23/nodes/38a51cbc-b557-4843-8b4e-64b2af1382f6' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +curl -i -X PUT 'http://localhost:3080/v2/projects/1603be36-622b-4e12-a741-ca4140a2559f/nodes/f976490c-fb62-4306-8925-4c4c6f3751db' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -PUT /v2/projects/1108215e-0cda-4a72-be9c-232d67445f23/nodes/38a51cbc-b557-4843-8b4e-64b2af1382f6 HTTP/1.1 +PUT /v2/projects/1603be36-622b-4e12-a741-ca4140a2559f/nodes/f976490c-fb62-4306-8925-4c4c6f3751db HTTP/1.1 { "compute_id": "example.com", "name": "test", @@ -33,9 +33,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id} }, "name": "test", "node_directory": null, - "node_id": "38a51cbc-b557-4843-8b4e-64b2af1382f6", + "node_id": "f976490c-fb62-4306-8925-4c4c6f3751db", "node_type": "vpcs", - "project_id": "1108215e-0cda-4a72-be9c-232d67445f23", + "project_id": "1603be36-622b-4e12-a741-ca4140a2559f", "properties": {}, "status": "stopped", "symbol": ":/symbols/computer.svg", diff --git a/docs/api/examples/controller_put_projectsprojectidshapesshapeid.txt b/docs/api/examples/controller_put_projectsprojectidshapesshapeid.txt index 4ab2e9f1..69e4fb42 100644 --- a/docs/api/examples/controller_put_projectsprojectidshapesshapeid.txt +++ b/docs/api/examples/controller_put_projectsprojectidshapesshapeid.txt @@ -1,21 +1,23 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c' -d '{"x": 42}' +curl -i -X PUT 'http://localhost:3080/v2/projects/2312697c-8e49-40e0-9d6d-5bd6dd0679ed/shapes/dbefe2d5-79d7-4f18-b898-cd073224563c' -d '{"x": 42}' -PUT /v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c HTTP/1.1 +PUT /v2/projects/2312697c-8e49-40e0-9d6d-5bd6dd0679ed/shapes/dbefe2d5-79d7-4f18-b898-cd073224563c HTTP/1.1 { "x": 42 } HTTP/1.1 201 -CONTENT-LENGTH: 154 +CONTENT-LENGTH: 321 CONTENT-TYPE: application/json DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/shapes/{shape_id} { - "project_id": "43e74bf9-fc2f-4229-b2e8-b0868848579f", - "shape_id": "9f09cf79-5d99-4b0e-9994-c0a12982259c", + "project_id": "2312697c-8e49-40e0-9d6d-5bd6dd0679ed", + "rotation": 0, + "shape_id": "dbefe2d5-79d7-4f18-b898-cd073224563c", + "svg": "", "x": 42, "y": 20, "z": 0 diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index ba6ddf55..122975b4 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 690dead3..f3d32dd8 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 37472348..4d1e5e4f 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an ATM switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 56080a32..7fa015af 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) - **project_id**: Project UUID - **port_number**: Port on the cloud - **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) - **project_id**: Project UUID - **port_number**: Port on the cloud - **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index c6c4abc4..9fa07b5f 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) - **project_id**: Project UUID - **port_number**: Port on the cloud - **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 0ef066b3..4d4a3337 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a cloud instance Parameters ********** -- **adapter_number**: Adapter on the cloud (always 0) - **project_id**: Project UUID - **port_number**: Port on the cloud - **node_id**: Node UUID +- **adapter_number**: Adapter on the cloud (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 42a52c04..be7a476f 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Docker container Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a Docker container Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 10062644..1b28e4f1 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Docker container instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 149b6674..1a8f8c26 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Docker container instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index f7871c12..e1a016e1 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter from where the nio should be removed - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter from where the nio should be removed Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index e92fa5a7..b18d991c 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 3fb34a24..640ce7b9 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Dynamips VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ef0cd267..dc587388 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) - **project_id**: Project UUID - **port_number**: Port on the hub - **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) - **project_id**: Project UUID - **port_number**: Port on the hub - **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 39d6cb29..51a57e77 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) - **project_id**: Project UUID - **port_number**: Port on the hub - **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 0450df8a..b0eff328 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an Ethernet hub instance Parameters ********** -- **adapter_number**: Adapter on the hub (always 0) - **project_id**: Project UUID - **port_number**: Port on the hub - **node_id**: Node UUID +- **adapter_number**: Adapter on the hub (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index a1c1fcd9..51a15b90 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 5b0441af..59a5a2b7 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 6d8ba8de..7a3d81c3 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an Ethernet switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 9657e2bd..73470fdc 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 5bc70cd5..208ee3f3 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 8de75f26..e6d13e00 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a Frame Relay switch instance Parameters ********** -- **adapter_number**: Adapter on the switch (always 0) - **project_id**: Project UUID - **port_number**: Port on the switch - **node_id**: Node UUID +- **adapter_number**: Adapter on the switch (always 0) Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 8d92b949..1df599c2 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a IOU instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located - **project_id**: Project UUID - **port_number**: Port where the nio should be added - **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a IOU instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located - **project_id**: Project UUID - **port_number**: Port from where the nio should be removed - **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index e83d8898..87e64c94 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on an IOU VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter - **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index fa74f200..e761f271 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on an IOU VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ac6a8c46..40d2dc18 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a Qemu VM instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a Qemu VM instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 11dfa599..c338ea31 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter from where the nio should be removed - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter from where the nio should be removed Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 3c79c652..07dce2da 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index a2e42d04..c74050ec 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a VirtualBox VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst index a7104f5c..e6e18657 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a VMware VM instance Parameters ********** -- **adapter_number**: Adapter where the nio should be added - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter where the nio should be added Response status codes ********************** @@ -27,10 +27,10 @@ Remove a NIO from a VMware VM instance Parameters ********** -- **adapter_number**: Adapter from where the nio should be removed - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter from where the nio should be removed Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index d418d432..eaed4b2a 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -9,10 +9,10 @@ Start a packet capture on a VMware VM instance Parameters ********** -- **adapter_number**: Adapter to start a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to start a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 6dcb6076..fc6cb9aa 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -9,10 +9,10 @@ Stop a packet capture on a VMware VM instance Parameters ********** -- **adapter_number**: Adapter to stop a packet capture - **project_id**: Project UUID - **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID +- **adapter_number**: Adapter to stop a packet capture Response status codes ********************** diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 569f5c96..725ba943 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -9,10 +9,10 @@ Add a NIO to a VPCS instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located - **project_id**: Project UUID - **port_number**: Port where the nio should be added - **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located Response status codes ********************** @@ -33,10 +33,10 @@ Remove a NIO from a VPCS instance Parameters ********** -- **adapter_number**: Network adapter where the nio is located - **project_id**: Project UUID - **port_number**: Port from where the nio should be removed - **node_id**: Node UUID +- **adapter_number**: Network adapter where the nio is located Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst index f7a97dc9..d93464d5 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst @@ -9,8 +9,8 @@ Delete a link instance Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst index 45885529..b40eba31 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidpcap.rst @@ -9,8 +9,8 @@ Steam the pcap capture file Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst index 0bcdbfc5..9e57489f 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst @@ -9,8 +9,8 @@ Start capture on a link instance. By default we consider it as an Ethernet link Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** diff --git a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst index 53c97524..da2bcb29 100644 --- a/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst +++ b/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst @@ -9,8 +9,8 @@ Stop capture on a link instance Parameters ********** -- **link_id**: Link UUID - **project_id**: Project UUID +- **link_id**: Link UUID Response status codes ********************** diff --git a/docs/api/v2/controller/shape/projectsprojectidshapes.rst b/docs/api/v2/controller/shape/projectsprojectidshapes.rst index 952ec3c0..8457bc76 100644 --- a/docs/api/v2/controller/shape/projectsprojectidshapes.rst +++ b/docs/api/v2/controller/shape/projectsprojectidshapes.rst @@ -42,6 +42,7 @@ Input + @@ -56,6 +57,7 @@ Output
Name Mandatory Type Description
project_id string Project UUID
rotation integer Rotation of the element
shape_id string Shape UUID
svg string SVG content of the shape
x integer X property
+ diff --git a/docs/api/v2/controller/shape/projectsprojectidshapesshapeid.rst b/docs/api/v2/controller/shape/projectsprojectidshapesshapeid.rst index 3f693ecc..3724ca44 100644 --- a/docs/api/v2/controller/shape/projectsprojectidshapesshapeid.rst +++ b/docs/api/v2/controller/shape/projectsprojectidshapesshapeid.rst @@ -9,8 +9,8 @@ Create a new shape instance Parameters ********** -- **shape_id**: Shape UUID - **project_id**: Project UUID +- **shape_id**: Shape UUID Response status codes ********************** @@ -24,6 +24,7 @@ Input
Name Mandatory Type Description
project_id string Project UUID
rotation integer Rotation of the element
shape_id string Shape UUID
svg string SVG content of the shape
x integer X property
+ @@ -38,6 +39,7 @@ Output
Name Mandatory Type Description
project_id string Project UUID
rotation integer Rotation of the element
shape_id string Shape UUID
svg string SVG content of the shape
x integer X property
+ @@ -58,8 +60,8 @@ Delete a shape instance Parameters ********** -- **shape_id**: Shape UUID - **project_id**: Project UUID +- **shape_id**: Shape UUID Response status codes ********************** diff --git a/docs/curl.rst b/docs/curl.rst index 4e1e56e6..19697b85 100644 --- a/docs/curl.rst +++ b/docs/curl.rst @@ -20,6 +20,10 @@ You can check the server version with a simple curl command: "version": "2.0.0dev1" } + +List computes +############## + We will list the computes node where we can run our nodes: .. code-block:: shell-session @@ -40,6 +44,9 @@ We will list the computes node where we can run our nodes: In this sample we have only one compute where we can run our nodes. This compute as a special id: local. This mean it's the local server embed in the GNS3 controller. +Create project +############### + The next step is to create a project. .. code-block:: shell-session @@ -50,6 +57,8 @@ The next step is to create a project. "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", } +Create nodes +############# With this project id we can now create two VPCS Node. @@ -91,6 +100,9 @@ With this project id we can now create two VPCS Node. The properties dictionnary contains all setting specific to a node type (dynamips, docker, vpcs...) +Link nodes +########### + Now we need to link the two VPCS by connecting their port 0 together. .. code-block:: shell-session @@ -116,6 +128,9 @@ Now we need to link the two VPCS by connecting their port 0 together. "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f" } +Start nodes +########### + Now we can start the two nodes. .. code-block:: shell-session @@ -123,6 +138,9 @@ Now we can start the two nodes. # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes/f124dec0-830a-451e-a314-be50bbd58a00/start" -d "{}" # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes/83892a4d-aea0-4350-8b3e-d0af3713da74/start" -d "{}" +Connect to nodes +################# + Everything should be started now. You can connect via telnet to the different Node. The port is the field console in the create Node request. @@ -186,6 +204,10 @@ The port is the field console in the create Node request. Good-bye Connection closed by foreign host. + +Stop nodes +########## + And we stop the two nodes. .. code-block:: shell-session @@ -193,6 +215,24 @@ And we stop the two nodes. # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes/f124dec0-830a-451e-a314-be50bbd58a00/stop" -d "{}" # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes/83892a4d-aea0-4350-8b3e-d0af3713da74/stop" -d "{}" + +Add a visual element +###################### + +When you want add visual elements to the topology like rectangle, circle, images you can just send a raw SVG. +This will display a red square in the middle of your topologies: + + +.. code-block:: shell-session + + # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/shapes" -d '{"x":0, "y": 12, "svg": ""}' + +Tips: you can embed png/jpg... by using a base64 encoding in the SVG. + + +Notifications +############# + You can see notification about the changes via the notification feed: .. code-block:: shell-session @@ -203,4 +243,10 @@ You can see notification about the changes via the notification feed: A websocket version is also available on http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/notifications/ws + +How to found the endpoints? +########################### + +Full endpoints list is available: :doc:`endpoints` + If you start the server with **--debug** you can see all the requests made by the client and by the controller to the computes nodes. diff --git a/gns3server/controller/shape.py b/gns3server/controller/shape.py index e3e9f64b..4d765452 100644 --- a/gns3server/controller/shape.py +++ b/gns3server/controller/shape.py @@ -24,6 +24,7 @@ class Shape: Shape are visual element not used by the network emulation. Like text, images, rectangle... They are pure SVG elements. """ + def __init__(self, project, shape_id=None, svg="", x=0, y=0, z=0, rotation=0): self.svg = svg self._project = project @@ -127,5 +128,3 @@ class Shape: def __repr__(self): return "".format(self._id) - - diff --git a/gns3server/schemas/shape.py b/gns3server/schemas/shape.py index c4af2688..aaded1d8 100644 --- a/gns3server/schemas/shape.py +++ b/gns3server/schemas/shape.py @@ -61,5 +61,3 @@ SHAPE_OBJECT_SCHEMA = { }, "additionalProperties": False } - -
Name Mandatory Type Description
project_id string Project UUID
rotation integer Rotation of the element
shape_id string Shape UUID
svg string SVG content of the shape
x integer X property