mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 04:47:54 +00:00
Split documentation
This commit is contained in:
parent
f55398fe99
commit
027d3687a7
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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": ""
|
||||
|
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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": ""
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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": ""
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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,
|
||||
|
@ -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": ""
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
|
@ -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"
|
||||
},
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
},
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/5490bb47-660d-4952-9b55-bedba5a3a7b8/shapes' -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/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes' -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/5490bb47-660d-4952-9b55-bedba5a3a7b8/shapes HTTP/1.1
|
||||
POST /v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes 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}/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
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user