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-21 10:31:00 +02:00
parent 32252e5193
commit 679774430a
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
112 changed files with 260 additions and 560 deletions

View File

@ -1,6 +1,6 @@
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'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a7213aae-0196-4ad6-bb97-572df1db39e3/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/18ee7f7b-40fc-45ea-a82c-87ca09828405/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a7213aae-0196-4ad6-bb97-572df1db39e3/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/bbcd0346-f279-40e2-b30f-ca1f1a534b55'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9d0cb847-a052-43ce-b74c-c202df4cda80'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bbcd0346-f279-40e2-b30f-ca1f1a534b55 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9d0cb847-a052-43ce-b74c-c202df4cda80 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/269cc477-f523-48c8-8641-a9eca0ddf8c2/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/51628d83-de2c-43b9-84b1-856c8349e01a/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/269cc477-f523-48c8-8641-a9eca0ddf8c2/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/51628d83-de2c-43b9-84b1-856c8349e01a/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/7cfe317a-63dd-4cde-ac2a-4b58f84ca8fd'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e0ed4f6-19b3-4fcd-b1ad-c4cf57247956'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7cfe317a-63dd-4cde-ac2a-4b58f84ca8fd HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e0ed4f6-19b3-4fcd-b1ad-c4cf57247956 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/fbb9ec7a-19be-488c-b37e-e777d2426cce/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/11c3b454-972b-4ba6-aa90-6359e7b357ab/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fbb9ec7a-19be-488c-b37e-e777d2426cce/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/11c3b454-972b-4ba6-aa90-6359e7b357ab/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/adb0c6e3-5d54-4d91-936a-0d66bc145cf1/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bc64b387-86a8-4266-8a72-d21a6b20ef91/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/adb0c6e3-5d54-4d91-936a-0d66bc145cf1/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bc64b387-86a8-4266-8a72-d21a6b20ef91/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/e3da87e3-8b8e-4e97-96ba-c5cfa7267096'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bdf16788-9f19-43e4-9e65-2fe2b67d8dea'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3da87e3-8b8e-4e97-96ba-c5cfa7267096 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bdf16788-9f19-43e4-9e65-2fe2b67d8dea 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/4c4c1e1e-359b-4495-9ffa-58819cee94e5/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/435fb0a9-8b68-4417-b6bc-aaad78ee39f3/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4c4c1e1e-359b-4495-9ffa-58819cee94e5/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/435fb0a9-8b68-4417-b6bc-aaad78ee39f3/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: 9218
CONTENT-LENGTH: 1994
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -101,305 +101,5 @@ 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

