1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Rebuild doc

This commit is contained in:
Julien Duponchelle 2016-07-14 15:31:49 +02:00
parent b745397a3a
commit b5cb625169
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
210 changed files with 2555 additions and 879 deletions

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a50af7fb-1337-472d-b345-e9127ebf32fc/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/82ca5e3a-263b-4076-bf54-feb09024e01d/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a50af7fb-1337-472d-b345-e9127ebf32fc/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/82ca5e3a-263b-4076-bf54-feb09024e01d/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/239df2a0-a6dd-41fc-8864-c2f56ba4336f'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d9265805-3d28-464b-9ca3-3f8dc82aa1ff'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/239df2a0-a6dd-41fc-8864-c2f56ba4336f HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d9265805-3d28-464b-9ca3-3f8dc82aa1ff HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70b80558-6125-4906-96ce-6c1b7e8fd3d1/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/20375ab7-2a69-4ef0-84de-7826a45afe0a/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70b80558-6125-4906-96ce-6c1b7e8fd3d1/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/20375ab7-2a69-4ef0-84de-7826a45afe0a/adapters/1/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ea36b1d0-f063-49b5-bdd9-9a77e7a00e15'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5fbd9ddc-3bfc-4e92-8103-5ba376658f77'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ea36b1d0-f063-49b5-bdd9-9a77e7a00e15 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5fbd9ddc-3bfc-4e92-8103-5ba376658f77 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7b2602b2-0866-48bf-b794-a3dc8c3c504f/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e67627fe-c17d-4b3d-bf15-46515c7669db/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7b2602b2-0866-48bf-b794-a3dc8c3c504f/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e67627fe-c17d-4b3d-bf15-46515c7669db/adapters/1/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c99b6aa0-b5e6-4f72-a383-0be455abadfc/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ddd8fd45-92c8-4647-ba8b-4c49e6c22831/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c99b6aa0-b5e6-4f72-a383-0be455abadfc/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ddd8fd45-92c8-4647-ba8b-4c49e6c22831/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e59e9694-d15b-47b5-9553-c608df755350'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9f15e6d8-dad3-428f-91d9-647fe2bb2b4c'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e59e9694-d15b-47b5-9553-c608df755350 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9f15e6d8-dad3-428f-91d9-647fe2bb2b4c HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/37c887a4-e766-484a-8179-b3d397b48e70/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/da796d1b-a9b7-4d60-a8da-04a079d31036/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/37c887a4-e766-484a-8179-b3d397b48e70/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/da796d1b-a9b7-4d60-a8da-04a079d31036/adapters/0/ports/0/nio HTTP/1.1

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
]

View File

@ -1,11 +1,11 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/25fc3db3-83a5-4bd1-9ffb-995bfee680da'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b397906a-a988-47ec-a843-2a970d875ac0'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/25fc3db3-83a5-4bd1-9ffb-995bfee680da HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b397906a-a988-47ec-a843-2a970d875ac0 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 721
CONTENT-LENGTH: 722
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/project-files/iou/25fc3db3-83a5-4bd1-9ffb-995bfee680da",
"node_id": "25fc3db3-83a5-4bd1-9ffb-995bfee680da",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/project-files/iou/b397906a-a988-47ec-a843-2a970d875ac0",
"node_id": "b397906a-a988-47ec-a843-2a970d875ac0",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/57a90df6-f75a-40cd-83d6-53baaa911507/configs'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4e59b33c-3448-4f67-9179-29231222fb92/configs'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/57a90df6-f75a-40cd-83d6-53baaa911507/configs HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4e59b33c-3448-4f67-9179-29231222fb92/configs HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dd253990-3312-4d1f-9f17-b1e983cc60c3'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09669b25-c5b5-4996-aff6-1692ef559371'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dd253990-3312-4d1f-9f17-b1e983cc60c3 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09669b25-c5b5-4996-aff6-1692ef559371 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:60:c3:00",
"mac_address": "00:dd:80:93:71:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/dd253990-3312-4d1f-9f17-b1e983cc60c3",
"node_id": "dd253990-3312-4d1f-9f17-b1e983cc60c3",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/09669b25-c5b5-4996-aff6-1692ef559371",
"node_id": "09669b25-c5b5-4996-aff6-1692ef559371",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6mpl67gj/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcdk456cd/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,11 +1,11 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c8c769ae-8d64-4597-af8a-c3f1452362b5'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6608f74f-ff43-40a0-a269-235d55020297'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c8c769ae-8d64-4597-af8a-c3f1452362b5 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6608f74f-ff43-40a0-a269-235d55020297 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 444
CONTENT-LENGTH: 471
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -18,9 +18,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"console": 5712,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "c8c769ae-8d64-4597-af8a-c3f1452362b5",
"node_id": "6608f74f-ff43-40a0-a269-235d55020297",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56a1b0b7-45be-44ba-aa79-141421ee39e4'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ab1ed56e-5d39-4f6e-9c8f-9a09ea6aeff3'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/56a1b0b7-45be-44ba-aa79-141421ee39e4 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ab1ed56e-5d39-4f6e-9c8f-9a09ea6aeff3 HTTP/1.1
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5720,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/56a1b0b7-45be-44ba-aa79-141421ee39e4",
"node_id": "56a1b0b7-45be-44ba-aa79-141421ee39e4",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ab1ed56e-5d39-4f6e-9c8f-9a09ea6aeff3",
"node_id": "ab1ed56e-5d39-4f6e-9c8f-9a09ea6aeff3",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20b00faa-faf8-4aec-ad24-75d7b5cb90cb/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/548a2652-f5a7-4446-a4ae-f2af78ae4d18/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/20b00faa-faf8-4aec-ad24-75d7b5cb90cb/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/548a2652-f5a7-4446-a4ae-f2af78ae4d18/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c02554d2-5ad8-4801-8e01-b1889acf395f/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/ee7112c1-6dbe-4dfa-aa59-f1f1043d5d7d/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/c02554d2-5ad8-4801-8e01-b1889acf395f/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ee7112c1-6dbe-4dfa-aa59-f1f1043d5d7d/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c025
HTTP/1.1 200
CONTENT-LENGTH: 146
CONTENT-LENGTH: 147
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6e1b0d11-6bf2-4a66-85a9-c607fdf1b19f/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7c0007cf-aaab-4742-ab07-3e642743c59d/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6e1b0d11-6bf2-4a66-85a9-c607fdf1b19f/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7c0007cf-aaab-4742-ab07-3e642743c59d/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,16 +1,16 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "d9ee0d78-5698-48b0-b563-f573f10b0c2f", "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": "e949a095-7ac3-455d-a9a3-827cc093dcbf", "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": "d9ee0d78-5698-48b0-b563-f573f10b0c2f",
"node_id": "e949a095-7ac3-455d-a9a3-827cc093dcbf",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
HTTP/1.1 201
CONTENT-LENGTH: 737
CONTENT-LENGTH: 738
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -25,8 +25,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/project-files/iou/d9ee0d78-5698-48b0-b563-f573f10b0c2f",
"node_id": "d9ee0d78-5698-48b0-b563-f573f10b0c2f",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/project-files/iou/e949a095-7ac3-455d-a9a3-827cc093dcbf",
"node_id": "e949a095-7ac3-455d-a9a3-827cc093dcbf",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04767c6c-f689-4c0d-964e-a28818fef452/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/7f61de6b-5445-4dc8-b59a-acbed677c8e5/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04767c6c-f689-4c0d-964e-a28818fef452/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7f61de6b-5445-4dc8-b59a-acbed677c8e5/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1b62ef5c-5025-43db-b3b1-161ef796c878/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/108ab602-1115-4a10-aa68-19e234653eb8/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/1b62ef5c-5025-43db-b3b1-161ef796c878/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/108ab602-1115-4a10-aa68-19e234653eb8/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1b62ef5
HTTP/1.1 200
CONTENT-LENGTH: 146
CONTENT-LENGTH: 147
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c483a80-db2c-4dd9-a091-7d6950ae9bd5/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2b9a10f8-3a78-4871-bfb4-4f3fc283c2fd/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7c483a80-db2c-4dd9-a091-7d6950ae9bd5/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2b9a10f8-3a78-4871-bfb4-4f3fc283c2fd/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4dba317a-5d38-4648-9e61-668491fc53a7/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/086c923b-aeff-4af4-a882-e72ce326af89/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4dba317a-5d38-4648-9e61-668491fc53a7/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/086c923b-aeff-4af4-a882-e72ce326af89/reload HTTP/1.1
{}

