mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Update documentation
This commit is contained in:
parent
3255be0ae2
commit
27624acd06
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1b8d4158-9102-4157-9dd5-f38e6cd19934/adapters/0/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1b8d4158-9102-4157-9dd5-f38e6cd19934/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c17d9373-a904-4534-af9d-0ecd488738cc/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3a447a6a-2bd3-45e9-b688-3a3a796b2c3c'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37f31e57-9055-43de-95ec-4498ba9600ea'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3a447a6a-2bd3-45e9-b688-3a3a796b2c3c HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/37f31e57-9055-43de-95ec-4498ba9600ea HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f4dce4b0-99f0-47c2-b96c-44aea053420a/adapters/1/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f4dce4b0-99f0-47c2-b96c-44aea053420a/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/6f77a989-a9c0-486f-ab90-eb555f991b32/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b986e9eb-a616-4374-bda1-ce63e429ed32'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16151018-cd3e-4aeb-b786-485d612f3e6b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b986e9eb-a616-4374-bda1-ce63e429ed32 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/16151018-cd3e-4aeb-b786-485d612f3e6b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e00f5705-c2a1-42af-a692-ce69cb261c6d/adapters/1/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e00f5705-c2a1-42af-a692-ce69cb261c6d/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c055f8b6-d043-4ef3-b1e5-f447f33d58db/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ea60ee76-64c1-4afb-8c52-e0480eaba964/adapters/0/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ea60ee76-64c1-4afb-8c52-e0480eaba964/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/763a7eca-2df1-4cfb-b51a-2206341951ce/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/608d9ace-7462-42b5-a918-773981772681'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ac000e78-d064-4d9d-9dbf-cb3505d4af0f'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/608d9ace-7462-42b5-a918-773981772681 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ac000e78-d064-4d9d-9dbf-cb3505d4af0f HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d782a674-5385-4dce-9e30-f2f419d6c9db/adapters/0/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d782a674-5385-4dce-9e30-f2f419d6c9db/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d3528cff-dced-482e-a219-c7e7b51bf685/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@ GET /v2/compute/interfaces HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 9082
|
||||
CONTENT-LENGTH: 1994
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -97,303 +97,9 @@ X-ROUTE: /v2/compute/interfaces
|
||||
"name": "vboxnet6"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"id": "vboxnet7",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:07",
|
||||
"name": "vboxnet7"
|
||||
}
|
||||
]
|
||||
|
@ -1,11 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/511d4e03-9127-4185-8d26-113b892e3b4d'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/832c3519-f0dd-40b3-9cdd-01ec62005fa9'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/511d4e03-9127-4185-8d26-113b892e3b4d HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/832c3519-f0dd-40b3-9cdd-01ec62005fa9 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 702
|
||||
CONTENT-LENGTH: 732
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -18,10 +18,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": null,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": null,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/511d4e03-9127-4185-8d26-113b892e3b4d",
|
||||
"node_id": "511d4e03-9127-4185-8d26-113b892e3b4d",
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/881f5049-8a61-47f6-81b7-aa767592a942/configs'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c12d2d5-d9e7-400e-9374-163bea20e959/configs'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/881f5049-8a61-47f6-81b7-aa767592a942/configs HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c12d2d5-d9e7-400e-9374-163bea20e959/configs HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6670bc67-b9c6-4051-9617-9ef416f0776e'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6a9211ad-af13-40d9-9940-a79dace7f5c7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6670bc67-b9c6-4051-9617-9ef416f0776e HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6a9211ad-af13-40d9-9940-a79dace7f5c7 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:77:6e:00",
|
||||
"mac_address": "00:dd:80:f5:c7:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6670bc67-b9c6-4051-9617-9ef416f0776e",
|
||||
"node_id": "6670bc67-b9c6-4051-9617-9ef416f0776e",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2c321919-2dec-4d8c-953a-a964679036ee'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ac59b961-9c09-4282-adc7-c3d9159a1e68'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2c321919-2dec-4d8c-953a-a964679036ee HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ac59b961-9c09-4282-adc7-c3d9159a1e68 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": "2c321919-2dec-4d8c-953a-a964679036ee",
|
||||
"node_id": "ac59b961-9c09-4282-adc7-c3d9159a1e68",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6e24ecc3-7a6b-4876-b881-47dcc1bf13f5'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bf11b538-23f4-4fd0-9e8d-ace112996288'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6e24ecc3-7a6b-4876-b881-47dcc1bf13f5 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bf11b538-23f4-4fd0-9e8d-ace112996288 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/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6e24ecc3-7a6b-4876-b881-47dcc1bf13f5",
|
||||
"node_id": "6e24ecc3-7a6b-4876-b881-47dcc1bf13f5",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,12 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/commit' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/commit HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/commit
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7e716b2f-2e3c-4693-9f30-a97ee0e6b240/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/54ad7035-69a1-4717-b3fa-131a13f14a34/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/7e716b2f-2e3c-4693-9f30-a97ee0e6b240/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/54ad7035-69a1-4717-b3fa-131a13f14a34/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/974d54a5-b9d4-40cd-84f0-aed270b0e216/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/98160cdf-64ae-41ad-83e3-38b7e9e5c88f/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/974d54a5-b9d4-40cd-84f0-aed270b0e216/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
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
|
||||
{
|
||||
"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/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e1eb066f-0b18-40e7-9172-07611afe7be0/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
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 '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e1eb066f-0b18-40e7-9172-07611afe7be0/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "cdfe9b3f-4e88-419d-ac35-05818cce55e2", "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": "5899de43-86cc-4317-83fb-9e9d71fc3e9a", "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": "cdfe9b3f-4e88-419d-ac35-05818cce55e2",
|
||||
"node_id": "5899de43-86cc-4317-83fb-9e9d71fc3e9a",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 718
|
||||
CONTENT-LENGTH: 748
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -23,10 +23,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": null,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": null,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/cdfe9b3f-4e88-419d-ac35-05818cce55e2",
|
||||
"node_id": "cdfe9b3f-4e88-419d-ac35-05818cce55e2",
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c778f4ec-ab3d-47e2-8d50-2cbb8cbbadf5/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/46851de9-2a8c-45f0-b5ad-aed8122abf47/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c778f4ec-ab3d-47e2-8d50-2cbb8cbbadf5/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/46851de9-2a8c-45f0-b5ad-aed8122abf47/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3255b76e-6d3b-473d-86fb-53432ccddc5e/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/fe551ba2-acf8-49fc-b6e7-40e006cbe919/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/3255b76e-6d3b-473d-86fb-53432ccddc5e/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
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
|
||||
{
|
||||
"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/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp6q286w1m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5b862522-974a-44c4-9f11-89b687b8db80/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
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 '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5b862522-974a-44c4-9f11-89b687b8db80/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
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
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/557ef5f1-daf9-4b14-96b7-a266f994ad15/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18b3bd89-ece1-4223-817b-3bd2b92bb0fe/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/557ef5f1-daf9-4b14-96b7-a266f994ad15/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18b3bd89-ece1-4223-817b-3bd2b92bb0fe/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/14dc1ccf-0e35-4acf-8a84-2669bf4f6b89/start' -d '{"iourc_content": "test"}'
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/14dc1ccf-0e35-4acf-8a84-2669bf4f6b89/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8471bfda-990b-4dae-8c03-b31be3e0c2c3/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 766
|
||||
CONTENT-LENGTH: 796
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -18,12 +18,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpulz6zjj7/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hfjcya0/iourc",
|
||||
"l1_keepalives": false,
|
||||
"md5sum": null,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/14dc1ccf-0e35-4acf-8a84-2669bf4f6b89",
|
||||
"node_id": "14dc1ccf-0e35-4acf-8a84-2669bf4f6b89",
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bd7d845f-ded2-4e0d-b314-14562cc17af0/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cc905fcc-66ba-4c9f-87e4-41b66d327970/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bd7d845f-ded2-4e0d-b314-14562cc17af0/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/cc905fcc-66ba-4c9f-87e4-41b66d327970/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/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/tmp2hp1uall/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/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/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:73:24:00",
|
||||
"mac_address": "00:dd:80:94:0e:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/2c277ca4-c77f-41c0-86ce-da0a0e3b7324",
|
||||
"node_id": "2c277ca4-c77f-41c0-86ce-da0a0e3b7324",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e21be81-23cc-49c8-8915-7e4e44d09d02/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/ab46e9dc-1007-4477-b240-c57b4bd7e8c7/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e21be81-23cc-49c8-8915-7e4e44d09d02/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab46e9dc-1007-4477-b240-c57b4bd7e8c7/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5cddb66b-66a0-40d5-bbb8-50041d611e35/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/299e3dac-c6b4-49bc-930e-e2692b1ac440/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5cddb66b-66a0-40d5-bbb8-50041d611e35/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/299e3dac-c6b4-49bc-930e-e2692b1ac440/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e9804cfa-12c7-4d31-ae40-38b70b1ddb70/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700de233-5774-4eac-b855-d4327d877380/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e9804cfa-12c7-4d31-ae40-38b70b1ddb70/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700de233-5774-4eac-b855-d4327d877380/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/38b9db4e-aa29-42d8-bfb9-e3c0db2d3c54/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bc14855a-e9a5-4b4d-8cbc-bc6aca03f404/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/38b9db4e-aa29-42d8-bfb9-e3c0db2d3c54/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bc14855a-e9a5-4b4d-8cbc-bc6aca03f404/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:3c:54:00",
|
||||
"mac_address": "00:dd:80:f4:04:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/38b9db4e-aa29-42d8-bfb9-e3c0db2d3c54",
|
||||
"node_id": "38b9db4e-aa29-42d8-bfb9-e3c0db2d3c54",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f9f9e66-96d9-43a1-8112-80ffe7c180f4/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ba99c959-899a-4a69-8808-50f500ffb817/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f9f9e66-96d9-43a1-8112-80ffe7c180f4/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ba99c959-899a-4a69-8808-50f500ffb817/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/10cede69-964e-4551-bdc1-48cc3ffcb70a/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f196ae50-2d8a-4d88-85b0-77d23f634f86/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/10cede69-964e-4551-bdc1-48cc3ffcb70a/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f196ae50-2d8a-4d88-85b0-77d23f634f86/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"headless": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "48d2bb02-9048-497c-8432-a4ff7679e7d7",
|
||||
"node_id": "8f49a073-184f-4549-a10b-82c3f5455737",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/98650464-2470-4d82-8043-3b9ee4b44e05/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/449f8e6c-4539-4267-b360-5d4825f8332c/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/98650464-2470-4d82-8043-3b9ee4b44e05/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/449f8e6c-4539-4267-b360-5d4825f8332c/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad237fc5-f633-4251-9eb7-0f0deb10c869/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d04d95be-7574-4abe-8d08-9f8987557ee6/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad237fc5-f633-4251-9eb7-0f0deb10c869/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d04d95be-7574-4abe-8d08-9f8987557ee6/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9fd683b2-89cb-4b35-8e8c-16af9e0ec449/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/df02685e-7b8c-47a8-a8bf-1f99b4f544ad/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9fd683b2-89cb-4b35-8e8c-16af9e0ec449/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/df02685e-7b8c-47a8-a8bf-1f99b4f544ad/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0755b329-2589-46ac-8864-0005f7091ed9/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d62cf4ec-13b6-4e24-ae3a-46b4493858f0/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0755b329-2589-46ac-8864-0005f7091ed9/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d62cf4ec-13b6-4e24-ae3a-46b4493858f0/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aef60979-b4cf-4fb6-8618-c8d439fc7552/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a05b8c49-5c66-4ead-84b3-d54c1e6f69a2/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aef60979-b4cf-4fb6-8618-c8d439fc7552/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a05b8c49-5c66-4ead-84b3-d54c1e6f69a2/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f3d0977b-06d2-43ec-a4c1-aecac5895a63/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d54e7054-5486-470e-819b-bfcd8dfbedf4/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f3d0977b-06d2-43ec-a4c1-aecac5895a63/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d54e7054-5486-470e-819b-bfcd8dfbedf4/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8453f8ab-1326-4333-afb7-f41c2188be95",
|
||||
"node_id": "8453f8ab-1326-4333-afb7-f41c2188be95",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4d176fbc-2122-436e-8a77-18259e23db92/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/5f14e09a-27f2-4e18-af20-85a3306078d2/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/4d176fbc-2122-436e-8a77-18259e23db92/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5f14e09a-27f2-4e18-af20-85a3306078d2/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2db6556b-829d-4008-b60e-0f02776121b5/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aa6a3689-bb05-4890-936a-3b9c1e3486fe/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2db6556b-829d-4008-b60e-0f02776121b5/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aa6a3689-bb05-4890-936a-3b9c1e3486fe/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3a83a1e6-2d84-4081-ac1b-06d8a98b4208/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b2df54c4-e9be-4450-9aae-84c1882f3868/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3a83a1e6-2d84-4081-ac1b-06d8a98b4208/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b2df54c4-e9be-4450-9aae-84c1882f3868/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/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/3a83a1e6-2d84-4081-ac1b-06d8a98b4208",
|
||||
"node_id": "3a83a1e6-2d84-4081-ac1b-06d8a98b4208",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a6161ff3-c35a-479b-9ae1-830b740f23a5/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5865ee83-11c4-4c6b-b4e7-6ab893b8c952/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a6161ff3-c35a-479b-9ae1-830b740f23a5/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5865ee83-11c4-4c6b-b4e7-6ab893b8c952/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-352/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-59/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-352/test_update_path_project_non_l0"
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-59/test_update_path_project_non_l0"
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/37b7b7c7-858b-49ee-a49b-a8def1cf9361' -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/6f985fc5-3cc0-46c4-a1de-11ffe433f45e' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/37b7b7c7-858b-49ee-a49b-a8def1cf9361 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6f985fc5-3cc0-46c4-a1de-11ffe433f45e 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/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/37b7b7c7-858b-49ee-a49b-a8def1cf9361",
|
||||
"node_id": "37b7b7c7-858b-49ee-a49b-a8def1cf9361",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a0f4afe-6c25-4613-87d8-3b0cc4db4fc9' -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/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}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a0f4afe-6c25-4613-87d8-3b0cc4db4fc9 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b63e12f2-aba4-47e1-aa6c-9ae94f4a298b HTTP/1.1
|
||||
{
|
||||
"console": 5001,
|
||||
"ethernet_adapters": 4,
|
||||
@ -16,7 +16,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a0f4afe
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 777
|
||||
CONTENT-LENGTH: 807
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -27,12 +27,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"console": 5001,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmrvyb0q5/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpigme48cs/iourc",
|
||||
"l1_keepalives": true,
|
||||
"md5sum": null,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/9a0f4afe-6c25-4613-87d8-3b0cc4db4fc9",
|
||||
"node_id": "9a0f4afe-6c25-4613-87d8-3b0cc4db4fc9",
|
||||
"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",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,16 +1,16 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/afc15cab-a0e6-4222-8124-aef2a1cbaeae' -d '{"console": 5001, "hdb_disk_image": "linux.img", "name": "test", "ram": 1024}'
|
||||
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}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/afc15cab-a0e6-4222-8124-aef2a1cbaeae HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/57b720a7-e55f-4a78-b559-6644a859082d HTTP/1.1
|
||||
{
|
||||
"console": 5001,
|
||||
"hdb_disk_image": "linux.img",
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"name": "test",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 1420
|
||||
CONTENT-LENGTH: 1456
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -31,8 +31,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"hda_disk_image": "",
|
||||
"hda_disk_image_md5sum": null,
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "linux.img",
|
||||
"hdb_disk_image_md5sum": null,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"hdb_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
|
||||
"hdb_disk_interface": "ide",
|
||||
"hdc_disk_image": "",
|
||||
"hdc_disk_image_md5sum": null,
|
||||
@ -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:ae:ae:00",
|
||||
"mac_address": "00:dd:80:08:2d:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/afc15cab-a0e6-4222-8124-aef2a1cbaeae",
|
||||
"node_id": "afc15cab-a0e6-4222-8124-aef2a1cbaeae",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2hp1uall/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/299b6f05-f4e9-49fb-bc1f-c6d5b3e0d390' -d '{"console": 5010, "name": "test"}'
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/299b6f05-f4e9-49fb-bc1f-c6d5b3e0d390 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c03a7257-360b-4a95-8f59-37bbae5374d8 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": "299b6f05-f4e9-49fb-bc1f-c6d5b3e0d390",
|
||||
"node_id": "c03a7257-360b-4a95-8f59-37bbae5374d8",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e1add1ee-b455-4afb-9d08-c75dfe1b4202' -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/4ded7683-3df9-4b2c-8887-2944e4ce9853' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e1add1ee-b455-4afb-9d08-c75dfe1b4202 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4ded7683-3df9-4b2c-8887-2944e4ce9853 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/tmp9l92lnh7/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e1add1ee-b455-4afb-9d08-c75dfe1b4202",
|
||||
"node_id": "e1add1ee-b455-4afb-9d08-c75dfe1b4202",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/df0a6f2c-5db1-48fa-96a2-6d321bafa40c'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/ec3d0a96-da91-4c9b-aef5-3e437438639b'
|
||||
|
||||
DELETE /v2/projects/df0a6f2c-5db1-48fa-96a2-6d321bafa40c HTTP/1.1
|
||||
DELETE /v2/projects/ec3d0a96-da91-4c9b-aef5-3e437438639b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/d442e932-0513-4a89-a2e1-dafa14f7b977/links/ae7ecf27-7018-41fc-9b4a-83785257a36e'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/ae38a73a-fe7f-4003-90da-4408ec67777c/links/d2052e95-92c4-458d-bf63-e1b29cd43593'
|
||||
|
||||
DELETE /v2/projects/d442e932-0513-4a89-a2e1-dafa14f7b977/links/ae7ecf27-7018-41fc-9b4a-83785257a36e HTTP/1.1
|
||||
DELETE /v2/projects/ae38a73a-fe7f-4003-90da-4408ec67777c/links/d2052e95-92c4-458d-bf63-e1b29cd43593 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/6442a383-f28e-41bb-a59e-260537f3385e/nodes/0da6c10b-1302-4d73-b60c-d8419586587f'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/f2fb4cb4-4aac-4b2a-8d61-3551c2070296/nodes/fb2285cf-2b9e-4f44-b44f-11a881c06158'
|
||||
|
||||
DELETE /v2/projects/6442a383-f28e-41bb-a59e-260537f3385e/nodes/0da6c10b-1302-4d73-b60c-d8419586587f HTTP/1.1
|
||||
DELETE /v2/projects/f2fb4cb4-4aac-4b2a-8d61-3551c2070296/nodes/fb2285cf-2b9e-4f44-b44f-11a881c06158 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/qemu/images'
|
||||
|
||||
GET /v2/computes/my_compute/qemu/images HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 95
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/computes/{compute_id}/{emulator}/images
|
||||
|
||||
[
|
||||
{
|
||||
"filename": "linux.qcow2"
|
||||
},
|
||||
{
|
||||
"filename": "asav.qcow2"
|
||||
}
|
||||
]
|
@ -5,7 +5,7 @@ GET /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 224
|
||||
CONTENT-LENGTH: 223
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -14,7 +14,7 @@ X-ROUTE: /v2/projects
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-352/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-59/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/feeed322-19fa-4e7f-88e4-9b51dd49210a'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/4f117642-06d0-44cf-aec6-18dffd5d111d'
|
||||
|
||||
GET /v2/projects/feeed322-19fa-4e7f-88e4-9b51dd49210a HTTP/1.1
|
||||
GET /v2/projects/4f117642-06d0-44cf-aec6-18dffd5d111d HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -13,6 +13,6 @@ X-ROUTE: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmup_isrt/projects/feeed322-19fa-4e7f-88e4-9b51dd49210a",
|
||||
"project_id": "feeed322-19fa-4e7f-88e4-9b51dd49210a"
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpjtov5pox/projects/4f117642-06d0-44cf-aec6-18dffd5d111d",
|
||||
"project_id": "4f117642-06d0-44cf-aec6-18dffd5d111d"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/07119acd-00bb-4807-837c-2354a7a89ea2/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/f624c737-5716-4154-83bf-4d6e2b6c5955/links'
|
||||
|
||||
GET /v2/projects/07119acd-00bb-4807-837c-2354a7a89ea2/links HTTP/1.1
|
||||
GET /v2/projects/f624c737-5716-4154-83bf-4d6e2b6c5955/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": "874d9b3c-176e-470a-a8f4-87c0de594dd2",
|
||||
"link_id": "c3ff571c-6a8e-4010-98ee-48438808aed7",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "d1229936-e044-4b1e-94f7-8c40a156b8e5",
|
||||
"node_id": "ddc8e736-e4ec-41f0-8b0a-dc6f69b4e748",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "484e4af4-29f5-4443-89f5-fdeacbfabeaa",
|
||||
"node_id": "24a399c7-5d5d-4586-966c-69382bfbf533",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "07119acd-00bb-4807-837c-2354a7a89ea2"
|
||||
"project_id": "f624c737-5716-4154-83bf-4d6e2b6c5955"
|
||||
}
|
||||
]
|
||||
|
@ -1,11 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/f2f077e5-3a75-4ce4-962a-96d163ebc13d/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b56b2922-9cd6-4640-a39d-4ed03a40e39a/nodes'
|
||||
|
||||
GET /v2/projects/f2f077e5-3a75-4ce4-962a-96d163ebc13d/nodes HTTP/1.1
|
||||
GET /v2/projects/b56b2922-9cd6-4640-a39d-4ed03a40e39a/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 487
|
||||
CONTENT-LENGTH: 775
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -18,14 +18,25 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"label": {
|
||||
"color": "#ff000000",
|
||||
"font": "TypeWriter,10,-1,5,75,0,0,0,0,0",
|
||||
"text": "",
|
||||
"x": -17.0234375,
|
||||
"y": -25.0
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "6a61157a-6210-4bc7-90cc-411007224bb6",
|
||||
"node_id": "4af8f65f-08af-4741-94e4-0e82c666e1a7",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "f2f077e5-3a75-4ce4-962a-96d163ebc13d",
|
||||
"project_id": "b56b2922-9cd6-4640-a39d-4ed03a40e39a",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped"
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/2b073599-518c-4cdc-8337-a11fc8f3c6e1/nodes/181b0687-47f5-456c-b8b0-c1844b64295e/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/8561dcfe-7bab-4b0a-a7a1-31e32d9bb7cc/nodes/3501eb42-4f6a-47d3-acbd-a30247ce43f2/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/2b073599-518c-4cdc-8337-a11fc8f3c6e1/nodes/181b0687-47f5-456c-b8b0-c1844b64295e/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/8561dcfe-7bab-4b0a-a7a1-31e32d9bb7cc/nodes/3501eb42-4f6a-47d3-acbd-a30247ce43f2/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a5c223ff-91e7-4bb8-acba-7d4080600a0f/nodes/f6074e71-c937-4323-a1ec-4c27d6657c98/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/11e4c541-41a9-45dd-99af-0be53d7be01b/nodes/a7437f2d-10f3-4e1a-ade1-6e128fdf4808/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/a5c223ff-91e7-4bb8-acba-7d4080600a0f/nodes/f6074e71-c937-4323-a1ec-4c27d6657c98/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/11e4c541-41a9-45dd-99af-0be53d7be01b/nodes/a7437f2d-10f3-4e1a-ade1-6e128fdf4808/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -16,6 +16,6 @@ X-ROUTE: /v2/projects
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp02l33jkt/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps3aq2nxt/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/83c8be38-7319-4636-8f4d-2dab2be08554/close' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/20a74408-fa2f-43be-beb3-1207a5a0b8d6/close' -d '{}'
|
||||
|
||||
POST /v2/projects/83c8be38-7319-4636-8f4d-2dab2be08554/close HTTP/1.1
|
||||
POST /v2/projects/20a74408-fa2f-43be-beb3-1207a5a0b8d6/close HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/5ab29bd8-43a1-48d0-9aa9-5f96aa382ab4/commit' -d '{}'
|
||||
|
||||
POST /v2/projects/5ab29bd8-43a1-48d0-9aa9-5f96aa382ab4/commit HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/commit
|
||||
|
@ -1,16 +1,16 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/fa91f78d-63fc-4460-bcbd-219f9bf240b2/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "17829f3f-f334-4051-910e-ffc5aa661c02", "port_number": 3}, {"adapter_number": 2, "node_id": "df5b3f33-a535-4f5b-b06a-ccc219e1f0d3", "port_number": 4}]}'
|
||||
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}]}'
|
||||
|
||||
POST /v2/projects/fa91f78d-63fc-4460-bcbd-219f9bf240b2/links HTTP/1.1
|
||||
POST /v2/projects/ccb10cc2-de54-438f-9c63-31f995fd8602/links HTTP/1.1
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "17829f3f-f334-4051-910e-ffc5aa661c02",
|
||||
"node_id": "bea5549b-a28c-49b1-8b04-d6042e151274",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "df5b3f33-a535-4f5b-b06a-ccc219e1f0d3",
|
||||
"node_id": "93b44fb7-66b5-4d74-b38f-704becf510e5",
|
||||
"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": "f7c8392b-d888-4824-8099-6f80fe40cef7",
|
||||
"link_id": "8ebfe109-0326-4c9b-8942-4859219a322c",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "17829f3f-f334-4051-910e-ffc5aa661c02",
|
||||
"node_id": "bea5549b-a28c-49b1-8b04-d6042e151274",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "df5b3f33-a535-4f5b-b06a-ccc219e1f0d3",
|
||||
"node_id": "93b44fb7-66b5-4d74-b38f-704becf510e5",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "fa91f78d-63fc-4460-bcbd-219f9bf240b2"
|
||||
"project_id": "ccb10cc2-de54-438f-9c63-31f995fd8602"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/57bf5ae5-eb41-435b-967f-01d686b6663c/links/a8bf8f62-f38f-4291-a5d7-5ab92f5b6065/start_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/50e47414-d878-403f-be8b-4ed622036def/links/35edeb47-cd64-41a0-828a-0fba3c037a15/start_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/57bf5ae5-eb41-435b-967f-01d686b6663c/links/a8bf8f62-f38f-4291-a5d7-5ab92f5b6065/start_capture HTTP/1.1
|
||||
POST /v2/projects/50e47414-d878-403f-be8b-4ed622036def/links/35edeb47-cd64-41a0-828a-0fba3c037a15/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": "a8bf8f62-f38f-4291-a5d7-5ab92f5b6065",
|
||||
"link_id": "35edeb47-cd64-41a0-828a-0fba3c037a15",
|
||||
"nodes": [],
|
||||
"project_id": "57bf5ae5-eb41-435b-967f-01d686b6663c"
|
||||
"project_id": "50e47414-d878-403f-be8b-4ed622036def"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/416b6eb9-19b7-44a5-a2bc-8956fc6c4c52/links/0fc905b3-7dba-4b34-a371-21b4835d1a1d/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/0960f572-9fda-4618-8191-d3ca5cafc7fe/links/1853651e-86d3-46a8-a249-ad8fc865a225/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/416b6eb9-19b7-44a5-a2bc-8956fc6c4c52/links/0fc905b3-7dba-4b34-a371-21b4835d1a1d/stop_capture HTTP/1.1
|
||||
POST /v2/projects/0960f572-9fda-4618-8191-d3ca5cafc7fe/links/1853651e-86d3-46a8-a249-ad8fc865a225/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": "0fc905b3-7dba-4b34-a371-21b4835d1a1d",
|
||||
"link_id": "1853651e-86d3-46a8-a249-ad8fc865a225",
|
||||
"nodes": [],
|
||||
"project_id": "416b6eb9-19b7-44a5-a2bc-8956fc6c4c52"
|
||||
"project_id": "0960f572-9fda-4618-8191-d3ca5cafc7fe"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/402a3284-b90c-4394-bd05-01502f6a11d0/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/864184b9-9b98-4fed-899c-c25761ee114f/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
POST /v2/projects/402a3284-b90c-4394-bd05-01502f6a11d0/nodes HTTP/1.1
|
||||
POST /v2/projects/864184b9-9b98-4fed-899c-c25761ee114f/nodes HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -12,7 +12,7 @@ POST /v2/projects/402a3284-b90c-4394-bd05-01502f6a11d0/nodes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 419
|
||||
CONTENT-LENGTH: 663
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -24,13 +24,24 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"label": {
|
||||
"color": "#ff000000",
|
||||
"font": "TypeWriter,10,-1,5,75,0,0,0,0,0",
|
||||
"text": "",
|
||||
"x": -17.0234375,
|
||||
"y": -25.0
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "a6a7931e-e4f0-4c90-b823-f838a4a5e1cc",
|
||||
"node_id": "0ec53df2-94a0-4b68-801f-dfba4abeb417",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "402a3284-b90c-4394-bd05-01502f6a11d0",
|
||||
"project_id": "864184b9-9b98-4fed-899c-c25761ee114f",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped"
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/895f8203-3d3e-4c88-8da1-7ab55762d293/nodes/560d4f40-6aef-4f38-a8a5-54c1884df387/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/29544ae3-9d48-4493-aa66-fb7300524f19/nodes/9b5be59b-beb9-4875-ad19-92ef90e8b9f8/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/895f8203-3d3e-4c88-8da1-7ab55762d293/nodes/560d4f40-6aef-4f38-a8a5-54c1884df387/reload HTTP/1.1
|
||||
POST /v2/projects/29544ae3-9d48-4493-aa66-fb7300524f19/nodes/9b5be59b-beb9-4875-ad19-92ef90e8b9f8/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c2455e83-bb9a-44d6-930f-e0b07c7240ac/nodes/65be7fda-1816-40dd-8808-1bae7087f407/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/d62c1dc1-325b-4a79-85bd-87a0880940aa/nodes/0eb21443-0193-4ca9-b6b6-71f2906dd8bc/start' -d '{}'
|
||||
|
||||
POST /v2/projects/c2455e83-bb9a-44d6-930f-e0b07c7240ac/nodes/65be7fda-1816-40dd-8808-1bae7087f407/start HTTP/1.1
|
||||
POST /v2/projects/d62c1dc1-325b-4a79-85bd-87a0880940aa/nodes/0eb21443-0193-4ca9-b6b6-71f2906dd8bc/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/6432473a-128a-4f7b-9f41-70f5d2049854/nodes/49481355-f2c9-430b-bdd5-11ee4c94e600/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/70e173a1-3585-441c-9b73-97d768c48093/nodes/e2003abc-6492-4aee-bf17-be6d6736290f/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/6432473a-128a-4f7b-9f41-70f5d2049854/nodes/49481355-f2c9-430b-bdd5-11ee4c94e600/stop HTTP/1.1
|
||||
POST /v2/projects/70e173a1-3585-441c-9b73-97d768c48093/nodes/e2003abc-6492-4aee-bf17-be6d6736290f/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1f9538a3-0817-47a2-adab-abf75dc39ca6/nodes/b5b6deca-b7f7-4f37-92bb-d8d115745441/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/b0a1c9f3-0f47-456f-97c5-a1ed28c7c735/nodes/771610fc-ef35-448a-a511-ecd4ce5aaf9a/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/1f9538a3-0817-47a2-adab-abf75dc39ca6/nodes/b5b6deca-b7f7-4f37-92bb-d8d115745441/suspend HTTP/1.1
|
||||
POST /v2/projects/b0a1c9f3-0f47-456f-97c5-a1ed28c7c735/nodes/771610fc-ef35-448a-a511-ecd4ce5aaf9a/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/b8e14439-5f56-40e0-8dc6-3f84a220a9d4/nodes/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8604963f-178c-435c-859a-8c78aec2e997/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/b8e14439-5f56-40e0-8dc6-3f84a220a9d4/nodes/reload HTTP/1.1
|
||||
POST /v2/projects/8604963f-178c-435c-859a-8c78aec2e997/nodes/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a28708a0-50dc-4014-b98f-65b6e11f3f14/nodes/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/e79ec375-fbee-4ee9-8e12-5a8e77ec4f9c/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/a28708a0-50dc-4014-b98f-65b6e11f3f14/nodes/start HTTP/1.1
|
||||
POST /v2/projects/e79ec375-fbee-4ee9-8e12-5a8e77ec4f9c/nodes/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c2480e16-b293-47b7-aba0-6ed75b9a3fbc/nodes/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/ad37c18e-faea-43fb-8b0e-7749ea8b8c04/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/c2480e16-b293-47b7-aba0-6ed75b9a3fbc/nodes/stop HTTP/1.1
|
||||
POST /v2/projects/ad37c18e-faea-43fb-8b0e-7749ea8b8c04/nodes/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/836e2401-c323-48df-971a-b89b0ef73106/nodes/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/4b11f4f7-92a2-43ae-bc66-678dbd0ac260/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/836e2401-c323-48df-971a-b89b0ef73106/nodes/suspend HTTP/1.1
|
||||
POST /v2/projects/4b11f4f7-92a2-43ae-bc66-678dbd0ac260/nodes/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/4cc0bd3e-27e6-4e17-9e9e-b996a48aa8bb/nodes/e76db071-66d8-4983-81c4-68367e5b3735' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
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"}}'
|
||||
|
||||
PUT /v2/projects/4cc0bd3e-27e6-4e17-9e9e-b996a48aa8bb/nodes/e76db071-66d8-4983-81c4-68367e5b3735 HTTP/1.1
|
||||
PUT /v2/projects/a4013a3d-691b-4de1-a4f4-e1900b4577d1/nodes/a94cd0e2-e20d-4df0-aece-7c06d10fd120 HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -12,7 +12,7 @@ PUT /v2/projects/4cc0bd3e-27e6-4e17-9e9e-b996a48aa8bb/nodes/e76db071-66d8-4983-8
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 419
|
||||
CONTENT-LENGTH: 620
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -24,13 +24,22 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"label": {
|
||||
"color": "#ff000000",
|
||||
"font": "TypeWriter,10,-1,5,75,0,0,0,0,0",
|
||||
"text": "",
|
||||
"x": -17.0234375,
|
||||
"y": -25.0
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "e76db071-66d8-4983-81c4-68367e5b3735",
|
||||
"node_id": "a94cd0e2-e20d-4df0-aece-7c06d10fd120",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "4cc0bd3e-27e6-4e17-9e9e-b996a48aa8bb",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped"
|
||||
"project_id": "a4013a3d-691b-4de1-a4f4-e1900b4577d1",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Get an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -38,8 +38,8 @@ Update an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -81,8 +81,8 @@ Delete an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **port_number**: Port on the switch
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Start an ATM switch
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Stop an ATM switch
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Suspend an ATM Relay switch
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Get a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -39,8 +39,8 @@ Update a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -144,8 +144,8 @@ Delete a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a cloud instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the cloud
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter on the cloud (always 0)
|
||||
- **port_number**: Port on the cloud
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Start a cloud
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Stop a cloud
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Suspend a cloud
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -33,10 +33,10 @@ Remove a NIO from a Docker container
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a Docker container instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Get a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -79,8 +79,8 @@ Update a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -202,8 +202,8 @@ Delete a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Add a NIO to a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter where the nio should be added
|
||||
- **port_number**: Port on the adapter
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
@ -27,10 +27,10 @@ Remove a NIO from a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter from where the nio should be removed
|
||||
- **port_number**: Port on the adapter
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Start a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to start a packet capture
|
||||
- **port_number**: Port on the adapter
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a Dynamips VM instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
- **project_id**: Project UUID
|
||||
- **adapter_number**: Adapter to stop a packet capture
|
||||
- **port_number**: Port on the adapter (always 0)
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Retrieve the idlepc proposals
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Retrieve the startup and private configs content
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
@ -9,8 +9,8 @@ Save the startup and private configs content
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user