mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-21 13:47:50 +00:00
Sample curl with shapes
This commit is contained in:
parent
bc613e9fd8
commit
b456a363ca
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7ea17aa-8e3b-4043-a3a2-b4b9a93aee7a/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c93700dc-ab17-4bed-ac9a-1ea9de518be0/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c7ea17aa-8e3b-4043-a3a2-b4b9a93aee7a/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c93700dc-ab17-4bed-ac9a-1ea9de518be0/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6c093167-ead8-4b38-adb9-bfcc5894c30d'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1d2e7d71-14e9-4a83-8d64-aaef759f88fe'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6c093167-ead8-4b38-adb9-bfcc5894c30d HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1d2e7d71-14e9-4a83-8d64-aaef759f88fe HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d52caffb-7a25-4f50-afdc-2e8d6d1abbb7/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6011b8c1-fc88-40a6-8cb3-aeb833199ade/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d52caffb-7a25-4f50-afdc-2e8d6d1abbb7/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6011b8c1-fc88-40a6-8cb3-aeb833199ade/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/980b76a3-2ec2-4913-bf32-38974f9fde7f'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5abea892-2ca0-4b97-87c9-f8e3190cc81c'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/980b76a3-2ec2-4913-bf32-38974f9fde7f HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5abea892-2ca0-4b97-87c9-f8e3190cc81c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51d45c62-f134-46af-8a7e-86a40b97069a/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e1861424-3a38-40fb-8ca4-43c0ec13e349/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/51d45c62-f134-46af-8a7e-86a40b97069a/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e1861424-3a38-40fb-8ca4-43c0ec13e349/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c07dd73c-7859-4e69-8b78-f1de3db37cb9/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2b4a0825-5652-42a0-b413-347a2af149dc/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c07dd73c-7859-4e69-8b78-f1de3db37cb9/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2b4a0825-5652-42a0-b413-347a2af149dc/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/009e27c5-b8c5-4040-9a22-2e08c4e80305'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aef325e9-e38f-42b3-b4cc-ee4117390710'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/009e27c5-b8c5-4040-9a22-2e08c4e80305 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aef325e9-e38f-42b3-b4cc-ee4117390710 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8c20d85-cbb6-43fe-a4b8-dbe3f46e9eac/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/466e992d-dde3-4d49-97c7-78699fc977b1/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8c20d85-cbb6-43fe-a4b8-dbe3f46e9eac/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/466e992d-dde3-4d49-97c7-78699fc977b1/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -14,10 +14,10 @@ X-ROUTE: /v2/compute/projects
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d33076a2-d8ef-40f5-95eb-f249273fb056'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ab65917c-0e42-4aa2-ad31-d5ff851fdf74'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d33076a2-d8ef-40f5-95eb-f249273fb056 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ab65917c-0e42-4aa2-ad31-d5ff851fdf74 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/d33076a2-d8ef-40f5-95eb-f249273fb056",
|
||||
"node_id": "d33076a2-d8ef-40f5-95eb-f249273fb056",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/ab65917c-0e42-4aa2-ad31-d5ff851fdf74",
|
||||
"node_id": "ab65917c-0e42-4aa2-ad31-d5ff851fdf74",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/badf1be7-0c2c-48ff-9bd2-a8ed1b69cea5/configs'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/35aae624-128f-4fc1-a1cb-9780b72bdd37/configs'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/badf1be7-0c2c-48ff-9bd2-a8ed1b69cea5/configs HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/35aae624-128f-4fc1-a1cb-9780b72bdd37/configs HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5103ccd0-6ac8-4365-b402-b81e0b6f175e'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5103ccd0-6ac8-4365-b402-b81e0b6f175e HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:17:5e:00",
|
||||
"mac_address": "00:dd:80:1a:99:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/5103ccd0-6ac8-4365-b402-b81e0b6f175e",
|
||||
"node_id": "5103ccd0-6ac8-4365-b402-b81e0b6f175e",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99",
|
||||
"node_id": "8ddf7699-6cbd-4133-8226-9c5e0bfd1a99",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/92e2089e-6b65-4585-ac63-bf5bc9cb9464'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fe9e03ad-db69-4b6a-8435-cf2374aa4158'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/92e2089e-6b65-4585-ac63-bf5bc9cb9464 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fe9e03ad-db69-4b6a-8435-cf2374aa4158 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"headless": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "92e2089e-6b65-4585-ac63-bf5bc9cb9464",
|
||||
"node_id": "fe9e03ad-db69-4b6a-8435-cf2374aa4158",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fde0336e-d88b-4b85-8aef-2b315b5c5a9a'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9758893-3d6d-426c-8040-794e92dac8f5'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fde0336e-d88b-4b85-8aef-2b315b5c5a9a HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9758893-3d6d-426c-8040-794e92dac8f5 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/fde0336e-d88b-4b85-8aef-2b315b5c5a9a",
|
||||
"node_id": "fde0336e-d88b-4b85-8aef-2b315b5c5a9a",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f9758893-3d6d-426c-8040-794e92dac8f5",
|
||||
"node_id": "f9758893-3d6d-426c-8040-794e92dac8f5",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f4ecf7e0-3e74-4366-9d19-fec5b2ae9063/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6a89d29c-43fe-4863-830e-3ee7c4150d4d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f4ecf7e0-3e74-4366-9d19-fec5b2ae9063/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6a89d29c-43fe-4863-830e-3ee7c4150d4d/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/907b963b-2e07-4976-aff2-a0026e337fb0/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aef16712-b132-48f8-9607-9bdf866ed9b1/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/907b963b-2e07-4976-aff2-a0026e337fb0/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aef16712-b132-48f8-9607-9bdf866ed9b1/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2ea003b5-6409-4d47-abb3-e3805343997e/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a38c9e0c-7adb-4486-8678-f92c861b56bb/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2ea003b5-6409-4d47-abb3-e3805343997e/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a38c9e0c-7adb-4486-8678-f92c861b56bb/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "17707689-865c-4663-8e6e-50be75d149e1", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "17707689-865c-4663-8e6e-50be75d149e1",
|
||||
"node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
@ -25,8 +25,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/17707689-865c-4663-8e6e-50be75d149e1",
|
||||
"node_id": "17707689-865c-4663-8e6e-50be75d149e1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/2998b54b-6c61-4854-b3d7-144d8cd79d1d",
|
||||
"node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c17e979-0e3d-4436-94ba-cb9fe735abb0/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cea7463c-f135-4799-b005-039c113aa82c/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c17e979-0e3d-4436-94ba-cb9fe735abb0/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cea7463c-f135-4799-b005-039c113aa82c/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/741b1c60-5cf1-48c9-8fdf-e4b289e26e15/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d4ffc132-bd43-42f6-8880-4b50faaaed86/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/741b1c60-5cf1-48c9-8fdf-e4b289e26e15/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d4ffc132-bd43-42f6-8880-4b50faaaed86/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9fa94d1d-4b48-4184-ab66-86462733d154/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38ad2d60-359b-4823-8942-498926a5f72f/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9fa94d1d-4b48-4184-ab66-86462733d154/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38ad2d60-359b-4823-8942-498926a5f72f/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3756ec8d-cd19-42cc-b9d9-e5a99c5c81e1/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2528e1c3-b3fe-4fda-a01a-2c0f5a5271bc/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3756ec8d-cd19-42cc-b9d9-e5a99c5c81e1/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2528e1c3-b3fe-4fda-a01a-2c0f5a5271bc/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4f8a28d6-9e9d-4af3-8560-5c1c2668a786/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4f8a28d6-9e9d-4af3-8560-5c1c2668a786/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp60s8wcgt/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpk9paj89z/iourc",
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/4f8a28d6-9e9d-4af3-8560-5c1c2668a786",
|
||||
"node_id": "4f8a28d6-9e9d-4af3-8560-5c1c2668a786",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0",
|
||||
"node_id": "74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f16ec511-2c3b-4035-8bb2-70899dae73f8/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c875459-29f2-44a5-aa52-a0873c5161b4/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f16ec511-2c3b-4035-8bb2-70899dae73f8/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c875459-29f2-44a5-aa52-a0873c5161b4/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:a9:7e:00",
|
||||
"mac_address": "00:dd:80:b7:46:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c2fce02c-7fe8-4ecf-a6db-19ee1ed9a97e",
|
||||
"node_id": "c2fce02c-7fe8-4ecf-a6db-19ee1ed9a97e",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c042a9f0-9d7d-4d33-a5e5-88f8536fb746",
|
||||
"node_id": "c042a9f0-9d7d-4d33-a5e5-88f8536fb746",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2340b680-340d-4377-af6f-bb50419a0923/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a7a72654-fad8-4516-ad64-d984f764d5f9/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2340b680-340d-4377-af6f-bb50419a0923/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a7a72654-fad8-4516-ad64-d984f764d5f9/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/19f72a5a-e0ee-411e-ae40-9dfedce59dd4/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0841398-f0ca-4007-9443-cfb5bbedaf5d/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/19f72a5a-e0ee-411e-ae40-9dfedce59dd4/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0841398-f0ca-4007-9443-cfb5bbedaf5d/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f61fd565-775a-48ba-832c-a477792c248a/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d82f80a8-6d25-474b-8ff3-b289943c3d1e/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f61fd565-775a-48ba-832c-a477792c248a/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d82f80a8-6d25-474b-8ff3-b289943c3d1e/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d64e2751-ad98-4a51-8afa-7beeb77b0c3e/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61474a2f-707c-477e-876c-79ee23bb131c/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d64e2751-ad98-4a51-8afa-7beeb77b0c3e/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61474a2f-707c-477e-876c-79ee23bb131c/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:0c:3e:00",
|
||||
"mac_address": "00:dd:80:13:1c:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d64e2751-ad98-4a51-8afa-7beeb77b0c3e",
|
||||
"node_id": "d64e2751-ad98-4a51-8afa-7beeb77b0c3e",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/61474a2f-707c-477e-876c-79ee23bb131c",
|
||||
"node_id": "61474a2f-707c-477e-876c-79ee23bb131c",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab345fe1-8e70-4a99-94af-71208f1dad9a/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ff86be35-ec89-4108-98f1-5f0f5aed8c6c/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab345fe1-8e70-4a99-94af-71208f1dad9a/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ff86be35-ec89-4108-98f1-5f0f5aed8c6c/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dddf0548-5e17-456f-a611-962e4da38a94/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0f1cbd71-97b9-48c7-bcb3-6ad3af04be61/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dddf0548-5e17-456f-a611-962e4da38a94/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0f1cbd71-97b9-48c7-bcb3-6ad3af04be61/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"headless": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "ab86d80b-66fa-4098-9065-f333af35e0e6",
|
||||
"node_id": "13723223-c89d-4ea7-a6d2-e42ecf7519c1",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3115da3e-d7d9-4a0b-a6e4-01ed820edb8f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/54cfde03-d6c9-4dd2-b1dc-90999dd78882/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3115da3e-d7d9-4a0b-a6e4-01ed820edb8f/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/54cfde03-d6c9-4dd2-b1dc-90999dd78882/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/40834c7d-f767-4e44-87f9-403a9e99ca85/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2d1c227c-397e-4ffc-bd5a-a4b49ba2e108/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/40834c7d-f767-4e44-87f9-403a9e99ca85/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2d1c227c-397e-4ffc-bd5a-a4b49ba2e108/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6219c919-b130-48e4-9ca0-f66d36761677/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/999baf55-62e4-4f90-8b90-f5f4107b2cbc/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6219c919-b130-48e4-9ca0-f66d36761677/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/999baf55-62e4-4f90-8b90-f5f4107b2cbc/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e407964a-5147-42e5-927c-9e0aa84b2318/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bdfbb95e-0b03-4929-b2e6-305802481326/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e407964a-5147-42e5-927c-9e0aa84b2318/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bdfbb95e-0b03-4929-b2e6-305802481326/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad292abe-b49f-4343-8493-b6412a98a0d2/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b92bf1d6-c646-4338-b705-163aab129e31/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad292abe-b49f-4343-8493-b6412a98a0d2/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b92bf1d6-c646-4338-b705-163aab129e31/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b63eb0c7-35fd-4892-8e1a-029da8b9773a/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4f8ca1e-76b6-4ed7-ac9c-4f0744f1ba15/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b63eb0c7-35fd-4892-8e1a-029da8b9773a/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4f8ca1e-76b6-4ed7-ac9c-4f0744f1ba15/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/725b73c7-5928-4ecf-a274-8a0c663351d7",
|
||||
"node_id": "725b73c7-5928-4ecf-a274-8a0c663351d7",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/88a76f7e-cfcf-4e86-a927-135a9a5dd336",
|
||||
"node_id": "88a76f7e-cfcf-4e86-a927-135a9a5dd336",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/470c91f6-8c8f-42c9-b892-587df84764c8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ed56301-f966-4afa-b220-e5862864a095/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/470c91f6-8c8f-42c9-b892-587df84764c8/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ed56301-f966-4afa-b220-e5862864a095/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67fee68c-20c8-44bf-86dc-d0c2fc555687/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a42ce13a-c066-4b4f-be8b-edf9d016dec3/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/67fee68c-20c8-44bf-86dc-d0c2fc555687/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a42ce13a-c066-4b4f-be8b-edf9d016dec3/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c81aadc7-87b8-4e81-a523-723c33bd31c0/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c81aadc7-87b8-4e81-a523-723c33bd31c0/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c81aadc7-87b8-4e81-a523-723c33bd31c0",
|
||||
"node_id": "c81aadc7-87b8-4e81-a523-723c33bd31c0",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283",
|
||||
"node_id": "56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1d06aa81-e032-4d69-9896-02842ea8e1b6/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ad534b7d-b0c3-4eeb-8924-7f3ea9a47c6a/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1d06aa81-e032-4d69-9896-02842ea8e1b6/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ad534b7d-b0c3-4eeb-8924-7f3ea9a47c6a/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_update_path_project_non_l0"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_update_path_project_non_l0"}'
|
||||
|
||||
PUT /v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b HTTP/1.1
|
||||
{
|
||||
"name": "second_name",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_update_path_project_non_l0"
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_update_path_project_non_l0"
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/efe01fdb-07fb-4bb4-b9d2-2caa19714084' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/efe01fdb-07fb-4bb4-b9d2-2caa19714084 HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d",
|
||||
"node_id": "b0ce1b6d-5f7a-4ce5-9b56-5636ca6fe13d",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/efe01fdb-07fb-4bb4-b9d2-2caa19714084",
|
||||
"node_id": "efe01fdb-07fb-4bb4-b9d2-2caa19714084",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/81ada2f6-256b-496c-9e6b-459f934b2346' -d '{"console": 5001, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/95f2a374-a421-4a10-96a5-97ec3960358b' -d '{"console": 5001, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/81ada2f6-256b-496c-9e6b-459f934b2346 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/95f2a374-a421-4a10-96a5-97ec3960358b HTTP/1.1
|
||||
{
|
||||
"console": 5001,
|
||||
"ethernet_adapters": 4,
|
||||
@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"console": 5001,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw8qg56du/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyy4f48ub/iourc",
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptqraedic/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/81ada2f6-256b-496c-9e6b-459f934b2346",
|
||||
"node_id": "81ada2f6-256b-496c-9e6b-459f934b2346",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/95f2a374-a421-4a10-96a5-97ec3960358b",
|
||||
"node_id": "95f2a374-a421-4a10-96a5-97ec3960358b",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/031195a7-0811-40ca-8cf2-77625c495e2a' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d203c06f-67aa-4236-aff5-a2395f723648' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/031195a7-0811-40ca-8cf2-77625c495e2a HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d203c06f-67aa-4236-aff5-a2395f723648 HTTP/1.1
|
||||
{
|
||||
"console": 5001,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:5e:2a:00",
|
||||
"mac_address": "00:dd:80:36:48:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/031195a7-0811-40ca-8cf2-77625c495e2a",
|
||||
"node_id": "031195a7-0811-40ca-8cf2-77625c495e2a",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d203c06f-67aa-4236-aff5-a2395f723648",
|
||||
"node_id": "d203c06f-67aa-4236-aff5-a2395f723648",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvmjtewa8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e8fcf41-aeee-4ff5-8715-efa30fafdac7' -d '{"console": 5010, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b93f062e-287f-42ec-a1c3-89eb59b437af' -d '{"console": 5010, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e8fcf41-aeee-4ff5-8715-efa30fafdac7 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b93f062e-287f-42ec-a1c3-89eb59b437af HTTP/1.1
|
||||
{
|
||||
"console": 5010,
|
||||
"name": "test"
|
||||
@ -23,7 +23,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"headless": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "6e8fcf41-aeee-4ff5-8715-efa30fafdac7",
|
||||
"node_id": "b93f062e-287f-42ec-a1c3-89eb59b437af",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/15933cd1-f207-4d81-8864-e3e66f05c74a' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/52779772-af61-417f-9005-eb2bb8d18cdf' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/15933cd1-f207-4d81-8864-e3e66f05c74a HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/52779772-af61-417f-9005-eb2bb8d18cdf HTTP/1.1
|
||||
{
|
||||
"console": 5011,
|
||||
"name": "test",
|
||||
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5011,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_i3ldkip/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/15933cd1-f207-4d81-8864-e3e66f05c74a",
|
||||
"node_id": "15933cd1-f207-4d81-8864-e3e66f05c74a",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/52779772-af61-417f-9005-eb2bb8d18cdf",
|
||||
"node_id": "52779772-af61-417f-9005-eb2bb8d18cdf",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/2140d8a8-35f9-44c1-b314-17a0f2197bcf'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/4428c3a0-ae16-430f-b1e5-e2caeea27c05'
|
||||
|
||||
DELETE /v2/projects/2140d8a8-35f9-44c1-b314-17a0f2197bcf HTTP/1.1
|
||||
DELETE /v2/projects/4428c3a0-ae16-430f-b1e5-e2caeea27c05 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/4cf03af9-24d0-4f1a-b4f3-d08967a55be9/links/3e263d1a-ade5-44dc-9a24-601228f89946'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/1b3eb3a0-63a2-4bbd-82c1-3b3297753ee2/links/a2935e13-8792-4ca7-a718-8d9967ce6380'
|
||||
|
||||
DELETE /v2/projects/4cf03af9-24d0-4f1a-b4f3-d08967a55be9/links/3e263d1a-ade5-44dc-9a24-601228f89946 HTTP/1.1
|
||||
DELETE /v2/projects/1b3eb3a0-63a2-4bbd-82c1-3b3297753ee2/links/a2935e13-8792-4ca7-a718-8d9967ce6380 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/d84c46b4-7238-4a4d-800f-dc718412c058/nodes/ba61fb11-4f64-4c7f-99ed-896cdeb19d54'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/47574627-ebb4-417d-8c01-2b115d18a6b8/nodes/b8aaebdb-70ca-44d3-b162-ecf1ca83642e'
|
||||
|
||||
DELETE /v2/projects/d84c46b4-7238-4a4d-800f-dc718412c058/nodes/ba61fb11-4f64-4c7f-99ed-896cdeb19d54 HTTP/1.1
|
||||
DELETE /v2/projects/47574627-ebb4-417d-8c01-2b115d18a6b8/nodes/b8aaebdb-70ca-44d3-b162-ecf1ca83642e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/9410af67-e849-456c-b9cb-ed18de51ccda/shapes/ea3260b9-6b57-4888-9683-433cdc2a0642'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/6b74fe6e-f65a-46a9-84a9-1db0cd42a9d2/shapes/6e313846-5d8f-4dcc-a231-e2dd9406bb71'
|
||||
|
||||
DELETE /v2/projects/9410af67-e849-456c-b9cb-ed18de51ccda/shapes/ea3260b9-6b57-4888-9683-433cdc2a0642 HTTP/1.1
|
||||
DELETE /v2/projects/6b74fe6e-f65a-46a9-84a9-1db0cd42a9d2/shapes/6e313846-5d8f-4dcc-a231-e2dd9406bb71 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/4e37c994-877e-406a-b824-b666c06217bb'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa'
|
||||
|
||||
GET /v2/projects/4e37c994-877e-406a-b824-b666c06217bb HTTP/1.1
|
||||
GET /v2/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8y9c1jdz/projects/4e37c994-877e-406a-b824-b666c06217bb",
|
||||
"project_id": "4e37c994-877e-406a-b824-b666c06217bb",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpahtyzp8o/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa",
|
||||
"project_id": "c25dc0dd-39a8-4ce8-9944-3801a4f6afaa",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/f2bc92e3-caa8-4578-900a-89b54bbc59e7/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/3876626a-cb4f-4bed-bfd3-dc905ab97be6/links'
|
||||
|
||||
GET /v2/projects/f2bc92e3-caa8-4578-900a-89b54bbc59e7/links HTTP/1.1
|
||||
GET /v2/projects/3876626a-cb4f-4bed-bfd3-dc905ab97be6/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -16,19 +16,19 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "202f1200-8d0b-4c62-aafe-223372215ff7",
|
||||
"link_id": "f4df9060-2a0b-4bb5-9181-31f0a202c9ce",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "449835f2-8777-4583-9ad9-6d4968ec9f57",
|
||||
"node_id": "991bcb7a-7772-4b7a-95ef-ec6c2ccbcea7",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "31790131-6d28-4ae9-8258-8d287f7666cf",
|
||||
"node_id": "58feb337-36f6-45bb-b0f3-d776ea1f7b8c",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "f2bc92e3-caa8-4578-900a-89b54bbc59e7"
|
||||
"project_id": "3876626a-cb4f-4bed-bfd3-dc905ab97be6"
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/56ba1d86-410c-4d54-99f0-cd8bd3120a1d/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0a173834-2ce1-4bbe-a65b-72dc5239c6b1/nodes'
|
||||
|
||||
GET /v2/projects/56ba1d86-410c-4d54-99f0-cd8bd3120a1d/nodes HTTP/1.1
|
||||
GET /v2/projects/0a173834-2ce1-4bbe-a65b-72dc5239c6b1/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -27,9 +27,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "1fdf02e8-f60d-4a14-bfea-f53ffebbf567",
|
||||
"node_id": "4d9d61be-ba6b-442b-803c-565a35838045",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "56ba1d86-410c-4d54-99f0-cd8bd3120a1d",
|
||||
"project_id": "0a173834-2ce1-4bbe-a65b-72dc5239c6b1",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/12075178-c5cc-4309-8db2-fee208082672/nodes/ba76d174-931b-42d0-b057-54f5afdfb178/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/5f47bc58-7d5a-4065-b628-24277d345e9d/nodes/d75ad07f-fc2f-4a5d-be7c-f9e720efe7ce/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/12075178-c5cc-4309-8db2-fee208082672/nodes/ba76d174-931b-42d0-b057-54f5afdfb178/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/5f47bc58-7d5a-4065-b628-24277d345e9d/nodes/d75ad07f-fc2f-4a5d-be7c-f9e720efe7ce/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/6d26d78a-1b23-4234-98ab-013627d6aed2/nodes/99d7facd-d7fd-4d84-8482-6df6693453b8/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a9a3bad5-7f05-4bd8-a043-7ed780c8e6b8/nodes/ece4e9f9-0a9b-4ac8-8409-03afa17f5111/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/6d26d78a-1b23-4234-98ab-013627d6aed2/nodes/99d7facd-d7fd-4d84-8482-6df6693453b8/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/a9a3bad5-7f05-4bd8-a043-7ed780c8e6b8/nodes/ece4e9f9-0a9b-4ac8-8409-03afa17f5111/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/c12bf232-1798-4e0e-8fbb-28d6a88d8adb/shapes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0bb34c74-e696-46b5-9c94-d00e3f55da18/shapes'
|
||||
|
||||
GET /v2/projects/c12bf232-1798-4e0e-8fbb-28d6a88d8adb/shapes HTTP/1.1
|
||||
GET /v2/projects/0bb34c74-e696-46b5-9c94-d00e3f55da18/shapes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 186
|
||||
CONTENT-LENGTH: 361
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -13,8 +13,10 @@ X-ROUTE: /v2/projects/{project_id}/shapes
|
||||
|
||||
[
|
||||
{
|
||||
"project_id": "c12bf232-1798-4e0e-8fbb-28d6a88d8adb",
|
||||
"shape_id": "4b993c42-488e-4c28-8ec8-61bd47042726",
|
||||
"project_id": "0bb34c74-e696-46b5-9c94-d00e3f55da18",
|
||||
"rotation": 0,
|
||||
"shape_id": "a0690cd5-6460-464e-b599-7980f5c08e67",
|
||||
"svg": "<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
|
||||
|
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2vuofhbl/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6hypql_9/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/load
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpwmp23_op/projects/5366c143-b4cf-40dd-b7e5-5e12840375d2",
|
||||
"project_id": "5366c143-b4cf-40dd-b7e5-5e12840375d2",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps90fqa5n/projects/ace2096c-31a6-445a-b9fb-37585eb25657",
|
||||
"project_id": "ace2096c-31a6-445a-b9fb-37585eb25657",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed/close' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8638b449-14f1-4040-b2ba-cb279584fdbb/close' -d '{}'
|
||||
|
||||
POST /v2/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed/close HTTP/1.1
|
||||
POST /v2/projects/8638b449-14f1-4040-b2ba-cb279584fdbb/close HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/close
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw6lfp1iz/projects/5ce96a34-0311-4d5a-b2d9-848927a323ed",
|
||||
"project_id": "5ce96a34-0311-4d5a-b2d9-848927a323ed",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy5ymyj_8/projects/8638b449-14f1-4040-b2ba-cb279584fdbb",
|
||||
"project_id": "8638b449-14f1-4040-b2ba-cb279584fdbb",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,16 +1,16 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3f579df1-5465-4fd7-95ee-93b1536084a4/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6", "port_number": 3}, {"adapter_number": 2, "node_id": "a4952662-0983-4f11-b606-21403ab0a2c8", "port_number": 4}]}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/bf318436-7d6f-4378-8f78-a0877dfcaf75/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af", "port_number": 3}, {"adapter_number": 2, "node_id": "36cf770e-191f-452d-8cec-786afefc42d5", "port_number": 4}]}'
|
||||
|
||||
POST /v2/projects/3f579df1-5465-4fd7-95ee-93b1536084a4/links HTTP/1.1
|
||||
POST /v2/projects/bf318436-7d6f-4378-8f78-a0877dfcaf75/links HTTP/1.1
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6",
|
||||
"node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "a4952662-0983-4f11-b606-21403ab0a2c8",
|
||||
"node_id": "36cf770e-191f-452d-8cec-786afefc42d5",
|
||||
"port_number": 4
|
||||
}
|
||||
]
|
||||
@ -28,18 +28,18 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "b4306700-9337-4f7a-8561-0794f0a618a0",
|
||||
"link_id": "a11364fa-2662-4f8f-9bc6-8ed16e1c87f2",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "962dc785-db3a-4e1d-bd10-9424552cd6c6",
|
||||
"node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "a4952662-0983-4f11-b606-21403ab0a2c8",
|
||||
"node_id": "36cf770e-191f-452d-8cec-786afefc42d5",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "3f579df1-5465-4fd7-95ee-93b1536084a4"
|
||||
"project_id": "bf318436-7d6f-4378-8f78-a0877dfcaf75"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/2b3b03cb-fe70-4f18-892f-e4c7a7b5deec/links/c88caa3f-661f-4537-9341-0143951d6b35/start_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f3c1d05b-04c5-4eee-b699-7901377aea61/links/a82b2414-7d9d-4e68-ab5a-2b50d42efc7e/start_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/2b3b03cb-fe70-4f18-892f-e4c7a7b5deec/links/c88caa3f-661f-4537-9341-0143951d6b35/start_capture HTTP/1.1
|
||||
POST /v2/projects/f3c1d05b-04c5-4eee-b699-7901377aea61/links/a82b2414-7d9d-4e68-ab5a-2b50d42efc7e/start_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/start_capture
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "c88caa3f-661f-4537-9341-0143951d6b35",
|
||||
"link_id": "a82b2414-7d9d-4e68-ab5a-2b50d42efc7e",
|
||||
"nodes": [],
|
||||
"project_id": "2b3b03cb-fe70-4f18-892f-e4c7a7b5deec"
|
||||
"project_id": "f3c1d05b-04c5-4eee-b699-7901377aea61"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/e484467e-a739-472d-b158-cee8bd5fa1cc/links/9513e664-ab02-4417-af7f-41c65acd6a47/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/88aecf41-997a-4a25-be5c-3f144b4b7d42/links/a2f2ff8f-61e5-4f9b-a75e-58a2f225e841/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/e484467e-a739-472d-b158-cee8bd5fa1cc/links/9513e664-ab02-4417-af7f-41c65acd6a47/stop_capture HTTP/1.1
|
||||
POST /v2/projects/88aecf41-997a-4a25-be5c-3f144b4b7d42/links/a2f2ff8f-61e5-4f9b-a75e-58a2f225e841/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/stop_capture
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "9513e664-ab02-4417-af7f-41c65acd6a47",
|
||||
"link_id": "a2f2ff8f-61e5-4f9b-a75e-58a2f225e841",
|
||||
"nodes": [],
|
||||
"project_id": "e484467e-a739-472d-b158-cee8bd5fa1cc"
|
||||
"project_id": "88aecf41-997a-4a25-be5c-3f144b4b7d42"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/02dff695-7eb3-4af0-b71f-827d7b5ab08b/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/06614bf2-52da-4866-8665-371ecda03f04/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
POST /v2/projects/02dff695-7eb3-4af0-b71f-827d7b5ab08b/nodes HTTP/1.1
|
||||
POST /v2/projects/06614bf2-52da-4866-8665-371ecda03f04/nodes HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -33,9 +33,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "d7500563-9014-4d29-8488-5b5a926a8ee4",
|
||||
"node_id": "2896c352-b937-4a6f-a5a1-f684b3b83152",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "02dff695-7eb3-4af0-b71f-827d7b5ab08b",
|
||||
"project_id": "06614bf2-52da-4866-8665-371ecda03f04",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/d93bb1ef-9dfa-4cb5-b6a9-4e668947f988/nodes/b11bb2db-3cfb-451b-8e87-5182c1ecccc5/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/79c57711-2dec-4657-af36-c30115e64b35/nodes/71b58ff9-bee8-4186-ace0-1a6746e0030f/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/d93bb1ef-9dfa-4cb5-b6a9-4e668947f988/nodes/b11bb2db-3cfb-451b-8e87-5182c1ecccc5/reload HTTP/1.1
|
||||
POST /v2/projects/79c57711-2dec-4657-af36-c30115e64b35/nodes/71b58ff9-bee8-4186-ace0-1a6746e0030f/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a1d92625-3437-4cae-a196-2149b4115a3d/nodes/652ecae0-067e-410e-84c8-e36a972fd5d1/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/59b054f1-4502-4cbb-9707-10534b2f5609/nodes/14a5f227-5a1c-4295-83da-c71701e1c039/start' -d '{}'
|
||||
|
||||
POST /v2/projects/a1d92625-3437-4cae-a196-2149b4115a3d/nodes/652ecae0-067e-410e-84c8-e36a972fd5d1/start HTTP/1.1
|
||||
POST /v2/projects/59b054f1-4502-4cbb-9707-10534b2f5609/nodes/14a5f227-5a1c-4295-83da-c71701e1c039/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/d654fcdd-c622-43a1-8f42-8de2b369dd1f/nodes/f2545768-c9c3-42f2-883e-7ea24c502b94/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/820265d4-7691-4218-9b00-4e2dc9f4babf/nodes/b171a9b8-7806-4e72-9aaa-305bb901bb63/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/d654fcdd-c622-43a1-8f42-8de2b369dd1f/nodes/f2545768-c9c3-42f2-883e-7ea24c502b94/stop HTTP/1.1
|
||||
POST /v2/projects/820265d4-7691-4218-9b00-4e2dc9f4babf/nodes/b171a9b8-7806-4e72-9aaa-305bb901bb63/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/d15a68c6-48a9-4ddc-aefa-ab79601b4d4f/nodes/368c0b76-ecca-4a43-aac6-a32583657b51/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/76763e4c-d12b-4a53-ab8e-55a322e83bb9/nodes/e387799f-4a82-4464-836b-d37fa4a770e9/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/d15a68c6-48a9-4ddc-aefa-ab79601b4d4f/nodes/368c0b76-ecca-4a43-aac6-a32583657b51/suspend HTTP/1.1
|
||||
POST /v2/projects/76763e4c-d12b-4a53-ab8e-55a322e83bb9/nodes/e387799f-4a82-4464-836b-d37fa4a770e9/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/77b1cf62-ec30-403a-918c-671638891c7a/nodes/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/62943f57-fe21-454b-ba31-f0e57e6d646e/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/77b1cf62-ec30-403a-918c-671638891c7a/nodes/reload HTTP/1.1
|
||||
POST /v2/projects/62943f57-fe21-454b-ba31-f0e57e6d646e/nodes/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/26c8a89e-74c2-4e83-a6a3-40acec885d7d/nodes/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1568b3e9-96d8-4793-b6db-f59131466192/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/26c8a89e-74c2-4e83-a6a3-40acec885d7d/nodes/start HTTP/1.1
|
||||
POST /v2/projects/1568b3e9-96d8-4793-b6db-f59131466192/nodes/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/86492f69-8170-4528-bb1d-7e1634ae6e27/nodes/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/59787bb4-ff7f-4523-b3cb-ad02f194c422/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/86492f69-8170-4528-bb1d-7e1634ae6e27/nodes/stop HTTP/1.1
|
||||
POST /v2/projects/59787bb4-ff7f-4523-b3cb-ad02f194c422/nodes/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1af7747d-711f-42e5-a786-7df48da0ebe3/nodes/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f6d30e3d-f80a-46e8-b01a-d0579a0b0aa4/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/1af7747d-711f-42e5-a786-7df48da0ebe3/nodes/suspend HTTP/1.1
|
||||
POST /v2/projects/f6d30e3d-f80a-46e8-b01a-d0579a0b0aa4/nodes/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a2261063-ef11-4d30-806e-346fd96114f3/open' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52/open' -d '{}'
|
||||
|
||||
POST /v2/projects/a2261063-ef11-4d30-806e-346fd96114f3/open HTTP/1.1
|
||||
POST /v2/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52/open HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/open
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3s08ou3p/projects/a2261063-ef11-4d30-806e-346fd96114f3",
|
||||
"project_id": "a2261063-ef11-4d30-806e-346fd96114f3",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2zch7cjb/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52",
|
||||
"project_id": "75eeceb9-4b90-4671-9b83-9bf5c33c1e52",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/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/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes HTTP/1.1
|
||||
POST /v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/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,
|
||||
@ -10,15 +10,17 @@ POST /v2/projects/c4c496e0-2d4d-4377-aba3-1c90ed0e5e93/shapes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 154
|
||||
CONTENT-LENGTH: 321
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/shapes
|
||||
|
||||
{
|
||||
"project_id": "c4c496e0-2d4d-4377-aba3-1c90ed0e5e93",
|
||||
"shape_id": "a9c8ddfe-a300-4970-9891-6a3276c82a42",
|
||||
"project_id": "e82d1e06-4235-41dc-9a57-0cd0672692f0",
|
||||
"rotation": 0,
|
||||
"shape_id": "66594d41-524e-4dfd-a07b-3186ed392c86",
|
||||
"svg": "<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
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/1108215e-0cda-4a72-be9c-232d67445f23/nodes/38a51cbc-b557-4843-8b4e-64b2af1382f6' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/1603be36-622b-4e12-a741-ca4140a2559f/nodes/f976490c-fb62-4306-8925-4c4c6f3751db' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
PUT /v2/projects/1108215e-0cda-4a72-be9c-232d67445f23/nodes/38a51cbc-b557-4843-8b4e-64b2af1382f6 HTTP/1.1
|
||||
PUT /v2/projects/1603be36-622b-4e12-a741-ca4140a2559f/nodes/f976490c-fb62-4306-8925-4c4c6f3751db HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -33,9 +33,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "38a51cbc-b557-4843-8b4e-64b2af1382f6",
|
||||
"node_id": "f976490c-fb62-4306-8925-4c4c6f3751db",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "1108215e-0cda-4a72-be9c-232d67445f23",
|
||||
"project_id": "1603be36-622b-4e12-a741-ca4140a2559f",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
|
@ -1,21 +1,23 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c' -d '{"x": 42}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/2312697c-8e49-40e0-9d6d-5bd6dd0679ed/shapes/dbefe2d5-79d7-4f18-b898-cd073224563c' -d '{"x": 42}'
|
||||
|
||||
PUT /v2/projects/43e74bf9-fc2f-4229-b2e8-b0868848579f/shapes/9f09cf79-5d99-4b0e-9994-c0a12982259c HTTP/1.1
|
||||
PUT /v2/projects/2312697c-8e49-40e0-9d6d-5bd6dd0679ed/shapes/dbefe2d5-79d7-4f18-b898-cd073224563c HTTP/1.1
|
||||
{
|
||||
"x": 42
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 154
|
||||
CONTENT-LENGTH: 321
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/shapes/{shape_id}
|
||||
|
||||
{
|
||||
"project_id": "43e74bf9-fc2f-4229-b2e8-b0868848579f",
|
||||
"shape_id": "9f09cf79-5d99-4b0e-9994-c0a12982259c",
|
||||
"project_id": "2312697c-8e49-40e0-9d6d-5bd6dd0679ed",
|
||||
"rotation": 0,
|
||||
"shape_id": "dbefe2d5-79d7-4f18-b898-cd073224563c",
|
||||
"svg": "<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,
|
||||
"y": 20,
|
||||
"z": 0
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -33,10 +33,10 @@ Remove a NIO from a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user