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

Rebuild documentation

This commit is contained in:
Julien Duponchelle 2016-08-15 12:08:59 +02:00
parent 16c2305b33
commit 937ffc7b73
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
205 changed files with 801 additions and 881 deletions

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/afe02424-fadb-4d0e-917d-b2841fcb4be0/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/960f0565-0d51-42c7-b52e-d3cc4c41fa1f/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/afe02424-fadb-4d0e-917d-b2841fcb4be0/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/4bb87ae1-092b-4442-b74d-db4ade4e7c0a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/10473f90-0011-4736-91c6-07959b39e8d7'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4bb87ae1-092b-4442-b74d-db4ade4e7c0a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/10473f90-0011-4736-91c6-07959b39e8d7 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/e209cd0c-6705-4edd-b552-e5e51d1150bd/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7d32a3f1-1a55-43af-8df8-52089d25913b/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e209cd0c-6705-4edd-b552-e5e51d1150bd/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7d32a3f1-1a55-43af-8df8-52089d25913b/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/1f308430-1c5a-40a4-ba04-720a52d33163'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0b3fe4b7-a5b4-41ec-b954-f1d5f3aa8ad1'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f308430-1c5a-40a4-ba04-720a52d33163 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0b3fe4b7-a5b4-41ec-b954-f1d5f3aa8ad1 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/da07b6e8-6031-411b-a2fe-a8423114c205/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16acffe6-bd3c-4e4c-a6dc-474c6fe75eab/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da07b6e8-6031-411b-a2fe-a8423114c205/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16acffe6-bd3c-4e4c-a6dc-474c6fe75eab/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/f480e178-42b7-4aaa-81f0-7623a98f4d6a/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90895d0c-eb7b-423a-b0d9-9ec220295cde/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f480e178-42b7-4aaa-81f0-7623a98f4d6a/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90895d0c-eb7b-423a-b0d9-9ec220295cde/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/2e7c2329-8d7e-403c-a692-2beeae3238eb'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffc5b9ae-4a21-4050-b1c3-ad7e39b3824c'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e7c2329-8d7e-403c-a692-2beeae3238eb HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffc5b9ae-4a21-4050-b1c3-ad7e39b3824c 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/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4d11a031-e27e-490a-ab7c-d894a6133538/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2cb9ab8c-b8a1-4138-81fd-81595ebc1731/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4d11a031-e27e-490a-ab7c-d894a6133538/adapters/0/ports/0/nio HTTP/1.1

View File

@ -5,7 +5,7 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 40821
CONTENT-LENGTH: 40809
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -112,7 +112,7 @@ X-ROUTE: /v2/compute/network/interfaces
},
{
"id": "vboxnet7",
"ip_address": "192.168.63.1",
"ip_address": "",
"mac_address": "0a:00:27:00:00:07",
"name": "vboxnet7",
"type": "ethernet"

View File

@ -14,10 +14,10 @@ X-ROUTE: /v2/compute/projects
[
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
},
{
"name": "test",
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
}
]

View File