View File

@ -1,13 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/44197fd5-11f2-439f-818d-8768b9a6d847/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e36c0c6f-3680-4d92-b223-3381d9b65f85/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/44197fd5-11f2-439f-818d-8768b9a6d847/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e36c0c6f-3680-4d92-b223-3381d9b65f85/start HTTP/1.1
{
"iourc_content": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 785
CONTENT-LENGTH: 786
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
"console": 5711,
"console_type": "telnet",
"ethernet_adapters": 2,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpv4a5e10u/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1d1feg2r/iourc",
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/project-files/iou/44197fd5-11f2-439f-818d-8768b9a6d847",
"node_id": "44197fd5-11f2-439f-818d-8768b9a6d847",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/project-files/iou/e36c0c6f-3680-4d92-b223-3381d9b65f85",
"node_id": "e36c0c6f-3680-4d92-b223-3381d9b65f85",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a9691d5-c94e-4b38-af4c-de56f7393ce0/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6784d0f6-46fd-45dd-868f-087a04db64bd/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a9691d5-c94e-4b38-af4c-de56f7393ce0/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6784d0f6-46fd-45dd-868f-087a04db64bd/stop HTTP/1.1
{}

View File

@ -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/tmp6mpl67gj/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/tmpcdk456cd/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/tmp6mpl67gj/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcdk456cd/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:91:93:00",
"mac_address": "00:dd:80:69:cf:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/41436491-3239-4983-8138-5df5b92a9193",
"node_id": "41436491-3239-4983-8138-5df5b92a9193",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c1335902-4980-4f17-a4dd-9c986b2069cf",
"node_id": "c1335902-4980-4f17-a4dd-9c986b2069cf",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6mpl67gj/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcdk456cd/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5ff1bc09-fd04-4e45-be01-3d17f4bafede/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/ced87984-9f9f-495d-a18f-a68efe201c11/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5ff1bc09-fd04-4e45-be01-3d17f4bafede/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ced87984-9f9f-495d-a18f-a68efe201c11/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0b5d07e-e9dd-45cf-a62f-1f5e18f53af4/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3c8b883b-9346-40fa-94d5-bdf878dd2cc6/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b0b5d07e-e9dd-45cf-a62f-1f5e18f53af4/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3c8b883b-9346-40fa-94d5-bdf878dd2cc6/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/57fcfc13-f61a-4137-be26-48ea3acf5296/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/20594862-1fa6-478c-af2c-650dc21a158d/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/57fcfc13-f61a-4137-be26-48ea3acf5296/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/20594862-1fa6-478c-af2c-650dc21a158d/resume HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b4fc132c-e98e-418a-af51-2a35fb341ed1/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f361fdf-df83-4aa7-b28d-17887634bb6b/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b4fc132c-e98e-418a-af51-2a35fb341ed1/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f361fdf-df83-4aa7-b28d-17887634bb6b/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:1e:d1:00",
"mac_address": "00:dd:80:bb:6b:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/b4fc132c-e98e-418a-af51-2a35fb341ed1",
"node_id": "b4fc132c-e98e-418a-af51-2a35fb341ed1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/5f361fdf-df83-4aa7-b28d-17887634bb6b",
"node_id": "5f361fdf-df83-4aa7-b28d-17887634bb6b",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6mpl67gj/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcdk456cd/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/294691a7-a86d-4151-96fc-1d062f16eae9/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d4fed5a1-cabb-469f-8e01-67850ea774ea/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/294691a7-a86d-4151-96fc-1d062f16eae9/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d4fed5a1-cabb-469f-8e01-67850ea774ea/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b9e1a44e-f770-45af-83e7-137aadd0e2ac/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cbb32a8f-703f-477e-840b-8f90fc9cde60/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b9e1a44e-f770-45af-83e7-137aadd0e2ac/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cbb32a8f-703f-477e-840b-8f90fc9cde60/suspend HTTP/1.1
{}

View File

@ -9,7 +9,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
HTTP/1.1 201
CONTENT-LENGTH: 438
CONTENT-LENGTH: 465
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -22,9 +22,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
"console": 5711,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "9efb0e5a-665f-4233-bf0e-09e82f796525",
"node_id": "68e1fcae-42cb-48bd-8ffa-5db5a182a643",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/941144ca-6583-414d-8de8-4305062ee296/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/8190efe2-e19c-4ef9-b716-c1a706ffd6c0/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/941144ca-6583-414d-8de8-4305062ee296/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8190efe2-e19c-4ef9-b716-c1a706ffd6c0/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43a070da-5331-4d79-8459-61a318df0559/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d3a55de8-7c27-4082-8058-0cc8e06ffccb/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43a070da-5331-4d79-8459-61a318df0559/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d3a55de8-7c27-4082-8058-0cc8e06ffccb/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f4dc55ae-b07a-4b46-abd4-c1d1de418ede/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4e2e8fc-f29f-4917-80e4-179643a28045/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f4dc55ae-b07a-4b46-abd4-c1d1de418ede/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b4e2e8fc-f29f-4917-80e4-179643a28045/resume HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/21c736c9-52d0-4d30-b14a-c3f5ae59947a/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e9801914-fb16-42c8-aabe-2c47ce82c2e9/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/21c736c9-52d0-4d30-b14a-c3f5ae59947a/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e9801914-fb16-42c8-aabe-2c47ce82c2e9/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7abdbc54-10f9-4619-a842-e6440ba2b69f/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e397ac6-4cf6-4163-abca-3e1e4d30cc1b/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7abdbc54-10f9-4619-a842-e6440ba2b69f/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6e397ac6-4cf6-4163-abca-3e1e4d30cc1b/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a0ef04ab-fbb3-4911-a9f1-02d7e47da47c/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3717ef6-2de2-437e-8ecc-040368798469/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a0ef04ab-fbb3-4911-a9f1-02d7e47da47c/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3717ef6-2de2-437e-8ecc-040368798469/suspend HTTP/1.1
{}

View File

@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
"console": 5720,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/23fa124a-cbd9-4efb-aa4e-2d16078adbaa",
"node_id": "23fa124a-cbd9-4efb-aa4e-2d16078adbaa",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e376fd8f-0852-4af2-8eab-1d6cbcda99e0",
"node_id": "e376fd8f-0852-4af2-8eab-1d6cbcda99e0",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/abe83043-07a7-41a1-8216-a887b554b30f/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/4fe6c447-705a-451d-aae5-596530f405b3/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/abe83043-07a7-41a1-8216-a887b554b30f/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4fe6c447-705a-451d-aae5-596530f405b3/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ad02999-418a-40a2-83dd-218e377d7e6c/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ce85a25e-15c6-4e27-85f8-f20fb63db5fa/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ad02999-418a-40a2-83dd-218e377d7e6c/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ce85a25e-15c6-4e27-85f8-f20fb63db5fa/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cc9d4efb-813a-4ed7-aad3-b26513c51888/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19643991-7e9c-4d16-bc74-e20485066598/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cc9d4efb-813a-4ed7-aad3-b26513c51888/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19643991-7e9c-4d16-bc74-e20485066598/start HTTP/1.1
{}
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
"console": 5720,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/cc9d4efb-813a-4ed7-aad3-b26513c51888",
"node_id": "cc9d4efb-813a-4ed7-aad3-b26513c51888",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/19643991-7e9c-4d16-bc74-e20485066598",
"node_id": "19643991-7e9c-4d16-bc74-e20485066598",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/09030c15-3a0c-4008-9c58-e3b0730cc8b6/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7c84b4c0-8ec0-42d6-9645-38979066289c/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/09030c15-3a0c-4008-9c58-e3b0730cc8b6/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/7c84b4c0-8ec0-42d6-9645-38979066289c/stop HTTP/1.1
{}

View File

@ -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-524/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-1130/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-524/test_update_path_project_non_l0"
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_update_path_project_non_l0"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7f34cdf1-c85a-458e-8162-b189a24e222d' -d '{"console": 5713, "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/40be906f-c587-494d-b845-c87db90737b1' -d '{"console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7f34cdf1-c85a-458e-8162-b189a24e222d HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/40be906f-c587-494d-b845-c87db90737b1 HTTP/1.1
{
"console": 5713,
"environment": "GNS3=1\nGNS4=0",
@ -10,7 +10,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7f34c
HTTP/1.1 200
CONTENT-LENGTH: 654
CONTENT-LENGTH: 655
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"environment": "GNS3=1\nGNS4=0",
"image": "nginx:latest",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/project-files/docker/7f34cdf1-c85a-458e-8162-b189a24e222d",
"node_id": "7f34cdf1-c85a-458e-8162-b189a24e222d",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/project-files/docker/40be906f-c587-494d-b845-c87db90737b1",
"node_id": "40be906f-c587-494d-b845-c87db90737b1",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/26d3b8b2-71be-427d-bce7-48c0e48d7647' -d '{"console": 5712, "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/000a9b96-c2f2-433a-b60b-a292388363e2' -d '{"console": 5712, "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/26d3b8b2-71be-427d-bce7-48c0e48d7647 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/000a9b96-c2f2-433a-b60b-a292388363e2 HTTP/1.1
{
"console": 5712,
"ethernet_adapters": 4,
@ -16,7 +16,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/26d3b8b2
HTTP/1.1 200
CONTENT-LENGTH: 796
CONTENT-LENGTH: 797
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"console": 5712,
"console_type": "telnet",
"ethernet_adapters": 4,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpndfoeh4v/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1i3dv2rj/iourc",
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_json4/project-files/iou/26d3b8b2-71be-427d-bce7-48c0e48d7647",
"node_id": "26d3b8b2-71be-427d-bce7-48c0e48d7647",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_json4/project-files/iou/000a9b96-c2f2-433a-b60b-a292388363e2",
"node_id": "000a9b96-c2f2-433a-b60b-a292388363e2",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/06d5ac45-b978-42c9-beb0-8febc58831d5' -d '{"console": 5712, "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/ec18071e-4681-48ad-8670-e2b6d537b839' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/06d5ac45-b978-42c9-beb0-8febc58831d5 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ec18071e-4681-48ad-8670-e2b6d537b839 HTTP/1.1
{
"console": 5712,
"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:31:d5:00",
"mac_address": "00:dd:80:b8:39:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/06d5ac45-b978-42c9-beb0-8febc58831d5",
"node_id": "06d5ac45-b978-42c9-beb0-8febc58831d5",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ec18071e-4681-48ad-8670-e2b6d537b839",
"node_id": "ec18071e-4681-48ad-8670-e2b6d537b839",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6mpl67gj/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpcdk456cd/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1d269e1c-fc5a-4185-b577-998c4872aeba' -d '{"console": 5721, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f4e6444e-3c16-4b48-bb71-1378e6c5c22a' -d '{"console": 5721, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1d269e1c-fc5a-4185-b577-998c4872aeba HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f4e6444e-3c16-4b48-bb71-1378e6c5c22a HTTP/1.1
{
"console": 5721,
"name": "test"
@ -8,7 +8,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1
HTTP/1.1 200
CONTENT-LENGTH: 442
CONTENT-LENGTH: 469
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -21,9 +21,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"console": 5721,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "1d269e1c-fc5a-4185-b577-998c4872aeba",
"node_id": "f4e6444e-3c16-4b48-bb71-1378e6c5c22a",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/85c226b1-7e7f-47da-b5d3-d51d8e051d19' -d '{"console": 5722, "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/c741536a-f06d-43b6-9684-cc5cd48861dd' -d '{"console": 5722, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/85c226b1-7e7f-47da-b5d3-d51d8e051d19 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c741536a-f06d-43b6-9684-cc5cd48861dd HTTP/1.1
{
"console": 5722,
"name": "test",
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5722,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpq7gacfaj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/85c226b1-7e7f-47da-b5d3-d51d8e051d19",
"node_id": "85c226b1-7e7f-47da-b5d3-d51d8e051d19",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzqod7tpw/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c741536a-f06d-43b6-9684-cc5cd48861dd",
"node_id": "c741536a-f06d-43b6-9684-cc5cd48861dd",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": "ip 192.168.1.1",
"startup_script_path": "startup.vpc",

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/66d70bee-da7c-4b65-85fb-ba60bbbbf4f1'
curl -i -X DELETE 'http://localhost:3080/v2/projects/217765ab-468a-497b-957f-7e851ed1b0d9'
DELETE /v2/projects/66d70bee-da7c-4b65-85fb-ba60bbbbf4f1 HTTP/1.1
DELETE /v2/projects/217765ab-468a-497b-957f-7e851ed1b0d9 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/334050e2-d33d-4aab-a3f6-8ca4b15edf7f/drawings/eda0ee4d-aada-4a4a-9e20-b769d446d027'
curl -i -X DELETE 'http://localhost:3080/v2/projects/d75dc250-7d7b-4d0b-8a06-ae2853c2304f/drawings/cc2439b5-3009-4c6a-ba87-c51795a6f461'
DELETE /v2/projects/334050e2-d33d-4aab-a3f6-8ca4b15edf7f/drawings/eda0ee4d-aada-4a4a-9e20-b769d446d027 HTTP/1.1
DELETE /v2/projects/d75dc250-7d7b-4d0b-8a06-ae2853c2304f/drawings/cc2439b5-3009-4c6a-ba87-c51795a6f461 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/ab738561-f1ff-4d75-a093-f9f05dd07a1a/links/cb7f05be-c81f-4c6f-9019-2e7ad10a112e'
curl -i -X DELETE 'http://localhost:3080/v2/projects/a0e491a9-93d2-479a-9bb6-7f0d79999ec0/links/0fe9e5db-8b7f-41e1-922b-a58aabd4100f'
DELETE /v2/projects/ab738561-f1ff-4d75-a093-f9f05dd07a1a/links/cb7f05be-c81f-4c6f-9019-2e7ad10a112e HTTP/1.1
DELETE /v2/projects/a0e491a9-93d2-479a-9bb6-7f0d79999ec0/links/0fe9e5db-8b7f-41e1-922b-a58aabd4100f HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/f34a9fd6-cc9f-4203-a1a4-6f3b0b59f6e9/nodes/4a3bf3e4-d588-4be0-b0d7-87d0ac5f8bbd'
curl -i -X DELETE 'http://localhost:3080/v2/projects/1df6389f-befc-4f18-9dce-dc3679ffc4c2/nodes/e32f99c7-128d-4003-ba94-94cd3c005c9e'
DELETE /v2/projects/f34a9fd6-cc9f-4203-a1a4-6f3b0b59f6e9/nodes/4a3bf3e4-d588-4be0-b0d7-87d0ac5f8bbd HTTP/1.1
DELETE /v2/projects/1df6389f-befc-4f18-9dce-dc3679ffc4c2/nodes/e32f99c7-128d-4003-ba94-94cd3c005c9e HTTP/1.1

View File

@ -5,7 +5,7 @@ GET /v2/projects HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 285
CONTENT-LENGTH: 286
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects
{
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-524/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-1130/test_list_projects1",
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/ea7af613-69fc-4eb6-b2e5-6bc378093737'
curl -i -X GET 'http://localhost:3080/v2/projects/17850018-125c-4c94-acc0-8f7fed551b85'
GET /v2/projects/ea7af613-69fc-4eb6-b2e5-6bc378093737 HTTP/1.1
GET /v2/projects/17850018-125c-4c94-acc0-8f7fed551b85 HTTP/1.1
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpqdz9215j/projects/ea7af613-69fc-4eb6-b2e5-6bc378093737",
"project_id": "ea7af613-69fc-4eb6-b2e5-6bc378093737",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmprvgpe8o0/projects/17850018-125c-4c94-acc0-8f7fed551b85",
"project_id": "17850018-125c-4c94-acc0-8f7fed551b85",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/63a45f0d-f886-436f-b07e-f52cdcbeaff4/drawings'
curl -i -X GET 'http://localhost:3080/v2/projects/653341bc-edd6-458a-90ab-25fd65c0f4b3/drawings'
GET /v2/projects/63a45f0d-f886-436f-b07e-f52cdcbeaff4/drawings HTTP/1.1
GET /v2/projects/653341bc-edd6-458a-90ab-25fd65c0f4b3/drawings HTTP/1.1
@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "b52e45b0-d1a7-46b4-8ecc-5db59eba7e0f",
"project_id": "63a45f0d-f886-436f-b07e-f52cdcbeaff4",
"drawing_id": "c1457dac-9864-46f3-ba41-5a62479273bf",
"project_id": "653341bc-edd6-458a-90ab-25fd65c0f4b3",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/87658726-db5c-47e0-9f4b-1688f4f9b04e/links'
curl -i -X GET 'http://localhost:3080/v2/projects/6cd75a96-97e6-469d-a742-b604f65c674d/links'
GET /v2/projects/87658726-db5c-47e0-9f4b-1688f4f9b04e/links HTTP/1.1
GET /v2/projects/6cd75a96-97e6-469d-a742-b604f65c674d/links HTTP/1.1
@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "ca9142e8-9684-4b31-b9c4-68eaec0f0b0d",
"link_id": "0df81303-95fb-4bb8-bea1-82678f247781",
"nodes": [
{
"adapter_number": 0,
@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "c4812669-53d7-4098-bc90-76be0ff7bf1a",
"node_id": "4bff4d24-9fe4-42d4-a26a-4e69aeafde11",
"port_number": 3
},
{
@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "0d0bfaee-1d67-4909-be6a-c0d2ae16521d",
"node_id": "2b0ee7aa-7500-4f8a-8bd7-248eb5a55df9",
"port_number": 4
}
],
"project_id": "87658726-db5c-47e0-9f4b-1688f4f9b04e"
"project_id": "6cd75a96-97e6-469d-a742-b604f65c674d"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/6031c4ea-8e3e-44f9-a236-28611e86b823/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/ba784a62-27bb-49ce-b801-e5bf16dd4bf1/nodes'
GET /v2/projects/6031c4ea-8e3e-44f9-a236-28611e86b823/nodes HTTP/1.1
GET /v2/projects/ba784a62-27bb-49ce-b801-e5bf16dd4bf1/nodes HTTP/1.1
@ -28,9 +28,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "0d215b97-cdbb-4fab-b54d-7c76f83a1e5b",
"node_id": "dd18808b-0499-4da2-a17e-550949de0591",
"node_type": "vpcs",
"project_id": "6031c4ea-8e3e-44f9-a236-28611e86b823",
"project_id": "ba784a62-27bb-49ce-b801-e5bf16dd4bf1",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/174edd5e-f4f5-4c6f-9e44-d1e89a6d365e/nodes/5fb1d484-d0eb-44e9-bfbd-c01b2b3f97f8/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/ae53ebc4-e6bc-44af-a6f7-5aef0d7f3c4d/nodes/6c4ebfd8-9e2b-44a8-b365-58df1d3a1b80/dynamips/auto_idlepc'
GET /v2/projects/174edd5e-f4f5-4c6f-9e44-d1e89a6d365e/nodes/5fb1d484-d0eb-44e9-bfbd-c01b2b3f97f8/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/ae53ebc4-e6bc-44af-a6f7-5aef0d7f3c4d/nodes/6c4ebfd8-9e2b-44a8-b365-58df1d3a1b80/dynamips/auto_idlepc HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/9acd92be-3ffc-4bea-b937-b676a90e76d9/nodes/2c2ffb39-7ca3-40a4-8864-6e4054320405/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/fbeb0661-da69-4f6c-9c3f-7c8964d623f6/nodes/82c31081-f9ea-45e3-a82d-d137236b078f/dynamips/idlepc_proposals'
GET /v2/projects/9acd92be-3ffc-4bea-b937-b676a90e76d9/nodes/2c2ffb39-7ca3-40a4-8864-6e4054320405/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/fbeb0661-da69-4f6c-9c3f-7c8964d623f6/nodes/82c31081-f9ea-45e3-a82d-d137236b078f/dynamips/idlepc_proposals HTTP/1.1

View File

@ -17,7 +17,7 @@ X-ROUTE: /v2/projects
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbjibh90f/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpae61hifl/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"status": "opened"
}

View File

@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/load
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmsg1_a45/projects/ecc81a86-29b7-4477-b725-98af3d2e3bb1",
"project_id": "ecc81a86-29b7-4477-b725-98af3d2e3bb1",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9vj03m0s/projects/c4773495-7a7a-4ba5-9c13-de34b0ddf039",
"project_id": "c4773495-7a7a-4ba5-9c13-de34b0ddf039",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/69b6718d-30f9-47b0-867c-717bc074e5ff/close' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/7f9bc4b5-4a44-4be6-a222-808d3e68f1c6/close' -d '{}'
POST /v2/projects/69b6718d-30f9-47b0-867c-717bc074e5ff/close HTTP/1.1
POST /v2/projects/7f9bc4b5-4a44-4be6-a222-808d3e68f1c6/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/tmph3xuizor/projects/69b6718d-30f9-47b0-867c-717bc074e5ff",
"project_id": "69b6718d-30f9-47b0-867c-717bc074e5ff",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpsjf1l314/projects/7f9bc4b5-4a44-4be6-a222-808d3e68f1c6",
"project_id": "7f9bc4b5-4a44-4be6-a222-808d3e68f1c6",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/310203c0-fb79-420d-8352-555419c784a3/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/8aadced3-304f-42b2-ad58-fe4ec9f80806/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/310203c0-fb79-420d-8352-555419c784a3/drawings HTTP/1.1
POST /v2/projects/8aadced3-304f-42b2-ad58-fe4ec9f80806/drawings HTTP/1.1
{
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,
@ -17,8 +17,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/drawings
{
"drawing_id": "3e245095-4bda-4ca1-82f5-7ae53c54ac59",
"project_id": "310203c0-fb79-420d-8352-555419c784a3",
"drawing_id": "d2b17a50-3b8e-4148-bc1e-8bdd13becfe6",
"project_id": "8aadced3-304f-42b2-ad58-fe4ec9f80806",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/8b10f40a-8be8-4706-be27-f596f6102d51/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "ff1e3b4a-b3c6-4940-a5da-dbb732633249", "port_number": 3}, {"adapter_number": 2, "node_id": "fa2ca2d9-7d50-4f83-8f5f-9b76f0000b49", "port_number": 4}]}'
curl -i -X POST 'http://localhost:3080/v2/projects/586cdc63-228c-4c73-bb84-6db50bb19a2a/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "ac0eb48c-1911-46a3-94ac-52bedb77f0fc", "port_number": 3}, {"adapter_number": 2, "node_id": "fd3ca37f-4d1b-48a6-9912-d135a8b31ed9", "port_number": 4}]}'
POST /v2/projects/8b10f40a-8be8-4706-be27-f596f6102d51/links HTTP/1.1
POST /v2/projects/586cdc63-228c-4c73-bb84-6db50bb19a2a/links HTTP/1.1
{
"nodes": [
{
@ -10,12 +10,12 @@ POST /v2/projects/8b10f40a-8be8-4706-be27-f596f6102d51/links HTTP/1.1
"x": 42,
"y": 0
},
"node_id": "ff1e3b4a-b3c6-4940-a5da-dbb732633249",
"node_id": "ac0eb48c-1911-46a3-94ac-52bedb77f0fc",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "fa2ca2d9-7d50-4f83-8f5f-9b76f0000b49",
"node_id": "fd3ca37f-4d1b-48a6-9912-d135a8b31ed9",
"port_number": 4
}
]
@ -33,7 +33,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "3dbdcec5-4c9a-4ddb-8a38-2ea2fc31a970",
"link_id": "04c65f22-757f-4e07-8df0-d05913a17028",
"nodes": [
{
"adapter_number": 0,
@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": 42,
"y": 0
},
"node_id": "ff1e3b4a-b3c6-4940-a5da-dbb732633249",
"node_id": "ac0eb48c-1911-46a3-94ac-52bedb77f0fc",
"port_number": 3
},
{
@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "fa2ca2d9-7d50-4f83-8f5f-9b76f0000b49",
"node_id": "fd3ca37f-4d1b-48a6-9912-d135a8b31ed9",
"port_number": 4
}
],
"project_id": "8b10f40a-8be8-4706-be27-f596f6102d51"
"project_id": "586cdc63-228c-4c73-bb84-6db50bb19a2a"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e08705cc-8a87-4055-89e9-7e2e545987a6/links/86ac047f-0e01-438d-b95c-4654f29a1c7d/start_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/92411b77-b847-4b82-9502-5fa742e292f6/links/0e85b6d3-d91f-4b37-979e-e2ba47f77630/start_capture' -d '{}'
POST /v2/projects/e08705cc-8a87-4055-89e9-7e2e545987a6/links/86ac047f-0e01-438d-b95c-4654f29a1c7d/start_capture HTTP/1.1
POST /v2/projects/92411b77-b847-4b82-9502-5fa742e292f6/links/0e85b6d3-d91f-4b37-979e-e2ba47f77630/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": "86ac047f-0e01-438d-b95c-4654f29a1c7d",
"link_id": "0e85b6d3-d91f-4b37-979e-e2ba47f77630",
"nodes": [],
"project_id": "e08705cc-8a87-4055-89e9-7e2e545987a6"
"project_id": "92411b77-b847-4b82-9502-5fa742e292f6"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/1db885b5-c3e7-4e86-8bd1-bb0a891f009f/links/1e1ee684-cf5d-4eda-a3bf-a12b057648b6/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/9b4b9a48-5b77-4523-ab6e-e72556452acf/links/0f08d53f-f379-4aef-9115-2316d4ea6cec/stop_capture' -d '{}'
POST /v2/projects/1db885b5-c3e7-4e86-8bd1-bb0a891f009f/links/1e1ee684-cf5d-4eda-a3bf-a12b057648b6/stop_capture HTTP/1.1
POST /v2/projects/9b4b9a48-5b77-4523-ab6e-e72556452acf/links/0f08d53f-f379-4aef-9115-2316d4ea6cec/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": "1e1ee684-cf5d-4eda-a3bf-a12b057648b6",
"link_id": "0f08d53f-f379-4aef-9115-2316d4ea6cec",
"nodes": [],
"project_id": "1db885b5-c3e7-4e86-8bd1-bb0a891f009f"
"project_id": "9b4b9a48-5b77-4523-ab6e-e72556452acf"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/07c2e2f4-28fb-44c5-9a9e-f6e6cd62f3c1/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/2473b969-a5a8-4448-aa8b-69225a48133a/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
POST /v2/projects/07c2e2f4-28fb-44c5-9a9e-f6e6cd62f3c1/nodes HTTP/1.1
POST /v2/projects/2473b969-a5a8-4448-aa8b-69225a48133a/nodes HTTP/1.1
{
"compute_id": "example.com",
"name": "test",
@ -34,9 +34,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "10715eee-fce6-44bb-b5db-ab76bfac9dec",
"node_id": "d396a010-d75f-44ca-b943-1bbd9352a3ea",
"node_type": "vpcs",
"project_id": "07c2e2f4-28fb-44c5-9a9e-f6e6cd62f3c1",
"project_id": "2473b969-a5a8-4448-aa8b-69225a48133a",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/743b5bc1-841f-4ef7-9d61-92659dbb7665/nodes/79d24d23-5689-4049-b2ab-3ab7446158e0/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/7ce830f3-2092-4008-a4f7-88bbbac6efe7/nodes/3b105ab0-3bbd-4805-8eed-edaeb0c51170/reload' -d '{}'
POST /v2/projects/743b5bc1-841f-4ef7-9d61-92659dbb7665/nodes/79d24d23-5689-4049-b2ab-3ab7446158e0/reload HTTP/1.1
POST /v2/projects/7ce830f3-2092-4008-a4f7-88bbbac6efe7/nodes/3b105ab0-3bbd-4805-8eed-edaeb0c51170/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/95cc977a-493f-42d6-ad99-e2de35c1b933/nodes/633d00a4-2870-48cd-9f65-21ee0ed614d8/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/a1b17539-66ff-468f-8433-54bcb220645a/nodes/5f08f708-76d4-4edb-a5d6-1efee902f080/start' -d '{}'
POST /v2/projects/95cc977a-493f-42d6-ad99-e2de35c1b933/nodes/633d00a4-2870-48cd-9f65-21ee0ed614d8/start HTTP/1.1
POST /v2/projects/a1b17539-66ff-468f-8433-54bcb220645a/nodes/5f08f708-76d4-4edb-a5d6-1efee902f080/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/52abd079-b78b-4c32-8d71-e319f3876423/nodes/2539caf7-59c0-465e-99d5-821fb17aad78/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/73cf2dcd-329b-46a2-9a2a-55b35a96eec1/nodes/13d84927-a2ad-4b9f-9354-0808587fb63d/stop' -d '{}'
POST /v2/projects/52abd079-b78b-4c32-8d71-e319f3876423/nodes/2539caf7-59c0-465e-99d5-821fb17aad78/stop HTTP/1.1
POST /v2/projects/73cf2dcd-329b-46a2-9a2a-55b35a96eec1/nodes/13d84927-a2ad-4b9f-9354-0808587fb63d/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e5cd4251-7c15-4e3f-849b-22dd7c0d2700/nodes/ed64e800-bd65-4651-9d85-ca4c1fbdfdc3/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/71c9579d-50d3-4156-a3a1-1dfc48cc2cf2/nodes/eb643bea-a400-4295-bb25-618fce641a89/suspend' -d '{}'
POST /v2/projects/e5cd4251-7c15-4e3f-849b-22dd7c0d2700/nodes/ed64e800-bd65-4651-9d85-ca4c1fbdfdc3/suspend HTTP/1.1
POST /v2/projects/71c9579d-50d3-4156-a3a1-1dfc48cc2cf2/nodes/eb643bea-a400-4295-bb25-618fce641a89/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/6e38f9c0-d890-4dba-8573-65774aaa6539/nodes/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/35122903-af0e-4447-8ec9-bda1ebffa850/nodes/reload' -d '{}'
POST /v2/projects/6e38f9c0-d890-4dba-8573-65774aaa6539/nodes/reload HTTP/1.1
POST /v2/projects/35122903-af0e-4447-8ec9-bda1ebffa850/nodes/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/93db4de6-676c-4a1f-9cb1-fa0056e00f22/nodes/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/946aeb66-69ba-4f4e-a90a-05bff3fedb07/nodes/start' -d '{}'
POST /v2/projects/93db4de6-676c-4a1f-9cb1-fa0056e00f22/nodes/start HTTP/1.1
POST /v2/projects/946aeb66-69ba-4f4e-a90a-05bff3fedb07/nodes/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/22c95799-3303-4799-af41-252c66cbf892/nodes/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/5eb4c12e-1b5e-44d1-b6e2-86472ab358f9/nodes/stop' -d '{}'
POST /v2/projects/22c95799-3303-4799-af41-252c66cbf892/nodes/stop HTTP/1.1
POST /v2/projects/5eb4c12e-1b5e-44d1-b6e2-86472ab358f9/nodes/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/d0fb8c9a-e3a4-46da-bf30-a6db62931dc7/nodes/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/62d8b443-9500-4f52-a710-d11035b60602/nodes/suspend' -d '{}'
POST /v2/projects/d0fb8c9a-e3a4-46da-bf30-a6db62931dc7/nodes/suspend HTTP/1.1
POST /v2/projects/62d8b443-9500-4f52-a710-d11035b60602/nodes/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e20aa66a-4d7f-4407-9763-3701f716ae0a/open' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/ffd8f122-4f50-424d-a9a3-52e6050e5ad5/open' -d '{}'
POST /v2/projects/e20aa66a-4d7f-4407-9763-3701f716ae0a/open HTTP/1.1
POST /v2/projects/ffd8f122-4f50-424d-a9a3-52e6050e5ad5/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/tmpkpm1kyek/projects/e20aa66a-4d7f-4407-9763-3701f716ae0a",
"project_id": "e20aa66a-4d7f-4407-9763-3701f716ae0a",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9bwybve2/projects/ffd8f122-4f50-424d-a9a3-52e6050e5ad5",
"project_id": "ffd8f122-4f50-424d-a9a3-52e6050e5ad5",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/projects/8159b62e-eeac-46e5-b878-8bb6bd193e8a/drawings/72c2ef6b-0c7b-4cd7-a950-15b82a1b8c0d' -d '{"x": 42}'
curl -i -X PUT 'http://localhost:3080/v2/projects/1b8627ab-0930-4284-a88e-493f2c68b921/drawings/bafaf7a8-25f8-439a-8c73-7652bb389aef' -d '{"x": 42}'
PUT /v2/projects/8159b62e-eeac-46e5-b878-8bb6bd193e8a/drawings/72c2ef6b-0c7b-4cd7-a950-15b82a1b8c0d HTTP/1.1
PUT /v2/projects/1b8627ab-0930-4284-a88e-493f2c68b921/drawings/bafaf7a8-25f8-439a-8c73-7652bb389aef HTTP/1.1
{
"x": 42
}
@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/drawings/{drawing_id}
{
"drawing_id": "72c2ef6b-0c7b-4cd7-a950-15b82a1b8c0d",
"project_id": "8159b62e-eeac-46e5-b878-8bb6bd193e8a",
"drawing_id": "bafaf7a8-25f8-439a-8c73-7652bb389aef",
"project_id": "1b8627ab-0930-4284-a88e-493f2c68b921",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 42,

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/projects/62d319e5-3bbc-4adf-b981-cf70111f88f2/nodes/1ee47c03-c07a-4675-9c81-29bd154fcda5' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
curl -i -X PUT 'http://localhost:3080/v2/projects/6a7e6d00-3e6c-42b8-9d00-80bd8cf349af/nodes/ea04239b-a376-4748-9da2-2dd5fef1e8c0' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
PUT /v2/projects/62d319e5-3bbc-4adf-b981-cf70111f88f2/nodes/1ee47c03-c07a-4675-9c81-29bd154fcda5 HTTP/1.1
PUT /v2/projects/6a7e6d00-3e6c-42b8-9d00-80bd8cf349af/nodes/ea04239b-a376-4748-9da2-2dd5fef1e8c0 HTTP/1.1
{
"compute_id": "example.com",
"name": "test",
@ -34,9 +34,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
},
"name": "test",
"node_directory": null,
"node_id": "1ee47c03-c07a-4675-9c81-29bd154fcda5",
"node_id": "ea04239b-a376-4748-9da2-2dd5fef1e8c0",
"node_type": "vpcs",
"project_id": "62d319e5-3bbc-4adf-b981-cf70111f88f2",
"project_id": "6a7e6d00-3e6c-42b8-9d00-80bd8cf349af",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,6 +1,6 @@
{
"drawing_id": "b52e45b0-d1a7-46b4-8ecc-5db59eba7e0f",
"project_id": "63a45f0d-f886-436f-b07e-f52cdcbeaff4",
"drawing_id": "c1457dac-9864-46f3-ba41-5a62479273bf",
"project_id": "653341bc-edd6-458a-90ab-25fd65c0f4b3",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,

View File

@ -1,6 +1,6 @@
{
"drawing_id": "eda0ee4d-aada-4a4a-9e20-b769d446d027",
"project_id": "334050e2-d33d-4aab-a3f6-8ca4b15edf7f",
"drawing_id": "cc2439b5-3009-4c6a-ba87-c51795a6f461",
"project_id": "d75dc250-7d7b-4d0b-8a06-ae2853c2304f",
"rotation": 0,
"svg": "<svg></svg>",
"x": 0,

View File

@ -1,6 +1,6 @@
{
"drawing_id": "72c2ef6b-0c7b-4cd7-a950-15b82a1b8c0d",
"project_id": "8159b62e-eeac-46e5-b878-8bb6bd193e8a",
"drawing_id": "bafaf7a8-25f8-439a-8c73-7652bb389aef",
"project_id": "1b8627ab-0930-4284-a88e-493f2c68b921",
"rotation": 0,
"x": 42,
"y": 20,

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "ca9142e8-9684-4b31-b9c4-68eaec0f0b0d",
"link_id": "0df81303-95fb-4bb8-bea1-82678f247781",
"nodes": [
{
"adapter_number": 0,
@ -13,7 +13,7 @@
"x": -10,
"y": -10
},
"node_id": "c4812669-53d7-4098-bc90-76be0ff7bf1a",
"node_id": "4bff4d24-9fe4-42d4-a26a-4e69aeafde11",
"port_number": 3
},
{
@ -25,9 +25,9 @@
"x": -10,
"y": -10
},
"node_id": "0d0bfaee-1d67-4909-be6a-c0d2ae16521d",
"node_id": "2b0ee7aa-7500-4f8a-8bd7-248eb5a55df9",
"port_number": 4
}
],
"project_id": "87658726-db5c-47e0-9f4b-1688f4f9b04e"
"project_id": "6cd75a96-97e6-469d-a742-b604f65c674d"
}

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "cb7f05be-c81f-4c6f-9019-2e7ad10a112e",
"link_id": "0fe9e5db-8b7f-41e1-922b-a58aabd4100f",
"nodes": [],
"project_id": "ab738561-f1ff-4d75-a093-f9f05dd07a1a"
"project_id": "a0e491a9-93d2-479a-9bb6-7f0d79999ec0"
}

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "994ee8ac-e59d-45bd-947a-33e38826e021",
"link_id": "deab2256-4c0d-4873-b98e-32baa61fe269",
"nodes": [
{
"adapter_number": 0,
@ -11,7 +11,7 @@
"x": 64,
"y": 0
},
"node_id": "c293dc3c-d7e2-402c-89c5-a04aa51965f6",
"node_id": "c6132283-2d3c-424f-abda-d834978331f7",
"port_number": 3
},
{
@ -23,9 +23,9 @@
"x": -10,
"y": -10
},
"node_id": "fbb9bec7-3f67-4d2e-85af-79ccfa06156f",
"node_id": "d96ee9e4-4864-4bb5-9208-5294c63f4b97",
"port_number": 4
}
],
"project_id": "303f4f73-d0ab-4ff5-9b89-a1f6b8b0bbc9"
"project_id": "6a3e146f-a338-4807-8925-51d9a1551c14"
}

View File

@ -14,9 +14,9 @@
},
"name": "test",
"node_directory": null,
"node_id": "4a3bf3e4-d588-4be0-b0d7-87d0ac5f8bbd",
"node_id": "e32f99c7-128d-4003-ba94-94cd3c005c9e",
"node_type": "vpcs",
"project_id": "f34a9fd6-cc9f-4203-a1a4-6f3b0b59f6e9",
"project_id": "1df6389f-befc-4f18-9dce-dc3679ffc4c2",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -0,0 +1,29 @@
{
"command_line": null,
"compute_id": "remote1",
"console": 2048,
"console_host": "example.org",
"console_type": null,
"height": 70,
"label": {
"rotation": 0,
"style": "font-size: 10;font-familly: Verdana",
"text": "",
"x": -17,
"y": -25
},
"name": "test",
"node_directory": null,
"node_id": "eb568d98-56e6-4ba8-8d45-62cdf10610e2",
"node_type": "vpcs",
"project_id": "d3ac3171-aa3b-4b46-a325-8891812f2180",
"properties": {
"startup_config": "test.cfg"
},
"status": "stopped",
"symbol": ":/symbols/computer.svg",
"width": 70,
"x": 0,
"y": 0,
"z": 0
}

View File

@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **node_id**: Node UUID
- **adapter_number**: Adapter on the switch (always 0)
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************
@ -38,8 +38,8 @@ Update an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************
@ -81,8 +81,8 @@ Delete an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Add a NIO to an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **node_id**: Node UUID
- **adapter_number**: Adapter on the switch (always 0)
- **project_id**: Project UUID
Response status codes
**********************
@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **node_id**: Node UUID
- **adapter_number**: Adapter on the switch (always 0)
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Start a packet capture on an ATM switch instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **node_id**: Node UUID
- **adapter_number**: Adapter on the switch (always 0)
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start an ATM switch
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Stop an ATM switch
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Suspend an ATM Relay switch
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************
@ -39,8 +39,8 @@ Update a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************
@ -144,8 +144,8 @@ Delete a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Add a NIO to a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **port_number**: Port on the cloud
- **node_id**: Node UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **project_id**: Project UUID
Response status codes
**********************
@ -27,10 +27,10 @@ Remove a NIO from a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **port_number**: Port on the cloud
- **node_id**: Node UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Start a packet capture on a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **port_number**: Port on the cloud
- **node_id**: Node UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Stop a packet capture on a cloud instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **port_number**: Port on the cloud
- **node_id**: Node UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **project_id**: Project UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start a cloud
Parameters
**********
- **project_id**: Project UUID
- **node_id**: Node UUID
- **project_id**: Project UUID
Response status codes
**********************

Some files were not shown because too many files have changed in this diff Show More