mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +00:00
Update documentation
This commit is contained in:
parent
68eca6c111
commit
c96bd5f2a9
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2b3ef2f1-06ac-44ab-a980-2bbf3df3d4a9/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2b3ef2f1-06ac-44ab-a980-2bbf3df3d4a9/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cb93b35e-f756-426d-953e-df347513e8d8'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cb93b35e-f756-426d-953e-df347513e8d8 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2d5ed591-b7f7-4fd9-87da-2a8041aff861/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e209cd0c-6705-4edd-b552-e5e51d1150bd/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2d5ed591-b7f7-4fd9-87da-2a8041aff861/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e209cd0c-6705-4edd-b552-e5e51d1150bd/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b83255ec-827a-49cd-acb5-ba55a3355fe0'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b83255ec-827a-49cd-acb5-ba55a3355fe0 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9eccc91e-6ce6-442c-84ba-97969ceb043a/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da07b6e8-6031-411b-a2fe-a8423114c205/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9eccc91e-6ce6-442c-84ba-97969ceb043a/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da07b6e8-6031-411b-a2fe-a8423114c205/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2f32627f-c346-4f51-a492-f2078b6b4caa/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f480e178-42b7-4aaa-81f0-7623a98f4d6a/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2f32627f-c346-4f51-a492-f2078b6b4caa/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f480e178-42b7-4aaa-81f0-7623a98f4d6a/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6d314f-8345-471b-9a43-9eebc8d8ea6d'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6d314f-8345-471b-9a43-9eebc8d8ea6d HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1288b33c-169d-4aa3-a8f9-ba91537c4aa8/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1288b33c-169d-4aa3-a8f9-ba91537c4aa8/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e4f6564d-1d40-4840-80c2-ecea2f29a14a'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e4f6564d-1d40-4840-80c2-ecea2f29a14a HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/e4f6564d-1d40-4840-80c2-ecea2f29a14a",
|
||||
"node_id": "e4f6564d-1d40-4840-80c2-ecea2f29a14a",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/abe9e14b-0312-4738-ada2-e43e6df5d62b",
|
||||
"node_id": "abe9e14b-0312-4738-ada2-e43e6df5d62b",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c791ef3-51ef-4440-8cea-e6ee70c40475/configs'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c791ef3-51ef-4440-8cea-e6ee70c40475/configs HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/54c0602e-b77c-4285-a25f-be4a15016364'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/54c0602e-b77c-4285-a25f-be4a15016364 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:63:64:00",
|
||||
"mac_address": "00:dd:80:e0:cc:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/54c0602e-b77c-4285-a25f-be4a15016364",
|
||||
"node_id": "54c0602e-b77c-4285-a25f-be4a15016364",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/225d6620-d5a2-4091-a735-81c3945de0cc",
|
||||
"node_id": "225d6620-d5a2-4091-a735-81c3945de0cc",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c6dac8af-3ae6-40d0-a45a-eaaf5a34a227'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c6dac8af-3ae6-40d0-a45a-eaaf5a34a227 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "c6dac8af-3ae6-40d0-a45a-eaaf5a34a227",
|
||||
"node_id": "9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5721,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256",
|
||||
"node_id": "fc5ca6c0-ee4d-4be8-a91f-afc4a94b9256",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/22b82288-8d50-4f3c-ac34-cfbf2377c88a",
|
||||
"node_id": "22b82288-8d50-4f3c-ac34-cfbf2377c88a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2f9bb9bb-9c14-4034-8da0-212e3d20ba15/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/427777a3-43f9-49b3-a6e3-60ba02b04747/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2f9bb9bb-9c14-4034-8da0-212e3d20ba15/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/427777a3-43f9-49b3-a6e3-60ba02b04747/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/86eaf1ae-228b-4070-b67f-3b6a63ddb60c/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7b8e805-7d4d-4804-b64b-cc7feff207e2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/86eaf1ae-228b-4070-b67f-3b6a63ddb60c/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7b8e805-7d4d-4804-b64b-cc7feff207e2/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/945d4525-7f44-477c-bf5e-8ece7d1c870d/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2a616825-84ef-4b37-9a00-44ab5c835626/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/945d4525-7f44-477c-bf5e-8ece7d1c870d/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2a616825-84ef-4b37-9a00-44ab5c835626/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "5913b5cf-035d-40e0-a094-918bfe4b223a", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "210bf489-e712-471f-a1ea-00dab02a21da", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "5913b5cf-035d-40e0-a094-918bfe4b223a",
|
||||
"node_id": "210bf489-e712-471f-a1ea-00dab02a21da",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
@ -25,8 +25,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/5913b5cf-035d-40e0-a094-918bfe4b223a",
|
||||
"node_id": "5913b5cf-035d-40e0-a094-918bfe4b223a",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/210bf489-e712-471f-a1ea-00dab02a21da",
|
||||
"node_id": "210bf489-e712-471f-a1ea-00dab02a21da",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1f5895d0-cf8c-48ab-852c-e11fbd8a3982/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1f5895d0-cf8c-48ab-852c-e11fbd8a3982/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c6114408-b83b-4eb1-a32f-b00786b63271/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cbe987db-52ef-4c41-b2c1-1de19b45f57a/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c6114408-b83b-4eb1-a32f-b00786b63271/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cbe987db-52ef-4c41-b2c1-1de19b45f57a/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4a7f87a-a27c-4c19-938e-dc0341de0a81/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/118f3984-6955-4979-a90c-1ad548306bec/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4a7f87a-a27c-4c19-938e-dc0341de0a81/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/118f3984-6955-4979-a90c-1ad548306bec/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f4e416f5-e5ec-493e-adcf-eadc46f86587/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f4e416f5-e5ec-493e-adcf-eadc46f86587/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37995599-2a0f-4eba-b661-ab9a353af9af/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/192a813c-9760-47d7-aeee-17cbbddb8599/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37995599-2a0f-4eba-b661-ab9a353af9af/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/192a813c-9760-47d7-aeee-17cbbddb8599/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"console": 5712,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmprk3014is/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptd6ogj3n/iourc",
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/37995599-2a0f-4eba-b661-ab9a353af9af",
|
||||
"node_id": "37995599-2a0f-4eba-b661-ab9a353af9af",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/192a813c-9760-47d7-aeee-17cbbddb8599",
|
||||
"node_id": "192a813c-9760-47d7-aeee-17cbbddb8599",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0713a75e-ee3d-4904-a750-0632969b439a/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0713a75e-ee3d-4904-a750-0632969b439a/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:97:69:00",
|
||||
"mac_address": "00:dd:80:2d:57:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d491a199-67ab-487f-a9a9-4e4657489769",
|
||||
"node_id": "d491a199-67ab-487f-a9a9-4e4657489769",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26d01216-7890-4814-8fb0-9b6569c32d57",
|
||||
"node_id": "26d01216-7890-4814-8fb0-9b6569c32d57",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/59d404ea-718d-44b9-976d-7a8cffe857d1/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/59d404ea-718d-44b9-976d-7a8cffe857d1/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c66cd69f-a16e-4f3b-b273-c5bb3919aa6f/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c66cd69f-a16e-4f3b-b273-c5bb3919aa6f/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fbc22414-5ca4-4279-8831-cc9cc8da72c2/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fbc22414-5ca4-4279-8831-cc9cc8da72c2/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/00459e30-4fac-41cf-bbef-2a5dba39f47c/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/00459e30-4fac-41cf-bbef-2a5dba39f47c/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:f4:7c:00",
|
||||
"mac_address": "00:dd:80:ba:ae:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/00459e30-4fac-41cf-bbef-2a5dba39f47c",
|
||||
"node_id": "00459e30-4fac-41cf-bbef-2a5dba39f47c",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9422a573-a665-45e9-b7b6-be7b0d62baae",
|
||||
"node_id": "9422a573-a665-45e9-b7b6-be7b0d62baae",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fff154a4-b585-4ffe-b3c3-c7263d48cd8a/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fff154a4-b585-4ffe-b3c3-c7263d48cd8a/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a1f4da5d-5e1f-4d95-9e10-1844cdd793c1/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a1f4da5d-5e1f-4d95-9e10-1844cdd793c1/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "49869e55-29f7-438b-ad0b-cf240d399b9a",
|
||||
"node_id": "512763bf-c13f-4bb2-b8c0-ab7a2f22e897",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5424b741-a94e-4128-b452-b9567057ef39/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5424b741-a94e-4128-b452-b9567057ef39/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de53c6ae-1e45-49dc-a975-2c7ceff86927/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de53c6ae-1e45-49dc-a975-2c7ceff86927/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/842b2246-9d1e-414b-b28b-64b5ec8c6a7f/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/842b2246-9d1e-414b-b28b-64b5ec8c6a7f/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d3c8f80-1e2b-4413-8eb7-06713d95a66d/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d3c8f80-1e2b-4413-8eb7-06713d95a66d/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b679cf79-135f-4090-a760-e32028adcbeb/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b679cf79-135f-4090-a760-e32028adcbeb/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0f80391a-1421-4971-b208-8276a343882a/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0f80391a-1421-4971-b208-8276a343882a/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5721,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/214cf5da-3383-4b73-8369-0eab8dc718d3",
|
||||
"node_id": "214cf5da-3383-4b73-8369-0eab8dc718d3",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a6cddbfc-1066-4173-a26c-ebd43555200a",
|
||||
"node_id": "a6cddbfc-1066-4173-a26c-ebd43555200a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fa939ac9-39ee-4e75-a07d-dea1b3024642/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/be53ce7b-8656-410f-ba66-28ac2d48cffd/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fa939ac9-39ee-4e75-a07d-dea1b3024642/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/be53ce7b-8656-410f-ba66-28ac2d48cffd/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb050a25-8377-4e92-934b-4d212da587ea/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb050a25-8377-4e92-934b-4d212da587ea/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9240f44-b653-4010-ac2e-cb38d80e96d7/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9240f44-b653-4010-ac2e-cb38d80e96d7/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
"console": 5721,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f9240f44-b653-4010-ac2e-cb38d80e96d7",
|
||||
"node_id": "f9240f44-b653-4010-ac2e-cb38d80e96d7",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/95e9559a-8b3c-4aba-b63a-df643bc7971a",
|
||||
"node_id": "95e9559a-8b3c-4aba-b63a-df643bc7971a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e2de4ebc-1136-43fe-8d4b-5a37b9e89592/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e2de4ebc-1136-43fe-8d4b-5a37b9e89592/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_update_path_project_non_l0"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_update_path_project_non_l0"}'
|
||||
|
||||
PUT /v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b HTTP/1.1
|
||||
{
|
||||
"name": "second_name",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_update_path_project_non_l0"
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_update_path_project_non_l0"
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169' -d '{"console": 5714, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb53d-cc7c-42a0-ba95-f819ba66c589' -d '{"console": 5714, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb53d-cc7c-42a0-ba95-f819ba66c589 HTTP/1.1
|
||||
{
|
||||
"console": 5714,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/docker/8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169",
|
||||
"node_id": "8bd7d0bb-a0cc-4f5d-b8dd-bd0039a0f169",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/docker/db2eb53d-cc7c-42a0-ba95-f819ba66c589",
|
||||
"node_id": "db2eb53d-cc7c-42a0-ba95-f819ba66c589",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99fcf923-1d1f-451f-808d-0562446ab983' -d '{"console": 5713, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae' -d '{"console": 5713, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99fcf923-1d1f-451f-808d-0562446ab983 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae HTTP/1.1
|
||||
{
|
||||
"console": 5713,
|
||||
"ethernet_adapters": 4,
|
||||
@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"console": 5713,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmprys_zk85/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkd3orias/iourc",
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_json4/project-files/iou/99fcf923-1d1f-451f-808d-0562446ab983",
|
||||
"node_id": "99fcf923-1d1f-451f-808d-0562446ab983",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae",
|
||||
"node_id": "9cd0b496-0f36-4b2b-a950-b5fc75ea12ae",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/975c8cc2-230b-4bcf-9b3c-799668a38f75' -d '{"console": 5713, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a' -d '{"console": 5713, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/975c8cc2-230b-4bcf-9b3c-799668a38f75 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a HTTP/1.1
|
||||
{
|
||||
"console": 5713,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:8f:75:00",
|
||||
"mac_address": "00:dd:80:fd:0a:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/975c8cc2-230b-4bcf-9b3c-799668a38f75",
|
||||
"node_id": "975c8cc2-230b-4bcf-9b3c-799668a38f75",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a",
|
||||
"node_id": "dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpohgwih_d/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/373e36f5-6128-4a99-969d-baa2ced74b71' -d '{"console": 5722, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0763054-c2af-4ca4-a400-ae701b534653' -d '{"console": 5722, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/373e36f5-6128-4a99-969d-baa2ced74b71 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0763054-c2af-4ca4-a400-ae701b534653 HTTP/1.1
|
||||
{
|
||||
"console": 5722,
|
||||
"name": "test"
|
||||
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "373e36f5-6128-4a99-969d-baa2ced74b71",
|
||||
"node_id": "f0763054-c2af-4ca4-a400-ae701b534653",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/43749238-108e-46d4-8972-a201ab3f041c' -d '{"console": 5723, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d741e315-806f-4849-ba3c-81f224501d94' -d '{"console": 5723, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/43749238-108e-46d4-8972-a201ab3f041c HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d741e315-806f-4849-ba3c-81f224501d94 HTTP/1.1
|
||||
{
|
||||
"console": 5723,
|
||||
"name": "test",
|
||||
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5723,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm3d7sd4g/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/43749238-108e-46d4-8972-a201ab3f041c",
|
||||
"node_id": "43749238-108e-46d4-8972-a201ab3f041c",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d741e315-806f-4849-ba3c-81f224501d94",
|
||||
"node_id": "d741e315-806f-4849-ba3c-81f224501d94",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/38eb454f-0e47-4c31-9eb9-4996036e076e'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9'
|
||||
|
||||
DELETE /v2/projects/38eb454f-0e47-4c31-9eb9-4996036e076e HTTP/1.1
|
||||
DELETE /v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/3bfa063a-bbfb-4c46-aefd-39b73c8ee707/drawings/a816efd7-0c3e-4267-8891-011de8389855'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514'
|
||||
|
||||
DELETE /v2/projects/3bfa063a-bbfb-4c46-aefd-39b73c8ee707/drawings/a816efd7-0c3e-4267-8891-011de8389855 HTTP/1.1
|
||||
DELETE /v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/0f1adb1a-e58d-47ae-92a5-a0f4ed1858b2/links/b9be3e2e-4090-43a9-95a0-f95b30f441eb'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d'
|
||||
|
||||
DELETE /v2/projects/0f1adb1a-e58d-47ae-92a5-a0f4ed1858b2/links/b9be3e2e-4090-43a9-95a0-f95b30f441eb HTTP/1.1
|
||||
DELETE /v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/9f98296f-7740-45a2-a40f-e6db8c356318/nodes/65b24f26-b0a1-416b-9a00-822e256954e9'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b'
|
||||
|
||||
DELETE /v2/projects/9f98296f-7740-45a2-a40f-e6db8c356318/nodes/65b24f26-b0a1-416b-9a00-822e256954e9 HTTP/1.1
|
||||
DELETE /v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4'
|
||||
|
||||
DELETE /v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id}
|
||||
|
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1615/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/7e9f04f0-3d50-4e8e-acf0-0181436113a2'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/846403f5-9793-4576-b910-5fdd65838169'
|
||||
|
||||
GET /v2/projects/7e9f04f0-3d50-4e8e-acf0-0181436113a2 HTTP/1.1
|
||||
GET /v2/projects/846403f5-9793-4576-b910-5fdd65838169 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpckxarug_/projects/7e9f04f0-3d50-4e8e-acf0-0181436113a2",
|
||||
"project_id": "7e9f04f0-3d50-4e8e-acf0-0181436113a2",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9nuqdhub/projects/846403f5-9793-4576-b910-5fdd65838169",
|
||||
"project_id": "846403f5-9793-4576-b910-5fdd65838169",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/8136bd49-a9e0-43a2-8012-e49d539bc0b4/drawings'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings'
|
||||
|
||||
GET /v2/projects/8136bd49-a9e0-43a2-8012-e49d539bc0b4/drawings HTTP/1.1
|
||||
GET /v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings
|
||||
|
||||
[
|
||||
{
|
||||
"drawing_id": "7d8a9489-e8f8-4cab-ad67-c71d26c6d570",
|
||||
"project_id": "8136bd49-a9e0-43a2-8012-e49d539bc0b4",
|
||||
"drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4",
|
||||
"project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/8d82f6d1-a010-4dc0-bd01-77155280e3b8/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links'
|
||||
|
||||
GET /v2/projects/8d82f6d1-a010-4dc0-bd01-77155280e3b8/links HTTP/1.1
|
||||
GET /v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "3a5d720e-c005-421a-ba55-c4f9ba6b7fd8",
|
||||
"link_id": "c5df007d-4eef-4892-966f-4f2b142f1851",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "54888447-9a71-4a5c-9d0c-ebc39433fed6",
|
||||
"node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "c8e9784f-4a8f-4a1f-826a-e095d55d10c8",
|
||||
"node_id": "617d046f-1cca-4555-9237-cff43ef9966d",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "8d82f6d1-a010-4dc0-bd01-77155280e3b8"
|
||||
"project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd"
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/1e2f0577-9ba9-4c61-9a57-f85f2dd81cc7/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes'
|
||||
|
||||
GET /v2/projects/1e2f0577-9ba9-4c61-9a57-f85f2dd81cc7/nodes HTTP/1.1
|
||||
GET /v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -28,9 +28,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "9dab4635-2ad4-4b19-b222-3810f483b977",
|
||||
"node_id": "ba637508-65c3-49c4-ae13-a67a82df2448",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "1e2f0577-9ba9-4c61-9a57-f85f2dd81cc7",
|
||||
"project_id": "8cba891e-5cf2-4b59-8838-4967e7eac69f",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/339656cd-0ce9-481f-b4ef-358c1ac0fac6/nodes/f50e6309-1048-47b1-acaf-b60e5855e812/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/339656cd-0ce9-481f-b4ef-358c1ac0fac6/nodes/f50e6309-1048-47b1-acaf-b60e5855e812/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/46581e8f-d9f1-46fd-a072-b327ea821383/nodes/7615fe23-3526-4a5c-882c-99bd2e162e0b/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/46581e8f-d9f1-46fd-a072-b327ea821383/nodes/7615fe23-3526-4a5c-882c-99bd2e162e0b/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots'
|
||||
|
||||
GET /v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 197
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/snapshots
|
||||
|
||||
[
|
||||
{
|
||||
"created_at": 1469555807,
|
||||
"name": "test",
|
||||
"project_id": "e02658a1-003e-4f81-981f-db262d96ef35",
|
||||
"snapshot_id": "58ffc7e0-a59a-45db-ba7a-965e796fbfcd"
|
||||
}
|
||||
]
|
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1c1w2tok/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpktyus5u7/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/load
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcflvzj3w/projects/38b1f122-36b5-40a9-a7e1-a93f37acb6af",
|
||||
"project_id": "38b1f122-36b5-40a9-a7e1-a93f37acb6af",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgt2csn5i/projects/f9a1163f-275f-4dfa-8001-5c01f9603c3c",
|
||||
"project_id": "f9a1163f-275f-4dfa-8001-5c01f9603c3c",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f035eff7-1f81-49ad-a201-8c842bb84c3a/close' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close' -d '{}'
|
||||
|
||||
POST /v2/projects/f035eff7-1f81-49ad-a201-8c842bb84c3a/close HTTP/1.1
|
||||
POST /v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/close
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm94m69wa/projects/f035eff7-1f81-49ad-a201-8c842bb84c3a",
|
||||
"project_id": "f035eff7-1f81-49ad-a201-8c842bb84c3a",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpthw6lftl/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd",
|
||||
"project_id": "8eabcff1-9b80-423e-b49f-c5389b3618bd",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/9449db23-6aba-4527-a3cb-5e0ace8abd99/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
|
||||
|
||||
POST /v2/projects/9449db23-6aba-4527-a3cb-5e0ace8abd99/drawings HTTP/1.1
|
||||
POST /v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings HTTP/1.1
|
||||
{
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
@ -17,8 +17,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/drawings
|
||||
|
||||
{
|
||||
"drawing_id": "2d1208b7-599e-4146-b1d2-a10982621ecb",
|
||||
"project_id": "9449db23-6aba-4527-a3cb-5e0ace8abd99",
|
||||
"drawing_id": "63d8eb18-ed0d-4618-b199-4c62f32c23b1",
|
||||
"project_id": "4636cb3b-b312-4e43-bfae-1c37ed9c447f",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
@ -0,0 +1,22 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate' -d '{"name": "hello"}'
|
||||
|
||||
POST /v2/projects/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate HTTP/1.1
|
||||
{
|
||||
"name": "hello"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 226
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/duplicate
|
||||
|
||||
{
|
||||
"filename": "hello.gns3",
|
||||
"name": "hello",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp52tlx0r1/projects/hello",
|
||||
"project_id": "8a9fb1ed-dcc1-4090-b12e-9ce7364063d7",
|
||||
"status": "closed"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/0440a070-64dd-4bca-9368-8c9f04e67a82/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "b097d38a-cef2-4beb-8080-d984d894ee69", "port_number": 3}, {"adapter_number": 2, "node_id": "353a552d-eecb-4ba5-9fbc-64af28984d7b", "port_number": 4}]}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", "port_number": 3}, {"adapter_number": 2, "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", "port_number": 4}]}'
|
||||
|
||||
POST /v2/projects/0440a070-64dd-4bca-9368-8c9f04e67a82/links HTTP/1.1
|
||||
POST /v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links HTTP/1.1
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
@ -10,12 +10,12 @@ POST /v2/projects/0440a070-64dd-4bca-9368-8c9f04e67a82/links HTTP/1.1
|
||||
"x": 42,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "b097d38a-cef2-4beb-8080-d984d894ee69",
|
||||
"node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "353a552d-eecb-4ba5-9fbc-64af28984d7b",
|
||||
"node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358",
|
||||
"port_number": 4
|
||||
}
|
||||
]
|
||||
@ -33,7 +33,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "a2c18baf-c87c-492f-968f-761706a3574c",
|
||||
"link_id": "99885af4-208a-4911-be1d-dfcaf1ef0bd0",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": 42,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "b097d38a-cef2-4beb-8080-d984d894ee69",
|
||||
"node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "353a552d-eecb-4ba5-9fbc-64af28984d7b",
|
||||
"node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "0440a070-64dd-4bca-9368-8c9f04e67a82"
|
||||
"project_id": "6b98809b-cc4d-4cc8-b865-8913c8f3bae5"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/4b771c3c-5344-4384-a307-35b5f5ff8c92/links/2515aaa7-ce74-4812-8a25-b6d78b8b7378/start_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/4b771c3c-5344-4384-a307-35b5f5ff8c92/links/2515aaa7-ce74-4812-8a25-b6d78b8b7378/start_capture HTTP/1.1
|
||||
POST /v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/start_capture
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "2515aaa7-ce74-4812-8a25-b6d78b8b7378",
|
||||
"link_id": "0627d444-37f7-45e4-9cec-52a48f276691",
|
||||
"nodes": [],
|
||||
"project_id": "4b771c3c-5344-4384-a307-35b5f5ff8c92"
|
||||
"project_id": "ce362c30-2afb-461c-9d15-653b109839ad"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/ab4b1299-fda7-4314-af02-da51dc8bcfba/links/4acdbe58-0fa5-45bc-8e38-c95852302c03/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/ab4b1299-fda7-4314-af02-da51dc8bcfba/links/4acdbe58-0fa5-45bc-8e38-c95852302c03/stop_capture HTTP/1.1
|
||||
POST /v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/stop_capture
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "4acdbe58-0fa5-45bc-8e38-c95852302c03",
|
||||
"link_id": "0ee892d2-92e8-4063-8be4-a7c6483bcaca",
|
||||
"nodes": [],
|
||||
"project_id": "ab4b1299-fda7-4314-af02-da51dc8bcfba"
|
||||
"project_id": "a6eb0c0f-f374-424b-b3e0-a03506973774"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/9349f15d-1bdb-4a0b-8f67-16af020d4463/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/dc47676e-c750-4f0b-9c16-f77d138567c9/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
POST /v2/projects/9349f15d-1bdb-4a0b-8f67-16af020d4463/nodes HTTP/1.1
|
||||
POST /v2/projects/dc47676e-c750-4f0b-9c16-f77d138567c9/nodes HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -34,9 +34,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "f7c9e8dd-be7d-4733-ad67-6ecd27d476c6",
|
||||
"node_id": "23d30a86-685d-4a69-81f6-2629a2501dfa",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "9349f15d-1bdb-4a0b-8f67-16af020d4463",
|
||||
"project_id": "dc47676e-c750-4f0b-9c16-f77d138567c9",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/2a0d8e7b-af13-4e0a-9a3a-ab3bd5e3be84/nodes/4bc29ac1-ca1c-4de0-b30a-a75edf0635cf/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/2a0d8e7b-af13-4e0a-9a3a-ab3bd5e3be84/nodes/4bc29ac1-ca1c-4de0-b30a-a75edf0635cf/reload HTTP/1.1
|
||||
POST /v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/368ca0b2-72e0-4d0c-a974-c1930dac31bd/nodes/074bb9ee-71fd-40ad-8954-7c0c2d8c1d80/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start' -d '{}'
|
||||
|
||||
POST /v2/projects/368ca0b2-72e0-4d0c-a974-c1930dac31bd/nodes/074bb9ee-71fd-40ad-8954-7c0c2d8c1d80/start HTTP/1.1
|
||||
POST /v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/0f6df111-846c-42bd-b932-14e18c7fbbcc/nodes/61c2e423-df24-44bc-bf57-7c373dc05837/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/0f6df111-846c-42bd-b932-14e18c7fbbcc/nodes/61c2e423-df24-44bc-bf57-7c373dc05837/stop HTTP/1.1
|
||||
POST /v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8c89c990-c2e5-46c1-85f7-d3966772ba40/nodes/e7441ee5-2c60-4e73-896e-2d49344777ec/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/8c89c990-c2e5-46c1-85f7-d3966772ba40/nodes/e7441ee5-2c60-4e73-896e-2d49344777ec/suspend HTTP/1.1
|
||||
POST /v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3f6380d1-0110-4d00-8e1d-55009cf11a86/nodes/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/3f6380d1-0110-4d00-8e1d-55009cf11a86/nodes/reload HTTP/1.1
|
||||
POST /v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/9aa737af-509e-4714-b24c-369671a83a96/nodes/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/9aa737af-509e-4714-b24c-369671a83a96/nodes/start HTTP/1.1
|
||||
POST /v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/423165ca-8b0d-42c4-bb0e-b25c171626fd/nodes/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/423165ca-8b0d-42c4-bb0e-b25c171626fd/nodes/stop HTTP/1.1
|
||||
POST /v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/437ff4c1-dcb2-4885-81b2-b5ea1ad65336/nodes/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/437ff4c1-dcb2-4885-81b2-b5ea1ad65336/nodes/suspend HTTP/1.1
|
||||
POST /v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/5444d366-9ec2-40c7-8fb8-7c01746e3cf2/open' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open' -d '{}'
|
||||
|
||||
POST /v2/projects/5444d366-9ec2-40c7-8fb8-7c01746e3cf2/open HTTP/1.1
|
||||
POST /v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/open
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_jtyu9qk/projects/5444d366-9ec2-40c7-8fb8-7c01746e3cf2",
|
||||
"project_id": "5444d366-9ec2-40c7-8fb8-7c01746e3cf2",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6dp3nxma/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1",
|
||||
"project_id": "63bc1a63-1959-4bd6-b7d0-db36f61e8db1",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -0,0 +1,21 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots' -d '{"name": "snap1"}'
|
||||
|
||||
POST /v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots HTTP/1.1
|
||||
{
|
||||
"name": "snap1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 170
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/snapshots
|
||||
|
||||
{
|
||||
"created_at": 1469555808,
|
||||
"name": "snap1",
|
||||
"project_id": "bf4b231b-77a0-415d-b6fe-729b651e2d5b",
|
||||
"snapshot_id": "34fa5834-b012-4098-a972-08fbb34a3b5e"
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore' -d '{}'
|
||||
|
||||
POST /v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore
|
||||
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpisnyewwx/projects/a8fe0312-be74-4ff1-9107-596ed58393e6",
|
||||
"project_id": "a8fe0312-be74-4ff1-9107-596ed58393e6",
|
||||
"status": "opened"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/488ca1f9-a404-43d3-87e9-ec82f1e33fb7/drawings/7a33ad88-12fd-4d5e-a373-0d9220c71f5a' -d '{"x": 42}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf' -d '{"x": 42}'
|
||||
|
||||
PUT /v2/projects/488ca1f9-a404-43d3-87e9-ec82f1e33fb7/drawings/7a33ad88-12fd-4d5e-a373-0d9220c71f5a HTTP/1.1
|
||||
PUT /v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf HTTP/1.1
|
||||
{
|
||||
"x": 42
|
||||
}
|
||||
@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
||||
{
|
||||
"drawing_id": "7a33ad88-12fd-4d5e-a373-0d9220c71f5a",
|
||||
"project_id": "488ca1f9-a404-43d3-87e9-ec82f1e33fb7",
|
||||
"drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf",
|
||||
"project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 42,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/57b14348-d5cd-4082-b9af-5cbe41d59d9f/nodes/64078814-e8a2-43ca-bbea-b649f6e97c5f' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
PUT /v2/projects/57b14348-d5cd-4082-b9af-5cbe41d59d9f/nodes/64078814-e8a2-43ca-bbea-b649f6e97c5f HTTP/1.1
|
||||
PUT /v2/projects/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -34,9 +34,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "64078814-e8a2-43ca-bbea-b649f6e97c5f",
|
||||
"node_id": "15c3c722-70b2-403b-a3bc-e5cc8993d34b",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "57b14348-d5cd-4082-b9af-5cbe41d59d9f",
|
||||
"project_id": "ed3bb733-eef4-4018-965d-fedb73222398",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "7d8a9489-e8f8-4cab-ad67-c71d26c6d570",
|
||||
"project_id": "8136bd49-a9e0-43a2-8012-e49d539bc0b4",
|
||||
"drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4",
|
||||
"project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "a816efd7-0c3e-4267-8891-011de8389855",
|
||||
"project_id": "3bfa063a-bbfb-4c46-aefd-39b73c8ee707",
|
||||
"drawing_id": "e6f49ba0-191d-4dec-b565-24633aaac514",
|
||||
"project_id": "27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2",
|
||||
"rotation": 0,
|
||||
"svg": "<svg></svg>",
|
||||
"x": 0,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "7a33ad88-12fd-4d5e-a373-0d9220c71f5a",
|
||||
"project_id": "488ca1f9-a404-43d3-87e9-ec82f1e33fb7",
|
||||
"drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf",
|
||||
"project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c",
|
||||
"rotation": 0,
|
||||
"x": 42,
|
||||
"y": 20,
|
||||
|
@ -2,7 +2,7 @@
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "3a5d720e-c005-421a-ba55-c4f9ba6b7fd8",
|
||||
"link_id": "c5df007d-4eef-4892-966f-4f2b142f1851",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
@ -13,7 +13,7 @@
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "54888447-9a71-4a5c-9d0c-ebc39433fed6",
|
||||
"node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -25,9 +25,9 @@
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "c8e9784f-4a8f-4a1f-826a-e095d55d10c8",
|
||||
"node_id": "617d046f-1cca-4555-9237-cff43ef9966d",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "8d82f6d1-a010-4dc0-bd01-77155280e3b8"
|
||||
"project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "b9be3e2e-4090-43a9-95a0-f95b30f441eb",
|
||||
"link_id": "fba7ca91-0ead-4d87-b5b3-dd774553c02d",
|
||||
"nodes": [],
|
||||
"project_id": "0f1adb1a-e58d-47ae-92a5-a0f4ed1858b2"
|
||||
"project_id": "0cee12de-d97f-46d4-8524-ded4ac09c2ee"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "6d5a6cca-006f-4611-a016-cb5cbad218c7",
|
||||
"link_id": "cb1581f0-85da-48e7-a2a1-f12667dc7a0a",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
@ -11,7 +11,7 @@
|
||||
"x": 64,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "b04b19fe-8053-46ee-bd20-3591edf873bb",
|
||||
"node_id": "97b1f87f-43ae-4291-92b7-07df575214a5",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -23,9 +23,9 @@
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "633daae6-4069-48cc-b8ab-b3e93c309a49",
|
||||
"node_id": "e0fa8c63-4afc-4405-ab47-d7532ad06ada",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "a7427d10-d89b-4f96-b93c-3ef46fe8aae8"
|
||||
"project_id": "472c6197-1b52-472c-b1db-027e76bdda56"
|
||||
}
|
@ -14,9 +14,9 @@
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "65b24f26-b0a1-416b-9a00-822e256954e9",
|
||||
"node_id": "0a424518-818b-4446-bd32-dc6ee06a9c3b",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "9f98296f-7740-45a2-a40f-e6db8c356318",
|
||||
"project_id": "15a99958-1ecb-4e3c-a6d7-b663a7525cba",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
|
@ -14,9 +14,9 @@
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "c10d4f21-4f52-4de2-a84c-a5beeff49e95",
|
||||
"node_id": "a09b8477-f352-4d8c-ae4f-5235519cbb81",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "3f125837-0591-45d3-8740-e054e2222710",
|
||||
"project_id": "00558e56-680d-4ad4-84ba-c341687e64ea",
|
||||
"properties": {
|
||||
"startup_config": "test.cfg"
|
||||
},
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Get an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -38,8 +38,8 @@ Update an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -81,8 +81,8 @@ Delete an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Start an ATM switch
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Stop an ATM switch
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Suspend an ATM Relay switch
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Get a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -39,8 +39,8 @@ Update a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -144,8 +144,8 @@ Delete a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user