mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 02:08:10 +00:00
Update docs
This commit is contained in:
parent
65bfb4b907
commit
e80dd40121
@ -5,7 +5,6 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/33a9c805-e9ea-46af-9954-fb96266e7b6e/adapters/0/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/33a9c805-e9ea-46af-9954-fb96266e7b6e/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1b8d4158-9102-4157-9dd5-f38e6cd19934/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c2f16f3e-7010-473e-ab84-9e4b92823df1'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3a447a6a-2bd3-45e9-b688-3a3a796b2c3c'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c2f16f3e-7010-473e-ab84-9e4b92823df1 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3a447a6a-2bd3-45e9-b688-3a3a796b2c3c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0fd3bfe1-91e0-430e-9028-bc724829e296/adapters/1/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0fd3bfe1-91e0-430e-9028-bc724829e296/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f4dce4b0-99f0-47c2-b96c-44aea053420a/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/07a4a0b0-97c7-4252-9ba5-deace10899a3'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b986e9eb-a616-4374-bda1-ce63e429ed32'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/07a4a0b0-97c7-4252-9ba5-deace10899a3 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b986e9eb-a616-4374-bda1-ce63e429ed32 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c6a898c6-9112-4cce-aca4-9dd821a46de0/adapters/1/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c6a898c6-9112-4cce-aca4-9dd821a46de0/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e00f5705-c2a1-42af-a692-ce69cb261c6d/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5f749530-f702-460a-b873-05060ecc5c2f/adapters/0/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5f749530-f702-460a-b873-05060ecc5c2f/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ea60ee76-64c1-4afb-8c52-e0480eaba964/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3deff6a0-3bd4-43ab-bc98-a76fd59d5901'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/608d9ace-7462-42b5-a918-773981772681'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3deff6a0-3bd4-43ab-bc98-a76fd59d5901 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/608d9ace-7462-42b5-a918-773981772681 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b5aa6c6c-3566-4a6e-ad2e-b8019ed07f23/adapters/0/ports/0/nio'
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b5aa6c6c-3566-4a6e-ad2e-b8019ed07f23/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d782a674-5385-4dce-9e30-f2f419d6c9db/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -5,8 +5,7 @@ GET /v2/compute/interfaces HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 1858
|
||||
CONTENT-LENGTH: 9082
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -16,7 +15,7 @@ X-ROUTE: /v2/compute/interfaces
|
||||
{
|
||||
"id": "bridge0",
|
||||
"ip_address": "",
|
||||
"mac_address": "6a:a8:6d:a4:2a:00",
|
||||
"mac_address": "3e:07:54:87:bc:00",
|
||||
"name": "bridge0"
|
||||
},
|
||||
{
|
||||
@ -27,7 +26,7 @@ X-ROUTE: /v2/compute/interfaces
|
||||
},
|
||||
{
|
||||
"id": "en1",
|
||||
"ip_address": "192.168.84.148",
|
||||
"ip_address": "192.168.84.106",
|
||||
"mac_address": "68:a8:6d:4a:c3:16",
|
||||
"name": "en1"
|
||||
},
|
||||
@ -96,5 +95,305 @@ X-ROUTE: /v2/compute/interfaces
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:06",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
|
@ -1,16 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/iou/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/iou/images'
|
||||
|
||||
GET /v2/compute/iou/nodes HTTP/1.1
|
||||
GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 72
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/iou/nodes
|
||||
X-ROUTE: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
{
|
@ -5,8 +5,7 @@ GET /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 254
|
||||
CONTENT-LENGTH: 198
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -15,12 +14,10 @@ X-ROUTE: /v2/compute/projects
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"temporary": false
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"temporary": false
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
}
|
||||
]
|
||||
|
@ -5,8 +5,7 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 104
|
||||
CONTENT-LENGTH: 80
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -14,6 +13,5 @@ X-ROUTE: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02",
|
||||
"temporary": false
|
||||
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02"
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/96b132df-9ce7-46ef-b8fb-406a3d867c38'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/511d4e03-9127-4185-8d26-113b892e3b4d'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/96b132df-9ce7-46ef-b8fb-406a3d867c38 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/511d4e03-9127-4185-8d26-113b892e3b4d HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 645
|
||||
CONTENT-LENGTH: 702
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -15,12 +14,14 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": null,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": null,
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "96b132df-9ce7-46ef-b8fb-406a3d867c38",
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
@ -28,6 +29,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"use_default_iou_values": true,
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/96b132df-9ce7-46ef-b8fb-406a3d867c38"
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04746a91-7738-491a-829d-6fa0f933f6bb/configs'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/881f5049-8a61-47f6-81b7-aa767592a942/configs'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04746a91-7738-491a-829d-6fa0f933f6bb/configs HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/881f5049-8a61-47f6-81b7-aa767592a942/configs HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 40
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/530d47d9-0234-4798-a25f-80d769b4fa84'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6670bc67-b9c6-4051-9617-9ef416f0776e'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/530d47d9-0234-4798-a25f-80d769b4fa84 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6670bc67-b9c6-4051-9617-9ef416f0776e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 1388
|
||||
CONTENT-LENGTH: 1415
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -42,15 +41,16 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:00:ab:fa:84:00",
|
||||
"mac_address": "00:dd:80:77:6e:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "530d47d9-0234-4798-a25f-80d769b4fa84",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptlp_o4d8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"usage": "",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/530d47d9-0234-4798-a25f-80d769b4fa84"
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/635ebd8e-23a4-4a8c-97ea-190076434488'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2c321919-2dec-4d8c-953a-a964679036ee'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/635ebd8e-23a4-4a8c-97ea-190076434488 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2c321919-2dec-4d8c-953a-a964679036ee HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 417
|
||||
CONTENT-LENGTH: 444
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -20,10 +19,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"enable_remote_console": false,
|
||||
"headless": false,
|
||||
"name": "VMTEST",
|
||||
"node_id": "635ebd8e-23a4-4a8c-97ea-190076434488",
|
||||
"node_directory": null,
|
||||
"node_id": "2c321919-2dec-4d8c-953a-a964679036ee",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vm_directory": null,
|
||||
"vmname": "VMTEST"
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f69cd7e8-e3d8-4917-b7ee-0fb5e58d945e'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6e24ecc3-7a6b-4876-b881-47dcc1bf13f5'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f69cd7e8-e3d8-4917-b7ee-0fb5e58d945e HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6e24ecc3-7a6b-4876-b881-47dcc1bf13f5 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 487
|
||||
CONTENT-LENGTH: 489
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,10 +16,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "f69cd7e8-e3d8-4917-b7ee-0fb5e58d945e",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f69cd7e8-e3d8-4917-b7ee-0fb5e58d945e"
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ GET /v2/compute/qemu/binaries HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 212
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -5,7 +5,6 @@ GET /v2/compute/qemu/capabilities HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 39
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -5,7 +5,6 @@ GET /v2/compute/version HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 49
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/config/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/config/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/config/reload
|
||||
|
@ -8,8 +8,7 @@ POST /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 104
|
||||
CONTENT-LENGTH: 80
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,6 +16,5 @@ X-ROUTE: /v2/compute/projects
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"temporary": false
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
|
@ -5,7 +5,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -5,7 +5,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/commit HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0a78c30a-020d-4fb3-a46a-c90371e7e639/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/7e716b2f-2e3c-4693-9f30-a97ee0e6b240/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/0a78c30a-020d-4fb3-a46a-c90371e7e639/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7e716b2f-2e3c-4693-9f30-a97ee0e6b240/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,7 +10,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0a78
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5709b8c8-d826-4a39-96b0-b9e8d858a2af/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/974d54a5-b9d4-40cd-84f0-aed270b0e216/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/5709b8c8-d826-4a39-96b0-b9e8d858a2af/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
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
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,7 +8,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5709
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 157
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
@ -16,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/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f22df48a-4e90-459a-b18c-fb88a35908cf/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
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 '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f22df48a-4e90-459a-b18c-fb88a35908cf/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
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
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,17 +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": "f057f072-47a1-4dde-8031-2255c955831d", "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": "cdfe9b3f-4e88-419d-ac35-05818cce55e2", "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": "f057f072-47a1-4dde-8031-2255c955831d",
|
||||
"node_id": "cdfe9b3f-4e88-419d-ac35-05818cce55e2",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 661
|
||||
CONTENT-LENGTH: 718
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -20,12 +19,14 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": null,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": null,
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "f057f072-47a1-4dde-8031-2255c955831d",
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
@ -33,6 +34,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"use_default_iou_values": true,
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/f057f072-47a1-4dde-8031-2255c955831d"
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,15 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/57832a42-5145-4de8-a09a-e917a5626b61/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_generic_ethernet"}'
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/57832a42-5145-4de8-a09a-e917a5626b61/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c778f4ec-ab3d-47e2-8d50-2cbb8cbbadf5/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_generic_ethernet"
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 72
|
||||
CONTENT-LENGTH: 64
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,5 +16,5 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter
|
||||
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_generic_ethernet"
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c2edba43-104b-4159-909d-4df1dc262798/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/3255b76e-6d3b-473d-86fb-53432ccddc5e/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/c2edba43-104b-4159-909d-4df1dc262798/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
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
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,7 +8,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c2edba4
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 157
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
@ -16,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/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz4_fxv1q/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1610c995-af0f-46e1-92a4-0d70c6293afe/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
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 '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1610c995-af0f-46e1-92a4-0d70c6293afe/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
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
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/af0377f7-490b-42ba-96c9-3dac785e68ac/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/557ef5f1-daf9-4b14-96b7-a266f994ad15/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/af0377f7-490b-42ba-96c9-3dac785e68ac/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/557ef5f1-daf9-4b14-96b7-a266f994ad15/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,14 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9d260bc6-62d0-4fcd-bd1b-74a2afa0eff0/start' -d '{"iourc_content": "test"}'
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9d260bc6-62d0-4fcd-bd1b-74a2afa0eff0/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/14dc1ccf-0e35-4acf-8a84-2669bf4f6b89/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 709
|
||||
CONTENT-LENGTH: 766
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,12 +16,14 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp68swteb4/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpulz6zjj7/iourc",
|
||||
"l1_keepalives": false,
|
||||
"md5sum": null,
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "9d260bc6-62d0-4fcd-bd1b-74a2afa0eff0",
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
@ -30,6 +31,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"use_default_iou_values": true,
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/9d260bc6-62d0-4fcd-bd1b-74a2afa0eff0"
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/faa706c0-3afe-4210-9067-54dd72c7c220/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bd7d845f-ded2-4e0d-b314-14562cc17af0/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/faa706c0-3afe-4210-9067-54dd72c7c220/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bd7d845f-ded2-4e0d-b314-14562cc17af0/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -5,7 +5,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 25
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,17 +1,16 @@
|
||||
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/tmptlp_o4d8/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/tmp8s9ej_hh/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/tmptlp_o4d8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 1434
|
||||
CONTENT-LENGTH: 1461
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -47,15 +46,16 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:00:ab:e1:35:00",
|
||||
"mac_address": "00:dd:80:73:24:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "ac199989-ad61-41bb-9265-2a6aacd1e135",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptlp_o4d8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"usage": "",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ac199989-ad61-41bb-9265-2a6aacd1e135"
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
||||
|
@ -1,21 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e3abe5d8-0f61-41c8-8f76-cd64a3790443/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e3abe5d8-0f61-41c8-8f76-cd64a3790443/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e21be81-23cc-49c8-8915-7e4e44d09d02/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_generic_ethernet"
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-LENGTH: 81
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"message": "NIO of type nio_generic_ethernet is not supported",
|
||||
"message": "NIO of type nio_ethernet is not supported",
|
||||
"status": 409
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/06aa598c-fe4f-4590-825b-1cc1a255b72f/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5cddb66b-66a0-40d5-bbb8-50041d611e35/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/06aa598c-fe4f-4590-825b-1cc1a255b72f/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5cddb66b-66a0-40d5-bbb8-50041d611e35/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2fd2bef9-0870-4cc0-8bee-41e5ee3d0567/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e9804cfa-12c7-4d31-ae40-38b70b1ddb70/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2fd2bef9-0870-4cc0-8bee-41e5ee3d0567/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e9804cfa-12c7-4d31-ae40-38b70b1ddb70/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/774f7849-bc8c-4e4f-920a-5d0e544b0bf0/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/38b9db4e-aa29-42d8-bfb9-e3c0db2d3c54/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/774f7849-bc8c-4e4f-920a-5d0e544b0bf0/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/38b9db4e-aa29-42d8-bfb9-e3c0db2d3c54/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 1388
|
||||
CONTENT-LENGTH: 1415
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -42,15 +41,16 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:00:ab:0b:f0:00",
|
||||
"mac_address": "00:dd:80:3c:54:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "774f7849-bc8c-4e4f-920a-5d0e544b0bf0",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptlp_o4d8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"usage": "",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/774f7849-bc8c-4e4f-920a-5d0e544b0bf0"
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8dc83697-0589-47ee-86ea-c092175764d9/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f9f9e66-96d9-43a1-8112-80ffe7c180f4/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8dc83697-0589-47ee-86ea-c092175764d9/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f9f9e66-96d9-43a1-8112-80ffe7c180f4/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fa906669-98de-448b-b61e-1f6984745681/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/10cede69-964e-4551-bdc1-48cc3ffcb70a/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fa906669-98de-448b-b61e-1f6984745681/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/10cede69-964e-4551-bdc1-48cc3ffcb70a/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -9,8 +9,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 411
|
||||
CONTENT-LENGTH: 438
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -24,10 +23,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"enable_remote_console": false,
|
||||
"headless": false,
|
||||
"name": "VM1",
|
||||
"node_id": "a6a4538d-cd54-45f5-a68a-c146eaed264b",
|
||||
"node_directory": null,
|
||||
"node_id": "48d2bb02-9048-497c-8432-a4ff7679e7d7",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vm_directory": null,
|
||||
"vmname": "VM1"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/50e13103-1e98-4e5e-97e9-1706b8bf80e5/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/98650464-2470-4d82-8043-3b9ee4b44e05/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/50e13103-1e98-4e5e-97e9-1706b8bf80e5/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/98650464-2470-4d82-8043-3b9ee4b44e05/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,7 +10,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bf57f9a3-3cd1-43ba-8b7f-3738c74ccbcb/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad237fc5-f633-4251-9eb7-0f0deb10c869/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bf57f9a3-3cd1-43ba-8b7f-3738c74ccbcb/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ad237fc5-f633-4251-9eb7-0f0deb10c869/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f363585c-3440-48a0-b98c-26fc6a391b5b/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9fd683b2-89cb-4b35-8e8c-16af9e0ec449/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f363585c-3440-48a0-b98c-26fc6a391b5b/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9fd683b2-89cb-4b35-8e8c-16af9e0ec449/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e001487d-f9c9-4eca-87c9-0fe3eb0a9e4c/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0755b329-2589-46ac-8864-0005f7091ed9/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e001487d-f9c9-4eca-87c9-0fe3eb0a9e4c/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0755b329-2589-46ac-8864-0005f7091ed9/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c935caf1-63f8-4fce-acd0-78561f4f742b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aef60979-b4cf-4fb6-8618-c8d439fc7552/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c935caf1-63f8-4fce-acd0-78561f4f742b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aef60979-b4cf-4fb6-8618-c8d439fc7552/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/117e005a-a1a9-41bb-8dca-a2769425a4fa/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f3d0977b-06d2-43ec-a4c1-aecac5895a63/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/117e005a-a1a9-41bb-8dca-a2769425a4fa/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f3d0977b-06d2-43ec-a4c1-aecac5895a63/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -7,8 +7,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 487
|
||||
CONTENT-LENGTH: 489
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -19,10 +18,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "6719d2a9-7932-4f25-8ab5-583b62140965",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6719d2a9-7932-4f25-8ab5-583b62140965"
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9a86a50f-bd87-4acc-ae3b-8958f5d756cc/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/4d176fbc-2122-436e-8a77-18259e23db92/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/9a86a50f-bd87-4acc-ae3b-8958f5d756cc/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4d176fbc-2122-436e-8a77-18259e23db92/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,7 +10,6 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9a86a5
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c886766a-06cd-45a3-92ab-8cdef1c9d192/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2db6556b-829d-4008-b60e-0f02776121b5/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c886766a-06cd-45a3-92ab-8cdef1c9d192/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2db6556b-829d-4008-b60e-0f02776121b5/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2c97c366-7919-425a-abe5-fff40b854f00/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3a83a1e6-2d84-4081-ac1b-06d8a98b4208/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2c97c366-7919-425a-abe5-fff40b854f00/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3a83a1e6-2d84-4081-ac1b-06d8a98b4208/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 487
|
||||
CONTENT-LENGTH: 489
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,10 +16,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
"console": 5009,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "2c97c366-7919-425a-abe5-fff40b854f00",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2c97c366-7919-425a-abe5-fff40b854f00"
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/dcd85ba4-f921-438f-9b10-999d04b250d5/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a6161ff3-c35a-479b-9ae1-830b740f23a5/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/dcd85ba4-f921-438f-9b10-999d04b250d5/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a6161ff3-c35a-479b-9ae1-830b740f23a5/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -14,7 +14,6 @@ POST /v2/compute/qemu/img HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -7,7 +7,6 @@ POST /v2/compute/version HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 30
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,14 +1,13 @@
|
||||
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-152/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-352/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-152/test_update_path_project_non_l0"
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-352/test_update_path_project_non_l0"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 403
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 96
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/10e0eea7-ee6b-4e4f-8bfb-653b70b2fe6e' -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/37b7b7c7-858b-49ee-a49b-a8def1cf9361' -d '{"console": 5002, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/10e0eea7-ee6b-4e4f-8bfb-653b70b2fe6e HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/37b7b7c7-858b-49ee-a49b-a8def1cf9361 HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
@ -10,8 +10,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/10e0e
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 631
|
||||
CONTENT-LENGTH: 665
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -27,10 +26,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"console_type": "telnet",
|
||||
"container_id": "8bd8153ea8f5",
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"image": "nginx",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_id": "10e0eea7-ee6b-4e4f-8bfb-653b70b2fe6e",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/10e0eea7-ee6b-4e4f-8bfb-653b70b2fe6e"
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2800118d-916d-46b6-b4ef-148514ccc000' -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/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}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2800118d-916d-46b6-b4ef-148514ccc000 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a0f4afe-6c25-4613-87d8-3b0cc4db4fc9 HTTP/1.1
|
||||
{
|
||||
"console": 5001,
|
||||
"ethernet_adapters": 4,
|
||||
@ -16,8 +16,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2800118d
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 720
|
||||
CONTENT-LENGTH: 777
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -26,12 +25,14 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5001,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzi3b0o9q/iourc",
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmrvyb0q5/iourc",
|
||||
"l1_keepalives": true,
|
||||
"md5sum": null,
|
||||
"name": "test",
|
||||
"node_id": "2800118d-916d-46b6-b4ef-148514ccc000",
|
||||
"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",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
@ -39,6 +40,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"ram": 512,
|
||||
"serial_adapters": 0,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"use_default_iou_values": true,
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0vou54g1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/2800118d-916d-46b6-b4ef-148514ccc000"
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/74528119-b448-4fd7-8810-e7b561d89165' -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/afc15cab-a0e6-4222-8124-aef2a1cbaeae' -d '{"console": 5001, "hdb_disk_image": "linux.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/74528119-b448-4fd7-8810-e7b561d89165 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/afc15cab-a0e6-4222-8124-aef2a1cbaeae HTTP/1.1
|
||||
{
|
||||
"console": 5001,
|
||||
"hdb_disk_image": "linux.img",
|
||||
@ -10,8 +10,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7452811
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 1393
|
||||
CONTENT-LENGTH: 1420
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -47,15 +46,16 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:00:ab:91:65:00",
|
||||
"mac_address": "00:dd:80:ae:ae:00",
|
||||
"name": "test",
|
||||
"node_id": "74528119-b448-4fd7-8810-e7b561d89165",
|
||||
"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",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptlp_o4d8/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8s9ej_hh/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"usage": "",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/74528119-b448-4fd7-8810-e7b561d89165"
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/db36a6de-debc-4edd-9fcb-639b2a1ca05b' -d '{"console": 5010, "name": "test"}'
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/db36a6de-debc-4edd-9fcb-639b2a1ca05b HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/299b6f05-f4e9-49fb-bc1f-c6d5b3e0d390 HTTP/1.1
|
||||
{
|
||||
"console": 5010,
|
||||
"name": "test"
|
||||
@ -8,8 +8,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 415
|
||||
CONTENT-LENGTH: 442
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -23,10 +22,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"enable_remote_console": false,
|
||||
"headless": false,
|
||||
"name": "test",
|
||||
"node_id": "db36a6de-debc-4edd-9fcb-639b2a1ca05b",
|
||||
"node_directory": null,
|
||||
"node_id": "299b6f05-f4e9-49fb-bc1f-c6d5b3e0d390",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vm_directory": null,
|
||||
"vmname": "VMTEST"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c332cfd9-49c6-4e9c-a868-347cde6c5a08' -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/e1add1ee-b455-4afb-9d08-c75dfe1b4202' -d '{"console": 5011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c332cfd9-49c6-4e9c-a868-347cde6c5a08 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e1add1ee-b455-4afb-9d08-c75dfe1b4202 HTTP/1.1
|
||||
{
|
||||
"console": 5011,
|
||||
"name": "test",
|
||||
@ -9,8 +9,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c332cfd
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 503
|
||||
CONTENT-LENGTH: 505
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -21,10 +20,10 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5011,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_id": "c332cfd9-49c6-4e9c-a868-347cde6c5a08",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
"status": "stopped",
|
||||
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpzf6i_o35/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c332cfd9-49c6-4e9c-a868-347cde6c5a08"
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/8e0cfbfc-1c2e-45d5-a4dc-ad2feb1c6cb7'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/df0a6f2c-5db1-48fa-96a2-6d321bafa40c'
|
||||
|
||||
DELETE /v2/projects/8e0cfbfc-1c2e-45d5-a4dc-ad2feb1c6cb7 HTTP/1.1
|
||||
DELETE /v2/projects/df0a6f2c-5db1-48fa-96a2-6d321bafa40c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,13 +1,11 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/0f015b6f-23a9-4665-8be0-ce1844b26619/links/a34d2f6b-76d7-4ccd-9559-1d349a2bf2f9'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/d442e932-0513-4a89-a2e1-dafa14f7b977/links/ae7ecf27-7018-41fc-9b4a-83785257a36e'
|
||||
|
||||
DELETE /v2/projects/0f015b6f-23a9-4665-8be0-ce1844b26619/links/a34d2f6b-76d7-4ccd-9559-1d349a2bf2f9 HTTP/1.1
|
||||
DELETE /v2/projects/d442e932-0513-4a89-a2e1-dafa14f7b977/links/ae7ecf27-7018-41fc-9b4a-83785257a36e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 160
|
||||
CONTENT-TYPE: application/json
|
||||
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}/links/{link_id}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/fe508bfa-60cf-446b-99c9-a4a7957f7000/nodes/ab33630f-bf76-46e4-bf72-a103bc6fcb91'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/6442a383-f28e-41bb-a59e-260537f3385e/nodes/0da6c10b-1302-4d73-b60c-d8419586587f'
|
||||
|
||||
DELETE /v2/projects/fe508bfa-60cf-446b-99c9-a4a7957f7000/nodes/ab33630f-bf76-46e4-bf72-a103bc6fcb91 HTTP/1.1
|
||||
DELETE /v2/projects/6442a383-f28e-41bb-a59e-260537f3385e/nodes/0da6c10b-1302-4d73-b60c-d8419586587f HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -5,8 +5,7 @@ GET /v2/computes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 186
|
||||
CONTENT-LENGTH: 221
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,6 +16,7 @@ X-ROUTE: /v2/computes
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"host": "example.com",
|
||||
"name": "My super server",
|
||||
"port": 84,
|
||||
"protocol": "http",
|
||||
"user": "julien"
|
||||
|
22
docs/api/examples/controller_get_computescomputeid.txt
Normal file
22
docs/api/examples/controller_get_computescomputeid.txt
Normal file
@ -0,0 +1,22 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute_id'
|
||||
|
||||
GET /v2/computes/my_compute_id HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 194
|
||||
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}
|
||||
|
||||
{
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"host": "example.com",
|
||||
"name": "http://julien@example.com:84",
|
||||
"port": 84,
|
||||
"protocol": "http",
|
||||
"user": "julien"
|
||||
}
|
@ -5,8 +5,7 @@ GET /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 252
|
||||
CONTENT-LENGTH: 224
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -15,8 +14,7 @@ X-ROUTE: /v2/projects
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-152/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"temporary": false
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-352/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
]
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/948df2b3-7367-4572-8524-d3fb7731b708'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/feeed322-19fa-4e7f-88e4-9b51dd49210a'
|
||||
|
||||
GET /v2/projects/948df2b3-7367-4572-8524-d3fb7731b708 HTTP/1.1
|
||||
GET /v2/projects/feeed322-19fa-4e7f-88e4-9b51dd49210a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 226
|
||||
CONTENT-LENGTH: 202
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -14,7 +13,6 @@ X-ROUTE: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmplj6lpbnn/projects/948df2b3-7367-4572-8524-d3fb7731b708",
|
||||
"project_id": "948df2b3-7367-4572-8524-d3fb7731b708",
|
||||
"temporary": false
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmup_isrt/projects/feeed322-19fa-4e7f-88e4-9b51dd49210a",
|
||||
"project_id": "feeed322-19fa-4e7f-88e4-9b51dd49210a"
|
||||
}
|
||||
|
34
docs/api/examples/controller_get_projectsprojectidlinks.txt
Normal file
34
docs/api/examples/controller_get_projectsprojectidlinks.txt
Normal file
@ -0,0 +1,34 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/07119acd-00bb-4807-837c-2354a7a89ea2/links'
|
||||
|
||||
GET /v2/projects/07119acd-00bb-4807-837c-2354a7a89ea2/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 594
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/links
|
||||
|
||||
[
|
||||
{
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "874d9b3c-176e-470a-a8f4-87c0de594dd2",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "d1229936-e044-4b1e-94f7-8c40a156b8e5",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "484e4af4-29f5-4443-89f5-fdeacbfabeaa",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "07119acd-00bb-4807-837c-2354a7a89ea2"
|
||||
}
|
||||
]
|
@ -1,12 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/89b50c89-a26f-48b5-9948-dcc485949441/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/f2f077e5-3a75-4ce4-962a-96d163ebc13d/nodes'
|
||||
|
||||
GET /v2/projects/89b50c89-a26f-48b5-9948-dcc485949441/nodes HTTP/1.1
|
||||
GET /v2/projects/f2f077e5-3a75-4ce4-962a-96d163ebc13d/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 361
|
||||
CONTENT-LENGTH: 487
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -14,15 +13,19 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
|
||||
[
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_type": "telnet",
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"name": "test",
|
||||
"node_id": "5f4ad652-2ffe-44dd-b4a3-0d48b36a25da",
|
||||
"node_directory": null,
|
||||
"node_id": "6a61157a-6210-4bc7-90cc-411007224bb6",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "89b50c89-a26f-48b5-9948-dcc485949441",
|
||||
"project_id": "f2f077e5-3a75-4ce4-962a-96d163ebc13d",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
}
|
||||
},
|
||||
"status": "stopped"
|
||||
}
|
||||
]
|
||||
|
@ -0,0 +1,16 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/2b073599-518c-4cdc-8337-a11fc8f3c6e1/nodes/181b0687-47f5-456c-b8b0-c1844b64295e/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/2b073599-518c-4cdc-8337-a11fc8f3c6e1/nodes/181b0687-47f5-456c-b8b0-c1844b64295e/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 30
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
|
||||
|
||||
{
|
||||
"idlepc": "0x60606f54"
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a5c223ff-91e7-4bb8-acba-7d4080600a0f/nodes/f6074e71-c937-4323-a1ec-4c27d6657c98/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/a5c223ff-91e7-4bb8-acba-7d4080600a0f/nodes/f6074e71-c937-4323-a1ec-4c27d6657c98/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 38
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
|
||||
|
||||
[
|
||||
"0x60606f54",
|
||||
"0x33805a22"
|
||||
]
|
@ -5,7 +5,6 @@ GET /v2/version HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 49
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
@ -12,8 +12,7 @@ POST /v2/computes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 150
|
||||
CONTENT-LENGTH: 194
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -23,6 +22,7 @@ X-ROUTE: /v2/computes
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"host": "example.com",
|
||||
"name": "http://julien@example.com:84",
|
||||
"port": 84,
|
||||
"protocol": "http",
|
||||
"user": "julien"
|
||||
|
@ -8,8 +8,7 @@ POST /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 226
|
||||
CONTENT-LENGTH: 202
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -17,7 +16,6 @@ X-ROUTE: /v2/projects
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpl74b705h/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"temporary": false
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp02l33jkt/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/9369b325-7964-402b-80b2-03c5239ae783/close' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/83c8be38-7319-4636-8f4d-2dab2be08554/close' -d '{}'
|
||||
|
||||
POST /v2/projects/9369b325-7964-402b-80b2-03c5239ae783/close HTTP/1.1
|
||||
POST /v2/projects/83c8be38-7319-4636-8f4d-2dab2be08554/close HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,11 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/23a96a88-666c-49b9-b76f-a68ff800dfee/commit' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/5ab29bd8-43a1-48d0-9aa9-5f96aa382ab4/commit' -d '{}'
|
||||
|
||||
POST /v2/projects/23a96a88-666c-49b9-b76f-a68ff800dfee/commit HTTP/1.1
|
||||
POST /v2/projects/5ab29bd8-43a1-48d0-9aa9-5f96aa382ab4/commit HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
|
@ -1,16 +1,16 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/4eb295b3-8469-4774-b9b3-3da967577540/links' -d '{"nodes": [{"adapter_number": 0, "node_id": "45db581c-3a36-4d8b-960b-1a1884203e3a", "port_number": 3}, {"adapter_number": 2, "node_id": "b81f027a-aac0-4afa-8b30-73440aa5c8f1", "port_number": 4}]}'
|
||||
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}]}'
|
||||
|
||||
POST /v2/projects/4eb295b3-8469-4774-b9b3-3da967577540/links HTTP/1.1
|
||||
POST /v2/projects/fa91f78d-63fc-4460-bcbd-219f9bf240b2/links HTTP/1.1
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "45db581c-3a36-4d8b-960b-1a1884203e3a",
|
||||
"node_id": "17829f3f-f334-4051-910e-ffc5aa661c02",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "b81f027a-aac0-4afa-8b30-73440aa5c8f1",
|
||||
"node_id": "df5b3f33-a535-4f5b-b06a-ccc219e1f0d3",
|
||||
"port_number": 4
|
||||
}
|
||||
]
|
||||
@ -18,8 +18,7 @@ POST /v2/projects/4eb295b3-8469-4774-b9b3-3da967577540/links HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 456
|
||||
CONTENT-LENGTH: 514
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -29,17 +28,18 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "f52acf46-42ed-4a90-a780-2aa6a69a3886",
|
||||
"link_id": "f7c8392b-d888-4824-8099-6f80fe40cef7",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"node_id": "45db581c-3a36-4d8b-960b-1a1884203e3a",
|
||||
"node_id": "17829f3f-f334-4051-910e-ffc5aa661c02",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "b81f027a-aac0-4afa-8b30-73440aa5c8f1",
|
||||
"node_id": "df5b3f33-a535-4f5b-b06a-ccc219e1f0d3",
|
||||
"port_number": 4
|
||||
}
|
||||
]
|
||||
],
|
||||
"project_id": "fa91f78d-63fc-4460-bcbd-219f9bf240b2"
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/ff11646d-2bcc-4167-afb6-9f1423a07e7c/links/3fbabcfa-a045-47de-96f4-b464679545ec/start_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/57bf5ae5-eb41-435b-967f-01d686b6663c/links/a8bf8f62-f38f-4291-a5d7-5ab92f5b6065/start_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/ff11646d-2bcc-4167-afb6-9f1423a07e7c/links/3fbabcfa-a045-47de-96f4-b464679545ec/start_capture HTTP/1.1
|
||||
POST /v2/projects/57bf5ae5-eb41-435b-967f-01d686b6663c/links/a8bf8f62-f38f-4291-a5d7-5ab92f5b6065/start_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 160
|
||||
CONTENT-LENGTH: 218
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -16,6 +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": "3fbabcfa-a045-47de-96f4-b464679545ec",
|
||||
"nodes": []
|
||||
"link_id": "a8bf8f62-f38f-4291-a5d7-5ab92f5b6065",
|
||||
"nodes": [],
|
||||
"project_id": "57bf5ae5-eb41-435b-967f-01d686b6663c"
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/b80cf39c-f669-4e55-bedc-43d0f4b0a134/links/5e3e109b-c8b2-45b7-a8ae-89507cf5950a/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/416b6eb9-19b7-44a5-a2bc-8956fc6c4c52/links/0fc905b3-7dba-4b34-a371-21b4835d1a1d/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/b80cf39c-f669-4e55-bedc-43d0f4b0a134/links/5e3e109b-c8b2-45b7-a8ae-89507cf5950a/stop_capture HTTP/1.1
|
||||
POST /v2/projects/416b6eb9-19b7-44a5-a2bc-8956fc6c4c52/links/0fc905b3-7dba-4b34-a371-21b4835d1a1d/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 160
|
||||
CONTENT-LENGTH: 218
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -16,6 +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": "5e3e109b-c8b2-45b7-a8ae-89507cf5950a",
|
||||
"nodes": []
|
||||
"link_id": "0fc905b3-7dba-4b34-a371-21b4835d1a1d",
|
||||
"nodes": [],
|
||||
"project_id": "416b6eb9-19b7-44a5-a2bc-8956fc6c4c52"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/7602518d-75f4-4a2a-85a6-ff851e3358d4/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/402a3284-b90c-4394-bd05-01502f6a11d0/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
POST /v2/projects/7602518d-75f4-4a2a-85a6-ff851e3358d4/nodes HTTP/1.1
|
||||
POST /v2/projects/402a3284-b90c-4394-bd05-01502f6a11d0/nodes HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -12,22 +12,25 @@ POST /v2/projects/7602518d-75f4-4a2a-85a6-ff851e3358d4/nodes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 309
|
||||
CONTENT-LENGTH: 419
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_type": "telnet",
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"name": "test",
|
||||
"node_id": "571ee68c-aa2f-476c-ad63-c900ba382390",
|
||||
"node_directory": null,
|
||||
"node_id": "a6a7931e-e4f0-4c90-b823-f838a4a5e1cc",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "7602518d-75f4-4a2a-85a6-ff851e3358d4",
|
||||
"project_id": "402a3284-b90c-4394-bd05-01502f6a11d0",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
}
|
||||
},
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,24 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/54b7717b-a6c1-49c3-be0c-f74ef1eac9f6/nodes/8c3bd6f3-7241-4de0-92e6-093dc76dfba9/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/895f8203-3d3e-4c88-8da1-7ab55762d293/nodes/560d4f40-6aef-4f38-a8a5-54c1884df387/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/54b7717b-a6c1-49c3-be0c-f74ef1eac9f6/nodes/8c3bd6f3-7241-4de0-92e6-093dc76dfba9/reload HTTP/1.1
|
||||
POST /v2/projects/895f8203-3d3e-4c88-8da1-7ab55762d293/nodes/560d4f40-6aef-4f38-a8a5-54c1884df387/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 266
|
||||
CONTENT-TYPE: application/json
|
||||
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}/nodes/{node_id}/reload
|
||||
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_id": "8c3bd6f3-7241-4de0-92e6-093dc76dfba9",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "54b7717b-a6c1-49c3-be0c-f74ef1eac9f6",
|
||||
"properties": {}
|
||||
}
|
||||
|
@ -1,24 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/5a61b567-1cbb-4283-acd7-f9cbe4aa8eab/nodes/7f78cc45-579c-437c-a3b3-1129e7b5803b/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c2455e83-bb9a-44d6-930f-e0b07c7240ac/nodes/65be7fda-1816-40dd-8808-1bae7087f407/start' -d '{}'
|
||||
|
||||
POST /v2/projects/5a61b567-1cbb-4283-acd7-f9cbe4aa8eab/nodes/7f78cc45-579c-437c-a3b3-1129e7b5803b/start HTTP/1.1
|
||||
POST /v2/projects/c2455e83-bb9a-44d6-930f-e0b07c7240ac/nodes/65be7fda-1816-40dd-8808-1bae7087f407/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 266
|
||||
CONTENT-TYPE: application/json
|
||||
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}/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_id": "7f78cc45-579c-437c-a3b3-1129e7b5803b",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "5a61b567-1cbb-4283-acd7-f9cbe4aa8eab",
|
||||
"properties": {}
|
||||
}
|
||||
|
@ -1,24 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/8e81df5a-5d97-4f7a-b2d9-a86a1cfc6b44/nodes/514d81b8-b05c-476a-b127-84881e527732/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/6432473a-128a-4f7b-9f41-70f5d2049854/nodes/49481355-f2c9-430b-bdd5-11ee4c94e600/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/8e81df5a-5d97-4f7a-b2d9-a86a1cfc6b44/nodes/514d81b8-b05c-476a-b127-84881e527732/stop HTTP/1.1
|
||||
POST /v2/projects/6432473a-128a-4f7b-9f41-70f5d2049854/nodes/49481355-f2c9-430b-bdd5-11ee4c94e600/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 266
|
||||
CONTENT-TYPE: application/json
|
||||
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}/nodes/{node_id}/stop
|
||||
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_id": "514d81b8-b05c-476a-b127-84881e527732",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "8e81df5a-5d97-4f7a-b2d9-a86a1cfc6b44",
|
||||
"properties": {}
|
||||
}
|
||||
|
@ -1,24 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1c60cc7c-b41f-487f-9953-5287041a7146/nodes/a1648be8-6817-491b-8e07-c839d888e94a/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1f9538a3-0817-47a2-adab-abf75dc39ca6/nodes/b5b6deca-b7f7-4f37-92bb-d8d115745441/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/1c60cc7c-b41f-487f-9953-5287041a7146/nodes/a1648be8-6817-491b-8e07-c839d888e94a/suspend HTTP/1.1
|
||||
POST /v2/projects/1f9538a3-0817-47a2-adab-abf75dc39ca6/nodes/b5b6deca-b7f7-4f37-92bb-d8d115745441/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 266
|
||||
CONTENT-TYPE: application/json
|
||||
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}/nodes/{node_id}/suspend
|
||||
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_id": "a1648be8-6817-491b-8e07-c839d888e94a",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "1c60cc7c-b41f-487f-9953-5287041a7146",
|
||||
"properties": {}
|
||||
}
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/b8e14439-5f56-40e0-8dc6-3f84a220a9d4/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/b8e14439-5f56-40e0-8dc6-3f84a220a9d4/nodes/reload 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}/nodes/reload
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a28708a0-50dc-4014-b98f-65b6e11f3f14/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/a28708a0-50dc-4014-b98f-65b6e11f3f14/nodes/start 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}/nodes/start
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c2480e16-b293-47b7-aba0-6ed75b9a3fbc/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/c2480e16-b293-47b7-aba0-6ed75b9a3fbc/nodes/stop 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}/nodes/stop
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/836e2401-c323-48df-971a-b89b0ef73106/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/836e2401-c323-48df-971a-b89b0ef73106/nodes/suspend 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}/nodes/suspend
|
||||
|
12
docs/api/examples/controller_post_shutdown.txt
Normal file
12
docs/api/examples/controller_post_shutdown.txt
Normal file
@ -0,0 +1,12 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/shutdown' -d '{}'
|
||||
|
||||
POST /v2/shutdown HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/shutdown
|
||||
|
@ -7,7 +7,6 @@ POST /v2/version HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 30
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
|
29
docs/api/examples/controller_put_computescomputeid.txt
Normal file
29
docs/api/examples/controller_put_computescomputeid.txt
Normal file
@ -0,0 +1,29 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/computes/my_compute_id' -d '{"compute_id": "my_compute_id", "host": "example.com", "password": "secure", "port": 84, "protocol": "https", "user": "julien"}'
|
||||
|
||||
PUT /v2/computes/my_compute_id HTTP/1.1
|
||||
{
|
||||
"compute_id": "my_compute_id",
|
||||
"host": "example.com",
|
||||
"password": "secure",
|
||||
"port": 84,
|
||||
"protocol": "https",
|
||||
"user": "julien"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 195
|
||||
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}
|
||||
|
||||
{
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"host": "example.com",
|
||||
"name": "http://julien@example.com:84",
|
||||
"port": 84,
|
||||
"protocol": "https",
|
||||
"user": "julien"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/265f0fef-ac97-4c5a-b7a5-a3474d9fcfd1/nodes/ff8a4b59-a8f9-4a79-8a56-d2f8ca5e5598' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
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"}}'
|
||||
|
||||
PUT /v2/projects/265f0fef-ac97-4c5a-b7a5-a3474d9fcfd1/nodes/ff8a4b59-a8f9-4a79-8a56-d2f8ca5e5598 HTTP/1.1
|
||||
PUT /v2/projects/4cc0bd3e-27e6-4e17-9e9e-b996a48aa8bb/nodes/e76db071-66d8-4983-81c4-68367e5b3735 HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -11,23 +11,26 @@ PUT /v2/projects/265f0fef-ac97-4c5a-b7a5-a3474d9fcfd1/nodes/ff8a4b59-a8f9-4a79-8
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
||||
CONTENT-LENGTH: 309
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 419
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_type": "telnet",
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"name": "test",
|
||||
"node_id": "ff8a4b59-a8f9-4a79-8a56-d2f8ca5e5598",
|
||||
"node_directory": null,
|
||||
"node_id": "e76db071-66d8-4983-81c4-68367e5b3735",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "265f0fef-ac97-4c5a-b7a5-a3474d9fcfd1",
|
||||
"project_id": "4cc0bd3e-27e6-4e17-9e9e-b996a48aa8bb",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
}
|
||||
},
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
Dynamips device
|
||||
Atm switch
|
||||
-----------------------------
|
||||
|
||||
.. toctree::
|
||||
:glob:
|
||||
:maxdepth: 2
|
||||
|
||||
dynamips_device/*
|
||||
atm_switch/*
|
@ -0,0 +1,22 @@
|
||||
/v2/compute/projects/{project_id}/atm_relay_switch/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
POST /v2/compute/projects/**{project_id}**/atm_relay_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/stop_capture
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Stop a packet capture on an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **204**: Capture stopped
|
||||
|
@ -0,0 +1,43 @@
|
||||
/v2/compute/projects/{project_id}/atm_switch/nodes
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
POST /v2/compute/projects/**{project_id}**/atm_switch/nodes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Create a new ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **201**: Instance created
|
||||
- **409**: Conflict
|
||||
|
||||
Input
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td>✔</td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td></td> <td>Node UUID</td> </tr>
|
||||
</table>
|
||||
|
||||
Output
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
@ -0,0 +1,92 @@
|
||||
/v2/compute/projects/{project_id}/atm_switch/nodes/{node_id}
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
GET /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Get an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **200**: Success
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
|
||||
Output
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
||||
|
||||
PUT /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Update an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **200**: Instance updated
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **409**: Conflict
|
||||
|
||||
Input
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
||||
Output
|
||||
*******
|
||||
.. raw:: html
|
||||
|
||||
<table>
|
||||
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||
<tr><td>mappings</td> <td> </td> <td>object</td> <td>ATM mappings</td> </tr>
|
||||
<tr><td>name</td> <td> </td> <td>string</td> <td>ATM switch name</td> </tr>
|
||||
<tr><td>node_id</td> <td> </td> <td>string</td> <td>Node UUID</td> </tr>
|
||||
<tr><td>project_id</td> <td> </td> <td>string</td> <td>Project UUID</td> </tr>
|
||||
<tr><td>status</td> <td> </td> <td>enum</td> <td>Possible values: started, stopped, suspended</td> </tr>
|
||||
</table>
|
||||
|
||||
|
||||
DELETE /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Delete an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **node_id**: Node UUID
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **204**: Instance deleted
|
||||
|
@ -0,0 +1,40 @@
|
||||
/v2/compute/projects/{project_id}/atm_switch/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.. contents::
|
||||
|
||||
POST /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Add a NIO to an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **201**: NIO created
|
||||
- **404**: Instance doesn't exist
|
||||
|
||||
|
||||
DELETE /v2/compute/projects/**{project_id}**/atm_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Remove a NIO from an ATM switch instance
|
||||
|
||||
Parameters
|
||||
**********
|
||||
- **adapter_number**: Adapter on the switch (always 0)
|
||||
- **node_id**: Node UUID
|
||||
- **port_number**: Port on the switch
|
||||
- **project_id**: Project UUID
|
||||
|
||||
Response status codes
|
||||
**********************
|
||||
- **400**: Invalid request
|
||||
- **404**: Instance doesn't exist
|
||||
- **204**: NIO deleted
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user