@ -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,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38c41e15-02b1-4e87-bf18-55d4e85c20d0'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e80fa65b-bfc0-46d1-9c60-e9e38e45f06c'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38c41e15-02b1-4e87-bf18-55d4e85c20d0 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e80fa65b-bfc0-46d1-9c60-e9e38e45f06c 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/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/38c41e15-02b1-4e87-bf18-55d4e85c20d0",
"node_id": "38c41e15-02b1-4e87-bf18-55d4e85c20d0",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/e80fa65b-bfc0-46d1-9c60-e9e38e45f06c",
"node_id": "e80fa65b-bfc0-46d1-9c60-e9e38e45f06c",
"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/d19b2b5c-aa47-4322-bda8-43b773bb7487/configs'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/47d3d9b7-bad6-4f30-9922-69386fa816f7/configs'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d19b2b5c-aa47-4322-bda8-43b773bb7487/configs HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/47d3d9b7-bad6-4f30-9922-69386fa816f7/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/cf594bad-4919-4082-aab1-f50c28d560a2'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6c2c6a70-b137-426e-93bb-a6faf5b8d119'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cf594bad-4919-4082-aab1-f50c28d560a2 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6c2c6a70-b137-426e-93bb-a6faf5b8d119 HTTP/1.1
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:60:a2:00",
"mac_address": "00:dd:80:d1:19:00",
"name": "PC TEST 1",
"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",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6c2c6a70-b137-426e-93bb-a6faf5b8d119",
"node_id": "6c2c6a70-b137-426e-93bb-a6faf5b8d119",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/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/9f52dbaa-6606-435f-80a1-ad19fb25d9fe'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcdbdf11-5fea-412f-a8b0-bf5f97547257'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f52dbaa-6606-435f-80a1-ad19fb25d9fe HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcdbdf11-5fea-412f-a8b0-bf5f97547257 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": "9f52dbaa-6606-435f-80a1-ad19fb25d9fe",
"node_id": "fcdbdf11-5fea-412f-a8b0-bf5f97547257",
"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/d9c46ef7-2fad-4a6d-9639-0ef080358889'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/06375e41-eda9-432e-95bc-7bb7ea66cc66'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d9c46ef7-2fad-4a6d-9639-0ef080358889 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/06375e41-eda9-432e-95bc-7bb7ea66cc66 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/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d9c46ef7-2fad-4a6d-9639-0ef080358889",
"node_id": "d9c46ef7-2fad-4a6d-9639-0ef080358889",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/06375e41-eda9-432e-95bc-7bb7ea66cc66",
"node_id": "06375e41-eda9-432e-95bc-7bb7ea66cc66",
"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/997625d9-e2d0-4865-b83a-022a54f24acb/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/71ee7d54-59aa-4e26-8537-cea678e1aac0/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/997625d9-e2d0-4865-b83a-022a54f24acb/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/71ee7d54-59aa-4e26-8537-cea678e1aac0/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/b10c9d90-8ded-493a-b015-bfd681561c3f/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/52b4bbc9-0936-4727-b8f1-ee54a2dc0220/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/b10c9d90-8ded-493a-b015-bfd681561c3f/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/52b4bbc9-0936-4727-b8f1-ee54a2dc0220/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/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/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/7d223427-edf2-4cbd-ac82-51df3252e4b1/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ee9c1de4-b68a-477f-8e67-729cb0c99622/adapters/0/ports/0/stop_capture' -d '{}'
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
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ee9c1de4-b68a-477f-8e67-729cb0c99622/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": "3db86e60-ebfd-4218-bd1a-03b5c9f14075", "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": "de086f98-3c69-4b30-9963-b85a3bea2987", "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": "3db86e60-ebfd-4218-bd1a-03b5c9f14075",
"node_id": "de086f98-3c69-4b30-9963-b85a3bea2987",
"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/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/3db86e60-ebfd-4218-bd1a-03b5c9f14075",
"node_id": "3db86e60-ebfd-4218-bd1a-03b5c9f14075",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/de086f98-3c69-4b30-9963-b85a3bea2987",
"node_id": "de086f98-3c69-4b30-9963-b85a3bea2987",
"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/07039f0a-5fca-4476-a083-d38c755a05f9/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/fe0f2fa3-71a8-4bcb-b758-015b05f5cf39/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/07039f0a-5fca-4476-a083-d38c755a05f9/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/fe0f2fa3-71a8-4bcb-b758-015b05f5cf39/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/355ede89-81d8-4cd7-8152-5c238433d932/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/c8eba450-d99f-4115-94c2-3dd4e9fbfbe4/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/355ede89-81d8-4cd7-8152-5c238433d932/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c8eba450-d99f-4115-94c2-3dd4e9fbfbe4/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/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/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/f67b7caa-490c-472d-83d1-53e3c8152b2b/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e9e08c12-c071-4fc3-ade8-275c9415c12e/adapters/0/ports/0/stop_capture' -d '{}'
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
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e9e08c12-c071-4fc3-ade8-275c9415c12e/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/4fa9590b-8c7c-40d7-afb7-0c47ddeb4426/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d22f6810-6a18-411f-bee8-6ab02dabd173/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4fa9590b-8c7c-40d7-afb7-0c47ddeb4426/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d22f6810-6a18-411f-bee8-6ab02dabd173/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/9321bffc-16e7-4305-adb7-da96a0c16c78/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5b320d9b-2d42-4a8e-a6ec-a242335d0303/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9321bffc-16e7-4305-adb7-da96a0c16c78/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5b320d9b-2d42-4a8e-a6ec-a242335d0303/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/tmpw9xziqol/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpkbxgwuv8/iourc",
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"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",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/5b320d9b-2d42-4a8e-a6ec-a242335d0303",
"node_id": "5b320d9b-2d42-4a8e-a6ec-a242335d0303",
"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/3debae10-c5ce-4367-9fd8-52752ffb159c/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77859f95-476b-4657-b919-2c6f77798f24/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3debae10-c5ce-4367-9fd8-52752ffb159c/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77859f95-476b-4657-b919-2c6f77798f24/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/tmphi1ia0uh/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/tmpgv_cpvrl/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/tmphi1ia0uh/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/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:76:f9:00",
"mac_address": "00:dd:80:ac:3b:00",
"name": "PC TEST 1",
"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",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4d2c4e9d-586f-4eaa-aea9-35a62e4eac3b",
"node_id": "4d2c4e9d-586f-4eaa-aea9-35a62e4eac3b",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/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/9cbbd8dc-6cfd-4c50-a03e-71aef9ca9ed9/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/8d4ac657-2ee7-411c-84d1-3597959f908a/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9cbbd8dc-6cfd-4c50-a03e-71aef9ca9ed9/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8d4ac657-2ee7-411c-84d1-3597959f908a/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/ce0762fc-ff07-4756-9431-15a5743597b8/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4cc13aa1-1d04-4d4b-a60f-2179a370e5fd/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ce0762fc-ff07-4756-9431-15a5743597b8/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4cc13aa1-1d04-4d4b-a60f-2179a370e5fd/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/d5dc3a1b-cee9-49c6-bfe0-0fce6761400b/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/85062acb-dcd1-4d57-9511-6183e669402f/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d5dc3a1b-cee9-49c6-bfe0-0fce6761400b/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/85062acb-dcd1-4d57-9511-6183e669402f/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/40483dab-683a-403f-b746-07268d816481/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ed1aaee-6ac7-4323-80b9-a3a6875bc543/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/40483dab-683a-403f-b746-07268d816481/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9ed1aaee-6ac7-4323-80b9-a3a6875bc543/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:64:81:00",
"mac_address": "00:dd:80:c5:43:00",
"name": "PC TEST 1",
"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",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9ed1aaee-6ac7-4323-80b9-a3a6875bc543",
"node_id": "9ed1aaee-6ac7-4323-80b9-a3a6875bc543",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/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/918f3cf2-c5cc-419b-b596-1fee66f7e17c/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd697e16-da95-45a8-b803-a5d8568d9f19/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/918f3cf2-c5cc-419b-b596-1fee66f7e17c/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd697e16-da95-45a8-b803-a5d8568d9f19/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/25bc5321-5d48-4501-a710-833952931c8e/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3b3ba5c9-9353-4308-8f84-3f8821d3efe3/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/25bc5321-5d48-4501-a710-833952931c8e/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3b3ba5c9-9353-4308-8f84-3f8821d3efe3/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": "402a952f-fb89-4cb9-826c-62d25f8be104",
"node_id": "72d0484c-92ab-47a6-b4c8-0ec92f5b00f4",
"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/f11e60b0-4118-4f51-8920-dd778c46bd90/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/43fd3621-a8f7-4c75-947f-b47889001294/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/f11e60b0-4118-4f51-8920-dd778c46bd90/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43fd3621-a8f7-4c75-947f-b47889001294/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/8fdef4af-4fd8-46db-a255-efa1642444b1/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ff2dd0fe-48b3-402d-8e07-154515c005c2/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8fdef4af-4fd8-46db-a255-efa1642444b1/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ff2dd0fe-48b3-402d-8e07-154515c005c2/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/95d000d1-c6ab-4d6d-ba96-c159b22997c7/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5d0351a-91da-4561-b949-1afae4a99546/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/95d000d1-c6ab-4d6d-ba96-c159b22997c7/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b5d0351a-91da-4561-b949-1afae4a99546/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/0fd27b99-4f74-4a25-b8f7-5100f9ee2d00/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a4455db3-7d7e-4214-a58c-21281af099b4/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0fd27b99-4f74-4a25-b8f7-5100f9ee2d00/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a4455db3-7d7e-4214-a58c-21281af099b4/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/87d6e9a0-29ba-4da2-b66e-6a286ea71418/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3b3bc1f2-2b47-4622-b506-6dde55d4c6b5/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/87d6e9a0-29ba-4da2-b66e-6a286ea71418/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3b3bc1f2-2b47-4622-b506-6dde55d4c6b5/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/c1e46f31-f129-4f0c-889f-c10f77ea985f/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/59ac29d8-1ba6-43ee-8014-ba98979efb78/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c1e46f31-f129-4f0c-889f-c10f77ea985f/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/59ac29d8-1ba6-43ee-8014-ba98979efb78/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/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/beb0c402-52f8-4125-bb43-d95328db5994",
"node_id": "beb0c402-52f8-4125-bb43-d95328db5994",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/881903a1-1f73-4719-98e3-1f0c1a5c86b8",
"node_id": "881903a1-1f73-4719-98e3-1f0c1a5c86b8",
"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/c8aa4487-5133-44bc-a0e9-03f2f6a44188/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/4c98e681-04ac-4621-85cd-f5bcfefaf940/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/c8aa4487-5133-44bc-a0e9-03f2f6a44188/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4c98e681-04ac-4621-85cd-f5bcfefaf940/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/95edfa8e-f625-4ffe-b03c-98b4ddd29a0c/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cc86b700-cf02-4450-b142-d6047cd99213/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/95edfa8e-f625-4ffe-b03c-98b4ddd29a0c/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cc86b700-cf02-4450-b142-d6047cd99213/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/4ecbfbef-2f18-4856-831b-bb5cfaba6263/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30cfeaee-1e13-4445-8784-f1ca0d3eb628/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ecbfbef-2f18-4856-831b-bb5cfaba6263/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30cfeaee-1e13-4445-8784-f1ca0d3eb628/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/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/4ecbfbef-2f18-4856-831b-bb5cfaba6263",
"node_id": "4ecbfbef-2f18-4856-831b-bb5cfaba6263",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/30cfeaee-1e13-4445-8784-f1ca0d3eb628",
"node_id": "30cfeaee-1e13-4445-8784-f1ca0d3eb628",
"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/24c1c7fa-3a41-4c50-ac13-7e9835f1538d/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/119d99a4-e6f1-49e7-a41a-a493791f5062/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/24c1c7fa-3a41-4c50-ac13-7e9835f1538d/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/119d99a4-e6f1-49e7-a41a-a493791f5062/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-464/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-104/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-464/test_update_path_project_non_l0"
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-104/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/110700c6-0bbf-4fa3-b0d6-b1112649da62' -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/035a8728-7106-4da2-a31b-3e8341016c68' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/110700c6-0bbf-4fa3-b0d6-b1112649da62 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/035a8728-7106-4da2-a31b-3e8341016c68 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/tmpeiiori6h/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/110700c6-0bbf-4fa3-b0d6-b1112649da62",
"node_id": "110700c6-0bbf-4fa3-b0d6-b1112649da62",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/035a8728-7106-4da2-a31b-3e8341016c68",
"node_id": "035a8728-7106-4da2-a31b-3e8341016c68",
"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/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}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548df6a0-7750-485c-a2a6-9a4bdbda76da' -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/a6fbcc14-c824-4524-84e1-b8f6e86614cc HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548df6a0-7750-485c-a2a6-9a4bdbda76da 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/tmp74v4muyi/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgyk7lrbu/iourc",
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"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",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8nhhxswp/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/548df6a0-7750-485c-a2a6-9a4bdbda76da",
"node_id": "548df6a0-7750-485c-a2a6-9a4bdbda76da",
"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/f65d334e-a602-4182-a5ed-8295f8c1ddd5' -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/495bfebf-4a08-4de8-8e78-2210c617590f' -d '{"console": 5001, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f65d334e-a602-4182-a5ed-8295f8c1ddd5 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/495bfebf-4a08-4de8-8e78-2210c617590f 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:dd:d5:00",
"mac_address": "00:dd:80:59:0f:00",
"name": "test",
"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",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/495bfebf-4a08-4de8-8e78-2210c617590f",
"node_id": "495bfebf-4a08-4de8-8e78-2210c617590f",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphi1ia0uh/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgv_cpvrl/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/453ecc21-f8c4-4717-9c6b-ead1fc698347' -d '{"console": 5010, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5916740e-d857-4213-bc9e-7a000df767f5' -d '{"console": 5010, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/453ecc21-f8c4-4717-9c6b-ead1fc698347 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5916740e-d857-4213-bc9e-7a000df767f5 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": "453ecc21-f8c4-4717-9c6b-ead1fc698347",
"node_id": "5916740e-d857-4213-bc9e-7a000df767f5",
"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/10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d' -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/5dc686e1-bb21-4d8f-bb5e-83c905b26a94' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5dc686e1-bb21-4d8f-bb5e-83c905b26a94 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/tmp1za8k4vs/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d",
"node_id": "10ea7b63-6bdb-4d58-8efa-e9ce5ade6a7d",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz3c34_yf/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/5dc686e1-bb21-4d8f-bb5e-83c905b26a94",
"node_id": "5dc686e1-bb21-4d8f-bb5e-83c905b26a94",
"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/248e88f8-8f4b-4649-8b50-93fef2235323'
curl -i -X DELETE 'http://localhost:3080/v2/projects/f4989250-9ff4-47bf-b8c4-f62f2fef4fd2'
DELETE /v2/projects/248e88f8-8f4b-4649-8b50-93fef2235323 HTTP/1.1
DELETE /v2/projects/f4989250-9ff4-47bf-b8c4-f62f2fef4fd2 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/a5c5ea6f-0081-435f-82e0-e4be797c8e6b/links/e043b7c6-46cf-4db4-a600-1d59ce45899a'
curl -i -X DELETE 'http://localhost:3080/v2/projects/a9b65871-ca90-4aad-af18-d4faff6f5ede/links/88d0d1ef-e83b-44ae-94be-6751f32c3476'
DELETE /v2/projects/a5c5ea6f-0081-435f-82e0-e4be797c8e6b/links/e043b7c6-46cf-4db4-a600-1d59ce45899a HTTP/1.1
DELETE /v2/projects/a9b65871-ca90-4aad-af18-d4faff6f5ede/links/88d0d1ef-e83b-44ae-94be-6751f32c3476 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/fd422f2c-81b9-4256-8009-c86184321f55/nodes/e6a25358-2871-4f13-8e1e-541b3dc4379a'
curl -i -X DELETE 'http://localhost:3080/v2/projects/8a4c8a06-8b66-440f-b557-bed0b7fd6fd4/nodes/b657f00b-def3-468c-9bd2-2feb257ac365'
DELETE /v2/projects/fd422f2c-81b9-4256-8009-c86184321f55/nodes/e6a25358-2871-4f13-8e1e-541b3dc4379a HTTP/1.1
DELETE /v2/projects/8a4c8a06-8b66-440f-b557-bed0b7fd6fd4/nodes/b657f00b-def3-468c-9bd2-2feb257ac365 HTTP/1.1

View File

@ -15,7 +15,7 @@ X-ROUTE: /v2/projects
{
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-464/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-104/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/5b7ee681-e0f7-4171-a169-a93dda27acbf'
curl -i -X GET 'http://localhost:3080/v2/projects/8df81529-a095-412d-8530-c950246bdfd9'
GET /v2/projects/5b7ee681-e0f7-4171-a169-a93dda27acbf HTTP/1.1
GET /v2/projects/8df81529-a095-412d-8530-c950246bdfd9 HTTP/1.1
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects/{project_id}
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvldzguvu/projects/5b7ee681-e0f7-4171-a169-a93dda27acbf",
"project_id": "5b7ee681-e0f7-4171-a169-a93dda27acbf",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmppk9_djqt/projects/8df81529-a095-412d-8530-c950246bdfd9",
"project_id": "8df81529-a095-412d-8530-c950246bdfd9",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/6301354b-5871-41b0-a10a-f3a045e7b984/links'
curl -i -X GET 'http://localhost:3080/v2/projects/80f81c81-d238-4a09-a670-794128178633/links'
GET /v2/projects/6301354b-5871-41b0-a10a-f3a045e7b984/links HTTP/1.1
GET /v2/projects/80f81c81-d238-4a09-a670-794128178633/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": "dfb56d2f-daae-453d-963c-d03bb5f23ad7",
"link_id": "5e7d101c-8d5c-4bac-85c2-9cbdc2805c54",
"nodes": [
{
"adapter_number": 0,
"node_id": "f22c215f-0f73-49c6-9466-a0d98d4f5b14",
"node_id": "7844a33b-85e3-479d-8fc5-413ad3cace5f",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "3c615e0b-e819-428e-bb4f-0e96467e660a",
"node_id": "f34ceed0-1d59-4d16-8eea-128120cbd331",
"port_number": 4
}
],
"project_id": "6301354b-5871-41b0-a10a-f3a045e7b984"
"project_id": "80f81c81-d238-4a09-a670-794128178633"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/4db04e8e-5df7-4ad1-b89e-f45218f36df9/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/d8531d0e-eaf5-4055-8957-baa6330fa5cf/nodes'
GET /v2/projects/4db04e8e-5df7-4ad1-b89e-f45218f36df9/nodes HTTP/1.1
GET /v2/projects/d8531d0e-eaf5-4055-8957-baa6330fa5cf/nodes HTTP/1.1
@ -27,9 +27,9 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "cc12d10b-8549-4065-8d2f-a8a385a1a5ca",
"node_id": "cb8b7904-75af-4d7d-b40c-c5b3a72b33d2",
"node_type": "vpcs",
"project_id": "4db04e8e-5df7-4ad1-b89e-f45218f36df9",
"project_id": "d8531d0e-eaf5-4055-8957-baa6330fa5cf",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/3c1f5406-301a-4843-b037-9d75df7cc716/nodes/2be9b3df-9539-4280-96a5-022693ee7b11/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/ffcbdf98-8d94-4dbf-84ed-c21468fa5b9b/nodes/a4593701-1f24-4e43-82e5-9402e81f9dfa/dynamips/auto_idlepc'
GET /v2/projects/3c1f5406-301a-4843-b037-9d75df7cc716/nodes/2be9b3df-9539-4280-96a5-022693ee7b11/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/ffcbdf98-8d94-4dbf-84ed-c21468fa5b9b/nodes/a4593701-1f24-4e43-82e5-9402e81f9dfa/dynamips/auto_idlepc HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/ab98542c-0fa1-480f-817c-10904260d367/nodes/7cf9357e-a006-41a5-9ce4-7a42d47ebe6b/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/95a159b2-f7ed-4326-8573-5d09997efdf4/nodes/946ed8f0-238c-4d6a-b264-92454a154dc7/dynamips/idlepc_proposals'
GET /v2/projects/ab98542c-0fa1-480f-817c-10904260d367/nodes/7cf9357e-a006-41a5-9ce4-7a42d47ebe6b/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/95a159b2-f7ed-4326-8573-5d09997efdf4/nodes/946ed8f0-238c-4d6a-b264-92454a154dc7/dynamips/idlepc_proposals HTTP/1.1

View File

@ -17,7 +17,7 @@ X-ROUTE: /v2/projects
{
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfm_m65vw/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0to2xtlc/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/tmp1ovguuft/projects/fb475947-7ee3-43f8-a504-b8ececa32673",
"project_id": "fb475947-7ee3-43f8-a504-b8ececa32673",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp43b9ky28/projects/62417a1c-a401-4895-8ba3-57ac065e3f94",
"project_id": "62417a1c-a401-4895-8ba3-57ac065e3f94",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/28470b00-1d97-4c41-87fa-59cdfc48b569/close' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/6f9549e2-f117-40c7-84b9-d400ef5cb1c7/close' -d '{}'
POST /v2/projects/28470b00-1d97-4c41-87fa-59cdfc48b569/close HTTP/1.1
POST /v2/projects/6f9549e2-f117-40c7-84b9-d400ef5cb1c7/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/tmpm2mpk9nl/projects/28470b00-1d97-4c41-87fa-59cdfc48b569",
"project_id": "28470b00-1d97-4c41-87fa-59cdfc48b569",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfa6tjshf/projects/6f9549e2-f117-40c7-84b9-d400ef5cb1c7",
"project_id": "6f9549e2-f117-40c7-84b9-d400ef5cb1c7",
"status": "opened"
}

View File

@ -1,16 +1,16 @@
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}]}'
curl -i -X POST 'http://localhost:3080/v2/projects/54a38caf-74a3-40c5-a9e0-2cf1a414ffaf/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "8115e155-24c3-4f1e-99f6-9245aca009a2", "port_number": 3}, {"adapter_number": 2, "node_id": "38e67c08-724a-4aa6-b672-9d621c4727c7", "port_number": 4}]}'
POST /v2/projects/4b26b9e2-b6c7-4d9a-b41c-df418e59705d/links HTTP/1.1
POST /v2/projects/54a38caf-74a3-40c5-a9e0-2cf1a414ffaf/links HTTP/1.1
{
"nodes": [
{
"adapter_number": 0,
"node_id": "d66def95-2072-4be8-9fc2-393c722f72ee",
"node_id": "8115e155-24c3-4f1e-99f6-9245aca009a2",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "f5a82ae5-92e5-4bb1-99fc-bf7054a9b136",
"node_id": "38e67c08-724a-4aa6-b672-9d621c4727c7",
"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": "b7b7c5c5-e14d-4d40-a1c8-01a0393e2fe5",
"link_id": "7af8ebf6-6300-4896-9c01-bb0f6e857c0a",
"nodes": [
{
"adapter_number": 0,
"node_id": "d66def95-2072-4be8-9fc2-393c722f72ee",
"node_id": "8115e155-24c3-4f1e-99f6-9245aca009a2",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "f5a82ae5-92e5-4bb1-99fc-bf7054a9b136",
"node_id": "38e67c08-724a-4aa6-b672-9d621c4727c7",
"port_number": 4
}
],
"project_id": "4b26b9e2-b6c7-4d9a-b41c-df418e59705d"
"project_id": "54a38caf-74a3-40c5-a9e0-2cf1a414ffaf"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/80310f84-36ba-4734-89cb-25c5b880b8c4/links/f6ec83ac-9800-4df5-b43f-48c9d12e7722/start_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/df4303fc-92fb-4d04-87cc-2bf5cc4f7a72/links/0f842027-7704-4cf1-a9e2-2641babdf2af/start_capture' -d '{}'
POST /v2/projects/80310f84-36ba-4734-89cb-25c5b880b8c4/links/f6ec83ac-9800-4df5-b43f-48c9d12e7722/start_capture HTTP/1.1
POST /v2/projects/df4303fc-92fb-4d04-87cc-2bf5cc4f7a72/links/0f842027-7704-4cf1-a9e2-2641babdf2af/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": "f6ec83ac-9800-4df5-b43f-48c9d12e7722",
"link_id": "0f842027-7704-4cf1-a9e2-2641babdf2af",
"nodes": [],
"project_id": "80310f84-36ba-4734-89cb-25c5b880b8c4"
"project_id": "df4303fc-92fb-4d04-87cc-2bf5cc4f7a72"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/24984f8d-48c3-4a50-86f3-24b815398d39/links/f478c4d5-ece4-4afd-9d07-762a92733798/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/1d0a1836-69cb-4fd5-a872-7d160ba41d37/links/a79f3273-edef-4520-bc5e-c59e50319eeb/stop_capture' -d '{}'
POST /v2/projects/24984f8d-48c3-4a50-86f3-24b815398d39/links/f478c4d5-ece4-4afd-9d07-762a92733798/stop_capture HTTP/1.1
POST /v2/projects/1d0a1836-69cb-4fd5-a872-7d160ba41d37/links/a79f3273-edef-4520-bc5e-c59e50319eeb/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": "f478c4d5-ece4-4afd-9d07-762a92733798",
"link_id": "a79f3273-edef-4520-bc5e-c59e50319eeb",
"nodes": [],
"project_id": "24984f8d-48c3-4a50-86f3-24b815398d39"
"project_id": "1d0a1836-69cb-4fd5-a872-7d160ba41d37"
}

View File

@ -1,6 +1,6 @@
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"}}'
curl -i -X POST 'http://localhost:3080/v2/projects/b42b814b-e8a7-405a-aece-3b0e705f9837/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
POST /v2/projects/8739d479-a050-4ac2-b05f-6ee1a4bb7cb3/nodes HTTP/1.1
POST /v2/projects/b42b814b-e8a7-405a-aece-3b0e705f9837/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": "c6d5d795-3a23-4d18-ae51-9793b99ccbde",
"node_id": "56b93bfb-92e1-482a-a7f9-21fbdc5fb17d",
"node_type": "vpcs",
"project_id": "8739d479-a050-4ac2-b05f-6ee1a4bb7cb3",
"project_id": "b42b814b-e8a7-405a-aece-3b0e705f9837",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e0ff2c4e-7351-49d1-91bd-e3c58d994031/nodes/4c6753a3-c1aa-4388-98bc-f0889c941979/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/6de0b9c6-d6b0-475d-b85d-5bc5a17496c4/nodes/61e86bf5-57f2-4e16-ac61-672b2772a667/reload' -d '{}'
POST /v2/projects/e0ff2c4e-7351-49d1-91bd-e3c58d994031/nodes/4c6753a3-c1aa-4388-98bc-f0889c941979/reload HTTP/1.1
POST /v2/projects/6de0b9c6-d6b0-475d-b85d-5bc5a17496c4/nodes/61e86bf5-57f2-4e16-ac61-672b2772a667/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/6c654243-1e95-4481-b520-325229aef4cd/nodes/9e45f84f-d2ea-4367-ac41-f6e743c27c7a/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/03185733-50dc-48cd-998e-5180f931f7f6/nodes/3ac82a48-3fae-4b07-a7fa-db1791c81c01/start' -d '{}'
POST /v2/projects/6c654243-1e95-4481-b520-325229aef4cd/nodes/9e45f84f-d2ea-4367-ac41-f6e743c27c7a/start HTTP/1.1
POST /v2/projects/03185733-50dc-48cd-998e-5180f931f7f6/nodes/3ac82a48-3fae-4b07-a7fa-db1791c81c01/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/659907a6-80ce-41ba-a7ae-274896c96ab4/nodes/e033a42e-3935-48fb-ba2b-0eb1dccd302e/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/cd72b0d5-63e2-4cea-9b1a-673b2fd65896/nodes/197de930-246a-485e-99a3-c28ab1191930/stop' -d '{}'
POST /v2/projects/659907a6-80ce-41ba-a7ae-274896c96ab4/nodes/e033a42e-3935-48fb-ba2b-0eb1dccd302e/stop HTTP/1.1
POST /v2/projects/cd72b0d5-63e2-4cea-9b1a-673b2fd65896/nodes/197de930-246a-485e-99a3-c28ab1191930/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/c8c42d54-b322-4bb0-81a2-1e1cb7477e40/nodes/ae0d0dbb-23bd-4fe8-a48b-357990d013cd/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/f8e779e1-147a-437b-b6d8-37d4f09401a7/nodes/84ae7b5b-5031-4d80-9602-490469bf0f98/suspend' -d '{}'
POST /v2/projects/c8c42d54-b322-4bb0-81a2-1e1cb7477e40/nodes/ae0d0dbb-23bd-4fe8-a48b-357990d013cd/suspend HTTP/1.1
POST /v2/projects/f8e779e1-147a-437b-b6d8-37d4f09401a7/nodes/84ae7b5b-5031-4d80-9602-490469bf0f98/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e504c535-e2b5-40da-a212-3dc756f897e3/nodes/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/d13f085c-c69d-42ab-913e-169640519e59/nodes/reload' -d '{}'
POST /v2/projects/e504c535-e2b5-40da-a212-3dc756f897e3/nodes/reload HTTP/1.1
POST /v2/projects/d13f085c-c69d-42ab-913e-169640519e59/nodes/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/88955633-d4fe-4719-af8b-d750d53e6a15/nodes/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/4c522a04-61e4-4637-8f9e-535cd2812079/nodes/start' -d '{}'
POST /v2/projects/88955633-d4fe-4719-af8b-d750d53e6a15/nodes/start HTTP/1.1
POST /v2/projects/4c522a04-61e4-4637-8f9e-535cd2812079/nodes/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/5a0f6467-5730-44f8-b23e-9fbc2e28c5d3/nodes/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/12dc92cc-e177-4ac8-ab98-1ce52bb30b9d/nodes/stop' -d '{}'
POST /v2/projects/5a0f6467-5730-44f8-b23e-9fbc2e28c5d3/nodes/stop HTTP/1.1
POST /v2/projects/12dc92cc-e177-4ac8-ab98-1ce52bb30b9d/nodes/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/cdedc8f0-a69a-405c-87e2-3b1f1986c0d9/nodes/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/ae080111-1b50-47da-81dd-da6a005fb152/nodes/suspend' -d '{}'
POST /v2/projects/cdedc8f0-a69a-405c-87e2-3b1f1986c0d9/nodes/suspend HTTP/1.1
POST /v2/projects/ae080111-1b50-47da-81dd-da6a005fb152/nodes/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/f5eeaa21-de29-4dea-af1a-82abc9c28e1d/open' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/0431d0d3-30ca-4bf5-902b-3c917350f322/open' -d '{}'
POST /v2/projects/f5eeaa21-de29-4dea-af1a-82abc9c28e1d/open HTTP/1.1
POST /v2/projects/0431d0d3-30ca-4bf5-902b-3c917350f322/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/tmptwm45lzd/projects/f5eeaa21-de29-4dea-af1a-82abc9c28e1d",
"project_id": "f5eeaa21-de29-4dea-af1a-82abc9c28e1d",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6oq_qx4w/projects/0431d0d3-30ca-4bf5-902b-3c917350f322",
"project_id": "0431d0d3-30ca-4bf5-902b-3c917350f322",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
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"}}'
curl -i -X PUT 'http://localhost:3080/v2/projects/4fddac5e-36b9-4fc8-80e6-8320d9034b2e/nodes/74b7290d-941b-4b76-be0c-e613c66d5451' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
PUT /v2/projects/2062eae3-4ebe-42c3-ba51-c6dea6385c38/nodes/e1ecb130-9771-4d73-aea7-af471bbd545b HTTP/1.1
PUT /v2/projects/4fddac5e-36b9-4fc8-80e6-8320d9034b2e/nodes/74b7290d-941b-4b76-be0c-e613c66d5451 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": "e1ecb130-9771-4d73-aea7-af471bbd545b",
"node_id": "74b7290d-941b-4b76-be0c-e613c66d5451",
"node_type": "vpcs",
"project_id": "2062eae3-4ebe-42c3-ba51-c6dea6385c38",
"project_id": "4fddac5e-36b9-4fc8-80e6-8320d9034b2e",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,9 +9,9 @@ Add a NIO to a Docker container
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
@ -33,9 +33,9 @@ Remove a NIO from a Docker container
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes

View File

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

View File

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

View File

@ -9,9 +9,9 @@ Add a NIO to a Dynamips VM instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
@ -27,9 +27,9 @@ Remove a NIO from a Dynamips VM instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter from where the nio should be removed
- **port_number**: Port on the adapter
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,9 +9,9 @@ Add a NIO to a IOU instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Network adapter where the nio is located
- **port_number**: Port where the nio should be added
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes
@ -33,9 +33,9 @@ Remove a NIO from a IOU instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Network adapter where the nio is located
- **port_number**: Port from where the nio should be removed
- **project_id**: Project UUID
- **node_id**: Node UUID
Response status codes

View File

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

View File

@ -9,9 +9,9 @@ Stop a packet capture on an IOU VM instance
Parameters
**********
- **project_id**: Project UUID
- **adapter_number**: Adapter to stop a packet capture
- **port_number**: Port on the adapter (always 0)
- **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