diff --git a/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 513a95f8..fe5e5c5a 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/a7213aae-0196-4ad6-bb97-572df1db39e3/adapters/0/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a7213aae-0196-4ad6-bb97-572df1db39e3/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7ea17aa-8e3b-4043-a3a2-b4b9a93aee7a/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 0eba2d6a..34c47cfd 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/9d0cb847-a052-43ce-b74c-c202df4cda80' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6c093167-ead8-4b38-adb9-bfcc5894c30d' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9d0cb847-a052-43ce-b74c-c202df4cda80 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6c093167-ead8-4b38-adb9-bfcc5894c30d HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.txt index b05a3bc6..fd245478 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/51628d83-de2c-43b9-84b1-856c8349e01a/adapters/1/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/51628d83-de2c-43b9-84b1-856c8349e01a/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d52caffb-7a25-4f50-afdc-2e8d6d1abbb7/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 59df6941..fef98d8f 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/7e0ed4f6-19b3-4fcd-b1ad-c4cf57247956' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/980b76a3-2ec2-4913-bf32-38974f9fde7f' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e0ed4f6-19b3-4fcd-b1ad-c4cf57247956 HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/980b76a3-2ec2-4913-bf32-38974f9fde7f HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.txt index 5bf016a7..e6711722 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/11c3b454-972b-4ba6-aa90-6359e7b357ab/adapters/1/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/11c3b454-972b-4ba6-aa90-6359e7b357ab/adapters/1/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51d45c62-f134-46af-8a7e-86a40b97069a/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 865c8da1..148e8aba 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/bc64b387-86a8-4266-8a72-d21a6b20ef91/adapters/0/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bc64b387-86a8-4266-8a72-d21a6b20ef91/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c07dd73c-7859-4e69-8b78-f1de3db37cb9/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 d2b60fe8..837d68e0 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/bdf16788-9f19-43e4-9e65-2fe2b67d8dea' +curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/009e27c5-b8c5-4040-9a22-2e08c4e80305' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bdf16788-9f19-43e4-9e65-2fe2b67d8dea HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/009e27c5-b8c5-4040-9a22-2e08c4e80305 HTTP/1.1 diff --git a/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt b/docs/api/examples/compute_delete_projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.txt index acc2787c..0aa3c13b 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/435fb0a9-8b68-4417-b6bc-aaad78ee39f3/adapters/0/ports/0/nio' +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' -DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/435fb0a9-8b68-4417-b6bc-aaad78ee39f3/adapters/0/ports/0/nio HTTP/1.1 +DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8c20d85-cbb6-43fe-a4b8-dbe3f46e9eac/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 efcab351..e2e41882 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": "52010203-0405-0607-0809-0a0b0c0d0e0b" + "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" }, { "name": "test", - "project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f" + "project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b" } ] diff --git a/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidiounodesnodeid.txt index 89248b12..62f4b8b3 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/e80fa65b-bfc0-46d1-9c60-e9e38e45f06c' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d33076a2-d8ef-40f5-95eb-f249273fb056' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e80fa65b-bfc0-46d1-9c60-e9e38e45f06c HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d33076a2-d8ef-40f5-95eb-f249273fb056 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/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/e80fa65b-bfc0-46d1-9c60-e9e38e45f06c", - "node_id": "e80fa65b-bfc0-46d1-9c60-e9e38e45f06c", + "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", "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 185191ab..4ab036aa 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/47d3d9b7-bad6-4f30-9922-69386fa816f7/configs' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/badf1be7-0c2c-48ff-9bd2-a8ed1b69cea5/configs' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/47d3d9b7-bad6-4f30-9922-69386fa816f7/configs HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/badf1be7-0c2c-48ff-9bd2-a8ed1b69cea5/configs HTTP/1.1 diff --git a/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt b/docs/api/examples/compute_get_projectsprojectidqemunodesnodeid.txt index e6c22b1f..6055be85 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/6c2c6a70-b137-426e-93bb-a6faf5b8d119' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5103ccd0-6ac8-4365-b402-b81e0b6f175e' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6c2c6a70-b137-426e-93bb-a6faf5b8d119 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5103ccd0-6ac8-4365-b402-b81e0b6f175e 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:d1:19:00", + "mac_address": "00:dd:80:17:5e:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6c2c6a70-b137-426e-93bb-a6faf5b8d119", - "node_id": "6c2c6a70-b137-426e-93bb-a6faf5b8d119", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/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 813c7652..51133bae 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/fcdbdf11-5fea-412f-a8b0-bf5f97547257' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/92e2089e-6b65-4585-ac63-bf5bc9cb9464' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcdbdf11-5fea-412f-a8b0-bf5f97547257 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/92e2089e-6b65-4585-ac63-bf5bc9cb9464 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": "fcdbdf11-5fea-412f-a8b0-bf5f97547257", + "node_id": "92e2089e-6b65-4585-ac63-bf5bc9cb9464", "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 7eb147b5..f3bf35d7 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/06375e41-eda9-432e-95bc-7bb7ea66cc66' +curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fde0336e-d88b-4b85-8aef-2b315b5c5a9a' -GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/06375e41-eda9-432e-95bc-7bb7ea66cc66 HTTP/1.1 +GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fde0336e-d88b-4b85-8aef-2b315b5c5a9a 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/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/06375e41-eda9-432e-95bc-7bb7ea66cc66", - "node_id": "06375e41-eda9-432e-95bc-7bb7ea66cc66", + "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", "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 db8de9aa..a3e7b565 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/71ee7d54-59aa-4e26-8537-cea678e1aac0/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/f4ecf7e0-3e74-4366-9d19-fec5b2ae9063/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/71ee7d54-59aa-4e26-8537-cea678e1aac0/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f4ecf7e0-3e74-4366-9d19-fec5b2ae9063/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 1a967cdd..9293ffc0 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/52b4bbc9-0936-4727-b8f1-ee54a2dc0220/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/907b963b-2e07-4976-aff2-a0026e337fb0/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/52b4bbc9-0936-4727-b8f1-ee54a2dc0220/adapters/0/ports/0/start_capture HTTP/1.1 +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 { "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/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap" + "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/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 ac8d5891..91a823f0 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/ee9c1de4-b68a-477f-8e67-729cb0c99622/adapters/0/ports/0/stop_capture' -d '{}' +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 '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ee9c1de4-b68a-477f-8e67-729cb0c99622/adapters/0/ports/0/stop_capture HTTP/1.1 +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 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodes.txt b/docs/api/examples/compute_post_projectsprojectidiounodes.txt index 85302263..64591d9d 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": "de086f98-3c69-4b30-9963-b85a3bea2987", "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": "17707689-865c-4663-8e6e-50be75d149e1", "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": "de086f98-3c69-4b30-9963-b85a3bea2987", + "node_id": "17707689-865c-4663-8e6e-50be75d149e1", "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/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/de086f98-3c69-4b30-9963-b85a3bea2987", - "node_id": "de086f98-3c69-4b30-9963-b85a3bea2987", + "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", "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 58681c6a..d39ca4a0 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/fe0f2fa3-71a8-4bcb-b758-015b05f5cf39/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/7c17e979-0e3d-4436-94ba-cb9fe735abb0/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/fe0f2fa3-71a8-4bcb-b758-015b05f5cf39/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c17e979-0e3d-4436-94ba-cb9fe735abb0/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 7cfc733e..948ded3a 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/c8eba450-d99f-4115-94c2-3dd4e9fbfbe4/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/741b1c60-5cf1-48c9-8fdf-e4b289e26e15/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/c8eba450-d99f-4115-94c2-3dd4e9fbfbe4/adapters/0/ports/0/start_capture HTTP/1.1 +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 { "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/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap" + "pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/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 da0a0c58..59b752f9 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/e9e08c12-c071-4fc3-ade8-275c9415c12e/adapters/0/ports/0/stop_capture' -d '{}' +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 '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e9e08c12-c071-4fc3-ade8-275c9415c12e/adapters/0/ports/0/stop_capture HTTP/1.1 +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 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidreload.txt index 8697a5ca..e12c0aa1 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/d22f6810-6a18-411f-bee8-6ab02dabd173/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3756ec8d-cd19-42cc-b9d9-e5a99c5c81e1/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d22f6810-6a18-411f-bee8-6ab02dabd173/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3756ec8d-cd19-42cc-b9d9-e5a99c5c81e1/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidiounodesnodeidstart.txt index 71e7d57a..2c8c2d21 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/5b320d9b-2d42-4a8e-a6ec-a242335d0303/start' -d '{"iourc_content": "test"}' +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"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5b320d9b-2d42-4a8e-a6ec-a242335d0303/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4f8a28d6-9e9d-4af3-8560-5c1c2668a786/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/tmpkbxgwuv8/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp60s8wcgt/iourc", "l1_keepalives": false, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/5b320d9b-2d42-4a8e-a6ec-a242335d0303", - "node_id": "5b320d9b-2d42-4a8e-a6ec-a242335d0303", + "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", "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 171efdeb..d58a2bae 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/77859f95-476b-4657-b919-2c6f77798f24/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f16ec511-2c3b-4035-8bb2-70899dae73f8/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77859f95-476b-4657-b919-2c6f77798f24/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f16ec511-2c3b-4035-8bb2-70899dae73f8/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodes.txt b/docs/api/examples/compute_post_projectsprojectidqemunodes.txt index cbb18a70..c08945a1 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/tmpgv_cpvrl/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/tmpvmjtewa8/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/tmpgv_cpvrl/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/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:ac:3b:00", + "mac_address": "00:dd:80:a9:7e:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4d2c4e9d-586f-4eaa-aea9-35a62e4eac3b", - "node_id": "4d2c4e9d-586f-4eaa-aea9-35a62e4eac3b", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/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 15266e31..58a2ba39 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/8d4ac657-2ee7-411c-84d1-3597959f908a/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/2340b680-340d-4377-af6f-bb50419a0923/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8d4ac657-2ee7-411c-84d1-3597959f908a/adapters/1/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2340b680-340d-4377-af6f-bb50419a0923/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 66dbaada..463d381f 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/4cc13aa1-1d04-4d4b-a60f-2179a370e5fd/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/19f72a5a-e0ee-411e-ae40-9dfedce59dd4/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4cc13aa1-1d04-4d4b-a60f-2179a370e5fd/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/19f72a5a-e0ee-411e-ae40-9dfedce59dd4/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidresume.txt index 6722ca3f..1e4aa0a3 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/85062acb-dcd1-4d57-9511-6183e669402f/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f61fd565-775a-48ba-832c-a477792c248a/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/85062acb-dcd1-4d57-9511-6183e669402f/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f61fd565-775a-48ba-832c-a477792c248a/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidstart.txt index ac2bf641..09702d7e 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/9ed1aaee-6ac7-4323-80b9-a3a6875bc543/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d64e2751-ad98-4a51-8afa-7beeb77b0c3e/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ed1aaee-6ac7-4323-80b9-a3a6875bc543/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d64e2751-ad98-4a51-8afa-7beeb77b0c3e/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:c5:43:00", + "mac_address": "00:dd:80:0c:3e:00", "name": "PC TEST 1", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9ed1aaee-6ac7-4323-80b9-a3a6875bc543", - "node_id": "9ed1aaee-6ac7-4323-80b9-a3a6875bc543", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/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 5cce3d78..7a9a997e 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/cd697e16-da95-45a8-b803-a5d8568d9f19/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab345fe1-8e70-4a99-94af-71208f1dad9a/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd697e16-da95-45a8-b803-a5d8568d9f19/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab345fe1-8e70-4a99-94af-71208f1dad9a/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidqemunodesnodeidsuspend.txt index 7fcab247..1b49bb0e 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/3b3ba5c9-9353-4308-8f84-3f8821d3efe3/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dddf0548-5e17-456f-a611-962e4da38a94/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3b3ba5c9-9353-4308-8f84-3f8821d3efe3/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dddf0548-5e17-456f-a611-962e4da38a94/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodes.txt index 86be3787..85035f1b 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": "72d0484c-92ab-47a6-b4c8-0ec92f5b00f4", + "node_id": "ab86d80b-66fa-4098-9065-f333af35e0e6", "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 626ed0ac..f1c63fd9 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/43fd3621-a8f7-4c75-947f-b47889001294/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/3115da3e-d7d9-4a0b-a6e4-01ed820edb8f/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/43fd3621-a8f7-4c75-947f-b47889001294/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3115da3e-d7d9-4a0b-a6e4-01ed820edb8f/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 f6d34500..afc41c0a 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/ff2dd0fe-48b3-402d-8e07-154515c005c2/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/40834c7d-f767-4e44-87f9-403a9e99ca85/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ff2dd0fe-48b3-402d-8e07-154515c005c2/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/40834c7d-f767-4e44-87f9-403a9e99ca85/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidresume.txt index 87a928d7..6886bab9 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/b5d0351a-91da-4561-b949-1afae4a99546/resume' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6219c919-b130-48e4-9ca0-f66d36761677/resume' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5d0351a-91da-4561-b949-1afae4a99546/resume HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6219c919-b130-48e4-9ca0-f66d36761677/resume HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstart.txt index 12f66d1c..8471327f 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/a4455db3-7d7e-4214-a58c-21281af099b4/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e407964a-5147-42e5-927c-9e0aa84b2318/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a4455db3-7d7e-4214-a58c-21281af099b4/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e407964a-5147-42e5-927c-9e0aa84b2318/start HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidstop.txt index 7b929251..ff03b1f2 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/3b3bc1f2-2b47-4622-b506-6dde55d4c6b5/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad292abe-b49f-4343-8493-b6412a98a0d2/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3b3bc1f2-2b47-4622-b506-6dde55d4c6b5/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad292abe-b49f-4343-8493-b6412a98a0d2/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt b/docs/api/examples/compute_post_projectsprojectidvirtualboxnodesnodeidsuspend.txt index 0ab3a62e..aa019d79 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/59ac29d8-1ba6-43ee-8014-ba98979efb78/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b63eb0c7-35fd-4892-8e1a-029da8b9773a/suspend' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/59ac29d8-1ba6-43ee-8014-ba98979efb78/suspend HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b63eb0c7-35fd-4892-8e1a-029da8b9773a/suspend HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodes.txt index bc8d95e9..005466c8 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/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/881903a1-1f73-4719-98e3-1f0c1a5c86b8", - "node_id": "881903a1-1f73-4719-98e3-1f0c1a5c86b8", + "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", "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 34390d8a..b0611ac4 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/4c98e681-04ac-4621-85cd-f5bcfefaf940/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/470c91f6-8c8f-42c9-b892-587df84764c8/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/4c98e681-04ac-4621-85cd-f5bcfefaf940/adapters/0/ports/0/nio HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/470c91f6-8c8f-42c9-b892-587df84764c8/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 4009779a..63f8bcae 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/cc86b700-cf02-4450-b142-d6047cd99213/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67fee68c-20c8-44bf-86dc-d0c2fc555687/reload' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cc86b700-cf02-4450-b142-d6047cd99213/reload HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67fee68c-20c8-44bf-86dc-d0c2fc555687/reload HTTP/1.1 {} diff --git a/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt b/docs/api/examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt index c9e0d690..d2460604 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/30cfeaee-1e13-4445-8784-f1ca0d3eb628/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c81aadc7-87b8-4e81-a523-723c33bd31c0/start' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30cfeaee-1e13-4445-8784-f1ca0d3eb628/start HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c81aadc7-87b8-4e81-a523-723c33bd31c0/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/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/30cfeaee-1e13-4445-8784-f1ca0d3eb628", - "node_id": "30cfeaee-1e13-4445-8784-f1ca0d3eb628", + "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", "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 1e5593ab..99252c03 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/119d99a4-e6f1-49e7-a41a-a493791f5062/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1d06aa81-e032-4d69-9896-02842ea8e1b6/stop' -d '{}' -POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/119d99a4-e6f1-49e7-a41a-a493791f5062/stop HTTP/1.1 +POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1d06aa81-e032-4d69-9896-02842ea8e1b6/stop HTTP/1.1 {} diff --git a/docs/api/examples/compute_put_projectsprojectid.txt b/docs/api/examples/compute_put_projectsprojectid.txt index d1b9243d..7f681a10 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-104/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-105/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-104/test_update_path_project_non_l0" + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/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 c2485aaa..be963b23 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/035a8728-7106-4da2-a31b-3e8341016c68' -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/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/035a8728-7106-4da2-a31b-3e8341016c68 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d 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/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/035a8728-7106-4da2-a31b-3e8341016c68", - "node_id": "035a8728-7106-4da2-a31b-3e8341016c68", + "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", "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 cb121cff..7f8ddbc8 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/548df6a0-7750-485c-a2a6-9a4bdbda76da' -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/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}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548df6a0-7750-485c-a2a6-9a4bdbda76da HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/81ada2f6-256b-496c-9e6b-459f934b2346 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/tmpgyk7lrbu/iourc", + "iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw8qg56du/iourc", "l1_keepalives": true, "md5sum": "e573e8f5c93c6c00783f20c7a170aa6c", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/548df6a0-7750-485c-a2a6-9a4bdbda76da", - "node_id": "548df6a0-7750-485c-a2a6-9a4bdbda76da", + "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", "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 c52d3c60..f920957e 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/495bfebf-4a08-4de8-8e78-2210c617590f' -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/031195a7-0811-40ca-8cf2-77625c495e2a' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/495bfebf-4a08-4de8-8e78-2210c617590f HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/031195a7-0811-40ca-8cf2-77625c495e2a 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:59:0f:00", + "mac_address": "00:dd:80:5e:2a:00", "name": "test", - "node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/495bfebf-4a08-4de8-8e78-2210c617590f", - "node_id": "495bfebf-4a08-4de8-8e78-2210c617590f", + "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", "options": "", "platform": "x86_64", "process_priority": "low", "project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/qemu-system-x86_64", + "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/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 61d6624b..67d8dc59 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/5916740e-d857-4213-bc9e-7a000df767f5' -d '{"console": 5010, "name": "test"}' +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"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5916740e-d857-4213-bc9e-7a000df767f5 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e8fcf41-aeee-4ff5-8715-efa30fafdac7 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": "5916740e-d857-4213-bc9e-7a000df767f5", + "node_id": "6e8fcf41-aeee-4ff5-8715-efa30fafdac7", "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 660287f6..4069e9cd 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/5dc686e1-bb21-4d8f-bb5e-83c905b26a94' -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/15933cd1-f207-4d81-8864-e3e66f05c74a' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}' -PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5dc686e1-bb21-4d8f-bb5e-83c905b26a94 HTTP/1.1 +PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/15933cd1-f207-4d81-8864-e3e66f05c74a 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/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/5dc686e1-bb21-4d8f-bb5e-83c905b26a94", - "node_id": "5dc686e1-bb21-4d8f-bb5e-83c905b26a94", + "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", "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 9b787b57..b6e69f7b 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/f4989250-9ff4-47bf-b8c4-f62f2fef4fd2' +curl -i -X DELETE 'http://localhost:3080/v2/projects/2140d8a8-35f9-44c1-b314-17a0f2197bcf' -DELETE /v2/projects/f4989250-9ff4-47bf-b8c4-f62f2fef4fd2 HTTP/1.1 +DELETE /v2/projects/2140d8a8-35f9-44c1-b314-17a0f2197bcf HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt b/docs/api/examples/controller_delete_projectsprojectidlinkslinkid.txt index 41903681..d1441fda 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/a9b65871-ca90-4aad-af18-d4faff6f5ede/links/88d0d1ef-e83b-44ae-94be-6751f32c3476' +curl -i -X DELETE 'http://localhost:3080/v2/projects/4cf03af9-24d0-4f1a-b4f3-d08967a55be9/links/3e263d1a-ade5-44dc-9a24-601228f89946' -DELETE /v2/projects/a9b65871-ca90-4aad-af18-d4faff6f5ede/links/88d0d1ef-e83b-44ae-94be-6751f32c3476 HTTP/1.1 +DELETE /v2/projects/4cf03af9-24d0-4f1a-b4f3-d08967a55be9/links/3e263d1a-ade5-44dc-9a24-601228f89946 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt b/docs/api/examples/controller_delete_projectsprojectidnodesnodeid.txt index 588cb716..f72b9c4b 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/8a4c8a06-8b66-440f-b557-bed0b7fd6fd4/nodes/b657f00b-def3-468c-9bd2-2feb257ac365' +curl -i -X DELETE 'http://localhost:3080/v2/projects/d84c46b4-7238-4a4d-800f-dc718412c058/nodes/ba61fb11-4f64-4c7f-99ed-896cdeb19d54' -DELETE /v2/projects/8a4c8a06-8b66-440f-b557-bed0b7fd6fd4/nodes/b657f00b-def3-468c-9bd2-2feb257ac365 HTTP/1.1 +DELETE /v2/projects/d84c46b4-7238-4a4d-800f-dc718412c058/nodes/ba61fb11-4f64-4c7f-99ed-896cdeb19d54 HTTP/1.1 diff --git a/docs/api/examples/controller_delete_projectsprojectidshapesshapeid.txt b/docs/api/examples/controller_delete_projectsprojectidshapesshapeid.txt index e44cdf72..e8ef6bc2 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/a1d87587-dbed-4ba0-91e7-d8a46e511115/shapes/5f3a80ed-f145-41d3-b4b3-c086990ae9e0' +curl -i -X DELETE 'http://localhost:3080/v2/projects/9410af67-e849-456c-b9cb-ed18de51ccda/shapes/ea3260b9-6b57-4888-9683-433cdc2a0642' -DELETE /v2/projects/a1d87587-dbed-4ba0-91e7-d8a46e511115/shapes/5f3a80ed-f145-41d3-b4b3-c086990ae9e0 HTTP/1.1 +DELETE /v2/projects/9410af67-e849-456c-b9cb-ed18de51ccda/shapes/ea3260b9-6b57-4888-9683-433cdc2a0642 HTTP/1.1 diff --git a/docs/api/examples/controller_get_projects.txt b/docs/api/examples/controller_get_projects.txt index 81cd8202..b3c39bfd 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-104/test_list_projects1", + "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/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 c9e059db..f9d8824d 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/8df81529-a095-412d-8530-c950246bdfd9' +curl -i -X GET 'http://localhost:3080/v2/projects/4e37c994-877e-406a-b824-b666c06217bb' -GET /v2/projects/8df81529-a095-412d-8530-c950246bdfd9 HTTP/1.1 +GET /v2/projects/4e37c994-877e-406a-b824-b666c06217bb HTTP/1.1 @@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id} { "filename": "test.gns3", "name": "test", - "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmppk9_djqt/projects/8df81529-a095-412d-8530-c950246bdfd9", - "project_id": "8df81529-a095-412d-8530-c950246bdfd9", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8y9c1jdz/projects/4e37c994-877e-406a-b824-b666c06217bb", + "project_id": "4e37c994-877e-406a-b824-b666c06217bb", "status": "opened" } diff --git a/docs/api/examples/controller_get_projectsprojectidlinks.txt b/docs/api/examples/controller_get_projectsprojectidlinks.txt index de861f55..41c4d1c9 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/80f81c81-d238-4a09-a670-794128178633/links' +curl -i -X GET 'http://localhost:3080/v2/projects/f2bc92e3-caa8-4578-900a-89b54bbc59e7/links' -GET /v2/projects/80f81c81-d238-4a09-a670-794128178633/links HTTP/1.1 +GET /v2/projects/f2bc92e3-caa8-4578-900a-89b54bbc59e7/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": "5e7d101c-8d5c-4bac-85c2-9cbdc2805c54", + "link_id": "202f1200-8d0b-4c62-aafe-223372215ff7", "nodes": [ { "adapter_number": 0, - "node_id": "7844a33b-85e3-479d-8fc5-413ad3cace5f", + "node_id": "449835f2-8777-4583-9ad9-6d4968ec9f57", "port_number": 3 }, { "adapter_number": 2, - "node_id": "f34ceed0-1d59-4d16-8eea-128120cbd331", + "node_id": "31790131-6d28-4ae9-8258-8d287f7666cf", "port_number": 4 } ], - "project_id": "80f81c81-d238-4a09-a670-794128178633" + "project_id": "f2bc92e3-caa8-4578-900a-89b54bbc59e7" } ] diff --git a/docs/api/examples/controller_get_projectsprojectidnodes.txt b/docs/api/examples/controller_get_projectsprojectidnodes.txt index ba87e3eb..cf2ac002 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/d8531d0e-eaf5-4055-8957-baa6330fa5cf/nodes' +curl -i -X GET 'http://localhost:3080/v2/projects/56ba1d86-410c-4d54-99f0-cd8bd3120a1d/nodes' -GET /v2/projects/d8531d0e-eaf5-4055-8957-baa6330fa5cf/nodes HTTP/1.1 +GET /v2/projects/56ba1d86-410c-4d54-99f0-cd8bd3120a1d/nodes HTTP/1.1 @@ -27,9 +27,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes }, "name": "test", "node_directory": null, - "node_id": "cb8b7904-75af-4d7d-b40c-c5b3a72b33d2", + "node_id": "1fdf02e8-f60d-4a14-bfea-f53ffebbf567", "node_type": "vpcs", - "project_id": "d8531d0e-eaf5-4055-8957-baa6330fa5cf", + "project_id": "56ba1d86-410c-4d54-99f0-cd8bd3120a1d", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt b/docs/api/examples/controller_get_projectsprojectidnodesnodeiddynamipsautoidlepc.txt index f75e448b..fd2e7c59 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/ffcbdf98-8d94-4dbf-84ed-c21468fa5b9b/nodes/a4593701-1f24-4e43-82e5-9402e81f9dfa/dynamips/auto_idlepc' +curl -i -X GET 'http://localhost:3080/v2/projects/12075178-c5cc-4309-8db2-fee208082672/nodes/ba76d174-931b-42d0-b057-54f5afdfb178/dynamips/auto_idlepc' -GET /v2/projects/ffcbdf98-8d94-4dbf-84ed-c21468fa5b9b/nodes/a4593701-1f24-4e43-82e5-9402e81f9dfa/dynamips/auto_idlepc HTTP/1.1 +GET /v2/projects/12075178-c5cc-4309-8db2-fee208082672/nodes/ba76d174-931b-42d0-b057-54f5afdfb178/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 3f2c2068..ca11d6b0 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/95a159b2-f7ed-4326-8573-5d09997efdf4/nodes/946ed8f0-238c-4d6a-b264-92454a154dc7/dynamips/idlepc_proposals' +curl -i -X GET 'http://localhost:3080/v2/projects/6d26d78a-1b23-4234-98ab-013627d6aed2/nodes/99d7facd-d7fd-4d84-8482-6df6693453b8/dynamips/idlepc_proposals' -GET /v2/projects/95a159b2-f7ed-4326-8573-5d09997efdf4/nodes/946ed8f0-238c-4d6a-b264-92454a154dc7/dynamips/idlepc_proposals HTTP/1.1 +GET /v2/projects/6d26d78a-1b23-4234-98ab-013627d6aed2/nodes/99d7facd-d7fd-4d84-8482-6df6693453b8/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 d45f2c90..beec083b 100644 --- a/docs/api/examples/controller_get_projectsprojectidshapes.txt +++ b/docs/api/examples/controller_get_projectsprojectidshapes.txt @@ -1,6 +1,6 @@ -curl -i -X GET 'http://localhost:3080/v2/projects/50626c07-f12d-4dbf-9e51-1da3854e620a/shapes' +curl -i -X GET 'http://localhost:3080/v2/projects/c12bf232-1798-4e0e-8fbb-28d6a88d8adb/shapes' -GET /v2/projects/50626c07-f12d-4dbf-9e51-1da3854e620a/shapes HTTP/1.1 +GET /v2/projects/c12bf232-1798-4e0e-8fbb-28d6a88d8adb/shapes HTTP/1.1 @@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/shapes [ { - "project_id": "50626c07-f12d-4dbf-9e51-1da3854e620a", - "shape_id": "82374821-e50d-4b2f-adcf-ab77216b5014", + "project_id": "c12bf232-1798-4e0e-8fbb-28d6a88d8adb", + "shape_id": "4b993c42-488e-4c28-8ec8-61bd47042726", "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 6d8871f1..6a565749 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/tmp0to2xtlc/projects/10010203-0405-0607-0809-0a0b0c0d0e0f", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2vuofhbl/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 45a05f20..2616e378 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/tmp43b9ky28/projects/62417a1c-a401-4895-8ba3-57ac065e3f94", - "project_id": "62417a1c-a401-4895-8ba3-57ac065e3f94", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpwmp23_op/projects/5366c143-b4cf-40dd-b7e5-5e12840375d2", + "project_id": "5366c143-b4cf-40dd-b7e5-5e12840375d2", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidclose.txt b/docs/api/examples/controller_post_projectsprojectidclose.txt index 6d95d16a..14687718 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/6f9549e2-f117-40c7-84b9-d400ef5cb1c7/close' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed/close' -d '{}' -POST /v2/projects/6f9549e2-f117-40c7-84b9-d400ef5cb1c7/close HTTP/1.1 +POST /v2/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed/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/tmpfa6tjshf/projects/6f9549e2-f117-40c7-84b9-d400ef5cb1c7", - "project_id": "6f9549e2-f117-40c7-84b9-d400ef5cb1c7", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw6lfp1iz/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed", + "project_id": "5ce96a34-0311-4d5a-b2d9-848927a323ed", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinks.txt b/docs/api/examples/controller_post_projectsprojectidlinks.txt index 40b21d1d..daa8d794 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/54a38caf-74a3-40c5-a9e0-2cf1a414ffaf/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "8115e155-24c3-4f1e-99f6-9245aca009a2", "port_number": 3}, {"adapter_number": 2, "node_id": "38e67c08-724a-4aa6-b672-9d621c4727c7", "port_number": 4}]}' +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}]}' -POST /v2/projects/54a38caf-74a3-40c5-a9e0-2cf1a414ffaf/links HTTP/1.1 +POST /v2/projects/3f579df1-5465-4fd7-95ee-93b1536084a4/links HTTP/1.1 { "nodes": [ { "adapter_number": 0, - "node_id": "8115e155-24c3-4f1e-99f6-9245aca009a2", + "node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6", "port_number": 3 }, { "adapter_number": 2, - "node_id": "38e67c08-724a-4aa6-b672-9d621c4727c7", + "node_id": "a4952662-0983-4f11-b606-21403ab0a2c8", "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": "7af8ebf6-6300-4896-9c01-bb0f6e857c0a", + "link_id": "b4306700-9337-4f7a-8561-0794f0a618a0", "nodes": [ { "adapter_number": 0, - "node_id": "8115e155-24c3-4f1e-99f6-9245aca009a2", + "node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6", "port_number": 3 }, { "adapter_number": 2, - "node_id": "38e67c08-724a-4aa6-b672-9d621c4727c7", + "node_id": "a4952662-0983-4f11-b606-21403ab0a2c8", "port_number": 4 } ], - "project_id": "54a38caf-74a3-40c5-a9e0-2cf1a414ffaf" + "project_id": "3f579df1-5465-4fd7-95ee-93b1536084a4" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt index b324a5d8..fcaf09e9 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/df4303fc-92fb-4d04-87cc-2bf5cc4f7a72/links/0f842027-7704-4cf1-a9e2-2641babdf2af/start_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/2b3b03cb-fe70-4f18-892f-e4c7a7b5deec/links/c88caa3f-661f-4537-9341-0143951d6b35/start_capture' -d '{}' -POST /v2/projects/df4303fc-92fb-4d04-87cc-2bf5cc4f7a72/links/0f842027-7704-4cf1-a9e2-2641babdf2af/start_capture HTTP/1.1 +POST /v2/projects/2b3b03cb-fe70-4f18-892f-e4c7a7b5deec/links/c88caa3f-661f-4537-9341-0143951d6b35/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": "0f842027-7704-4cf1-a9e2-2641babdf2af", + "link_id": "c88caa3f-661f-4537-9341-0143951d6b35", "nodes": [], - "project_id": "df4303fc-92fb-4d04-87cc-2bf5cc4f7a72" + "project_id": "2b3b03cb-fe70-4f18-892f-e4c7a7b5deec" } diff --git a/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt b/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt index 1c41b137..ee63d0cb 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/1d0a1836-69cb-4fd5-a872-7d160ba41d37/links/a79f3273-edef-4520-bc5e-c59e50319eeb/stop_capture' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/e484467e-a739-472d-b158-cee8bd5fa1cc/links/9513e664-ab02-4417-af7f-41c65acd6a47/stop_capture' -d '{}' -POST /v2/projects/1d0a1836-69cb-4fd5-a872-7d160ba41d37/links/a79f3273-edef-4520-bc5e-c59e50319eeb/stop_capture HTTP/1.1 +POST /v2/projects/e484467e-a739-472d-b158-cee8bd5fa1cc/links/9513e664-ab02-4417-af7f-41c65acd6a47/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": "a79f3273-edef-4520-bc5e-c59e50319eeb", + "link_id": "9513e664-ab02-4417-af7f-41c65acd6a47", "nodes": [], - "project_id": "1d0a1836-69cb-4fd5-a872-7d160ba41d37" + "project_id": "e484467e-a739-472d-b158-cee8bd5fa1cc" } diff --git a/docs/api/examples/controller_post_projectsprojectidnodes.txt b/docs/api/examples/controller_post_projectsprojectidnodes.txt index e1b50428..f9958db6 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/b42b814b-e8a7-405a-aece-3b0e705f9837/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/02dff695-7eb3-4af0-b71f-827d7b5ab08b/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' -POST /v2/projects/b42b814b-e8a7-405a-aece-3b0e705f9837/nodes HTTP/1.1 +POST /v2/projects/02dff695-7eb3-4af0-b71f-827d7b5ab08b/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": "56b93bfb-92e1-482a-a7f9-21fbdc5fb17d", + "node_id": "d7500563-9014-4d29-8488-5b5a926a8ee4", "node_type": "vpcs", - "project_id": "b42b814b-e8a7-405a-aece-3b0e705f9837", + "project_id": "02dff695-7eb3-4af0-b71f-827d7b5ab08b", "properties": { "startup_script": "echo test" }, diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidreload.txt index 313cb9e9..7a7dc3fe 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/6de0b9c6-d6b0-475d-b85d-5bc5a17496c4/nodes/61e86bf5-57f2-4e16-ac61-672b2772a667/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/d93bb1ef-9dfa-4cb5-b6a9-4e668947f988/nodes/b11bb2db-3cfb-451b-8e87-5182c1ecccc5/reload' -d '{}' -POST /v2/projects/6de0b9c6-d6b0-475d-b85d-5bc5a17496c4/nodes/61e86bf5-57f2-4e16-ac61-672b2772a667/reload HTTP/1.1 +POST /v2/projects/d93bb1ef-9dfa-4cb5-b6a9-4e668947f988/nodes/b11bb2db-3cfb-451b-8e87-5182c1ecccc5/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstart.txt index 3f51df4e..580f32d6 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/03185733-50dc-48cd-998e-5180f931f7f6/nodes/3ac82a48-3fae-4b07-a7fa-db1791c81c01/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a1d92625-3437-4cae-a196-2149b4115a3d/nodes/652ecae0-067e-410e-84c8-e36a972fd5d1/start' -d '{}' -POST /v2/projects/03185733-50dc-48cd-998e-5180f931f7f6/nodes/3ac82a48-3fae-4b07-a7fa-db1791c81c01/start HTTP/1.1 +POST /v2/projects/a1d92625-3437-4cae-a196-2149b4115a3d/nodes/652ecae0-067e-410e-84c8-e36a972fd5d1/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidstop.txt index 4ccfa918..58c737bd 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/cd72b0d5-63e2-4cea-9b1a-673b2fd65896/nodes/197de930-246a-485e-99a3-c28ab1191930/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/d654fcdd-c622-43a1-8f42-8de2b369dd1f/nodes/f2545768-c9c3-42f2-883e-7ea24c502b94/stop' -d '{}' -POST /v2/projects/cd72b0d5-63e2-4cea-9b1a-673b2fd65896/nodes/197de930-246a-485e-99a3-c28ab1191930/stop HTTP/1.1 +POST /v2/projects/d654fcdd-c622-43a1-8f42-8de2b369dd1f/nodes/f2545768-c9c3-42f2-883e-7ea24c502b94/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodesnodeidsuspend.txt index 4c07508f..d2b401d7 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/f8e779e1-147a-437b-b6d8-37d4f09401a7/nodes/84ae7b5b-5031-4d80-9602-490469bf0f98/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/d15a68c6-48a9-4ddc-aefa-ab79601b4d4f/nodes/368c0b76-ecca-4a43-aac6-a32583657b51/suspend' -d '{}' -POST /v2/projects/f8e779e1-147a-437b-b6d8-37d4f09401a7/nodes/84ae7b5b-5031-4d80-9602-490469bf0f98/suspend HTTP/1.1 +POST /v2/projects/d15a68c6-48a9-4ddc-aefa-ab79601b4d4f/nodes/368c0b76-ecca-4a43-aac6-a32583657b51/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesreload.txt b/docs/api/examples/controller_post_projectsprojectidnodesreload.txt index d2386dda..9017b0e7 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/d13f085c-c69d-42ab-913e-169640519e59/nodes/reload' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/77b1cf62-ec30-403a-918c-671638891c7a/nodes/reload' -d '{}' -POST /v2/projects/d13f085c-c69d-42ab-913e-169640519e59/nodes/reload HTTP/1.1 +POST /v2/projects/77b1cf62-ec30-403a-918c-671638891c7a/nodes/reload HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstart.txt b/docs/api/examples/controller_post_projectsprojectidnodesstart.txt index ae47ef1c..91eb0a84 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/4c522a04-61e4-4637-8f9e-535cd2812079/nodes/start' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/26c8a89e-74c2-4e83-a6a3-40acec885d7d/nodes/start' -d '{}' -POST /v2/projects/4c522a04-61e4-4637-8f9e-535cd2812079/nodes/start HTTP/1.1 +POST /v2/projects/26c8a89e-74c2-4e83-a6a3-40acec885d7d/nodes/start HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodesstop.txt b/docs/api/examples/controller_post_projectsprojectidnodesstop.txt index 2ffd0698..759f059e 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/12dc92cc-e177-4ac8-ab98-1ce52bb30b9d/nodes/stop' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/86492f69-8170-4528-bb1d-7e1634ae6e27/nodes/stop' -d '{}' -POST /v2/projects/12dc92cc-e177-4ac8-ab98-1ce52bb30b9d/nodes/stop HTTP/1.1 +POST /v2/projects/86492f69-8170-4528-bb1d-7e1634ae6e27/nodes/stop HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt b/docs/api/examples/controller_post_projectsprojectidnodessuspend.txt index 7f0c5c09..1275b780 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/ae080111-1b50-47da-81dd-da6a005fb152/nodes/suspend' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/1af7747d-711f-42e5-a786-7df48da0ebe3/nodes/suspend' -d '{}' -POST /v2/projects/ae080111-1b50-47da-81dd-da6a005fb152/nodes/suspend HTTP/1.1 +POST /v2/projects/1af7747d-711f-42e5-a786-7df48da0ebe3/nodes/suspend HTTP/1.1 {} diff --git a/docs/api/examples/controller_post_projectsprojectidopen.txt b/docs/api/examples/controller_post_projectsprojectidopen.txt index c24836fa..bab154af 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/0431d0d3-30ca-4bf5-902b-3c917350f322/open' -d '{}' +curl -i -X POST 'http://localhost:3080/v2/projects/a2261063-ef11-4d30-806e-346fd96114f3/open' -d '{}' -POST /v2/projects/0431d0d3-30ca-4bf5-902b-3c917350f322/open HTTP/1.1 +POST /v2/projects/a2261063-ef11-4d30-806e-346fd96114f3/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/tmp6oq_qx4w/projects/0431d0d3-30ca-4bf5-902b-3c917350f322", - "project_id": "0431d0d3-30ca-4bf5-902b-3c917350f322", + "path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3s08ou3p/projects/a2261063-ef11-4d30-806e-346fd96114f3", + "project_id": "a2261063-ef11-4d30-806e-346fd96114f3", "status": "opened" } diff --git a/docs/api/examples/controller_post_projectsprojectidshapes.txt b/docs/api/examples/controller_post_projectsprojectidshapes.txt index 1be3773b..7a2eb26a 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/5490bb47-660d-4952-9b55-bedba5a3a7b8/shapes' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' +curl -i -X POST 'http://localhost:3080/v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes' -d '{"svg": "", "x": 10, "y": 20, "z": 0}' -POST /v2/projects/5490bb47-660d-4952-9b55-bedba5a3a7b8/shapes HTTP/1.1 +POST /v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes HTTP/1.1 { "svg": "", "x": 10, @@ -17,8 +17,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/shapes { - "project_id": "5490bb47-660d-4952-9b55-bedba5a3a7b8", - "shape_id": "61dafcde-a1af-4147-9ef3-82ccbe0f4870", + "project_id": "c4c496e0-2d4d-4377-aba3-1c90ed0e5e93", + "shape_id": "a9c8ddfe-a300-4970-9891-6a3276c82a42", "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 9424de2b..a2ea2e4d 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/4fddac5e-36b9-4fc8-80e6-8320d9034b2e/nodes/74b7290d-941b-4b76-be0c-e613c66d5451' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}' +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"}}' -PUT /v2/projects/4fddac5e-36b9-4fc8-80e6-8320d9034b2e/nodes/74b7290d-941b-4b76-be0c-e613c66d5451 HTTP/1.1 +PUT /v2/projects/1108215e-0cda-4a72-be9c-232d67445f23/nodes/38a51cbc-b557-4843-8b4e-64b2af1382f6 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": "74b7290d-941b-4b76-be0c-e613c66d5451", + "node_id": "38a51cbc-b557-4843-8b4e-64b2af1382f6", "node_type": "vpcs", - "project_id": "4fddac5e-36b9-4fc8-80e6-8320d9034b2e", + "project_id": "1108215e-0cda-4a72-be9c-232d67445f23", "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 f09aab81..4ab2e9f1 100644 --- a/docs/api/examples/controller_put_projectsprojectidshapesshapeid.txt +++ b/docs/api/examples/controller_put_projectsprojectidshapesshapeid.txt @@ -1,6 +1,6 @@ -curl -i -X PUT 'http://localhost:3080/v2/projects/eac9bc49-0ec5-4839-831e-0b8a896e29c3/shapes/10b825e2-feb2-46ac-80b2-5c82007e0949' -d '{"x": 42}' +curl -i -X PUT 'http://localhost:3080/v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c' -d '{"x": 42}' -PUT /v2/projects/eac9bc49-0ec5-4839-831e-0b8a896e29c3/shapes/10b825e2-feb2-46ac-80b2-5c82007e0949 HTTP/1.1 +PUT /v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c HTTP/1.1 { "x": 42 } @@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1 X-ROUTE: /v2/projects/{project_id}/shapes/{shape_id} { - "project_id": "eac9bc49-0ec5-4839-831e-0b8a896e29c3", - "shape_id": "10b825e2-feb2-46ac-80b2-5c82007e0949", + "project_id": "43e74bf9-fc2f-4229-b2e8-b0868848579f", + "shape_id": "9f09cf79-5d99-4b0e-9994-c0a12982259c", "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 87c60be0..ba6ddf55 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmrelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on an ATM switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index dfff681b..690dead3 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to an ATM switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from an ATM switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 4ed374af..37472348 100644 --- a/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/atm_switch/projectsprojectidatmswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on an ATM switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 5649d9bb..56080a32 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a cloud instance Parameters ********** - **adapter_number**: Adapter on the cloud (always 0) -- **port_number**: Port on the cloud - **project_id**: Project UUID +- **port_number**: Port on the cloud - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from a cloud instance Parameters ********** - **adapter_number**: Adapter on the cloud (always 0) -- **port_number**: Port on the cloud - **project_id**: Project UUID +- **port_number**: Port on the cloud - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 1aa9be85..c6c4abc4 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on a cloud instance Parameters ********** - **adapter_number**: Adapter on the cloud (always 0) -- **port_number**: Port on the cloud - **project_id**: Project UUID +- **port_number**: Port on the cloud - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 5752f8f9..0ef066b3 100644 --- a/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/cloud/projectsprojectidcloudnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on a cloud instance Parameters ********** - **adapter_number**: Adapter on the cloud (always 0) -- **port_number**: Port on the cloud - **project_id**: Project UUID +- **port_number**: Port on the cloud - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst index f6a83c2e..42a52c04 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a Docker container Parameters ********** - **adapter_number**: Adapter where the nio should be added -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes @@ -34,8 +34,8 @@ Remove a NIO from a Docker container Parameters ********** - **adapter_number**: Adapter where the nio should be added -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 4b5a0ddc..10062644 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on a Docker container instance Parameters ********** - **adapter_number**: Adapter to start a packet capture -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 13b3de14..149b6674 100644 --- a/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on a Docker container instance Parameters ********** - **adapter_number**: Adapter to stop a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ef29e1dd..f7871c12 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a Dynamips VM instance Parameters ********** - **adapter_number**: Adapter where the nio should be added -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from a Dynamips VM instance Parameters ********** - **adapter_number**: Adapter from where the nio should be removed -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index a10a390a..e92fa5a7 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on a Dynamips VM instance Parameters ********** - **adapter_number**: Adapter to start a packet capture -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 7cbed296..3fb34a24 100644 --- a/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/dynamips_vm/projectsprojectiddynamipsnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on a Dynamips VM instance Parameters ********** - **adapter_number**: Adapter to stop a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index d08d0df7..ef0cd267 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to an Ethernet hub instance Parameters ********** - **adapter_number**: Adapter on the hub (always 0) -- **port_number**: Port on the hub - **project_id**: Project UUID +- **port_number**: Port on the hub - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from an Ethernet hub instance Parameters ********** - **adapter_number**: Adapter on the hub (always 0) -- **port_number**: Port on the hub - **project_id**: Project UUID +- **port_number**: Port on the hub - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index b137f971..39d6cb29 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on an Ethernet hub instance Parameters ********** - **adapter_number**: Adapter on the hub (always 0) -- **port_number**: Port on the hub - **project_id**: Project UUID +- **port_number**: Port on the hub - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 542a126f..0450df8a 100644 --- a/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_hub/projectsprojectidethernethubnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on an Ethernet hub instance Parameters ********** - **adapter_number**: Adapter on the hub (always 0) -- **port_number**: Port on the hub - **project_id**: Project UUID +- **port_number**: Port on the hub - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 9855a5e7..a1c1fcd9 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to an Ethernet switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from an Ethernet switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 5418ac97..5b0441af 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on an Ethernet switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 84d6ab1d..6d8ba8de 100644 --- a/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on an Ethernet switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 39480104..9657e2bd 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a Frame Relay switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from a Frame Relay switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 5032be66..5bc70cd5 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on a Frame Relay switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index b79a1bb9..8de75f26 100644 --- a/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/frame_relay_switch/projectsprojectidframerelayswitchnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on a Frame Relay switch instance Parameters ********** - **adapter_number**: Adapter on the switch (always 0) -- **port_number**: Port on the switch - **project_id**: Project UUID +- **port_number**: Port on the switch - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 2b136374..8d92b949 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a IOU instance Parameters ********** - **adapter_number**: Network adapter where the nio is located -- **port_number**: Port where the nio should be added - **project_id**: Project UUID +- **port_number**: Port where the nio should be added - **node_id**: Node UUID Response status codes @@ -34,8 +34,8 @@ Remove a NIO from a IOU instance Parameters ********** - **adapter_number**: Network adapter where the nio is located -- **port_number**: Port from where the nio should be removed - **project_id**: Project UUID +- **port_number**: Port from where the nio should be removed - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 254369fd..e83d8898 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on an IOU VM instance Parameters ********** - **adapter_number**: Adapter to start a packet capture -- **port_number**: Port on the adapter - **project_id**: Project UUID +- **port_number**: Port on the adapter - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 8eb1ee77..fa74f200 100644 --- a/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/iou/projectsprojectidiounodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on an IOU VM instance Parameters ********** - **adapter_number**: Adapter to stop a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst index 6cb940bd..ac6a8c46 100644 --- a/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a Qemu VM instance Parameters ********** - **adapter_number**: Network adapter where the nio is located -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes @@ -34,8 +34,8 @@ Remove a NIO from a Qemu VM instance Parameters ********** - **adapter_number**: Network adapter where the nio is located -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index e1e4d187..11dfa599 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a VirtualBox VM instance Parameters ********** - **adapter_number**: Adapter where the nio should be added -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes @@ -34,8 +34,8 @@ Remove a NIO from a VirtualBox VM instance Parameters ********** - **adapter_number**: Adapter from where the nio should be removed -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index 4cd31e4b..3c79c652 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on a VirtualBox VM instance Parameters ********** - **adapter_number**: Adapter to start a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 59f935e0..a2e42d04 100644 --- a/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/virtualbox/projectsprojectidvirtualboxnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on a VirtualBox VM instance Parameters ********** - **adapter_number**: Adapter to stop a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst index ff777a36..a7104f5c 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a VMware VM instance Parameters ********** - **adapter_number**: Adapter where the nio should be added -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes @@ -28,8 +28,8 @@ Remove a NIO from a VMware VM instance Parameters ********** - **adapter_number**: Adapter from where the nio should be removed -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst index c5f206e8..d418d432 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstartcapture.rst @@ -10,8 +10,8 @@ Start a packet capture on a VMware VM instance Parameters ********** - **adapter_number**: Adapter to start a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst index 477ac367..6dcb6076 100644 --- a/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst +++ b/docs/api/v2/compute/vmware/projectsprojectidvmwarenodesnodeidadaptersadapternumberdportsportnumberdstopcapture.rst @@ -10,8 +10,8 @@ Stop a packet capture on a VMware VM instance Parameters ********** - **adapter_number**: Adapter to stop a packet capture -- **port_number**: Port on the adapter (always 0) - **project_id**: Project UUID +- **port_number**: Port on the adapter (always 0) - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst index b97de8cf..569f5c96 100644 --- a/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst +++ b/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodesnodeidadaptersadapternumberdportsportnumberdnio.rst @@ -10,8 +10,8 @@ Add a NIO to a VPCS instance Parameters ********** - **adapter_number**: Network adapter where the nio is located -- **port_number**: Port where the nio should be added - **project_id**: Project UUID +- **port_number**: Port where the nio should be added - **node_id**: Node UUID Response status codes @@ -34,8 +34,8 @@ Remove a NIO from a VPCS instance Parameters ********** - **adapter_number**: Network adapter where the nio is located -- **port_number**: Port from where the nio should be removed - **project_id**: Project UUID +- **port_number**: Port from where the nio should be removed - **node_id**: Node UUID Response status codes diff --git a/docs/api/v2/controller/shape/projectsprojectidshapesshapeid.rst b/docs/api/v2/controller/shape/projectsprojectidshapesshapeid.rst index 311b2520..3f693ecc 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 ********** -- **project_id**: Project UUID - **shape_id**: Shape UUID +- **project_id**: Project UUID Response status codes ********************** @@ -58,8 +58,8 @@ Delete a shape instance Parameters ********** -- **project_id**: Project UUID - **shape_id**: Shape UUID +- **project_id**: Project UUID Response status codes ********************** diff --git a/docs/curl.rst b/docs/curl.rst new file mode 100644 index 00000000..edc232eb --- /dev/null +++ b/docs/curl.rst @@ -0,0 +1,206 @@ +Sample session using curl +========================= + +You need to read the :doc:`glossary`, and doc:`general` before. + +Full endpoints list is available: doc:`endpoints` + +.. warning:: + + Beware the output of this sample is truncated in order + to simplify the understanding. Please read the + documentation for the exact output. + +You can check the server version with a simple curl command: + +.. code-block:: shell-session + + # curl "http://localhost:3080/v2/version" + { + "version": "2.0.0dev1" + } + +We will list the computes node where we can run our nodes: + +.. code-block:: shell-session + + # curl "http://localhost:3080/v2/computes" + [ + { + "compute_id": "local", + "connected": true, + "host": "127.0.0.1", + "name": "Local", + "port": 3080, + "protocol": "http", + "user": "admin" + } + ] + +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. + +The next step is to create a project. + +.. code-block:: shell-session + + # curl -X POST "http://localhost:3080/v2/projects" -d '{"name": "test"}' + { + "name": "test", + "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", + } + + +With this project id we can now create two VPCS Node. + +.. code-block:: shell-session + + # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes" -d '{"name": "VPCS 1", "node_type": "vpcs", "compute_id": "local"}' + { + "compute_id": "local", + "console": 5000, + "console_host": "127.0.0.1", + "console_type": "telnet", + "name": "VPCS 1", + "node_id": "f124dec0-830a-451e-a314-be50bbd58a00", + "node_type": "vpcs", + "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", + "properties": { + "startup_script": null, + "startup_script_path": null + }, + "status": "stopped" + } + + # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes" -d '{"name": "VPCS 2", "node_type": "vpcs", "compute_id": "local"}' + { + "compute_id": "local", + "console": 5001, + "console_host": "127.0.0.1", + "console_type": "telnet", + "name": "VPCS 2", + "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", + "node_type": "vpcs", + "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", + "properties": { + "startup_script": null, + "startup_script_path": null + }, + "status": "stopped" + } + +The properties dictionnary contains all setting specific to a node type (dynamips, docker, vpcs...) + +Now we need to link the two VPCS by connecting their port 0 together. + +.. code-block:: shell-session + + # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/links" -d '{"nodes": [{"adapter_number": 0, "node_id": "f124dec0-830a-451e-a314-be50bbd58a00", "port_number": 0}, {"adapter_number": 0, "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", "port_number": 0}]}' + { + "capture_file_name": null, + "capture_file_path": null, + "capturing": false, + "link_id": "007f2177-6790-4e1b-ac28-41fa226b2a06", + "nodes": [ + { + "adapter_number": 0, + "node_id": "f124dec0-830a-451e-a314-be50bbd58a00", + "port_number": 0 + }, + { + "adapter_number": 0, + "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", + "port_number": 0 + } + ], + "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f" + } + +Now we can start the two nodes. + +.. code-block:: shell-session + + # 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 "{}" + +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. + +.. code-block:: shell-session + + # telnet 127.0.0.1 5000 + Trying 127.0.0.1... + Connected to localhost. + Escape character is '^]'. + + Welcome to Virtual PC Simulator, version 0.6 + Dedicated to Daling. + Build time: Dec 29 2014 12:51:46 + Copyright (c) 2007-2014, Paul Meng (mirnshi@gmail.com) + All rights reserved. + + VPCS is free software, distributed under the terms of the "BSD" licence. + Source code and license can be found at vpcs.sf.net. + For more information, please visit wiki.freecode.com.cn. + + Press '?' to get help. + + VPCS> ip 192.168.1.1 + Checking for duplicate address... + PC1 : 192.168.1.1 255.255.255.0 + + VPCS> disconnect + + Good-bye + Connection closed by foreign host. + + # telnet 127.0.0.1 5001 + Trying 127.0.0.1... + Connected to localhost. + Escape character is '^]'. + + Welcome to Virtual PC Simulator, version 0.6 + Dedicated to Daling. + Build time: Dec 29 2014 12:51:46 + Copyright (c) 2007-2014, Paul Meng (mirnshi@gmail.com) + All rights reserved. + + VPCS is free software, distributed under the terms of the "BSD" licence. + Source code and license can be found at vpcs.sf.net. + For more information, please visit wiki.freecode.com.cn. + + Press '?' to get help. + + VPCS> ip 192.168.1.2 + Checking for duplicate address... + PC1 : 192.168.1.2 255.255.255.0 + + VPCS> ping 192.168.1.1 + 84 bytes from 192.168.1.1 icmp_seq=1 ttl=64 time=0.179 ms + 84 bytes from 192.168.1.1 icmp_seq=2 ttl=64 time=0.218 ms + 84 bytes from 192.168.1.1 icmp_seq=3 ttl=64 time=0.190 ms + 84 bytes from 192.168.1.1 icmp_seq=4 ttl=64 time=0.198 ms + 84 bytes from 192.168.1.1 icmp_seq=5 ttl=64 time=0.185 ms + + VPCS> disconnect + Good-bye + Connection closed by foreign host. + +And we stop the two nodes. + +.. code-block:: shell-session + + # 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 "{}" + +You can see notification about the changes via the notification feed: + +.. code-block:: shell-session + + # curl "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/notifications" + {"action": "ping", "event": {"compute_id": "local", "cpu_usage_percent": 35.7, "memory_usage_percent": 80.7}} + {"action": "node.updated", "event": {"command_line": "/usr/local/bin/vpcs -p 5001 -m 1 -i 1 -F -R -s 10001 -c 10000 -t 127.0.0.1", "compute_id": "local", "console": 5001, "console_host": "127.0.0.1", "console_type": "telnet", "name": "VPCS 2", "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", "node_type": "vpcs", "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", "properties": {"startup_script": null, "startup_script_path": null}, "status": "started"}} + +A websocket version is also available on http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/notifications/ws + +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/docs/development.rst b/docs/development.rst index b2a1be80..a6fe5bb9 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -7,10 +7,21 @@ Code convention You should respect all the PEP8 convention except the rule about max line length. +Source code +=========== + +Source code is available on github under GPL V3 licence: +https://github.com/GNS3/ + +The GNS3 server: https://github.com/GNS3/gns3-server +The Qt GUI: https://github.com/GNS3/gns3-gui + Documentation ============== +In the gns3-server project. + Build doc ---------- In the project root folder: diff --git a/docs/endpoints.rst b/docs/endpoints.rst new file mode 100644 index 00000000..c8a2c596 --- /dev/null +++ b/docs/endpoints.rst @@ -0,0 +1,41 @@ +Endpoints +------------ + +GNS3 expose two type of endpoints: + + * Controller + * Compute + +Controller API Endpoints +~~~~~~~~~~~~~~~~~~~~~~~~ + +The controller manage all the running topologies. The controller +has knowledge of everything on in GNS3. If you want to create and +manage a topology it's here. The controller will call the compute API +when needed. + +In a standard GNS3 installation you have one controller and one or many +computes. + +.. toctree:: + :glob: + :maxdepth: 2 + + api/v2/controller/* + + +Compute API Endpoints +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The compute is the GNS3 process running on a server and controlling +the VM process. + +.. WARNING:: + Consider this endpoints as a private API used by the controller. + +.. toctree:: + :glob: + :maxdepth: 2 + + api/v2/compute/* + diff --git a/docs/general.rst b/docs/general.rst index 23bf7c80..3d269c83 100644 --- a/docs/general.rst +++ b/docs/general.rst @@ -1,3 +1,6 @@ +General +################ + Communications =============== @@ -20,210 +23,6 @@ JSON like that they are used to warn user about something he should change and they are not an internal software error. -Sample session using curl -========================= - -You need to read the :doc:`glossary` before. - -.. warning:: - - Beware the output of this sample is truncated in order - to simplify the understanding. Please read the - documentation for the exact output. - -You can check the server version with a simple curl command: - -.. code-block:: shell-session - - # curl "http://localhost:3080/v2/version" - { - "version": "2.0.0dev1" - } - -We will list the computes node where we can run our nodes: - -.. code-block:: shell-session - - # curl "http://localhost:3080/v2/computes" - [ - { - "compute_id": "local", - "connected": true, - "host": "127.0.0.1", - "name": "Local", - "port": 3080, - "protocol": "http", - "user": "admin" - } - ] - -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. - -The next step is to create a project. - -.. code-block:: shell-session - - # curl -X POST "http://localhost:3080/v2/projects" -d '{"name": "test"}' - { - "name": "test", - "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", - } - - -With this project id we can now create two VPCS Node. - -.. code-block:: shell-session - - # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes" -d '{"name": "VPCS 1", "node_type": "vpcs", "compute_id": "local"}' - { - "compute_id": "local", - "console": 5000, - "console_host": "127.0.0.1", - "console_type": "telnet", - "name": "VPCS 1", - "node_id": "f124dec0-830a-451e-a314-be50bbd58a00", - "node_type": "vpcs", - "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", - "properties": { - "startup_script": null, - "startup_script_path": null - }, - "status": "stopped" - } - - # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/nodes" -d '{"name": "VPCS 2", "node_type": "vpcs", "compute_id": "local"}' - { - "compute_id": "local", - "console": 5001, - "console_host": "127.0.0.1", - "console_type": "telnet", - "name": "VPCS 2", - "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", - "node_type": "vpcs", - "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", - "properties": { - "startup_script": null, - "startup_script_path": null - }, - "status": "stopped" - } - -The properties dictionnary contains all setting specific to a node type (dynamips, docker, vpcs...) - -Now we need to link the two VPCS by connecting their port 0 together. - -.. code-block:: shell-session - - # curl -X POST "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/links" -d '{"nodes": [{"adapter_number": 0, "node_id": "f124dec0-830a-451e-a314-be50bbd58a00", "port_number": 0}, {"adapter_number": 0, "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", "port_number": 0}]}' - { - "capture_file_name": null, - "capture_file_path": null, - "capturing": false, - "link_id": "007f2177-6790-4e1b-ac28-41fa226b2a06", - "nodes": [ - { - "adapter_number": 0, - "node_id": "f124dec0-830a-451e-a314-be50bbd58a00", - "port_number": 0 - }, - { - "adapter_number": 0, - "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", - "port_number": 0 - } - ], - "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f" - } - -Now we can start the two nodes. - -.. code-block:: shell-session - - # 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 "{}" - -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. - -.. code-block:: shell-session - - # telnet 127.0.0.1 5000 - Trying 127.0.0.1... - Connected to localhost. - Escape character is '^]'. - - Welcome to Virtual PC Simulator, version 0.6 - Dedicated to Daling. - Build time: Dec 29 2014 12:51:46 - Copyright (c) 2007-2014, Paul Meng (mirnshi@gmail.com) - All rights reserved. - - VPCS is free software, distributed under the terms of the "BSD" licence. - Source code and license can be found at vpcs.sf.net. - For more information, please visit wiki.freecode.com.cn. - - Press '?' to get help. - - VPCS> ip 192.168.1.1 - Checking for duplicate address... - PC1 : 192.168.1.1 255.255.255.0 - - VPCS> disconnect - - Good-bye - Connection closed by foreign host. - - # telnet 127.0.0.1 5001 - Trying 127.0.0.1... - Connected to localhost. - Escape character is '^]'. - - Welcome to Virtual PC Simulator, version 0.6 - Dedicated to Daling. - Build time: Dec 29 2014 12:51:46 - Copyright (c) 2007-2014, Paul Meng (mirnshi@gmail.com) - All rights reserved. - - VPCS is free software, distributed under the terms of the "BSD" licence. - Source code and license can be found at vpcs.sf.net. - For more information, please visit wiki.freecode.com.cn. - - Press '?' to get help. - - VPCS> ip 192.168.1.2 - Checking for duplicate address... - PC1 : 192.168.1.2 255.255.255.0 - - VPCS> ping 192.168.1.1 - 84 bytes from 192.168.1.1 icmp_seq=1 ttl=64 time=0.179 ms - 84 bytes from 192.168.1.1 icmp_seq=2 ttl=64 time=0.218 ms - 84 bytes from 192.168.1.1 icmp_seq=3 ttl=64 time=0.190 ms - 84 bytes from 192.168.1.1 icmp_seq=4 ttl=64 time=0.198 ms - 84 bytes from 192.168.1.1 icmp_seq=5 ttl=64 time=0.185 ms - - VPCS> disconnect - Good-bye - Connection closed by foreign host. - -And we stop the two nodes. - -.. code-block:: shell-session - - # 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 "{}" - -You can see notification about the changes via the notification feed: - -.. code-block:: shell-session - - # curl "http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/notifications" - {"action": "ping", "event": {"compute_id": "local", "cpu_usage_percent": 35.7, "memory_usage_percent": 80.7}} - {"action": "node.updated", "event": {"command_line": "/usr/local/bin/vpcs -p 5001 -m 1 -i 1 -F -R -s 10001 -c 10000 -t 127.0.0.1", "compute_id": "local", "console": 5001, "console_host": "127.0.0.1", "console_type": "telnet", "name": "VPCS 2", "node_id": "83892a4d-aea0-4350-8b3e-d0af3713da74", "node_type": "vpcs", "project_id": "b8c070f7-f34c-4b7b-ba6f-be3d26ed073f", "properties": {"startup_script": null, "startup_script_path": null}, "status": "started"}} - -A websocket version is also available on http://localhost:3080/v2/projects/b8c070f7-f34c-4b7b-ba6f-be3d26ed073f/notifications/ws - -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. Limitations ============ diff --git a/docs/index.rst b/docs/index.rst index 329c37d7..7e0b5099 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,60 +1,29 @@ Welcome to API documentation! ====================================== -.. WARNING:: - The API is not stable, feel free to post comments on our website - https://gns3.com/ - .. WARNING:: This documentation are for developers for user documentation go to https://gns3.com/ + The API is not stable, feel free to post comments on our website + https://gns3.com/ + +This documentation cover the GNS3 API and ressources for GNS3 developers. + +API +---- .. toctree:: + :maxdepth: 2 + general glossary + curl + endpoints + +GNS3 developements +------------------ +.. toctree:: development file_format - -Endpoints ------------- - -GNS3 expose two type of endpoints: - - * Controller - * Compute - -Controller API Endpoints -~~~~~~~~~~~~~~~~~~~~~~~~ - -The controller manage all the running topologies. The controller -has knowledge of everything on in GNS3. If you want to create and -manage a topology it's here. The controller will call the compute API -when needed. - -In a standard GNS3 installation you have one controller and one or many -computes. - -.. toctree:: - :glob: - :maxdepth: 2 - - api/v2/controller/* - - -Compute API Endpoints -~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The compute is the GNS3 process running on a server and controlling -the VM process. - -.. WARNING:: - Consider this endpoints as a private API used by the controller. - -.. toctree:: - :glob: - :maxdepth: 2 - - api/v2/compute/* -