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

Update documentation

This commit is contained in:
Julien Duponchelle 2016-06-17 11:12:22 +02:00
parent ba05ca029e
commit 6dff8af235
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
183 changed files with 686 additions and 348 deletions

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c17d9373-a904-4534-af9d-0ecd488738cc/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/18ee7f7b-40fc-45ea-a82c-87ca09828405/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c17d9373-a904-4534-af9d-0ecd488738cc/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/18ee7f7b-40fc-45ea-a82c-87ca09828405/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/37f31e57-9055-43de-95ec-4498ba9600ea'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bbcd0346-f279-40e2-b30f-ca1f1a534b55'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37f31e57-9055-43de-95ec-4498ba9600ea HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bbcd0346-f279-40e2-b30f-ca1f1a534b55 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/6f77a989-a9c0-486f-ab90-eb555f991b32/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/269cc477-f523-48c8-8641-a9eca0ddf8c2/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6f77a989-a9c0-486f-ab90-eb555f991b32/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/269cc477-f523-48c8-8641-a9eca0ddf8c2/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/16151018-cd3e-4aeb-b786-485d612f3e6b'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7cfe317a-63dd-4cde-ac2a-4b58f84ca8fd'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16151018-cd3e-4aeb-b786-485d612f3e6b HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7cfe317a-63dd-4cde-ac2a-4b58f84ca8fd 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/c055f8b6-d043-4ef3-b1e5-f447f33d58db/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fbb9ec7a-19be-488c-b37e-e777d2426cce/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c055f8b6-d043-4ef3-b1e5-f447f33d58db/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fbb9ec7a-19be-488c-b37e-e777d2426cce/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/763a7eca-2df1-4cfb-b51a-2206341951ce/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/adb0c6e3-5d54-4d91-936a-0d66bc145cf1/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/763a7eca-2df1-4cfb-b51a-2206341951ce/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/adb0c6e3-5d54-4d91-936a-0d66bc145cf1/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/ac000e78-d064-4d9d-9dbf-cb3505d4af0f'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3da87e3-8b8e-4e97-96ba-c5cfa7267096'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ac000e78-d064-4d9d-9dbf-cb3505d4af0f HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3da87e3-8b8e-4e97-96ba-c5cfa7267096 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/d3528cff-dced-482e-a219-c7e7b51bf685/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4c4c1e1e-359b-4495-9ffa-58819cee94e5/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d3528cff-dced-482e-a219-c7e7b51bf685/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4c4c1e1e-359b-4495-9ffa-58819cee94e5/adapters/0/ports/0/nio HTTP/1.1

View File

