mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Rebuild doc for drawing
This commit is contained in:
parent
5a410155f7
commit
c8f37381f4
@ -1,6 +1,6 @@
|
||||
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'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e6401a9d-c867-4b68-8bdb-d0aea4495b3f/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c93700dc-ab17-4bed-ac9a-1ea9de518be0/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e6401a9d-c867-4b68-8bdb-d0aea4495b3f/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/1d2e7d71-14e9-4a83-8d64-aaef759f88fe'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38899bcc-cece-4d4d-b892-09096e50602b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1d2e7d71-14e9-4a83-8d64-aaef759f88fe HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38899bcc-cece-4d4d-b892-09096e50602b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
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'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f42a1342-ad1e-43d1-8310-6c0052d30366/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6011b8c1-fc88-40a6-8cb3-aeb833199ade/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f42a1342-ad1e-43d1-8310-6c0052d30366/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/5abea892-2ca0-4b97-87c9-f8e3190cc81c'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/69c0df1d-001a-4aff-8c30-ac51eb33a059'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5abea892-2ca0-4b97-87c9-f8e3190cc81c HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/69c0df1d-001a-4aff-8c30-ac51eb33a059 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
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'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b4729143-dbbf-41b2-9515-bbdff283b6ad/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e1861424-3a38-40fb-8ca4-43c0ec13e349/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b4729143-dbbf-41b2-9515-bbdff283b6ad/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/2b4a0825-5652-42a0-b413-347a2af149dc/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7055c344-cf36-4379-8bb0-344c4f74edcd/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2b4a0825-5652-42a0-b413-347a2af149dc/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7055c344-cf36-4379-8bb0-344c4f74edcd/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/aef325e9-e38f-42b3-b4cc-ee4117390710'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d04467b1-391d-41a9-93cd-8b43d973d911'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aef325e9-e38f-42b3-b4cc-ee4117390710 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d04467b1-391d-41a9-93cd-8b43d973d911 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
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'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1633b2fd-3095-4c15-b879-1c308d9c0f33/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/466e992d-dde3-4d49-97c7-78699fc977b1/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1633b2fd-3095-4c15-b879-1c308d9c0f33/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/ab65917c-0e42-4aa2-ad31-d5ff851fdf74'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5c1a5daa-e73e-43fa-b227-5817e37b21a1'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ab65917c-0e42-4aa2-ad31-d5ff851fdf74 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5c1a5daa-e73e-43fa-b227-5817e37b21a1 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/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/ab65917c-0e42-4aa2-ad31-d5ff851fdf74",
|
||||
"node_id": "ab65917c-0e42-4aa2-ad31-d5ff851fdf74",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/5c1a5daa-e73e-43fa-b227-5817e37b21a1",
|
||||
"node_id": "5c1a5daa-e73e-43fa-b227-5817e37b21a1",
|
||||
"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/35aae624-128f-4fc1-a1cb-9780b72bdd37/configs'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/25af9eb0-fe8f-44aa-8a11-b10f62b5ccd8/configs'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/35aae624-128f-4fc1-a1cb-9780b72bdd37/configs HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/25af9eb0-fe8f-44aa-8a11-b10f62b5ccd8/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/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/045bc286-3602-470a-8359-898c970104b7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ddf7699-6cbd-4133-8226-9c5e0bfd1a99 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/045bc286-3602-470a-8359-898c970104b7 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:1a:99:00",
|
||||
"mac_address": "00:dd:80:04:b7:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/045bc286-3602-470a-8359-898c970104b7",
|
||||
"node_id": "045bc286-3602-470a-8359-898c970104b7",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpp70x6fp9/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/fe9e03ad-db69-4b6a-8435-cf2374aa4158'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd1cb202-82d6-4915-b5a8-068a01f254de'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fe9e03ad-db69-4b6a-8435-cf2374aa4158 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd1cb202-82d6-4915-b5a8-068a01f254de 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": "fe9e03ad-db69-4b6a-8435-cf2374aa4158",
|
||||
"node_id": "dd1cb202-82d6-4915-b5a8-068a01f254de",
|
||||
"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/f9758893-3d6d-426c-8040-794e92dac8f5'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3465108c-ed93-48e8-b7d0-ec6c5daa1541'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f9758893-3d6d-426c-8040-794e92dac8f5 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3465108c-ed93-48e8-b7d0-ec6c5daa1541 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/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f9758893-3d6d-426c-8040-794e92dac8f5",
|
||||
"node_id": "f9758893-3d6d-426c-8040-794e92dac8f5",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/3465108c-ed93-48e8-b7d0-ec6c5daa1541",
|
||||
"node_id": "3465108c-ed93-48e8-b7d0-ec6c5daa1541",
|
||||
"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/6a89d29c-43fe-4863-830e-3ee7c4150d4d/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/5761550c-21e4-44e4-b30d-55233c7d0cf7/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/6a89d29c-43fe-4863-830e-3ee7c4150d4d/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5761550c-21e4-44e4-b30d-55233c7d0cf7/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/aef16712-b132-48f8-9607-9bdf866ed9b1/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/6dbdee18-3761-44f3-93c7-4e50e9667815/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/aef16712-b132-48f8-9607-9bdf866ed9b1/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6dbdee18-3761-44f3-93c7-4e50e9667815/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/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/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/a38c9e0c-7adb-4486-8678-f92c861b56bb/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/10c912af-224a-4ca2-adaf-fc024c7df8ac/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/10c912af-224a-4ca2-adaf-fc024c7df8ac/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": "2998b54b-6c61-4854-b3d7-144d8cd79d1d", "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": "16cffcbf-a0d1-4a98-89ff-b99475404122", "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": "2998b54b-6c61-4854-b3d7-144d8cd79d1d",
|
||||
"node_id": "16cffcbf-a0d1-4a98-89ff-b99475404122",
|
||||
"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/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/2998b54b-6c61-4854-b3d7-144d8cd79d1d",
|
||||
"node_id": "2998b54b-6c61-4854-b3d7-144d8cd79d1d",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/16cffcbf-a0d1-4a98-89ff-b99475404122",
|
||||
"node_id": "16cffcbf-a0d1-4a98-89ff-b99475404122",
|
||||
"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/cea7463c-f135-4799-b005-039c113aa82c/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/6f5ddf25-47ce-4f48-945e-0be18532102b/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cea7463c-f135-4799-b005-039c113aa82c/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6f5ddf25-47ce-4f48-945e-0be18532102b/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/d4ffc132-bd43-42f6-8880-4b50faaaed86/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/7075fda1-3898-435c-bd8c-6e540042f703/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/d4ffc132-bd43-42f6-8880-4b50faaaed86/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7075fda1-3898-435c-bd8c-6e540042f703/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/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/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/38ad2d60-359b-4823-8942-498926a5f72f/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a0bcbed9-0a6c-43c9-822c-7e95094a43ff/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
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
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a0bcbed9-0a6c-43c9-822c-7e95094a43ff/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/2528e1c3-b3fe-4fda-a01a-2c0f5a5271bc/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8a6914c3-c4d1-418e-be39-31d4e868fc77/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2528e1c3-b3fe-4fda-a01a-2c0f5a5271bc/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8a6914c3-c4d1-418e-be39-31d4e868fc77/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/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6e3e0c35-b31d-4138-915f-89f53d1d002f/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/74a11d0c-e0ef-43fa-9ad7-4d25f23e24e0/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6e3e0c35-b31d-4138-915f-89f53d1d002f/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/tmpk9paj89z/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp34e4nwfi/iourc",
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/6e3e0c35-b31d-4138-915f-89f53d1d002f",
|
||||
"node_id": "6e3e0c35-b31d-4138-915f-89f53d1d002f",
|
||||
"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/3c875459-29f2-44a5-aa52-a0873c5161b4/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bd682169-bc5c-4f29-8880-4d832c24f256/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c875459-29f2-44a5-aa52-a0873c5161b4/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bd682169-bc5c-4f29-8880-4d832c24f256/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/tmp14s6lxxw/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/tmpp70x6fp9/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/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpp70x6fp9/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:b7:46:00",
|
||||
"mac_address": "00:dd:80:78:57:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/1b056004-c435-4f91-9f35-1511e2607857",
|
||||
"node_id": "1b056004-c435-4f91-9f35-1511e2607857",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpp70x6fp9/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/a7a72654-fad8-4516-ad64-d984f764d5f9/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/48e66f95-a693-41bf-85b6-5afa6daf5323/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a7a72654-fad8-4516-ad64-d984f764d5f9/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48e66f95-a693-41bf-85b6-5afa6daf5323/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/b0841398-f0ca-4007-9443-cfb5bbedaf5d/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/303478f6-e602-4e8d-88b7-4c3a348d9d46/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0841398-f0ca-4007-9443-cfb5bbedaf5d/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/303478f6-e602-4e8d-88b7-4c3a348d9d46/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/d82f80a8-6d25-474b-8ff3-b289943c3d1e/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/598aeb6f-5294-4075-b73c-5552c7293902/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d82f80a8-6d25-474b-8ff3-b289943c3d1e/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/598aeb6f-5294-4075-b73c-5552c7293902/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/61474a2f-707c-477e-876c-79ee23bb131c/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/15b9b8b9-323e-4d35-b9d0-7c64aaeed44f/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61474a2f-707c-477e-876c-79ee23bb131c/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/15b9b8b9-323e-4d35-b9d0-7c64aaeed44f/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:13:1c:00",
|
||||
"mac_address": "00:dd:80:d4:4f:00",
|
||||
"name": "PC TEST 1",
|
||||
"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",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/15b9b8b9-323e-4d35-b9d0-7c64aaeed44f",
|
||||
"node_id": "15b9b8b9-323e-4d35-b9d0-7c64aaeed44f",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpp70x6fp9/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/ff86be35-ec89-4108-98f1-5f0f5aed8c6c/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c7d6fd94-5905-42df-8544-843205dacd0a/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ff86be35-ec89-4108-98f1-5f0f5aed8c6c/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c7d6fd94-5905-42df-8544-843205dacd0a/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/0f1cbd71-97b9-48c7-bcb3-6ad3af04be61/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7bab964d-bd8d-4676-9288-346e8b733def/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0f1cbd71-97b9-48c7-bcb3-6ad3af04be61/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7bab964d-bd8d-4676-9288-346e8b733def/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": "13723223-c89d-4ea7-a6d2-e42ecf7519c1",
|
||||
"node_id": "bceb2282-882c-4a02-97ce-a7bc60502a4d",
|
||||
"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/54cfde03-d6c9-4dd2-b1dc-90999dd78882/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/0651cad4-cddb-41a3-bc1d-6a2a10b4ad0c/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/54cfde03-d6c9-4dd2-b1dc-90999dd78882/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0651cad4-cddb-41a3-bc1d-6a2a10b4ad0c/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/2d1c227c-397e-4ffc-bd5a-a4b49ba2e108/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a5b32685-4fa2-43c3-8926-a960177db284/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2d1c227c-397e-4ffc-bd5a-a4b49ba2e108/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a5b32685-4fa2-43c3-8926-a960177db284/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/999baf55-62e4-4f90-8b90-f5f4107b2cbc/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/426774ed-ec4d-40bd-9709-5327cc6f0761/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/999baf55-62e4-4f90-8b90-f5f4107b2cbc/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/426774ed-ec4d-40bd-9709-5327cc6f0761/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/bdfbb95e-0b03-4929-b2e6-305802481326/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2231d685-b7ee-4c79-b08b-f9a97a07a455/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bdfbb95e-0b03-4929-b2e6-305802481326/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2231d685-b7ee-4c79-b08b-f9a97a07a455/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/b92bf1d6-c646-4338-b705-163aab129e31/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/16337b31-7703-4a95-af19-eeaae2060c39/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b92bf1d6-c646-4338-b705-163aab129e31/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/16337b31-7703-4a95-af19-eeaae2060c39/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/b4f8ca1e-76b6-4ed7-ac9c-4f0744f1ba15/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6559c9d2-63d5-4a6d-a8f3-cba9933f26b5/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4f8ca1e-76b6-4ed7-ac9c-4f0744f1ba15/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6559c9d2-63d5-4a6d-a8f3-cba9933f26b5/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/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/88a76f7e-cfcf-4e86-a927-135a9a5dd336",
|
||||
"node_id": "88a76f7e-cfcf-4e86-a927-135a9a5dd336",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/840ed69a-9116-4b6c-964c-87a0267c0c51",
|
||||
"node_id": "840ed69a-9116-4b6c-964c-87a0267c0c51",
|
||||
"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/4ed56301-f966-4afa-b220-e5862864a095/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/7b4a01ca-a5ff-4852-8577-d02edb018abe/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/4ed56301-f966-4afa-b220-e5862864a095/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7b4a01ca-a5ff-4852-8577-d02edb018abe/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/a42ce13a-c066-4b4f-be8b-edf9d016dec3/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6e0f73b4-c362-4415-ab43-166b023dfcd0/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a42ce13a-c066-4b4f-be8b-edf9d016dec3/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6e0f73b4-c362-4415-ab43-166b023dfcd0/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/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/01bf00a8-ee47-4927-96da-5ef8284fbbac/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/01bf00a8-ee47-4927-96da-5ef8284fbbac/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/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283",
|
||||
"node_id": "56b9295d-3e1b-4a4c-bb5f-a9f4b4f9f283",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/01bf00a8-ee47-4927-96da-5ef8284fbbac",
|
||||
"node_id": "01bf00a8-ee47-4927-96da-5ef8284fbbac",
|
||||
"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/ad534b7d-b0c3-4eeb-8924-7f3ea9a47c6a/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cbc88db4-2cfa-4998-aeea-185de00e528e/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ad534b7d-b0c3-4eeb-8924-7f3ea9a47c6a/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cbc88db4-2cfa-4998-aeea-185de00e528e/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-117/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-149/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-117/test_update_path_project_non_l0"
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-149/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/efe01fdb-07fb-4bb4-b9d2-2caa19714084' -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/45040e87-83ba-4925-a11e-a0f7dc5e7774' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/efe01fdb-07fb-4bb4-b9d2-2caa19714084 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/45040e87-83ba-4925-a11e-a0f7dc5e7774 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/tmp6tbvb86a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/efe01fdb-07fb-4bb4-b9d2-2caa19714084",
|
||||
"node_id": "efe01fdb-07fb-4bb4-b9d2-2caa19714084",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/45040e87-83ba-4925-a11e-a0f7dc5e7774",
|
||||
"node_id": "45040e87-83ba-4925-a11e-a0f7dc5e7774",
|
||||
"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/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}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93a66cdf-2e67-4add-8528-198e5e351211' -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/95f2a374-a421-4a10-96a5-97ec3960358b HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93a66cdf-2e67-4add-8528-198e5e351211 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/tmpyy4f48ub/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3yqh6gld/iourc",
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"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",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphmhjfjyj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/93a66cdf-2e67-4add-8528-198e5e351211",
|
||||
"node_id": "93a66cdf-2e67-4add-8528-198e5e351211",
|
||||
"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/d203c06f-67aa-4236-aff5-a2395f723648' -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/fa77ed3b-e2ec-44fa-8186-b93eb988641e' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d203c06f-67aa-4236-aff5-a2395f723648 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fa77ed3b-e2ec-44fa-8186-b93eb988641e 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:36:48:00",
|
||||
"mac_address": "00:dd:80:64:1e:00",
|
||||
"name": "test",
|
||||
"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",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/fa77ed3b-e2ec-44fa-8186-b93eb988641e",
|
||||
"node_id": "fa77ed3b-e2ec-44fa-8186-b93eb988641e",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp14s6lxxw/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpp70x6fp9/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/b93f062e-287f-42ec-a1c3-89eb59b437af' -d '{"console": 5010, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9462cd9f-b23b-47df-b797-588211f2e256' -d '{"console": 5010, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b93f062e-287f-42ec-a1c3-89eb59b437af HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9462cd9f-b23b-47df-b797-588211f2e256 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": "b93f062e-287f-42ec-a1c3-89eb59b437af",
|
||||
"node_id": "9462cd9f-b23b-47df-b797-588211f2e256",
|
||||
"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/52779772-af61-417f-9005-eb2bb8d18cdf' -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/877f27ed-525b-4f02-ae6c-2c9388fbf522' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/52779772-af61-417f-9005-eb2bb8d18cdf HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/877f27ed-525b-4f02-ae6c-2c9388fbf522 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/tmp9fnsio97/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/52779772-af61-417f-9005-eb2bb8d18cdf",
|
||||
"node_id": "52779772-af61-417f-9005-eb2bb8d18cdf",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp25s35np5/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/877f27ed-525b-4f02-ae6c-2c9388fbf522",
|
||||
"node_id": "877f27ed-525b-4f02-ae6c-2c9388fbf522",
|
||||
"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/4428c3a0-ae16-430f-b1e5-e2caeea27c05'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/b860d380-e717-4c02-8150-f41839ffd6e5'
|
||||
|
||||
DELETE /v2/projects/4428c3a0-ae16-430f-b1e5-e2caeea27c05 HTTP/1.1
|
||||
DELETE /v2/projects/b860d380-e717-4c02-8150-f41839ffd6e5 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/15658c41-0703-4425-b8ce-2f716e71bd1d/drawings/8e948655-f788-4a52-9502-e86df1f61d91'
|
||||
|
||||
DELETE /v2/projects/15658c41-0703-4425-b8ce-2f716e71bd1d/drawings/8e948655-f788-4a52-9502-e86df1f61d91 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/1b3eb3a0-63a2-4bbd-82c1-3b3297753ee2/links/a2935e13-8792-4ca7-a718-8d9967ce6380'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/b878d2c3-ebeb-47a3-b1ff-374a797e993d/links/718bdcce-ff74-434d-8c8f-691ef49a9247'
|
||||
|
||||
DELETE /v2/projects/1b3eb3a0-63a2-4bbd-82c1-3b3297753ee2/links/a2935e13-8792-4ca7-a718-8d9967ce6380 HTTP/1.1
|
||||
DELETE /v2/projects/b878d2c3-ebeb-47a3-b1ff-374a797e993d/links/718bdcce-ff74-434d-8c8f-691ef49a9247 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/47574627-ebb4-417d-8c01-2b115d18a6b8/nodes/b8aaebdb-70ca-44d3-b162-ecf1ca83642e'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/1779d386-b567-4123-b2db-fb568e8d5573/nodes/28010580-1839-48b0-a4f1-712f8e08c37b'
|
||||
|
||||
DELETE /v2/projects/47574627-ebb4-417d-8c01-2b115d18a6b8/nodes/b8aaebdb-70ca-44d3-b162-ecf1ca83642e HTTP/1.1
|
||||
DELETE /v2/projects/1779d386-b567-4123-b2db-fb568e8d5573/nodes/28010580-1839-48b0-a4f1-712f8e08c37b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/6b74fe6e-f65a-46a9-84a9-1db0cd42a9d2/drawings/6e313846-5d8f-4dcc-a231-e2dd9406bb71'
|
||||
|
||||
DELETE /v2/projects/6b74fe6e-f65a-46a9-84a9-1db0cd42a9d2/drawings/6e313846-5d8f-4dcc-a231-e2dd9406bb71 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-117/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-149/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/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a50ef3bd-5b23-484e-a1e4-a2e6897406c0'
|
||||
|
||||
GET /v2/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa HTTP/1.1
|
||||
GET /v2/projects/a50ef3bd-5b23-484e-a1e4-a2e6897406c0 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpahtyzp8o/projects/c25dc0dd-39a8-4ce8-9944-3801a4f6afaa",
|
||||
"project_id": "c25dc0dd-39a8-4ce8-9944-3801a4f6afaa",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpybjyvef9/projects/a50ef3bd-5b23-484e-a1e4-a2e6897406c0",
|
||||
"project_id": "a50ef3bd-5b23-484e-a1e4-a2e6897406c0",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0bb34c74-e696-46b5-9c94-d00e3f55da18/drawings'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/38f48088-eb37-4094-a45f-fce48fb042d1/drawings'
|
||||
|
||||
GET /v2/projects/0bb34c74-e696-46b5-9c94-d00e3f55da18/drawings HTTP/1.1
|
||||
GET /v2/projects/38f48088-eb37-4094-a45f-fce48fb042d1/drawings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 361
|
||||
CONTENT-LENGTH: 363
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -13,9 +13,9 @@ X-ROUTE: /v2/projects/{project_id}/drawings
|
||||
|
||||
[
|
||||
{
|
||||
"project_id": "0bb34c74-e696-46b5-9c94-d00e3f55da18",
|
||||
"drawing_id": "e4b7c214-1662-4320-b4cc-8a62bc13ef91",
|
||||
"project_id": "38f48088-eb37-4094-a45f-fce48fb042d1",
|
||||
"rotation": 0,
|
||||
"drawing_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,
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/3876626a-cb4f-4bed-bfd3-dc905ab97be6/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/67687ce9-3517-4c71-903f-91fbc0cfb2a9/links'
|
||||
|
||||
GET /v2/projects/3876626a-cb4f-4bed-bfd3-dc905ab97be6/links HTTP/1.1
|
||||
GET /v2/projects/67687ce9-3517-4c71-903f-91fbc0cfb2a9/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": "f4df9060-2a0b-4bb5-9181-31f0a202c9ce",
|
||||
"link_id": "722ac0d2-d2cf-430f-9c8f-f8a905d5c59f",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "991bcb7a-7772-4b7a-95ef-ec6c2ccbcea7",
|
||||
"node_id": "85b5fa5c-2ca6-4c69-a826-ac48dec6467c",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "58feb337-36f6-45bb-b0f3-d776ea1f7b8c",
|
||||
"node_id": "36847aff-f1e8-4d6e-be88-d8bb782acc2a",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "3876626a-cb4f-4bed-bfd3-dc905ab97be6"
|
||||
"project_id": "67687ce9-3517-4c71-903f-91fbc0cfb2a9"
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0a173834-2ce1-4bbe-a65b-72dc5239c6b1/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/6db8b823-566c-45e3-8f3c-607cbb768873/nodes'
|
||||
|
||||
GET /v2/projects/0a173834-2ce1-4bbe-a65b-72dc5239c6b1/nodes HTTP/1.1
|
||||
GET /v2/projects/6db8b823-566c-45e3-8f3c-607cbb768873/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -27,9 +27,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "4d9d61be-ba6b-442b-803c-565a35838045",
|
||||
"node_id": "424c9a0a-172b-48b6-9f4b-0442bdf3bdfb",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "0a173834-2ce1-4bbe-a65b-72dc5239c6b1",
|
||||
"project_id": "6db8b823-566c-45e3-8f3c-607cbb768873",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/5f47bc58-7d5a-4065-b628-24277d345e9d/nodes/d75ad07f-fc2f-4a5d-be7c-f9e720efe7ce/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b8997dd7-7a29-4361-a804-9e3aa7b1676b/nodes/8b6425f7-e6a5-42c5-8ed4-b8bcbcfc76d4/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/5f47bc58-7d5a-4065-b628-24277d345e9d/nodes/d75ad07f-fc2f-4a5d-be7c-f9e720efe7ce/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/b8997dd7-7a29-4361-a804-9e3aa7b1676b/nodes/8b6425f7-e6a5-42c5-8ed4-b8bcbcfc76d4/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a9a3bad5-7f05-4bd8-a043-7ed780c8e6b8/nodes/ece4e9f9-0a9b-4ac8-8409-03afa17f5111/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e68f7840-1b4a-4ade-ad79-7de21d45de31/nodes/035175d9-0a74-4f66-87ba-775c3f6b2e64/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/a9a3bad5-7f05-4bd8-a043-7ed780c8e6b8/nodes/ece4e9f9-0a9b-4ac8-8409-03afa17f5111/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/e68f7840-1b4a-4ade-ad79-7de21d45de31/nodes/035175d9-0a74-4f66-87ba-775c3f6b2e64/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects
|
||||
{
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6hypql_9/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp82zs5j3f/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/tmps90fqa5n/projects/ace2096c-31a6-445a-b9fb-37585eb25657",
|
||||
"project_id": "ace2096c-31a6-445a-b9fb-37585eb25657",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_womcnev/projects/53c6be8a-37fb-4f8d-a64f-ddc1284409f5",
|
||||
"project_id": "53c6be8a-37fb-4f8d-a64f-ddc1284409f5",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8638b449-14f1-4040-b2ba-cb279584fdbb/close' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/03069293-e8a9-498b-84f6-5b9ac1a6a7e6/close' -d '{}'
|
||||
|
||||
POST /v2/projects/8638b449-14f1-4040-b2ba-cb279584fdbb/close HTTP/1.1
|
||||
POST /v2/projects/03069293-e8a9-498b-84f6-5b9ac1a6a7e6/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/tmpy5ymyj_8/projects/8638b449-14f1-4040-b2ba-cb279584fdbb",
|
||||
"project_id": "8638b449-14f1-4040-b2ba-cb279584fdbb",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcgspma15/projects/03069293-e8a9-498b-84f6-5b9ac1a6a7e6",
|
||||
"project_id": "03069293-e8a9-498b-84f6-5b9ac1a6a7e6",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/0dec118e-f2ca-4537-ac58-cb341dbe3f8b/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
|
||||
|
||||
POST /v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/drawings HTTP/1.1
|
||||
POST /v2/projects/0dec118e-f2ca-4537-ac58-cb341dbe3f8b/drawings HTTP/1.1
|
||||
{
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
@ -10,16 +10,16 @@ POST /v2/projects/e82d1e06-4235-41dc-9a57-0cd0672692f0/drawings HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 321
|
||||
CONTENT-LENGTH: 323
|
||||
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}/drawings
|
||||
|
||||
{
|
||||
"project_id": "e82d1e06-4235-41dc-9a57-0cd0672692f0",
|
||||
"drawing_id": "5344d9d7-8fbe-477d-99fd-ece78ea894cd",
|
||||
"project_id": "0dec118e-f2ca-4537-ac58-cb341dbe3f8b",
|
||||
"rotation": 0,
|
||||
"drawing_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,
|
@ -1,16 +1,16 @@
|
||||
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}]}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/03852c0e-0fdb-4a9f-889c-662f1b4d0e57/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "88adcbac-44bb-4517-be0d-ac06f2784789", "port_number": 3}, {"adapter_number": 2, "node_id": "5b3d113a-ed66-4020-8900-31b90a0e7401", "port_number": 4}]}'
|
||||
|
||||
POST /v2/projects/bf318436-7d6f-4378-8f78-a0877dfcaf75/links HTTP/1.1
|
||||
POST /v2/projects/03852c0e-0fdb-4a9f-889c-662f1b4d0e57/links HTTP/1.1
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af",
|
||||
"node_id": "88adcbac-44bb-4517-be0d-ac06f2784789",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "36cf770e-191f-452d-8cec-786afefc42d5",
|
||||
"node_id": "5b3d113a-ed66-4020-8900-31b90a0e7401",
|
||||
"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": "a11364fa-2662-4f8f-9bc6-8ed16e1c87f2",
|
||||
"link_id": "f8c9ad16-4b0b-4808-9080-81eb106ff88c",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "b14e77b6-9bf2-4db5-830a-4272a300d1af",
|
||||
"node_id": "88adcbac-44bb-4517-be0d-ac06f2784789",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "36cf770e-191f-452d-8cec-786afefc42d5",
|
||||
"node_id": "5b3d113a-ed66-4020-8900-31b90a0e7401",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "bf318436-7d6f-4378-8f78-a0877dfcaf75"
|
||||
"project_id": "03852c0e-0fdb-4a9f-889c-662f1b4d0e57"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f3c1d05b-04c5-4eee-b699-7901377aea61/links/a82b2414-7d9d-4e68-ab5a-2b50d42efc7e/start_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/897951c6-c3a7-40ed-bb0f-dc30ad55c5a7/links/c2bbdb6e-f07a-4e39-8d46-1084ee432120/start_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/f3c1d05b-04c5-4eee-b699-7901377aea61/links/a82b2414-7d9d-4e68-ab5a-2b50d42efc7e/start_capture HTTP/1.1
|
||||
POST /v2/projects/897951c6-c3a7-40ed-bb0f-dc30ad55c5a7/links/c2bbdb6e-f07a-4e39-8d46-1084ee432120/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": "a82b2414-7d9d-4e68-ab5a-2b50d42efc7e",
|
||||
"link_id": "c2bbdb6e-f07a-4e39-8d46-1084ee432120",
|
||||
"nodes": [],
|
||||
"project_id": "f3c1d05b-04c5-4eee-b699-7901377aea61"
|
||||
"project_id": "897951c6-c3a7-40ed-bb0f-dc30ad55c5a7"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/88aecf41-997a-4a25-be5c-3f144b4b7d42/links/a2f2ff8f-61e5-4f9b-a75e-58a2f225e841/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c03db525-fa17-4851-a501-8223a4702f13/links/c320128e-2be9-4395-9cf0-fddec3daa3eb/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/88aecf41-997a-4a25-be5c-3f144b4b7d42/links/a2f2ff8f-61e5-4f9b-a75e-58a2f225e841/stop_capture HTTP/1.1
|
||||
POST /v2/projects/c03db525-fa17-4851-a501-8223a4702f13/links/c320128e-2be9-4395-9cf0-fddec3daa3eb/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": "a2f2ff8f-61e5-4f9b-a75e-58a2f225e841",
|
||||
"link_id": "c320128e-2be9-4395-9cf0-fddec3daa3eb",
|
||||
"nodes": [],
|
||||
"project_id": "88aecf41-997a-4a25-be5c-3f144b4b7d42"
|
||||
"project_id": "c03db525-fa17-4851-a501-8223a4702f13"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
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"}}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/092cfe89-4efc-4377-86aa-d69cacc264df/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
POST /v2/projects/06614bf2-52da-4866-8665-371ecda03f04/nodes HTTP/1.1
|
||||
POST /v2/projects/092cfe89-4efc-4377-86aa-d69cacc264df/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": "2896c352-b937-4a6f-a5a1-f684b3b83152",
|
||||
"node_id": "d2102840-e2fe-4370-b70a-62594d1f42e3",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "06614bf2-52da-4866-8665-371ecda03f04",
|
||||
"project_id": "092cfe89-4efc-4377-86aa-d69cacc264df",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/79c57711-2dec-4657-af36-c30115e64b35/nodes/71b58ff9-bee8-4186-ace0-1a6746e0030f/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8a82b896-bfd2-4694-88c2-d9fcb5d5cbd2/nodes/13f0f1eb-7afc-42a8-9297-4fafa702c191/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/79c57711-2dec-4657-af36-c30115e64b35/nodes/71b58ff9-bee8-4186-ace0-1a6746e0030f/reload HTTP/1.1
|
||||
POST /v2/projects/8a82b896-bfd2-4694-88c2-d9fcb5d5cbd2/nodes/13f0f1eb-7afc-42a8-9297-4fafa702c191/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/59b054f1-4502-4cbb-9707-10534b2f5609/nodes/14a5f227-5a1c-4295-83da-c71701e1c039/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/cfd0e12c-5c9d-4186-8af9-16c193aa4d76/nodes/f96cc4ab-3199-4718-a37f-bf69444fc022/start' -d '{}'
|
||||
|
||||
POST /v2/projects/59b054f1-4502-4cbb-9707-10534b2f5609/nodes/14a5f227-5a1c-4295-83da-c71701e1c039/start HTTP/1.1
|
||||
POST /v2/projects/cfd0e12c-5c9d-4186-8af9-16c193aa4d76/nodes/f96cc4ab-3199-4718-a37f-bf69444fc022/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/820265d4-7691-4218-9b00-4e2dc9f4babf/nodes/b171a9b8-7806-4e72-9aaa-305bb901bb63/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c9593426-a55b-4523-8102-9306e8ab4c36/nodes/2544f2a2-fd6f-4bf3-815e-f44dfa46ef60/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/820265d4-7691-4218-9b00-4e2dc9f4babf/nodes/b171a9b8-7806-4e72-9aaa-305bb901bb63/stop HTTP/1.1
|
||||
POST /v2/projects/c9593426-a55b-4523-8102-9306e8ab4c36/nodes/2544f2a2-fd6f-4bf3-815e-f44dfa46ef60/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/76763e4c-d12b-4a53-ab8e-55a322e83bb9/nodes/e387799f-4a82-4464-836b-d37fa4a770e9/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/27a869bf-aae1-48e0-ae6a-47184ea058ef/nodes/5c23742d-ab2e-4028-a1e7-b01325d7bd2a/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/76763e4c-d12b-4a53-ab8e-55a322e83bb9/nodes/e387799f-4a82-4464-836b-d37fa4a770e9/suspend HTTP/1.1
|
||||
POST /v2/projects/27a869bf-aae1-48e0-ae6a-47184ea058ef/nodes/5c23742d-ab2e-4028-a1e7-b01325d7bd2a/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/62943f57-fe21-454b-ba31-f0e57e6d646e/nodes/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f84ac54d-1d42-4f12-b98f-dc5cc68847af/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/62943f57-fe21-454b-ba31-f0e57e6d646e/nodes/reload HTTP/1.1
|
||||
POST /v2/projects/f84ac54d-1d42-4f12-b98f-dc5cc68847af/nodes/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1568b3e9-96d8-4793-b6db-f59131466192/nodes/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/d078414b-ca69-4641-bfe6-4b00121a9b76/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/1568b3e9-96d8-4793-b6db-f59131466192/nodes/start HTTP/1.1
|
||||
POST /v2/projects/d078414b-ca69-4641-bfe6-4b00121a9b76/nodes/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/59787bb4-ff7f-4523-b3cb-ad02f194c422/nodes/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/05c1dc3e-e231-44ce-87cb-e8d5f1bb0d46/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/59787bb4-ff7f-4523-b3cb-ad02f194c422/nodes/stop HTTP/1.1
|
||||
POST /v2/projects/05c1dc3e-e231-44ce-87cb-e8d5f1bb0d46/nodes/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f6d30e3d-f80a-46e8-b01a-d0579a0b0aa4/nodes/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/37f32e0f-563a-44c6-8657-69757fcad8dd/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/f6d30e3d-f80a-46e8-b01a-d0579a0b0aa4/nodes/suspend HTTP/1.1
|
||||
POST /v2/projects/37f32e0f-563a-44c6-8657-69757fcad8dd/nodes/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52/open' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8efa2f12-fc33-449e-bce5-e972740eb376/open' -d '{}'
|
||||
|
||||
POST /v2/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52/open HTTP/1.1
|
||||
POST /v2/projects/8efa2f12-fc33-449e-bce5-e972740eb376/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/tmp2zch7cjb/projects/75eeceb9-4b90-4671-9b83-9bf5c33c1e52",
|
||||
"project_id": "75eeceb9-4b90-4671-9b83-9bf5c33c1e52",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp5g3bnq1t/projects/8efa2f12-fc33-449e-bce5-e972740eb376",
|
||||
"project_id": "8efa2f12-fc33-449e-bce5-e972740eb376",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,22 +1,22 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/2312697c-8e49-40e0-9d6d-5bd6dd0679ed/drawings/dbefe2d5-79d7-4f18-b898-cd073224563c' -d '{"x": 42}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/07d67b57-dd64-4a42-9e94-afee8c8603c0/drawings/2da510fc-a1f7-43d3-98fe-412964c5b978' -d '{"x": 42}'
|
||||
|
||||
PUT /v2/projects/2312697c-8e49-40e0-9d6d-5bd6dd0679ed/drawings/dbefe2d5-79d7-4f18-b898-cd073224563c HTTP/1.1
|
||||
PUT /v2/projects/07d67b57-dd64-4a42-9e94-afee8c8603c0/drawings/2da510fc-a1f7-43d3-98fe-412964c5b978 HTTP/1.1
|
||||
{
|
||||
"x": 42
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 321
|
||||
CONTENT-LENGTH: 323
|
||||
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}/drawings/{drawing_id}
|
||||
|
||||
{
|
||||
"project_id": "2312697c-8e49-40e0-9d6d-5bd6dd0679ed",
|
||||
"drawing_id": "2da510fc-a1f7-43d3-98fe-412964c5b978",
|
||||
"project_id": "07d67b57-dd64-4a42-9e94-afee8c8603c0",
|
||||
"rotation": 0,
|
||||
"drawing_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,
|
@ -1,6 +1,6 @@
|
||||
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"}}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/138ebf0f-f329-4b37-b2e3-c9dada1ad53b/nodes/0798c1a5-e88f-49aa-a7e7-ea29a7b6a0b9' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
PUT /v2/projects/1603be36-622b-4e12-a741-ca4140a2559f/nodes/f976490c-fb62-4306-8925-4c4c6f3751db HTTP/1.1
|
||||
PUT /v2/projects/138ebf0f-f329-4b37-b2e3-c9dada1ad53b/nodes/0798c1a5-e88f-49aa-a7e7-ea29a7b6a0b9 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": "f976490c-fb62-4306-8925-4c4c6f3751db",
|
||||
"node_id": "0798c1a5-e88f-49aa-a7e7-ea29a7b6a0b9",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "1603be36-622b-4e12-a741-ca4140a2559f",
|
||||
"project_id": "138ebf0f-f329-4b37-b2e3-c9dada1ad53b",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
|
@ -9,8 +9,8 @@ Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
@ -27,8 +27,8 @@ Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
@ -27,8 +27,8 @@ Remove a NIO from a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Stop a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
|
||||
@ -33,8 +33,8 @@ Remove a NIO from a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
|
||||
|
@ -9,8 +9,8 @@ Stop a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
|
||||
@ -27,8 +27,8 @@ Remove a NIO from a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
|
||||
|
@ -9,8 +9,8 @@ Stop a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
@ -27,8 +27,8 @@ Remove a NIO from an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Stop a packet capture on an Ethernet hub instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the hub
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the hub (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
@ -27,8 +27,8 @@ Remove a NIO from an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Stop a packet capture on an Ethernet switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Add a NIO to a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
@ -27,8 +27,8 @@ Remove a NIO from a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
@ -9,8 +9,8 @@ Start a packet capture on a Frame Relay switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user