@ -1,11 +1,11 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1cc0e78f-8e5f-4183-a6ec-765dd979c28b'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/abe9e14b-0312-4738-ada2-e43e6df5d62b HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1cc0e78f-8e5f-4183-a6ec-765dd979c28b HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 722
CONTENT-LENGTH: 720
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -13,15 +13,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5712,
"console": 5711,
"console_type": "telnet",
"ethernet_adapters": 2,
"iourc_path": null,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/abe9e14b-0312-4738-ada2-e43e6df5d62b",
"node_id": "abe9e14b-0312-4738-ada2-e43e6df5d62b",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/1cc0e78f-8e5f-4183-a6ec-765dd979c28b",
"node_id": "1cc0e78f-8e5f-4183-a6ec-765dd979c28b",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,16 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0cc6cbeb-8697-42bf-97ce-c4ce6ccd06d2/configs HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 40
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}/configs
{
"startup_config_content": "TEST"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5633d29-ce9c-4688-8df7-a61f78db8917'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/225d6620-d5a2-4091-a735-81c3945de0cc HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5633d29-ce9c-4688-8df7-a61f78db8917 HTTP/1.1
@ -19,7 +19,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5712,
"console": 5711,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 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:e0:cc:00",
"mac_address": "00:dd:80:89:17:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/225d6620-d5a2-4091-a735-81c3945de0cc",
"node_id": "225d6620-d5a2-4091-a735-81c3945de0cc",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d5633d29-ce9c-4688-8df7-a61f78db8917",
"node_id": "d5633d29-ce9c-4688-8df7-a61f78db8917",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/138f4a6d-56e8-4e19-a419-ca3c6a1881f1'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/138f4a6d-56e8-4e19-a419-ca3c6a1881f1 HTTP/1.1
@ -15,13 +15,13 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5713,
"console": 5712,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "9bd33917-9ba0-4dc3-aed8-a4d9a4f770b4",
"node_id": "138f4a6d-56e8-4e19-a419-ca3c6a1881f1",
"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/22b82288-8d50-4f3c-ac34-cfbf2377c88a'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8ad89b2-58c2-4a3a-9def-0fa96cf60b04'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/22b82288-8d50-4f3c-ac34-cfbf2377c88a HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a8ad89b2-58c2-4a3a-9def-0fa96cf60b04 HTTP/1.1
@ -13,11 +13,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5721,
"console": 5720,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/22b82288-8d50-4f3c-ac34-cfbf2377c88a",
"node_id": "22b82288-8d50-4f3c-ac34-cfbf2377c88a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a8ad89b2-58c2-4a3a-9def-0fa96cf60b04",
"node_id": "a8ad89b2-58c2-4a3a-9def-0fa96cf60b04",
"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/427777a3-43f9-49b3-a6e3-60ba02b04747/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/92936d82-5536-428d-b7e6-bbd5c9ec0ab0/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/427777a3-43f9-49b3-a6e3-60ba02b04747/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/92936d82-5536-428d-b7e6-bbd5c9ec0ab0/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/c7b8e805-7d4d-4804-b64b-cc7feff207e2/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/dd08a886-f8f6-4ed1-80b5-553ddc8a738f/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/c7b8e805-7d4d-4804-b64b-cc7feff207e2/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/dd08a886-f8f6-4ed1-80b5-553ddc8a738f/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/c7b8
HTTP/1.1 200
CONTENT-LENGTH: 147
CONTENT-LENGTH: 145
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-2130/test_json4/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/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/2a616825-84ef-4b37-9a00-44ab5c835626/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d92f7488-adc7-4d9f-acca-32d383be3760/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2a616825-84ef-4b37-9a00-44ab5c835626/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d92f7488-adc7-4d9f-acca-32d383be3760/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": "210bf489-e712-471f-a1ea-00dab02a21da", "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": "efaecf66-4a0b-4420-be86-674148fa0e60", "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": "210bf489-e712-471f-a1ea-00dab02a21da",
"node_id": "efaecf66-4a0b-4420-be86-674148fa0e60",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
HTTP/1.1 201
CONTENT-LENGTH: 738
CONTENT-LENGTH: 736
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -18,15 +18,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
{
"command_line": "",
"console": 5712,
"console": 5711,
"console_type": "telnet",
"ethernet_adapters": 2,
"iourc_path": null,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/210bf489-e712-471f-a1ea-00dab02a21da",
"node_id": "210bf489-e712-471f-a1ea-00dab02a21da",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/efaecf66-4a0b-4420-be86-674148fa0e60",
"node_id": "efaecf66-4a0b-4420-be86-674148fa0e60",
"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/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/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/de14f54e-5131-458f-b573-b53e59619b56/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e75a9cc-b600-4999-a1a2-a3ee3c698d29/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/de14f54e-5131-458f-b573-b53e59619b56/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/cbe987db-52ef-4c41-b2c1-1de19b45f57a/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/069284e9-12eb-4be8-a244-3927bb43582e/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/cbe987db-52ef-4c41-b2c1-1de19b45f57a/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/069284e9-12eb-4be8-a244-3927bb43582e/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/cbe987d
HTTP/1.1 200
CONTENT-LENGTH: 147
CONTENT-LENGTH: 145
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-2130/test_json4/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/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/118f3984-6955-4979-a90c-1ad548306bec/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/21919014-54d8-4231-82f9-5553642ad0e1/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/118f3984-6955-4979-a90c-1ad548306bec/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/21919014-54d8-4231-82f9-5553642ad0e1/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/e6108611-c8da-459a-98a8-4a13f1a41b68/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/368fbab8-0f8c-4bfc-8522-94b3a9b863a4/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6108611-c8da-459a-98a8-4a13f1a41b68/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/368fbab8-0f8c-4bfc-8522-94b3a9b863a4/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/192a813c-9760-47d7-aeee-17cbbddb8599/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c186f0ad-0337-4e59-bad9-7489f7724fb3/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/192a813c-9760-47d7-aeee-17cbbddb8599/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c186f0ad-0337-4e59-bad9-7489f7724fb3/start HTTP/1.1
{
"iourc_content": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 786
CONTENT-LENGTH: 784
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -15,15 +15,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
"command_line": "",
"console": 5712,
"console": 5711,
"console_type": "telnet",
"ethernet_adapters": 2,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptd6ogj3n/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9dgxyo_f/iourc",
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/192a813c-9760-47d7-aeee-17cbbddb8599",
"node_id": "192a813c-9760-47d7-aeee-17cbbddb8599",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/c186f0ad-0337-4e59-bad9-7489f7724fb3",
"node_id": "c186f0ad-0337-4e59-bad9-7489f7724fb3",
"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/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/39bca3a8-3f06-4adb-8ae5-5689905f9486/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/184d49fc-cc24-4f4c-a736-648924f5b7aa/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/39bca3a8-3f06-4adb-8ae5-5689905f9486/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/tmpz_99bmcz/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/tmpysiulotp/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/tmpz_99bmcz/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/qemu-system-x86_64",
"ram": 1024
}
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5712,
"console": 5711,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@ -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:2d:57:00",
"mac_address": "00:dd:80:4f:2e:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26d01216-7890-4814-8fb0-9b6569c32d57",
"node_id": "26d01216-7890-4814-8fb0-9b6569c32d57",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bc7d4e56-365c-4202-847e-6ed106b74f2e",
"node_id": "bc7d4e56-365c-4202-847e-6ed106b74f2e",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/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/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/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/b4805a2e-88eb-4c42-ae4c-fd2648481e6c/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/090ac2f0-6fd9-4fcd-aa14-bbae9922b0f6/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b4805a2e-88eb-4c42-ae4c-fd2648481e6c/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/edf84817-256d-46d3-a2f8-c81bcac327a5/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/faf4b8ca-b06e-4a9d-865c-a19dffbecfbb/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/edf84817-256d-46d3-a2f8-c81bcac327a5/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/faf4b8ca-b06e-4a9d-865c-a19dffbecfbb/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/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5be88c0-9daa-4ec5-af19-794279a2ab74/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a7241c8-f3e4-445c-a813-1992cd9a15af/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5be88c0-9daa-4ec5-af19-794279a2ab74/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/9422a573-a665-45e9-b7b6-be7b0d62baae/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a08a9122-a95c-4a89-b186-c1bd2aedd631/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9422a573-a665-45e9-b7b6-be7b0d62baae/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a08a9122-a95c-4a89-b186-c1bd2aedd631/start HTTP/1.1
{}
@ -19,7 +19,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5712,
"console": 5711,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 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:ba:ae:00",
"mac_address": "00:dd:80:d6:31:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9422a573-a665-45e9-b7b6-be7b0d62baae",
"node_id": "9422a573-a665-45e9-b7b6-be7b0d62baae",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/a08a9122-a95c-4a89-b186-c1bd2aedd631",
"node_id": "a08a9122-a95c-4a89-b186-c1bd2aedd631",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/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/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/006d3535-840b-44e3-8506-eddb110564bc/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bfa90b22-5e1e-4a4b-8d15-ce426a056fc4/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/006d3535-840b-44e3-8506-eddb110564bc/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/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee874901-5d79-4faa-affe-05db857ecc8d/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c07442a6-5c61-40ed-b606-fb34b0d73180/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee874901-5d79-4faa-affe-05db857ecc8d/suspend HTTP/1.1
{}

View File

@ -19,13 +19,13 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5712,
"console": 5711,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "512763bf-c13f-4bb2-b8c0-ab7a2f22e897",
"node_id": "76c2367e-e886-4787-bf13-0013afee2752",
"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/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/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/39f94b38-dd28-4c26-9239-d1171001dcea/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/87ebc5c1-5787-477b-ac26-bb6aaef39bbc/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39f94b38-dd28-4c26-9239-d1171001dcea/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/3ac323aa-9993-4d89-a47c-de95d3caceed/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/05cf9641-d762-45c5-ae74-d3611d40bf79/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ac323aa-9993-4d89-a47c-de95d3caceed/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/05cf9641-d762-45c5-ae74-d3611d40bf79/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/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b7bb3fc0-cf2d-4249-b145-d2b299b55034/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/10bc4d97-d5ad-4cb3-bed7-ee413e6253e6/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b7bb3fc0-cf2d-4249-b145-d2b299b55034/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/d33b339e-caf2-4142-9b0f-79352da10c6a/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5eb371f-7ffd-459e-930f-010d75ef0df3/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d33b339e-caf2-4142-9b0f-79352da10c6a/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5eb371f-7ffd-459e-930f-010d75ef0df3/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/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d701eaa-6a38-40eb-83ed-4bfb9822093e/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d7826daa-a35c-47c7-8e9b-bbf61f1e86f2/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4d701eaa-6a38-40eb-83ed-4bfb9822093e/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/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/029533b2-c003-4d07-aac6-72d448734736/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/94472966-9dd2-4c07-9948-a2a4a86c77ac/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/029533b2-c003-4d07-aac6-72d448734736/suspend HTTP/1.1
{}

View File

@ -15,11 +15,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
{
"command_line": "",
"console": 5721,
"console": 5720,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a6cddbfc-1066-4173-a26c-ebd43555200a",
"node_id": "a6cddbfc-1066-4173-a26c-ebd43555200a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/fa1a7eb2-88ad-4ef1-bd68-ca56cca882f8",
"node_id": "fa1a7eb2-88ad-4ef1-bd68-ca56cca882f8",
"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/be53ce7b-8656-410f-ba66-28ac2d48cffd/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/c5268754-4060-448d-aa6c-4d4c10af2682/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/be53ce7b-8656-410f-ba66-28ac2d48cffd/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c5268754-4060-448d-aa6c-4d4c10af2682/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/900aeb94-ff02-432e-ae93-b420a7d61943/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/543d58a9-65f9-4f0e-9982-e5925db2a402/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/900aeb94-ff02-432e-ae93-b420a7d61943/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/543d58a9-65f9-4f0e-9982-e5925db2a402/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/95e9559a-8b3c-4aba-b63a-df643bc7971a/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0fd5308e-4894-434b-b72b-f6fef405092d/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95e9559a-8b3c-4aba-b63a-df643bc7971a/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0fd5308e-4894-434b-b72b-f6fef405092d/start HTTP/1.1
{}
@ -13,11 +13,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
"command_line": "",
"console": 5721,
"console": 5720,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/95e9559a-8b3c-4aba-b63a-df643bc7971a",
"node_id": "95e9559a-8b3c-4aba-b63a-df643bc7971a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/0fd5308e-4894-434b-b72b-f6fef405092d",
"node_id": "0fd5308e-4894-434b-b72b-f6fef405092d",
"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/75665699-54d5-4573-b4f5-88f412aea915/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/99160adf-5437-42b0-8444-9af17e9e21d6/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75665699-54d5-4573-b4f5-88f412aea915/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/99160adf-5437-42b0-8444-9af17e9e21d6/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-2130/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-91/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-2130/test_update_path_project_non_l0"
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_update_path_project_non_l0"
}

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb53d-cc7c-42a0-ba95-f819ba66c589' -d '{"console": 5714, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/88891d34-4227-4d66-a4ab-b7af183df673' -d '{"console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb53d-cc7c-42a0-ba95-f819ba66c589 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/88891d34-4227-4d66-a4ab-b7af183df673 HTTP/1.1
{
"console": 5714,
"console": 5713,
"environment": "GNS3=1\nGNS4=0",
"name": "test",
"start_command": "yes"
@ -10,7 +10,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/db2eb
HTTP/1.1 200
CONTENT-LENGTH: 655
CONTENT-LENGTH: 653
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
"adapters": 2,
"aux": 5713,
"console": 5714,
"aux": 5712,
"console": 5713,
"console_http_path": "/",
"console_http_port": 80,
"console_resolution": "1280x1024",
@ -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-2130/test_json4/project-files/docker/db2eb53d-cc7c-42a0-ba95-f819ba66c589",
"node_id": "db2eb53d-cc7c-42a0-ba95-f819ba66c589",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/docker/88891d34-4227-4d66-a4ab-b7af183df673",
"node_id": "88891d34-4227-4d66-a4ab-b7af183df673",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae' -d '{"console": 5713, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2284ee92-6faf-4eef-8469-e4449c2163d6' -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/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2284ee92-6faf-4eef-8469-e4449c2163d6 HTTP/1.1
{
"console": 5713,
"console": 5712,
"ethernet_adapters": 4,
"iourc_content": "test",
"l1_keepalives": true,
@ -16,7 +16,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9cd0b496
HTTP/1.1 200
CONTENT-LENGTH: 797
CONTENT-LENGTH: 795
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -24,15 +24,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5713,
"console": 5712,
"console_type": "telnet",
"ethernet_adapters": 4,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkd3orias/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpurz_vwy8/iourc",
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-2130/test_json4/project-files/iou/9cd0b496-0f36-4b2b-a950-b5fc75ea12ae",
"node_id": "9cd0b496-0f36-4b2b-a950-b5fc75ea12ae",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/test_json4/project-files/iou/2284ee92-6faf-4eef-8469-e4449c2163d6",
"node_id": "2284ee92-6faf-4eef-8469-e4449c2163d6",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a' -d '{"console": 5713, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9 HTTP/1.1
{
"console": 5713,
"console": 5712,
"hdb_disk_image": "linux\u8f7d.img",
"name": "test",
"ram": 1024
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5713,
"console": 5712,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@ -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:fd:0a:00",
"mac_address": "00:dd:80:44:a9:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a",
"node_id": "dbda0b5d-a8a9-411b-a0d8-50ef6c61fd0a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9",
"node_id": "d6ed47f2-4e1e-4ceb-a344-fbc6842f44a9",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz_99bmcz/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpysiulotp/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0763054-c2af-4ca4-a400-ae701b534653' -d '{"console": 5722, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/51520b2b-ec87-4fc2-993f-55b7906cc620' -d '{"console": 5721, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0763054-c2af-4ca4-a400-ae701b534653 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/51520b2b-ec87-4fc2-993f-55b7906cc620 HTTP/1.1
{
"console": 5722,
"console": 5721,
"name": "test"
}
@ -18,13 +18,13 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5722,
"console": 5721,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "f0763054-c2af-4ca4-a400-ae701b534653",
"node_id": "51520b2b-ec87-4fc2-993f-55b7906cc620",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d741e315-806f-4849-ba3c-81f224501d94' -d '{"console": 5723, "name": "test", "startup_script": "ip 192.168.1.1"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e9189e9d-f799-489d-9dc0-5fe7921cef82' -d '{"console": 5722, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d741e315-806f-4849-ba3c-81f224501d94 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e9189e9d-f799-489d-9dc0-5fe7921cef82 HTTP/1.1
{
"console": 5723,
"console": 5722,
"name": "test",
"startup_script": "ip 192.168.1.1"
}
@ -17,11 +17,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5723,
"console": 5722,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkgi3md5m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d741e315-806f-4849-ba3c-81f224501d94",
"node_id": "d741e315-806f-4849-ba3c-81f224501d94",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3sguypp7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e9189e9d-f799-489d-9dc0-5fe7921cef82",
"node_id": "e9189e9d-f799-489d-9dc0-5fe7921cef82",
"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/e3bacad4-0bf6-411c-bd06-16b831c8ddf9'
curl -i -X DELETE 'http://localhost:3080/v2/projects/6e5a4f20-02c2-4577-9443-08a36f761048'
DELETE /v2/projects/e3bacad4-0bf6-411c-bd06-16b831c8ddf9 HTTP/1.1
DELETE /v2/projects/6e5a4f20-02c2-4577-9443-08a36f761048 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514'
curl -i -X DELETE 'http://localhost:3080/v2/projects/2c27794e-287e-489a-b4b8-0d58780088dd/drawings/cc8650a6-06cc-4ae2-a68f-67ba8a4dbced'
DELETE /v2/projects/27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2/drawings/e6f49ba0-191d-4dec-b565-24633aaac514 HTTP/1.1
DELETE /v2/projects/2c27794e-287e-489a-b4b8-0d58780088dd/drawings/cc8650a6-06cc-4ae2-a68f-67ba8a4dbced HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d'
curl -i -X DELETE 'http://localhost:3080/v2/projects/78c7348f-eb8d-4fbb-a407-8a7dfd4161a0/links/36dc6f8d-c5e3-4b89-b356-0d10ccfbd313'
DELETE /v2/projects/0cee12de-d97f-46d4-8524-ded4ac09c2ee/links/fba7ca91-0ead-4d87-b5b3-dd774553c02d HTTP/1.1
DELETE /v2/projects/78c7348f-eb8d-4fbb-a407-8a7dfd4161a0/links/36dc6f8d-c5e3-4b89-b356-0d10ccfbd313 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b'
curl -i -X DELETE 'http://localhost:3080/v2/projects/98a9042c-e068-469c-bdbf-73f7d9358ec9/nodes/c838cd10-6930-4306-9a3b-7318563de413'
DELETE /v2/projects/15a99958-1ecb-4e3c-a6d7-b663a7525cba/nodes/0a424518-818b-4446-bd32-dc6ee06a9c3b HTTP/1.1
DELETE /v2/projects/98a9042c-e068-469c-bdbf-73f7d9358ec9/nodes/c838cd10-6930-4306-9a3b-7318563de413 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4'
curl -i -X DELETE 'http://localhost:3080/v2/projects/56a6146a-721a-4062-8d86-bb1bd0dcd1af/snapshots/4d5a39b3-4e32-48e2-abf0-9fc8a20de7b7'
DELETE /v2/projects/1b449a04-1816-444e-8551-5bdd8a89f4c9/snapshots/0d5b8a17-780c-4c91-9676-47dddca09dc4 HTTP/1.1
DELETE /v2/projects/56a6146a-721a-4062-8d86-bb1bd0dcd1af/snapshots/4d5a39b3-4e32-48e2-abf0-9fc8a20de7b7 HTTP/1.1

View File

@ -5,7 +5,7 @@ GET /v2/projects HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 286
CONTENT-LENGTH: 284
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-2130/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-91/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/846403f5-9793-4576-b910-5fdd65838169'
curl -i -X GET 'http://localhost:3080/v2/projects/3a2b5f84-6aba-4125-a044-0c925f727547'
GET /v2/projects/846403f5-9793-4576-b910-5fdd65838169 HTTP/1.1
GET /v2/projects/3a2b5f84-6aba-4125-a044-0c925f727547 HTTP/1.1
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9nuqdhub/projects/846403f5-9793-4576-b910-5fdd65838169",
"project_id": "846403f5-9793-4576-b910-5fdd65838169",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpoxbcislw/projects/3a2b5f84-6aba-4125-a044-0c925f727547",
"project_id": "3a2b5f84-6aba-4125-a044-0c925f727547",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings'
curl -i -X GET 'http://localhost:3080/v2/projects/ac9ddc94-514a-4517-821e-39e7c958591b/drawings'
GET /v2/projects/3235be0a-211d-4c5a-8389-d3a23a8a5c23/drawings HTTP/1.1
GET /v2/projects/ac9ddc94-514a-4517-821e-39e7c958591b/drawings HTTP/1.1
@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4",
"project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23",
"drawing_id": "b717be1b-f3a8-4d7f-8b0f-c64c790f764c",
"project_id": "ac9ddc94-514a-4517-821e-39e7c958591b",
"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/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links'
curl -i -X GET 'http://localhost:3080/v2/projects/ff74612a-3716-4a1b-94e3-611cfec47404/links'
GET /v2/projects/e79e1126-26aa-4ecf-85eb-695e81ad58cd/links HTTP/1.1
GET /v2/projects/ff74612a-3716-4a1b-94e3-611cfec47404/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": "c5df007d-4eef-4892-966f-4f2b142f1851",
"link_id": "e1904198-89c6-4e40-98e9-dee68a74314f",
"nodes": [
{
"adapter_number": 0,
@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4",
"node_id": "0295bcda-195e-49ec-8e09-d5cda9537656",
"port_number": 3
},
{
@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "617d046f-1cca-4555-9237-cff43ef9966d",
"node_id": "3edda52d-d1e9-457e-adb0-b96cc431191c",
"port_number": 4
}
],
"project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd"
"project_id": "ff74612a-3716-4a1b-94e3-611cfec47404"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/fbe2b2ae-c040-41b4-83b8-3f342a1644fc/nodes'
GET /v2/projects/8cba891e-5cf2-4b59-8838-4967e7eac69f/nodes HTTP/1.1
GET /v2/projects/fbe2b2ae-c040-41b4-83b8-3f342a1644fc/nodes HTTP/1.1
@ -28,9 +28,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "ba637508-65c3-49c4-ae13-a67a82df2448",
"node_id": "5eb6752d-e2d1-41e3-9267-2b501086f499",
"node_type": "vpcs",
"project_id": "8cba891e-5cf2-4b59-8838-4967e7eac69f",
"project_id": "fbe2b2ae-c040-41b4-83b8-3f342a1644fc",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/652e8a52-a4f2-4d7a-8282-9a705a8e7ff3/nodes/6f1375d0-4a33-4e45-8cc5-2ba9cae479d1/dynamips/auto_idlepc'
GET /v2/projects/623a83ab-61b5-465c-b5ea-29d48d57a811/nodes/ee498ec6-46ac-47b0-a163-e65688c74335/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/652e8a52-a4f2-4d7a-8282-9a705a8e7ff3/nodes/6f1375d0-4a33-4e45-8cc5-2ba9cae479d1/dynamips/auto_idlepc HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/92597fc5-7c1a-44a6-8b62-62b55dc350e2/nodes/f2b03514-8111-4cdd-b3e0-91a3c59bd360/dynamips/idlepc_proposals'
GET /v2/projects/d897b35f-094b-4f3f-b35a-301b2f8e6307/nodes/460d640c-b542-40e0-addd-a2df752823f0/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/92597fc5-7c1a-44a6-8b62-62b55dc350e2/nodes/f2b03514-8111-4cdd-b3e0-91a3c59bd360/dynamips/idlepc_proposals HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots'
curl -i -X GET 'http://localhost:3080/v2/projects/3fb5988c-2390-44c4-a150-f595a2e215e6/snapshots'
GET /v2/projects/e02658a1-003e-4f81-981f-db262d96ef35/snapshots HTTP/1.1
GET /v2/projects/3fb5988c-2390-44c4-a150-f595a2e215e6/snapshots HTTP/1.1
@ -13,9 +13,9 @@ X-ROUTE: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1469555807,
"created_at": 1471255682,
"name": "test",
"project_id": "e02658a1-003e-4f81-981f-db262d96ef35",
"snapshot_id": "58ffc7e0-a59a-45db-ba7a-965e796fbfcd"
"project_id": "3fb5988c-2390-44c4-a150-f595a2e215e6",
"snapshot_id": "26c7190c-1a66-43f1-9799-9c11e6a65cf3"
}
]

View File

@ -17,7 +17,7 @@ X-ROUTE: /v2/projects
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpktyus5u7/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeq5e2r05/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/tmpgt2csn5i/projects/f9a1163f-275f-4dfa-8001-5c01f9603c3c",
"project_id": "f9a1163f-275f-4dfa-8001-5c01f9603c3c",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmp466im_/projects/b57f5cb1-7161-4551-b042-7c5bcc239efe",
"project_id": "b57f5cb1-7161-4551-b042-7c5bcc239efe",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/d55aceb2-642f-4ef9-9d77-6b021edf1908/close' -d '{}'
POST /v2/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd/close HTTP/1.1
POST /v2/projects/d55aceb2-642f-4ef9-9d77-6b021edf1908/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/tmpthw6lftl/projects/8eabcff1-9b80-423e-b49f-c5389b3618bd",
"project_id": "8eabcff1-9b80-423e-b49f-c5389b3618bd",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz6d89io2/projects/d55aceb2-642f-4ef9-9d77-6b021edf1908",
"project_id": "d55aceb2-642f-4ef9-9d77-6b021edf1908",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
curl -i -X POST 'http://localhost:3080/v2/projects/e7feced6-2e32-48f9-91e5-3ca6e091ffbd/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/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings HTTP/1.1
POST /v2/projects/e7feced6-2e32-48f9-91e5-3ca6e091ffbd/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": "63d8eb18-ed0d-4618-b199-4c62f32c23b1",
"project_id": "4636cb3b-b312-4e43-bfae-1c37ed9c447f",
"drawing_id": "ae38897a-9fcf-461b-aff0-20647d32b07f",
"project_id": "e7feced6-2e32-48f9-91e5-3ca6e091ffbd",
"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/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate' -d '{"name": "hello"}'
curl -i -X POST 'http://localhost:3080/v2/projects/7b0df311-f239-4e48-a1f5-21f7638f9588/duplicate' -d '{"name": "hello"}'
POST /v2/projects/f28d2d3a-858d-4f62-8a68-e7676aa0932e/duplicate HTTP/1.1
POST /v2/projects/7b0df311-f239-4e48-a1f5-21f7638f9588/duplicate HTTP/1.1
{
"name": "hello"
}
@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/{project_id}/duplicate
{
"filename": "hello.gns3",
"name": "hello",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp52tlx0r1/projects/hello",
"project_id": "8a9fb1ed-dcc1-4090-b12e-9ce7364063d7",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmzo55377/projects/hello",
"project_id": "e34dd634-015e-4e8b-8d9d-8cbf93ffdd9f",
"status": "closed"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d", "port_number": 3}, {"adapter_number": 2, "node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358", "port_number": 4}]}'
curl -i -X POST 'http://localhost:3080/v2/projects/89e290ee-3f68-4c3c-914d-2346298c653a/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "ca180310-9f4a-4a26-b0a7-e306dee99bf1", "port_number": 3}, {"adapter_number": 2, "node_id": "32376395-9f93-446a-8792-921b607b3d90", "port_number": 4}]}'
POST /v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links HTTP/1.1
POST /v2/projects/89e290ee-3f68-4c3c-914d-2346298c653a/links HTTP/1.1
{
"nodes": [
{
@ -10,12 +10,12 @@ POST /v2/projects/6b98809b-cc4d-4cc8-b865-8913c8f3bae5/links HTTP/1.1
"x": 42,
"y": 0
},
"node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d",
"node_id": "ca180310-9f4a-4a26-b0a7-e306dee99bf1",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358",
"node_id": "32376395-9f93-446a-8792-921b607b3d90",
"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": "99885af4-208a-4911-be1d-dfcaf1ef0bd0",
"link_id": "ebeaf698-0187-45c8-9db0-f467a7b324be",
"nodes": [
{
"adapter_number": 0,
@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": 42,
"y": 0
},
"node_id": "f0874bea-c3ba-4125-9122-6eb8ec7bd09d",
"node_id": "ca180310-9f4a-4a26-b0a7-e306dee99bf1",
"port_number": 3
},
{
@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "0054aeb1-48c9-4ecd-a205-91844a57c358",
"node_id": "32376395-9f93-446a-8792-921b607b3d90",
"port_number": 4
}
],
"project_id": "6b98809b-cc4d-4cc8-b865-8913c8f3bae5"
"project_id": "89e290ee-3f68-4c3c-914d-2346298c653a"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/e074e529-3775-414e-8453-ff8d2a974d4b/links/6f4467d9-bbb0-4d0a-9ccf-287dd524b21c/start_capture' -d '{}'
POST /v2/projects/ce362c30-2afb-461c-9d15-653b109839ad/links/0627d444-37f7-45e4-9cec-52a48f276691/start_capture HTTP/1.1
POST /v2/projects/e074e529-3775-414e-8453-ff8d2a974d4b/links/6f4467d9-bbb0-4d0a-9ccf-287dd524b21c/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": "0627d444-37f7-45e4-9cec-52a48f276691",
"link_id": "6f4467d9-bbb0-4d0a-9ccf-287dd524b21c",
"nodes": [],
"project_id": "ce362c30-2afb-461c-9d15-653b109839ad"
"project_id": "e074e529-3775-414e-8453-ff8d2a974d4b"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/dd8bfb20-515c-4d38-b850-3315d3291bbe/links/313657f9-b4eb-4e2a-b6b3-0eb51eeb4657/stop_capture' -d '{}'
POST /v2/projects/a6eb0c0f-f374-424b-b3e0-a03506973774/links/0ee892d2-92e8-4063-8be4-a7c6483bcaca/stop_capture HTTP/1.1
POST /v2/projects/dd8bfb20-515c-4d38-b850-3315d3291bbe/links/313657f9-b4eb-4e2a-b6b3-0eb51eeb4657/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": "0ee892d2-92e8-4063-8be4-a7c6483bcaca",
"link_id": "313657f9-b4eb-4e2a-b6b3-0eb51eeb4657",
"nodes": [],
"project_id": "a6eb0c0f-f374-424b-b3e0-a03506973774"
"project_id": "dd8bfb20-515c-4d38-b850-3315d3291bbe"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/dc47676e-c750-4f0b-9c16-f77d138567c9/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
curl -i -X POST 'http://localhost:3080/v2/projects/4e42ea2c-8fa2-4382-8115-5ff0caba1ee3/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
POST /v2/projects/dc47676e-c750-4f0b-9c16-f77d138567c9/nodes HTTP/1.1
POST /v2/projects/4e42ea2c-8fa2-4382-8115-5ff0caba1ee3/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": "23d30a86-685d-4a69-81f6-2629a2501dfa",
"node_id": "85d7395f-9138-45f1-9176-ad5540b26446",
"node_type": "vpcs",
"project_id": "dc47676e-c750-4f0b-9c16-f77d138567c9",
"project_id": "4e42ea2c-8fa2-4382-8115-5ff0caba1ee3",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/b545f5da-3277-47dc-82a3-b17aa13e4d89/nodes/9c10b9f2-cc01-4876-b16d-ae5e086e903a/reload' -d '{}'
POST /v2/projects/c2e48f2f-a54d-4cab-abc3-eef0d1534a97/nodes/3ab249df-51de-418b-93e7-4eea53bfd22e/reload HTTP/1.1
POST /v2/projects/b545f5da-3277-47dc-82a3-b17aa13e4d89/nodes/9c10b9f2-cc01-4876-b16d-ae5e086e903a/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/97cebf07-e289-43a3-8b53-92c48eaddb52/nodes/a400e342-2860-4f7b-8263-023ba6455817/start' -d '{}'
POST /v2/projects/a678ddda-7e9c-46ea-8a93-45328d01178e/nodes/fad1ff97-625f-4ada-8f96-4446f9dc4a80/start HTTP/1.1
POST /v2/projects/97cebf07-e289-43a3-8b53-92c48eaddb52/nodes/a400e342-2860-4f7b-8263-023ba6455817/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/aa160196-8910-45f1-826a-abd9b889c4ce/nodes/a5ce2eae-228c-48dd-9876-826727d3aba7/stop' -d '{}'
POST /v2/projects/29557c8b-c9ac-4fe8-ab6e-28bc6806604b/nodes/de1d9538-5f80-4c60-9d40-f76826c6025b/stop HTTP/1.1
POST /v2/projects/aa160196-8910-45f1-826a-abd9b889c4ce/nodes/a5ce2eae-228c-48dd-9876-826727d3aba7/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/626707c3-1edd-4639-b588-6b8f426308a1/nodes/2bacf7aa-a309-498c-872a-3c866936dd0e/suspend' -d '{}'
POST /v2/projects/58b15d2e-4928-4e17-b235-1ca1cc12806f/nodes/3570345b-bb8c-4a33-921a-9bb5919ae268/suspend HTTP/1.1
POST /v2/projects/626707c3-1edd-4639-b588-6b8f426308a1/nodes/2bacf7aa-a309-498c-872a-3c866936dd0e/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/efad62d4-0bd1-46a8-b07d-5e8dda367b0c/nodes/reload' -d '{}'
POST /v2/projects/1aba6f52-51ff-4a51-8fbc-87e58832f215/nodes/reload HTTP/1.1
POST /v2/projects/efad62d4-0bd1-46a8-b07d-5e8dda367b0c/nodes/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/62a84209-94af-411c-8480-f8350acb6568/nodes/start' -d '{}'
POST /v2/projects/04326346-8db1-4063-bbc4-17f1027265b4/nodes/start HTTP/1.1
POST /v2/projects/62a84209-94af-411c-8480-f8350acb6568/nodes/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/0b0a8e44-e6e0-4376-a13d-1817aee278be/nodes/stop' -d '{}'
POST /v2/projects/6cb2adb9-052f-413a-b823-150d9979c7bd/nodes/stop HTTP/1.1
POST /v2/projects/0b0a8e44-e6e0-4376-a13d-1817aee278be/nodes/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/3f2ef189-c551-4998-878d-5bb81a00d6c8/nodes/suspend' -d '{}'
POST /v2/projects/a1bbd591-ad62-41c2-a0ac-137fc2662860/nodes/suspend HTTP/1.1
POST /v2/projects/3f2ef189-c551-4998-878d-5bb81a00d6c8/nodes/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/afd371b6-552c-4a5f-af95-3d84e5124e5c/open' -d '{}'
POST /v2/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1/open HTTP/1.1
POST /v2/projects/afd371b6-552c-4a5f-af95-3d84e5124e5c/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/tmp6dp3nxma/projects/63bc1a63-1959-4bd6-b7d0-db36f61e8db1",
"project_id": "63bc1a63-1959-4bd6-b7d0-db36f61e8db1",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpueqnywu8/projects/afd371b6-552c-4a5f-af95-3d84e5124e5c",
"project_id": "afd371b6-552c-4a5f-af95-3d84e5124e5c",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots' -d '{"name": "snap1"}'
curl -i -X POST 'http://localhost:3080/v2/projects/40536e06-c138-4cb1-8202-ae562227bfc3/snapshots' -d '{"name": "snap1"}'
POST /v2/projects/bf4b231b-77a0-415d-b6fe-729b651e2d5b/snapshots HTTP/1.1
POST /v2/projects/40536e06-c138-4cb1-8202-ae562227bfc3/snapshots HTTP/1.1
{
"name": "snap1"
}
@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/snapshots
{
"created_at": 1469555808,
"created_at": 1471255682,
"name": "snap1",
"project_id": "bf4b231b-77a0-415d-b6fe-729b651e2d5b",
"snapshot_id": "34fa5834-b012-4098-a972-08fbb34a3b5e"
"project_id": "40536e06-c138-4cb1-8202-ae562227bfc3",
"snapshot_id": "74e0d54a-84c5-4cda-99ee-86acb1f6dcca"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4/snapshots/37665774-a772-4b41-bd7c-c56b29c0da60/restore' -d '{}'
POST /v2/projects/a8fe0312-be74-4ff1-9107-596ed58393e6/snapshots/7ac42c0d-1838-4fa9-977c-20dc9894abbd/restore HTTP/1.1
POST /v2/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4/snapshots/37665774-a772-4b41-bd7c-c56b29c0da60/restore HTTP/1.1
{}
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpisnyewwx/projects/a8fe0312-be74-4ff1-9107-596ed58393e6",
"project_id": "a8fe0312-be74-4ff1-9107-596ed58393e6",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmph58tcopa/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4",
"project_id": "9ec22e91-7e4d-4537-83a5-c9e783c5cfe4",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf' -d '{"x": 42}'
curl -i -X PUT 'http://localhost:3080/v2/projects/9acee488-d70d-461c-aaa8-7ec372fe8da1/drawings/8e03860f-98bc-4325-9908-83aa773229bd' -d '{"x": 42}'
PUT /v2/projects/d1db2e53-6163-4e51-add0-cbd2f268d33c/drawings/7d2523bb-52ca-40dc-9955-d882d0662ccf HTTP/1.1
PUT /v2/projects/9acee488-d70d-461c-aaa8-7ec372fe8da1/drawings/8e03860f-98bc-4325-9908-83aa773229bd 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": "7d2523bb-52ca-40dc-9955-d882d0662ccf",
"project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c",
"drawing_id": "8e03860f-98bc-4325-9908-83aa773229bd",
"project_id": "9acee488-d70d-461c-aaa8-7ec372fe8da1",
"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/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
curl -i -X PUT 'http://localhost:3080/v2/projects/325eb479-c038-4ab3-8fbc-df2195ea8ac9/nodes/9f6d26de-6d57-42cf-88fe-abd956544813' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
PUT /v2/projects/ed3bb733-eef4-4018-965d-fedb73222398/nodes/15c3c722-70b2-403b-a3bc-e5cc8993d34b HTTP/1.1
PUT /v2/projects/325eb479-c038-4ab3-8fbc-df2195ea8ac9/nodes/9f6d26de-6d57-42cf-88fe-abd956544813 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": "15c3c722-70b2-403b-a3bc-e5cc8993d34b",
"node_id": "9f6d26de-6d57-42cf-88fe-abd956544813",
"node_type": "vpcs",
"project_id": "ed3bb733-eef4-4018-965d-fedb73222398",
"project_id": "325eb479-c038-4ab3-8fbc-df2195ea8ac9",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,6 +1,6 @@
{
"drawing_id": "3385d4fb-894a-4b3c-8a2c-c0f9a85b54d4",
"project_id": "3235be0a-211d-4c5a-8389-d3a23a8a5c23",
"drawing_id": "b717be1b-f3a8-4d7f-8b0f-c64c790f764c",
"project_id": "ac9ddc94-514a-4517-821e-39e7c958591b",
"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": "e6f49ba0-191d-4dec-b565-24633aaac514",
"project_id": "27bc5b59-8dbe-4db0-848f-fdfd9ce2e7a2",
"drawing_id": "cc8650a6-06cc-4ae2-a68f-67ba8a4dbced",
"project_id": "2c27794e-287e-489a-b4b8-0d58780088dd",
"rotation": 0,
"svg": "<svg></svg>",
"x": 0,

View File

@ -1,6 +1,6 @@
{
"drawing_id": "7d2523bb-52ca-40dc-9955-d882d0662ccf",
"project_id": "d1db2e53-6163-4e51-add0-cbd2f268d33c",
"drawing_id": "8e03860f-98bc-4325-9908-83aa773229bd",
"project_id": "9acee488-d70d-461c-aaa8-7ec372fe8da1",
"rotation": 0,
"x": 42,
"y": 20,

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "c5df007d-4eef-4892-966f-4f2b142f1851",
"link_id": "e1904198-89c6-4e40-98e9-dee68a74314f",
"nodes": [
{
"adapter_number": 0,
@ -13,7 +13,7 @@
"x": -10,
"y": -10
},
"node_id": "e73ee23d-fcb2-425d-9a5d-5b9bc744d2f4",
"node_id": "0295bcda-195e-49ec-8e09-d5cda9537656",
"port_number": 3
},
{
@ -25,9 +25,9 @@
"x": -10,
"y": -10
},
"node_id": "617d046f-1cca-4555-9237-cff43ef9966d",
"node_id": "3edda52d-d1e9-457e-adb0-b96cc431191c",
"port_number": 4
}
],
"project_id": "e79e1126-26aa-4ecf-85eb-695e81ad58cd"
"project_id": "ff74612a-3716-4a1b-94e3-611cfec47404"
}

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "fba7ca91-0ead-4d87-b5b3-dd774553c02d",
"link_id": "36dc6f8d-c5e3-4b89-b356-0d10ccfbd313",
"nodes": [],
"project_id": "0cee12de-d97f-46d4-8524-ded4ac09c2ee"
"project_id": "78c7348f-eb8d-4fbb-a407-8a7dfd4161a0"
}

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "cb1581f0-85da-48e7-a2a1-f12667dc7a0a",
"link_id": "d6bd065b-ce1e-42e4-83ac-ee156bc8ffc8",
"nodes": [
{
"adapter_number": 0,
@ -11,7 +11,7 @@
"x": 64,
"y": 0
},
"node_id": "97b1f87f-43ae-4291-92b7-07df575214a5",
"node_id": "b16d98dd-5931-489a-adab-e0bb0c76bac8",
"port_number": 3
},
{
@ -23,9 +23,9 @@
"x": -10,
"y": -10
},
"node_id": "e0fa8c63-4afc-4405-ab47-d7532ad06ada",
"node_id": "4d7deda6-218c-4aa2-919e-3f0e45eeab3d",
"port_number": 4
}
],
"project_id": "472c6197-1b52-472c-b1db-027e76bdda56"
"project_id": "e275a44e-0981-46eb-89a8-969f2304c5e0"
}

View File

@ -14,9 +14,9 @@
},
"name": "test",
"node_directory": null,
"node_id": "0a424518-818b-4446-bd32-dc6ee06a9c3b",
"node_id": "c838cd10-6930-4306-9a3b-7318563de413",
"node_type": "vpcs",
"project_id": "15a99958-1ecb-4e3c-a6d7-b663a7525cba",
"project_id": "98a9042c-e068-469c-bdbf-73f7d9358ec9",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -14,9 +14,9 @@
},
"name": "test",
"node_directory": null,
"node_id": "a09b8477-f352-4d8c-ae4f-5235519cbb81",
"node_id": "32174e7e-c566-4f0b-aa4b-c9b983c02305",
"node_type": "vpcs",
"project_id": "00558e56-680d-4ad4-84ba-c341687e64ea",
"project_id": "168cae40-9e3b-46fa-8954-e622068c734b",
"properties": {
"startup_config": "test.cfg"
},

View File

@ -0,0 +1,7 @@
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmph58tcopa/projects/9ec22e91-7e4d-4537-83a5-c9e783c5cfe4",
"project_id": "9ec22e91-7e4d-4537-83a5-c9e783c5cfe4",
"status": "closed"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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