@ -5,7 +5,7 @@ GET /v2/compute/interfaces HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 1994
CONTENT-LENGTH: 9218
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -101,5 +101,305 @@ X-ROUTE: /v2/compute/interfaces
"ip_address": "",
"mac_address": "0a:00:27:00:00:07",
"name": "vboxnet7"
},
{
"id": "vmnet1",
"ip_address": "172.16.16.1",
"mac_address": "00:50:56:c0:00:01",
"name": "vmnet1"
},
{
"id": "vmnet10",
"ip_address": "172.16.7.1",
"mac_address": "00:50:56:c0:00:0a",
"name": "vmnet10"
},
{
"id": "vmnet11",
"ip_address": "172.16.8.1",
"mac_address": "00:50:56:c0:00:0b",
"name": "vmnet11"
},
{
"id": "vmnet12",
"ip_address": "172.16.9.1",
"mac_address": "00:50:56:c0:00:0c",
"name": "vmnet12"
},
{
"id": "vmnet13",
"ip_address": "172.16.10.1",
"mac_address": "00:50:56:c0:00:0d",
"name": "vmnet13"
},
{
"id": "vmnet14",
"ip_address": "172.16.11.1",
"mac_address": "00:50:56:c0:00:0e",
"name": "vmnet14"
},
{
"id": "vmnet15",
"ip_address": "172.16.12.1",
"mac_address": "00:50:56:c0:00:0f",
"name": "vmnet15"
},
{
"id": "vmnet16",
"ip_address": "172.16.13.1",
"mac_address": "00:50:56:c0:00:10",
"name": "vmnet16"
},
{
"id": "vmnet17",
"ip_address": "172.16.14.1",
"mac_address": "00:50:56:c0:00:11",
"name": "vmnet17"
},
{
"id": "vmnet18",
"ip_address": "172.16.15.1",
"mac_address": "00:50:56:c0:00:12",
"name": "vmnet18"
},
{
"id": "vmnet19",
"ip_address": "172.16.17.1",
"mac_address": "00:50:56:c0:00:13",
"name": "vmnet19"
},
{
"id": "vmnet2",
"ip_address": "172.16.0.1",
"mac_address": "00:50:56:c0:00:02",
"name": "vmnet2"
},
{
"id": "vmnet20",
"ip_address": "172.16.18.1",
"mac_address": "00:50:56:c0:00:14",
"name": "vmnet20"
},
{
"id": "vmnet21",
"ip_address": "172.16.19.1",
"mac_address": "00:50:56:c0:00:15",
"name": "vmnet21"
},
{
"id": "vmnet22",
"ip_address": "172.16.20.1",
"mac_address": "00:50:56:c0:00:16",
"name": "vmnet22"
},
{
"id": "vmnet23",
"ip_address": "172.16.21.1",
"mac_address": "00:50:56:c0:00:17",
"name": "vmnet23"
},
{
"id": "vmnet24",
"ip_address": "172.16.22.1",
"mac_address": "00:50:56:c0:00:18",
"name": "vmnet24"
},
{
"id": "vmnet25",
"ip_address": "172.16.23.1",
"mac_address": "00:50:56:c0:00:19",
"name": "vmnet25"
},
{
"id": "vmnet26",
"ip_address": "172.16.24.1",
"mac_address": "00:50:56:c0:00:1a",
"name": "vmnet26"
},
{
"id": "vmnet27",
"ip_address": "172.16.25.1",
"mac_address": "00:50:56:c0:00:1b",
"name": "vmnet27"
},
{
"id": "vmnet28",
"ip_address": "172.16.26.1",
"mac_address": "00:50:56:c0:00:1c",
"name": "vmnet28"
},
{
"id": "vmnet29",
"ip_address": "172.16.27.1",
"mac_address": "00:50:56:c0:00:1d",
"name": "vmnet29"
},
{
"id": "vmnet3",
"ip_address": "172.16.1.1",
"mac_address": "00:50:56:c0:00:03",
"name": "vmnet3"
},
{
"id": "vmnet30",
"ip_address": "172.16.28.1",
"mac_address": "00:50:56:c0:00:1e",
"name": "vmnet30"
},
{
"id": "vmnet31",
"ip_address": "172.16.29.1",
"mac_address": "00:50:56:c0:00:1f",
"name": "vmnet31"
},
{
"id": "vmnet32",
"ip_address": "172.16.30.1",
"mac_address": "00:50:56:c0:00:20",
"name": "vmnet32"
},
{
"id": "vmnet33",
"ip_address": "172.16.31.1",
"mac_address": "00:50:56:c0:00:21",
"name": "vmnet33"
},
{
"id": "vmnet34",
"ip_address": "172.16.32.1",
"mac_address": "00:50:56:c0:00:22",
"name": "vmnet34"
},
{
"id": "vmnet35",
"ip_address": "172.16.33.1",
"mac_address": "00:50:56:c0:00:23",
"name": "vmnet35"
},
{
"id": "vmnet36",
"ip_address": "172.16.34.1",
"mac_address": "00:50:56:c0:00:24",
"name": "vmnet36"
},
{
"id": "vmnet37",
"ip_address": "172.16.35.1",
"mac_address": "00:50:56:c0:00:25",
"name": "vmnet37"
},
{
"id": "vmnet38",
"ip_address": "172.16.36.1",
"mac_address": "00:50:56:c0:00:26",
"name": "vmnet38"
},
{
"id": "vmnet39",
"ip_address": "172.16.37.1",
"mac_address": "00:50:56:c0:00:27",
"name": "vmnet39"
},
{
"id": "vmnet4",
"ip_address": "172.16.2.1",
"mac_address": "00:50:56:c0:00:04",
"name": "vmnet4"
},
{
"id": "vmnet40",
"ip_address": "172.16.38.1",
"mac_address": "00:50:56:c0:00:28",
"name": "vmnet40"
},
{
"id": "vmnet41",
"ip_address": "172.16.39.1",
"mac_address": "00:50:56:c0:00:29",
"name": "vmnet41"
},
{
"id": "vmnet42",
"ip_address": "172.16.40.1",
"mac_address": "00:50:56:c0:00:2a",
"name": "vmnet42"
},
{
"id": "vmnet43",
"ip_address": "172.16.41.1",
"mac_address": "00:50:56:c0:00:2b",
"name": "vmnet43"
},
{
"id": "vmnet44",
"ip_address": "172.16.42.1",
"mac_address": "00:50:56:c0:00:2c",
"name": "vmnet44"
},
{
"id": "vmnet45",
"ip_address": "172.16.43.1",
"mac_address": "00:50:56:c0:00:2d",
"name": "vmnet45"
},
{
"id": "vmnet46",
"ip_address": "172.16.44.1",
"mac_address": "00:50:56:c0:00:2e",
"name": "vmnet46"
},
{
"id": "vmnet47",
"ip_address": "172.16.45.1",
"mac_address": "00:50:56:c0:00:2f",
"name": "vmnet47"
},
{
"id": "vmnet48",
"ip_address": "172.16.46.1",
"mac_address": "00:50:56:c0:00:30",
"name": "vmnet48"
},
{
"id": "vmnet49",
"ip_address": "172.16.47.1",
"mac_address": "00:50:56:c0:00:31",
"name": "vmnet49"
},
{
"id": "vmnet5",
"ip_address": "172.16.3.1",
"mac_address": "00:50:56:c0:00:05",
"name": "vmnet5"
},
{
"id": "vmnet50",
"ip_address": "172.16.48.1",
"mac_address": "00:50:56:c0:00:32",
"name": "vmnet50"
},
{
"id": "vmnet6",
"ip_address": "172.16.4.1",
"mac_address": "00:50:56:c0:00:06",
"name": "vmnet6"
},
{
"id": "vmnet7",
"ip_address": "172.16.5.1",
"mac_address": "00:50:56:c0:00:07",
"name": "vmnet7"
},
{
"id": "vmnet8",
"ip_address": "192.168.229.1",
"mac_address": "00:50:56:c0:00:08",
"name": "vmnet8"
},
{
"id": "vmnet9",
"ip_address": "172.16.6.1",
"mac_address": "00:50:56:c0:00:09",
"name": "vmnet9"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/832c3519-f0dd-40b3-9cdd-01ec62005fa9'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38c41e15-02b1-4e87-bf18-55d4e85c20d0'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/832c3519-f0dd-40b3-9cdd-01ec62005fa9 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38c41e15-02b1-4e87-bf18-55d4e85c20d0 HTTP/1.1
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/832c3519-f0dd-40b3-9cdd-01ec62005fa9",
"node_id": "832c3519-f0dd-40b3-9cdd-01ec62005fa9",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/38c41e15-02b1-4e87-bf18-55d4e85c20d0",
"node_id": "38c41e15-02b1-4e87-bf18-55d4e85c20d0",
"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/2c12d2d5-d9e7-400e-9374-163bea20e959/configs'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d19b2b5c-aa47-4322-bda8-43b773bb7487/configs'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c12d2d5-d9e7-400e-9374-163bea20e959/configs HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d19b2b5c-aa47-4322-bda8-43b773bb7487/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/6a9211ad-af13-40d9-9940-a79dace7f5c7'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cf594bad-4919-4082-aab1-f50c28d560a2'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6a9211ad-af13-40d9-9940-a79dace7f5c7 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cf594bad-4919-4082-aab1-f50c28d560a2 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:f5:c7:00",
"mac_address": "00:dd:80:60:a2:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6a9211ad-af13-40d9-9940-a79dace7f5c7",
"node_id": "6a9211ad-af13-40d9-9940-a79dace7f5c7",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/cf594bad-4919-4082-aab1-f50c28d560a2",
"node_id": "cf594bad-4919-4082-aab1-f50c28d560a2",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/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/ac59b961-9c09-4282-adc7-c3d9159a1e68'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f52dbaa-6606-435f-80a1-ad19fb25d9fe'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ac59b961-9c09-4282-adc7-c3d9159a1e68 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f52dbaa-6606-435f-80a1-ad19fb25d9fe HTTP/1.1
@ -20,7 +20,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"headless": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "ac59b961-9c09-4282-adc7-c3d9159a1e68",
"node_id": "9f52dbaa-6606-435f-80a1-ad19fb25d9fe",
"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/bf11b538-23f4-4fd0-9e8d-ace112996288'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d9c46ef7-2fad-4a6d-9639-0ef080358889'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bf11b538-23f4-4fd0-9e8d-ace112996288 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d9c46ef7-2fad-4a6d-9639-0ef080358889 HTTP/1.1
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5009,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/bf11b538-23f4-4fd0-9e8d-ace112996288",
"node_id": "bf11b538-23f4-4fd0-9e8d-ace112996288",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d9c46ef7-2fad-4a6d-9639-0ef080358889",
"node_id": "d9c46ef7-2fad-4a6d-9639-0ef080358889",
"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/54ad7035-69a1-4717-b3fa-131a13f14a34/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/997625d9-e2d0-4865-b83a-022a54f24acb/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/54ad7035-69a1-4717-b3fa-131a13f14a34/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/997625d9-e2d0-4865-b83a-022a54f24acb/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/98160cdf-64ae-41ad-83e3-38b7e9e5c88f/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/b10c9d90-8ded-493a-b015-bfd681561c3f/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/98160cdf-64ae-41ad-83e3-38b7e9e5c88f/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b10c9d90-8ded-493a-b015-bfd681561c3f/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/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/dcc03555-ee44-4d4c-af80-c0c58188b507/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7d223427-edf2-4cbd-ac82-51df3252e4b1/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/dcc03555-ee44-4d4c-af80-c0c58188b507/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7d223427-edf2-4cbd-ac82-51df3252e4b1/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,9 +1,9 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "5899de43-86cc-4317-83fb-9e9d71fc3e9a", "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": "3db86e60-ebfd-4218-bd1a-03b5c9f14075", "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": "5899de43-86cc-4317-83fb-9e9d71fc3e9a",
"node_id": "3db86e60-ebfd-4218-bd1a-03b5c9f14075",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
@ -25,8 +25,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/5899de43-86cc-4317-83fb-9e9d71fc3e9a",
"node_id": "5899de43-86cc-4317-83fb-9e9d71fc3e9a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/3db86e60-ebfd-4218-bd1a-03b5c9f14075",
"node_id": "3db86e60-ebfd-4218-bd1a-03b5c9f14075",
"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/46851de9-2a8c-45f0-b5ad-aed8122abf47/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/07039f0a-5fca-4476-a083-d38c755a05f9/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/46851de9-2a8c-45f0-b5ad-aed8122abf47/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/07039f0a-5fca-4476-a083-d38c755a05f9/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/fe551ba2-acf8-49fc-b6e7-40e006cbe919/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/355ede89-81d8-4cd7-8152-5c238433d932/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/fe551ba2-acf8-49fc-b6e7-40e006cbe919/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/355ede89-81d8-4cd7-8152-5c238433d932/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -15,5 +15,5 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/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/d3bcf0fd-2a46-4046-b193-2b92afecc41f/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f67b7caa-490c-472d-83d1-53e3c8152b2b/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3bcf0fd-2a46-4046-b193-2b92afecc41f/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f67b7caa-490c-472d-83d1-53e3c8152b2b/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/18b3bd89-ece1-4223-817b-3bd2b92bb0fe/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4fa9590b-8c7c-40d7-afb7-0c47ddeb4426/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18b3bd89-ece1-4223-817b-3bd2b92bb0fe/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4fa9590b-8c7c-40d7-afb7-0c47ddeb4426/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/iou/nodes/8471bfda-990b-4dae-8c03-b31be3e0c2c3/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9321bffc-16e7-4305-adb7-da96a0c16c78/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8471bfda-990b-4dae-8c03-b31be3e0c2c3/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9321bffc-16e7-4305-adb7-da96a0c16c78/start HTTP/1.1
{
"iourc_content": "test"
}
@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
"console": 5000,
"console_type": "telnet",
"ethernet_adapters": 2,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hfjcya0/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw9xziqol/iourc",
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/8471bfda-990b-4dae-8c03-b31be3e0c2c3",
"node_id": "8471bfda-990b-4dae-8c03-b31be3e0c2c3",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/9321bffc-16e7-4305-adb7-da96a0c16c78",
"node_id": "9321bffc-16e7-4305-adb7-da96a0c16c78",
"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/cc905fcc-66ba-4c9f-87e4-41b66d327970/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3debae10-c5ce-4367-9fd8-52752ffb159c/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cc905fcc-66ba-4c9f-87e4-41b66d327970/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3debae10-c5ce-4367-9fd8-52752ffb159c/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/tmp2hp1uall/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/tmphi1ia0uh/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/tmp2hp1uall/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/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:94:0e:00",
"mac_address": "00:dd:80:76:f9:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/aecfe8cb-5e4d-4c47-befb-705a0750940e",
"node_id": "aecfe8cb-5e4d-4c47-befb-705a0750940e",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c3e67755-c61e-4ff2-b68e-b3bb2d5076f9",
"node_id": "c3e67755-c61e-4ff2-b68e-b3bb2d5076f9",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/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/ab46e9dc-1007-4477-b240-c57b4bd7e8c7/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/9cbbd8dc-6cfd-4c50-a03e-71aef9ca9ed9/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab46e9dc-1007-4477-b240-c57b4bd7e8c7/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9cbbd8dc-6cfd-4c50-a03e-71aef9ca9ed9/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/299e3dac-c6b4-49bc-930e-e2692b1ac440/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ce0762fc-ff07-4756-9431-15a5743597b8/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/299e3dac-c6b4-49bc-930e-e2692b1ac440/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ce0762fc-ff07-4756-9431-15a5743597b8/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/700de233-5774-4eac-b855-d4327d877380/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5dc3a1b-cee9-49c6-bfe0-0fce6761400b/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700de233-5774-4eac-b855-d4327d877380/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5dc3a1b-cee9-49c6-bfe0-0fce6761400b/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/bc14855a-e9a5-4b4d-8cbc-bc6aca03f404/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/40483dab-683a-403f-b746-07268d816481/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bc14855a-e9a5-4b4d-8cbc-bc6aca03f404/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/40483dab-683a-403f-b746-07268d816481/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:f4:04:00",
"mac_address": "00:dd:80:64:81:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bc14855a-e9a5-4b4d-8cbc-bc6aca03f404",
"node_id": "bc14855a-e9a5-4b4d-8cbc-bc6aca03f404",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/40483dab-683a-403f-b746-07268d816481",
"node_id": "40483dab-683a-403f-b746-07268d816481",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/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/ba99c959-899a-4a69-8808-50f500ffb817/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/918f3cf2-c5cc-419b-b596-1fee66f7e17c/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ba99c959-899a-4a69-8808-50f500ffb817/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/918f3cf2-c5cc-419b-b596-1fee66f7e17c/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/f196ae50-2d8a-4d88-85b0-77d23f634f86/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/25bc5321-5d48-4501-a710-833952931c8e/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f196ae50-2d8a-4d88-85b0-77d23f634f86/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/25bc5321-5d48-4501-a710-833952931c8e/suspend HTTP/1.1
{}

View File

@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
"headless": false,
"name": "VM1",
"node_directory": null,
"node_id": "8f49a073-184f-4549-a10b-82c3f5455737",
"node_id": "402a952f-fb89-4cb9-826c-62d25f8be104",
"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/449f8e6c-4539-4267-b360-5d4825f8332c/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/f11e60b0-4118-4f51-8920-dd778c46bd90/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/449f8e6c-4539-4267-b360-5d4825f8332c/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f11e60b0-4118-4f51-8920-dd778c46bd90/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/d04d95be-7574-4abe-8d08-9f8987557ee6/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8fdef4af-4fd8-46db-a255-efa1642444b1/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d04d95be-7574-4abe-8d08-9f8987557ee6/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8fdef4af-4fd8-46db-a255-efa1642444b1/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/df02685e-7b8c-47a8-a8bf-1f99b4f544ad/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/95d000d1-c6ab-4d6d-ba96-c159b22997c7/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/df02685e-7b8c-47a8-a8bf-1f99b4f544ad/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/95d000d1-c6ab-4d6d-ba96-c159b22997c7/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/d62cf4ec-13b6-4e24-ae3a-46b4493858f0/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0fd27b99-4f74-4a25-b8f7-5100f9ee2d00/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d62cf4ec-13b6-4e24-ae3a-46b4493858f0/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0fd27b99-4f74-4a25-b8f7-5100f9ee2d00/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/a05b8c49-5c66-4ead-84b3-d54c1e6f69a2/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/87d6e9a0-29ba-4da2-b66e-6a286ea71418/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a05b8c49-5c66-4ead-84b3-d54c1e6f69a2/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/87d6e9a0-29ba-4da2-b66e-6a286ea71418/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/d54e7054-5486-470e-819b-bfcd8dfbedf4/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c1e46f31-f129-4f0c-889f-c10f77ea985f/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d54e7054-5486-470e-819b-bfcd8dfbedf4/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c1e46f31-f129-4f0c-889f-c10f77ea985f/suspend HTTP/1.1
{}

View File

@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
"console": 5009,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/9cee80d7-1eb5-488b-839d-1b2063bbf23a",
"node_id": "9cee80d7-1eb5-488b-839d-1b2063bbf23a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/beb0c402-52f8-4125-bb43-d95328db5994",
"node_id": "beb0c402-52f8-4125-bb43-d95328db5994",
"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/5f14e09a-27f2-4e18-af20-85a3306078d2/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/c8aa4487-5133-44bc-a0e9-03f2f6a44188/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/5f14e09a-27f2-4e18-af20-85a3306078d2/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8aa4487-5133-44bc-a0e9-03f2f6a44188/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/aa6a3689-bb05-4890-936a-3b9c1e3486fe/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95edfa8e-f625-4ffe-b03c-98b4ddd29a0c/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aa6a3689-bb05-4890-936a-3b9c1e3486fe/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95edfa8e-f625-4ffe-b03c-98b4ddd29a0c/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/b2df54c4-e9be-4450-9aae-84c1882f3868/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ecbfbef-2f18-4856-831b-bb5cfaba6263/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b2df54c4-e9be-4450-9aae-84c1882f3868/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ecbfbef-2f18-4856-831b-bb5cfaba6263/start HTTP/1.1
{}
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
"console": 5009,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/b2df54c4-e9be-4450-9aae-84c1882f3868",
"node_id": "b2df54c4-e9be-4450-9aae-84c1882f3868",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/4ecbfbef-2f18-4856-831b-bb5cfaba6263",
"node_id": "4ecbfbef-2f18-4856-831b-bb5cfaba6263",
"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/5865ee83-11c4-4c6b-b4e7-6ab893b8c952/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/24c1c7fa-3a41-4c50-ac13-7e9835f1538d/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5865ee83-11c4-4c6b-b4e7-6ab893b8c952/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/24c1c7fa-3a41-4c50-ac13-7e9835f1538d/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-59/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-464/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-59/test_update_path_project_non_l0"
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-464/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/6f985fc5-3cc0-46c4-a1de-11ffe433f45e' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/110700c6-0bbf-4fa3-b0d6-b1112649da62' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6f985fc5-3cc0-46c4-a1de-11ffe433f45e HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/110700c6-0bbf-4fa3-b0d6-b1112649da62 HTTP/1.1
{
"console": 5002,
"environment": "GNS3=1\nGNS4=0",
@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"environment": "GNS3=1\nGNS4=0",
"image": "nginx:latest",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/6f985fc5-3cc0-46c4-a1de-11ffe433f45e",
"node_id": "6f985fc5-3cc0-46c4-a1de-11ffe433f45e",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/110700c6-0bbf-4fa3-b0d6-b1112649da62",
"node_id": "110700c6-0bbf-4fa3-b0d6-b1112649da62",
"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/b63e12f2-aba4-47e1-aa6c-9ae94f4a298b' -d '{"console": 5001, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a6fbcc14-c824-4524-84e1-b8f6e86614cc' -d '{"console": 5001, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b63e12f2-aba4-47e1-aa6c-9ae94f4a298b HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a6fbcc14-c824-4524-84e1-b8f6e86614cc HTTP/1.1
{
"console": 5001,
"ethernet_adapters": 4,
@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"console": 5001,
"console_type": "telnet",
"ethernet_adapters": 4,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpigme48cs/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp74v4muyi/iourc",
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/b63e12f2-aba4-47e1-aa6c-9ae94f4a298b",
"node_id": "b63e12f2-aba4-47e1-aa6c-9ae94f4a298b",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/a6fbcc14-c824-4524-84e1-b8f6e86614cc",
"node_id": "a6fbcc14-c824-4524-84e1-b8f6e86614cc",
"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/57b720a7-e55f-4a78-b559-6644a859082d' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f65d334e-a602-4182-a5ed-8295f8c1ddd5' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/57b720a7-e55f-4a78-b559-6644a859082d HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f65d334e-a602-4182-a5ed-8295f8c1ddd5 HTTP/1.1
{
"console": 5001,
"hdb_disk_image": "linux\u8f7d.img",
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:08:2d:00",
"mac_address": "00:dd:80:dd:d5:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/57b720a7-e55f-4a78-b559-6644a859082d",
"node_id": "57b720a7-e55f-4a78-b559-6644a859082d",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/f65d334e-a602-4182-a5ed-8295f8c1ddd5",
"node_id": "f65d334e-a602-4182-a5ed-8295f8c1ddd5",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/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/c03a7257-360b-4a95-8f59-37bbae5374d8' -d '{"console": 5010, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/453ecc21-f8c4-4717-9c6b-ead1fc698347' -d '{"console": 5010, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c03a7257-360b-4a95-8f59-37bbae5374d8 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/453ecc21-f8c4-4717-9c6b-ead1fc698347 HTTP/1.1
{
"console": 5010,
"name": "test"
@ -23,7 +23,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"headless": false,
"name": "test",
"node_directory": null,
"node_id": "c03a7257-360b-4a95-8f59-37bbae5374d8",
"node_id": "453ecc21-f8c4-4717-9c6b-ead1fc698347",
"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/4ded7683-3df9-4b2c-8887-2944e4ce9853' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ded7683-3df9-4b2c-8887-2944e4ce9853 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d HTTP/1.1
{
"console": 5011,
"name": "test",
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5011,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpw2wrgwu7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/4ded7683-3df9-4b2c-8887-2944e4ce9853",
"node_id": "4ded7683-3df9-4b2c-8887-2944e4ce9853",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d",
"node_id": "10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d",
"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/ec3d0a96-da91-4c9b-aef5-3e437438639b'
curl -i -X DELETE 'http://localhost:3080/v2/projects/248e88f8-8f4b-4649-8b50-93fef2235323'
DELETE /v2/projects/ec3d0a96-da91-4c9b-aef5-3e437438639b HTTP/1.1
DELETE /v2/projects/248e88f8-8f4b-4649-8b50-93fef2235323 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/ae38a73a-fe7f-4003-90da-4408ec67777c/links/d2052e95-92c4-458d-bf63-e1b29cd43593'
curl -i -X DELETE 'http://localhost:3080/v2/projects/a5c5ea6f-0081-435f-82e0-e4be797c8e6b/links/e043b7c6-46cf-4db4-a600-1d59ce45899a'
DELETE /v2/projects/ae38a73a-fe7f-4003-90da-4408ec67777c/links/d2052e95-92c4-458d-bf63-e1b29cd43593 HTTP/1.1
DELETE /v2/projects/a5c5ea6f-0081-435f-82e0-e4be797c8e6b/links/e043b7c6-46cf-4db4-a600-1d59ce45899a HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/f2fb4cb4-4aac-4b2a-8d61-3551c2070296/nodes/fb2285cf-2b9e-4f44-b44f-11a881c06158'
curl -i -X DELETE 'http://localhost:3080/v2/projects/fd422f2c-81b9-4256-8009-c86184321f55/nodes/e6a25358-2871-4f13-8e1e-541b3dc4379a'
DELETE /v2/projects/f2fb4cb4-4aac-4b2a-8d61-3551c2070296/nodes/fb2285cf-2b9e-4f44-b44f-11a881c06158 HTTP/1.1
DELETE /v2/projects/fd422f2c-81b9-4256-8009-c86184321f55/nodes/e6a25358-2871-4f13-8e1e-541b3dc4379a HTTP/1.1

View File

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

View File

@ -1,18 +1,20 @@
curl -i -X GET 'http://localhost:3080/v2/projects/4f117642-06d0-44cf-aec6-18dffd5d111d'
curl -i -X GET 'http://localhost:3080/v2/projects/5b7ee681-e0f7-4171-a169-a93dda27acbf'
GET /v2/projects/4f117642-06d0-44cf-aec6-18dffd5d111d HTTP/1.1
GET /v2/projects/5b7ee681-e0f7-4171-a169-a93dda27acbf HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 202
CONTENT-LENGTH: 255
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpjtov5pox/projects/4f117642-06d0-44cf-aec6-18dffd5d111d",
"project_id": "4f117642-06d0-44cf-aec6-18dffd5d111d"
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvldzguvu/projects/5b7ee681-e0f7-4171-a169-a93dda27acbf",
"project_id": "5b7ee681-e0f7-4171-a169-a93dda27acbf",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/f624c737-5716-4154-83bf-4d6e2b6c5955/links'
curl -i -X GET 'http://localhost:3080/v2/projects/6301354b-5871-41b0-a10a-f3a045e7b984/links'
GET /v2/projects/f624c737-5716-4154-83bf-4d6e2b6c5955/links HTTP/1.1
GET /v2/projects/6301354b-5871-41b0-a10a-f3a045e7b984/links HTTP/1.1
@ -16,19 +16,19 @@ X-ROUTE: /v2/projects/{project_id}/links
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "c3ff571c-6a8e-4010-98ee-48438808aed7",
"link_id": "dfb56d2f-daae-453d-963c-d03bb5f23ad7",
"nodes": [
{
"adapter_number": 0,
"node_id": "ddc8e736-e4ec-41f0-8b0a-dc6f69b4e748",
"node_id": "f22c215f-0f73-49c6-9466-a0d98d4f5b14",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "24a399c7-5d5d-4586-966c-69382bfbf533",
"node_id": "3c615e0b-e819-428e-bb4f-0e96467e660a",
"port_number": 4
}
],
"project_id": "f624c737-5716-4154-83bf-4d6e2b6c5955"
"project_id": "6301354b-5871-41b0-a10a-f3a045e7b984"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/b56b2922-9cd6-4640-a39d-4ed03a40e39a/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/4db04e8e-5df7-4ad1-b89e-f45218f36df9/nodes'
GET /v2/projects/b56b2922-9cd6-4640-a39d-4ed03a40e39a/nodes HTTP/1.1
GET /v2/projects/4db04e8e-5df7-4ad1-b89e-f45218f36df9/nodes HTTP/1.1
@ -27,9 +27,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "4af8f65f-08af-4741-94e4-0e82c666e1a7",
"node_id": "cc12d10b-8549-4065-8d2f-a8a385a1a5ca",
"node_type": "vpcs",
"project_id": "b56b2922-9cd6-4640-a39d-4ed03a40e39a",
"project_id": "4db04e8e-5df7-4ad1-b89e-f45218f36df9",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/8561dcfe-7bab-4b0a-a7a1-31e32d9bb7cc/nodes/3501eb42-4f6a-47d3-acbd-a30247ce43f2/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/3c1f5406-301a-4843-b037-9d75df7cc716/nodes/2be9b3df-9539-4280-96a5-022693ee7b11/dynamips/auto_idlepc'
GET /v2/projects/8561dcfe-7bab-4b0a-a7a1-31e32d9bb7cc/nodes/3501eb42-4f6a-47d3-acbd-a30247ce43f2/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/3c1f5406-301a-4843-b037-9d75df7cc716/nodes/2be9b3df-9539-4280-96a5-022693ee7b11/dynamips/auto_idlepc HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/11e4c541-41a9-45dd-99af-0be53d7be01b/nodes/a7437f2d-10f3-4e1a-ade1-6e128fdf4808/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/ab98542c-0fa1-480f-817c-10904260d367/nodes/7cf9357e-a006-41a5-9ce4-7a42d47ebe6b/dynamips/idlepc_proposals'
GET /v2/projects/11e4c541-41a9-45dd-99af-0be53d7be01b/nodes/a7437f2d-10f3-4e1a-ade1-6e128fdf4808/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/ab98542c-0fa1-480f-817c-10904260d367/nodes/7cf9357e-a006-41a5-9ce4-7a42d47ebe6b/dynamips/idlepc_proposals HTTP/1.1

View File

@ -8,14 +8,16 @@ POST /v2/projects HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 202
CONTENT-LENGTH: 255
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps3aq2nxt/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfm_m65vw/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"status": "opened"
}

View File

@ -1,12 +1,20 @@
curl -i -X POST 'http://localhost:3080/v2/projects/20a74408-fa2f-43be-beb3-1207a5a0b8d6/close' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/28470b00-1d97-4c41-87fa-59cdfc48b569/close' -d '{}'
POST /v2/projects/20a74408-fa2f-43be-beb3-1207a5a0b8d6/close HTTP/1.1
POST /v2/projects/28470b00-1d97-4c41-87fa-59cdfc48b569/close HTTP/1.1
{}
HTTP/1.1 204
CONTENT-LENGTH: 0
HTTP/1.1 201
CONTENT-LENGTH: 255
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/close
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm2mpk9nl/projects/28470b00-1d97-4c41-87fa-59cdfc48b569",
"project_id": "28470b00-1d97-4c41-87fa-59cdfc48b569",
"status": "opened"
}

View File

@ -1,16 +1,16 @@
curl -i -X POST 'http://localhost:3080/v2/projects/ccb10cc2-de54-438f-9c63-31f995fd8602/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "bea5549b-a28c-49b1-8b04-d6042e151274", "port_number": 3}, {"adapter_number": 2, "node_id": "93b44fb7-66b5-4d74-b38f-704becf510e5", "port_number": 4}]}'
curl -i -X POST 'http://localhost:3080/v2/projects/4b26b9e2-b6c7-4d9a-b41c-df418e59705d/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "d66def95-2072-4be8-9fc2-393c722f72ee", "port_number": 3}, {"adapter_number": 2, "node_id": "f5a82ae5-92e5-4bb1-99fc-bf7054a9b136", "port_number": 4}]}'
POST /v2/projects/ccb10cc2-de54-438f-9c63-31f995fd8602/links HTTP/1.1
POST /v2/projects/4b26b9e2-b6c7-4d9a-b41c-df418e59705d/links HTTP/1.1
{
"nodes": [
{
"adapter_number": 0,
"node_id": "bea5549b-a28c-49b1-8b04-d6042e151274",
"node_id": "d66def95-2072-4be8-9fc2-393c722f72ee",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "93b44fb7-66b5-4d74-b38f-704becf510e5",
"node_id": "f5a82ae5-92e5-4bb1-99fc-bf7054a9b136",
"port_number": 4
}
]
@ -28,18 +28,18 @@ X-ROUTE: /v2/projects/{project_id}/links
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "8ebfe109-0326-4c9b-8942-4859219a322c",
"link_id": "b7b7c5c5-e14d-4d40-a1c8-01a0393e2fe5",
"nodes": [
{
"adapter_number": 0,
"node_id": "bea5549b-a28c-49b1-8b04-d6042e151274",
"node_id": "d66def95-2072-4be8-9fc2-393c722f72ee",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "93b44fb7-66b5-4d74-b38f-704becf510e5",
"node_id": "f5a82ae5-92e5-4bb1-99fc-bf7054a9b136",
"port_number": 4
}
],
"project_id": "ccb10cc2-de54-438f-9c63-31f995fd8602"
"project_id": "4b26b9e2-b6c7-4d9a-b41c-df418e59705d"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/50e47414-d878-403f-be8b-4ed622036def/links/35edeb47-cd64-41a0-828a-0fba3c037a15/start_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/80310f84-36ba-4734-89cb-25c5b880b8c4/links/f6ec83ac-9800-4df5-b43f-48c9d12e7722/start_capture' -d '{}'
POST /v2/projects/50e47414-d878-403f-be8b-4ed622036def/links/35edeb47-cd64-41a0-828a-0fba3c037a15/start_capture HTTP/1.1
POST /v2/projects/80310f84-36ba-4734-89cb-25c5b880b8c4/links/f6ec83ac-9800-4df5-b43f-48c9d12e7722/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": "35edeb47-cd64-41a0-828a-0fba3c037a15",
"link_id": "f6ec83ac-9800-4df5-b43f-48c9d12e7722",
"nodes": [],
"project_id": "50e47414-d878-403f-be8b-4ed622036def"
"project_id": "80310f84-36ba-4734-89cb-25c5b880b8c4"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/0960f572-9fda-4618-8191-d3ca5cafc7fe/links/1853651e-86d3-46a8-a249-ad8fc865a225/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/24984f8d-48c3-4a50-86f3-24b815398d39/links/f478c4d5-ece4-4afd-9d07-762a92733798/stop_capture' -d '{}'
POST /v2/projects/0960f572-9fda-4618-8191-d3ca5cafc7fe/links/1853651e-86d3-46a8-a249-ad8fc865a225/stop_capture HTTP/1.1
POST /v2/projects/24984f8d-48c3-4a50-86f3-24b815398d39/links/f478c4d5-ece4-4afd-9d07-762a92733798/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": "1853651e-86d3-46a8-a249-ad8fc865a225",
"link_id": "f478c4d5-ece4-4afd-9d07-762a92733798",
"nodes": [],
"project_id": "0960f572-9fda-4618-8191-d3ca5cafc7fe"
"project_id": "24984f8d-48c3-4a50-86f3-24b815398d39"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/864184b9-9b98-4fed-899c-c25761ee114f/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/8739d479-a050-4ac2-b05f-6ee1a4bb7cb3/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
POST /v2/projects/864184b9-9b98-4fed-899c-c25761ee114f/nodes HTTP/1.1
POST /v2/projects/8739d479-a050-4ac2-b05f-6ee1a4bb7cb3/nodes HTTP/1.1
{
"compute_id": "example.com",
"name": "test",
@ -33,9 +33,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "0ec53df2-94a0-4b68-801f-dfba4abeb417",
"node_id": "c6d5d795-3a23-4d18-ae51-9793b99ccbde",
"node_type": "vpcs",
"project_id": "864184b9-9b98-4fed-899c-c25761ee114f",
"project_id": "8739d479-a050-4ac2-b05f-6ee1a4bb7cb3",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/29544ae3-9d48-4493-aa66-fb7300524f19/nodes/9b5be59b-beb9-4875-ad19-92ef90e8b9f8/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/e0ff2c4e-7351-49d1-91bd-e3c58d994031/nodes/4c6753a3-c1aa-4388-98bc-f0889c941979/reload' -d '{}'
POST /v2/projects/29544ae3-9d48-4493-aa66-fb7300524f19/nodes/9b5be59b-beb9-4875-ad19-92ef90e8b9f8/reload HTTP/1.1
POST /v2/projects/e0ff2c4e-7351-49d1-91bd-e3c58d994031/nodes/4c6753a3-c1aa-4388-98bc-f0889c941979/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/d62c1dc1-325b-4a79-85bd-87a0880940aa/nodes/0eb21443-0193-4ca9-b6b6-71f2906dd8bc/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/6c654243-1e95-4481-b520-325229aef4cd/nodes/9e45f84f-d2ea-4367-ac41-f6e743c27c7a/start' -d '{}'
POST /v2/projects/d62c1dc1-325b-4a79-85bd-87a0880940aa/nodes/0eb21443-0193-4ca9-b6b6-71f2906dd8bc/start HTTP/1.1
POST /v2/projects/6c654243-1e95-4481-b520-325229aef4cd/nodes/9e45f84f-d2ea-4367-ac41-f6e743c27c7a/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/70e173a1-3585-441c-9b73-97d768c48093/nodes/e2003abc-6492-4aee-bf17-be6d6736290f/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/659907a6-80ce-41ba-a7ae-274896c96ab4/nodes/e033a42e-3935-48fb-ba2b-0eb1dccd302e/stop' -d '{}'
POST /v2/projects/70e173a1-3585-441c-9b73-97d768c48093/nodes/e2003abc-6492-4aee-bf17-be6d6736290f/stop HTTP/1.1
POST /v2/projects/659907a6-80ce-41ba-a7ae-274896c96ab4/nodes/e033a42e-3935-48fb-ba2b-0eb1dccd302e/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/b0a1c9f3-0f47-456f-97c5-a1ed28c7c735/nodes/771610fc-ef35-448a-a511-ecd4ce5aaf9a/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/c8c42d54-b322-4bb0-81a2-1e1cb7477e40/nodes/ae0d0dbb-23bd-4fe8-a48b-357990d013cd/suspend' -d '{}'
POST /v2/projects/b0a1c9f3-0f47-456f-97c5-a1ed28c7c735/nodes/771610fc-ef35-448a-a511-ecd4ce5aaf9a/suspend HTTP/1.1
POST /v2/projects/c8c42d54-b322-4bb0-81a2-1e1cb7477e40/nodes/ae0d0dbb-23bd-4fe8-a48b-357990d013cd/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/8604963f-178c-435c-859a-8c78aec2e997/nodes/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/e504c535-e2b5-40da-a212-3dc756f897e3/nodes/reload' -d '{}'
POST /v2/projects/8604963f-178c-435c-859a-8c78aec2e997/nodes/reload HTTP/1.1
POST /v2/projects/e504c535-e2b5-40da-a212-3dc756f897e3/nodes/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e79ec375-fbee-4ee9-8e12-5a8e77ec4f9c/nodes/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/88955633-d4fe-4719-af8b-d750d53e6a15/nodes/start' -d '{}'
POST /v2/projects/e79ec375-fbee-4ee9-8e12-5a8e77ec4f9c/nodes/start HTTP/1.1
POST /v2/projects/88955633-d4fe-4719-af8b-d750d53e6a15/nodes/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/ad37c18e-faea-43fb-8b0e-7749ea8b8c04/nodes/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/5a0f6467-5730-44f8-b23e-9fbc2e28c5d3/nodes/stop' -d '{}'
POST /v2/projects/ad37c18e-faea-43fb-8b0e-7749ea8b8c04/nodes/stop HTTP/1.1
POST /v2/projects/5a0f6467-5730-44f8-b23e-9fbc2e28c5d3/nodes/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/4b11f4f7-92a2-43ae-bc66-678dbd0ac260/nodes/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/cdedc8f0-a69a-405c-87e2-3b1f1986c0d9/nodes/suspend' -d '{}'
POST /v2/projects/4b11f4f7-92a2-43ae-bc66-678dbd0ac260/nodes/suspend HTTP/1.1
POST /v2/projects/cdedc8f0-a69a-405c-87e2-3b1f1986c0d9/nodes/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/projects/a4013a3d-691b-4de1-a4f4-e1900b4577d1/nodes/a94cd0e2-e20d-4df0-aece-7c06d10fd120' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
curl -i -X PUT 'http://localhost:3080/v2/projects/2062eae3-4ebe-42c3-ba51-c6dea6385c38/nodes/e1ecb130-9771-4d73-aea7-af471bbd545b' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
PUT /v2/projects/a4013a3d-691b-4de1-a4f4-e1900b4577d1/nodes/a94cd0e2-e20d-4df0-aece-7c06d10fd120 HTTP/1.1
PUT /v2/projects/2062eae3-4ebe-42c3-ba51-c6dea6385c38/nodes/e1ecb130-9771-4d73-aea7-af471bbd545b HTTP/1.1
{
"compute_id": "example.com",
"name": "test",
@ -33,9 +33,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
},
"name": "test",
"node_directory": null,
"node_id": "a94cd0e2-e20d-4df0-aece-7c06d10fd120",
"node_id": "e1ecb130-9771-4d73-aea7-af471bbd545b",
"node_type": "vpcs",
"project_id": "a4013a3d-691b-4de1-a4f4-e1900b4577d1",
"project_id": "2062eae3-4ebe-42c3-ba51-c6dea6385c38",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **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
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **node_id**: Node UUID
Response status codes
**********************
@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **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
- **project_id**: Project UUID
- **adapter_number**: Adapter on the switch (always 0)
- **port_number**: Port on the switch
- **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
**********************

View File

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

View File

@ -9,8 +9,8 @@ Get a cloud instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************
@ -39,8 +39,8 @@ Update a cloud instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************
@ -144,8 +144,8 @@ Delete a cloud 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 a cloud instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **port_number**: Port on the cloud
- **node_id**: Node UUID
Response status codes
**********************
@ -27,10 +27,10 @@ Remove a NIO from a cloud instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter on the cloud (always 0)
- **port_number**: Port on the cloud
- **node_id**: Node UUID
Response status codes
**********************

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,8 +9,8 @@ Delete a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************
@ -25,8 +25,8 @@ Update a Docker 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 a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **node_id**: Node UUID
Response status codes
**********************
@ -33,10 +33,10 @@ Remove a NIO from a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **node_id**: Node UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Start a packet capture on a Docker container instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter to start a packet capture
- **port_number**: Port on the adapter
- **node_id**: Node UUID
Response status codes
**********************

View File

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

View File

@ -9,8 +9,8 @@ Pause a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Restart a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************

View File

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

View File

@ -9,8 +9,8 @@ Stop a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Unpause a Docker container
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a Dynamips VM instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************
@ -79,8 +79,8 @@ Update a Dynamips VM instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
**********************
@ -202,8 +202,8 @@ Delete a Dynamips VM 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 a Dynamips VM instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **node_id**: Node UUID
Response status codes
**********************
@ -27,10 +27,10 @@ Remove a NIO from a Dynamips VM instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter from where the nio should be removed
- **port_number**: Port on the adapter
- **node_id**: Node UUID
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Start a packet capture on a Dynamips VM instance
Parameters
**********
- **node_id**: Node UUID
- **project_id**: Project UUID
- **adapter_number**: Adapter to start a packet capture
- **port_number**: Port on the adapter
- **node_id**: Node UUID
Response status codes
**********************

View File

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

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