Update documentations

This commit is contained in:
Julien Duponchelle 2016-09-27 17:15:40 +02:00
parent be5d543f20
commit 2c73d40551
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
267 changed files with 2100 additions and 1545 deletions

View File

@ -5,8 +5,9 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:09 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/41e83f3d-8456-473f-8195-516a1f738801'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b2962852-e0d1-4853-8775-0f2fde055070'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/41e83f3d-8456-473f-8195-516a1f738801 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b2962852-e0d1-4853-8775-0f2fde055070 HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:04 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/77548610-5538-4f30-9de6-9104d2fb8370/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/acd457ac-8dcc-40e5-9488-3852cfd11b5b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/77548610-5538-4f30-9de6-9104d2fb8370/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/acd457ac-8dcc-40e5-9488-3852cfd11b5b/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:03 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2f12b49b-d282-419c-ab2e-94579b9d19c6/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b913e4a7-a742-4b35-ab6a-4eb0dd071647/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2f12b49b-d282-419c-ab2e-94579b9d19c6/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b913e4a7-a742-4b35-ab6a-4eb0dd071647/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:04 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f97a8bd6-3799-452e-b3a3-d7fc4fd2f16f'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f97a8bd6-3799-452e-b3a3-d7fc4fd2f16f HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2 HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fef5d59-4568-43c1-b7d5-5de22a145243/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93c55439-b21b-4b96-b6b0-7655acba60f7/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fef5d59-4568-43c1-b7d5-5de22a145243/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93c55439-b21b-4b96-b6b0-7655acba60f7/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/08932e82-3f90-44c6-aac9-f599a1fed13a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/3ea3c44d-84d3-4e45-8222-e31898fdeaf5'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/08932e82-3f90-44c6-aac9-f599a1fed13a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/3ea3c44d-84d3-4e45-8222-e31898fdeaf5 HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a3ed88f8-6639-4655-b67b-423f20906e1a/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35b8df58-f7c8-4129-99d0-5783b3d7308a/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a3ed88f8-6639-4655-b67b-423f20906e1a/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35b8df58-f7c8-4129-99d0-5783b3d7308a/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e12bebe-49da-48c1-8ec1-cf63635029fd'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d215e65d-106a-4bb2-97a1-ad203f82f33f'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e12bebe-49da-48c1-8ec1-cf63635029fd HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d215e65d-106a-4bb2-97a1-ad203f82f33f HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bdd1115c-ded9-4b2f-8560-d555bb12f643/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/327e074d-dffe-4164-9e85-cc27c9794680/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bdd1115c-ded9-4b2f-8560-d555bb12f643/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/327e074d-dffe-4164-9e85-cc27c9794680/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:12 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

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5edf41d8-1041-48d4-ba8b-c53695d59fc1/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0eadcf1f-131a-485c-8001-15ae99ae9df5/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5edf41d8-1041-48d4-ba8b-c53695d59fc1/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0eadcf1f-131a-485c-8001-15ae99ae9df5/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:14 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0cb7dac8-87ec-4882-9062-2f4000a1653d'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2d59aa95-5971-438d-9e56-74d4e1632e56'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0cb7dac8-87ec-4882-9062-2f4000a1653d HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2d59aa95-5971-438d-9e56-74d4e1632e56 HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bc9a8630-043d-473a-bfd4-0e5def6bdfb5/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/93d1c07e-515f-4981-be59-4ba61cbf9fb4/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bc9a8630-043d-473a-bfd4-0e5def6bdfb5/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/93d1c07e-515f-4981-be59-4ba61cbf9fb4/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -5,11 +5,11 @@ GET /v2/compute/capabilities HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 316
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/capabilities
Content-Length: 316
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:03 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/capabilities
{
"node_types": [

View File

@ -5,11 +5,11 @@ GET /v2/compute/iou/images HTTP/1.1
HTTP/1.1 200
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/images
Content-Length: 72
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/iou/images
[
{

View File

@ -5,11 +5,11 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 3351
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/network/interfaces
Content-Length: 5502
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/network/interfaces
[
{
@ -18,6 +18,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "3e:07:54:87:bc:00",
"name": "bridge0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
@ -26,6 +27,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "3c:07:54:78:07:cc",
"name": "en0",
"netmask": "",
"special": false,
"type": "ethernet"
},
{
@ -34,6 +36,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "68:a8:6d:4a:c3:16",
"name": "en1",
"netmask": "255.255.255.0",
"special": false,
"type": "ethernet"
},
{
@ -42,6 +45,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "d2:00:1b:c0:17:80",
"name": "en2",
"netmask": "",
"special": false,
"type": "ethernet"
},
{
@ -50,6 +54,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "3c:07:54:ff:fe:bc:01:78",
"name": "fw0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
@ -58,6 +63,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "",
"name": "lo0",
"netmask": "255.0.0.0",
"special": true,
"type": "ethernet"
},
{
@ -66,6 +72,79 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "0a:a8:6d:4a:c3:16",
"name": "p2p0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet0",
"ip_address": "172.16.43.1",
"mac_address": "0a:00:27:00:00:00",
"name": "vboxnet0",
"netmask": null,
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet1",
"ip_address": "",
"mac_address": "0a:00:27:00:00:01",
"name": "vboxnet1",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet2",
"ip_address": "",
"mac_address": "0a:00:27:00:00:02",
"name": "vboxnet2",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet3",
"ip_address": "",
"mac_address": "0a:00:27:00:00:03",
"name": "vboxnet3",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet4",
"ip_address": "",
"mac_address": "0a:00:27:00:00:04",
"name": "vboxnet4",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet5",
"ip_address": "192.168.33.1",
"mac_address": "0a:00:27:00:00:05",
"name": "vboxnet5",
"netmask": null,
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet6",
"ip_address": "",
"mac_address": "0a:00:27:00:00:06",
"name": "vboxnet6",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet7",
"ip_address": "",
"mac_address": "0a:00:27:00:00:07",
"name": "vboxnet7",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
@ -74,6 +153,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:01",
"name": "vmnet1",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -82,6 +162,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:0a",
"name": "vmnet10",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -90,6 +171,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:02",
"name": "vmnet2",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -98,6 +180,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:03",
"name": "vmnet3",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -106,6 +189,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:04",
"name": "vmnet4",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -114,6 +198,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:05",
"name": "vmnet5",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -122,6 +207,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:06",
"name": "vmnet6",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -130,6 +216,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:07",
"name": "vmnet7",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -138,6 +225,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:08",
"name": "vmnet8",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
@ -146,6 +234,7 @@ X-ROUTE: /v2/compute/network/interfaces
"mac_address": "00:50:56:c0:00:09",
"name": "vmnet9",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
}
]

View File

@ -5,19 +5,19 @@ GET /v2/compute/projects HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 198
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
Content-Length: 198
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects
[
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
},
{
"name": "test",
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
}
]

View File

@ -5,11 +5,11 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 80
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}
Content-Length: 80
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}
{
"name": "test",

View File

@ -1,90 +1,166 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/34630f62-2144-4dd8-bf6f-a44a606b1a47'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fba79b97-a89f-40f0-be86-7634ac44d703'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/34630f62-2144-4dd8-bf6f-a44a606b1a47 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fba79b97-a89f-40f0-be86-7634ac44d703 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 1593
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}/cloud/nodes/{node_id}
Content-Length: 3420
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:03 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
"interfaces": [
{
"name": "bridge0",
"special": true,
"type": "ethernet"
},
{
"name": "en0",
"special": false,
"type": "ethernet"
},
{
"name": "en1",
"special": false,
"type": "ethernet"
},
{
"name": "en2",
"special": false,
"type": "ethernet"
},
{
"name": "fw0",
"special": true,
"type": "ethernet"
},
{
"name": "lo0",
"special": true,
"type": "ethernet"
},
{
"name": "p2p0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "Cloud 1",
"node_id": "34630f62-2144-4dd8-bf6f-a44a606b1a47",
"ports_mapping": [],
"node_id": "fba79b97-a89f-40f0-be86-7634ac44d703",
"ports_mapping": [
{
"interface": "en0",
"name": "en0",
"port_number": 0,
"type": "ethernet"
},
{
"interface": "en1",
"name": "en1",
"port_number": 1,
"type": "ethernet"
},
{
"interface": "en2",
"name": "en2",
"port_number": 2,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,26 +1,26 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/058d18a2-92ca-4122-827b-26076d3cdd66'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98822cd8-c665-4193-a301-677053402417'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/058d18a2-92ca-4122-827b-26076d3cdd66 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98822cd8-c665-4193-a301-677053402417 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 697
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
Content-Length: 697
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5711,
"console": 5713,
"console_type": "telnet",
"ethernet_adapters": 2,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/058d18a2-92ca-4122-827b-26076d3cdd66",
"node_id": "058d18a2-92ca-4122-827b-26076d3cdd66",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/98822cd8-c665-4193-a301-677053402417",
"node_id": "98822cd8-c665-4193-a301-677053402417",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,25 +1,25 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8a6c287b-a7dd-456b-82e5-878fe3ddb13f'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/063c9b85-32ac-464b-9fc3-3428bc811583'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8a6c287b-a7dd-456b-82e5-878fe3ddb13f HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/063c9b85-32ac-464b-9fc3-3428bc811583 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 337
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}/nat/nodes/{node_id}
Content-Length: 332
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "8a6c287b-a7dd-456b-82e5-878fe3ddb13f",
"node_id": "063c9b85-32ac-464b-9fc3-3428bc811583",
"ports_mapping": [
{
"interface": "virbr0",
"name": "virbr0",
"interface": "gns3nat5",
"name": "nat0",
"port_number": 0,
"type": "ethernet"
"type": "tap"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8dbcde24-cf90-48bd-a0fb-de2e208d7573'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/42008117-5532-411a-b9f0-badc126dc605'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8dbcde24-cf90-48bd-a0fb-de2e208d7573 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/42008117-5532-411a-b9f0-badc126dc605 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 1415
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}
Content-Length: 1415
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
@ -19,7 +19,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5711,
"console": 5713,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:75:73:00",
"mac_address": "00:dd:80:c6:05:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8dbcde24-cf90-48bd-a0fb-de2e208d7573",
"node_id": "8dbcde24-cf90-48bd-a0fb-de2e208d7573",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/42008117-5532-411a-b9f0-badc126dc605",
"node_id": "42008117-5532-411a-b9f0-badc126dc605",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,27 +1,27 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bd5a4841-7543-4c38-bad8-d1477bb28f67'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bd5a4841-7543-4c38-bad8-d1477bb28f67 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 471
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}/virtualbox/nodes/{node_id}
Content-Length: 471
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5712,
"console": 5714,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "bd5a4841-7543-4c38-bad8-d1477bb28f67",
"node_id": "a9820776-cd32-4112-b445-7a195a523733",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,23 +1,23 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f3e04996-caaa-4b4f-9e6b-0a75464f32d5'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7fd9767-260b-444c-995e-a5d8a97652d6'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f3e04996-caaa-4b4f-9e6b-0a75464f32d5 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7fd9767-260b-444c-995e-a5d8a97652d6 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 489
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}/vpcs/nodes/{node_id}
Content-Length: 489
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:14 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5720,
"console": 5722,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f3e04996-caaa-4b4f-9e6b-0a75464f32d5",
"node_id": "f3e04996-caaa-4b4f-9e6b-0a75464f32d5",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a7fd9767-260b-444c-995e-a5d8a97652d6",
"node_id": "a7fd9767-260b-444c-995e-a5d8a97652d6",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -9,11 +9,11 @@ GET /v2/compute/qemu/binaries HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 212
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/qemu/binaries
Content-Length: 212
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:12 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/qemu/binaries
[
{

View File

@ -5,11 +5,11 @@ GET /v2/compute/qemu/capabilities HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 39
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/qemu/capabilities
Content-Length: 39
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/qemu/capabilities
{
"kvm": [

View File

@ -5,11 +5,11 @@ GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 49
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/version
Content-Length: 49
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/version
{
"local": true,

View File

@ -8,11 +8,11 @@ POST /v2/compute/projects HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 80
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
Content-Length: 80
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects
{
"name": "test",

View File

@ -5,8 +5,9 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:09 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/close

View File

@ -7,86 +7,162 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201
CONTENT-LENGTH: 1593
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}/cloud/nodes
Content-Length: 3420
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:03 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{
"interfaces": [
{
"name": "bridge0",
"special": true,
"type": "ethernet"
},
{
"name": "en0",
"special": false,
"type": "ethernet"
},
{
"name": "en1",
"special": false,
"type": "ethernet"
},
{
"name": "en2",
"special": false,
"type": "ethernet"
},
{
"name": "fw0",
"special": true,
"type": "ethernet"
},
{
"name": "lo0",
"special": true,
"type": "ethernet"
},
{
"name": "p2p0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "Cloud 1",
"node_id": "6f4beb91-7921-4f1c-b9cd-ffeac5aa93f2",
"ports_mapping": [],
"node_id": "01a55236-2403-4215-bc5a-4b5e9232aaab",
"ports_mapping": [
{
"interface": "en0",
"name": "en0",
"port_number": 0,
"type": "ethernet"
},
{
"interface": "en1",
"name": "en1",
"port_number": 1,
"type": "ethernet"
},
{
"interface": "en2",
"name": "en2",
"port_number": 2,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2082261d-96d5-4ca7-9668-175ab9c3a328/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/cloud/nodes/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/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/cloud/nodes/2082261d-96d5-4ca7-9668-175ab9c3a328/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -10,11 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/20822
HTTP/1.1 201
CONTENT-LENGTH: 89
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}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 89
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:03 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/72a5e8e7-52dc-4524-afe1-867723a01ad0/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/659d8f18-71b2-4f6a-9e15-99900156ac35/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/72a5e8e7-52dc-4524-afe1-867723a01ad0/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/659d8f18-71b2-4f6a-9e15-99900156ac35/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -10,11 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/72a5
HTTP/1.1 201
CONTENT-LENGTH: 89
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 89
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:04 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/06b94241-1c19-43ad-9fdb-ab34f8955968/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/65c5b5b9-7487-4504-bdcc-42e2f5178e73/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/06b94241-1c19-43ad-9fdb-ab34f8955968/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/65c5b5b9-7487-4504-bdcc-42e2f5178e73/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/06b9
HTTP/1.1 200
CONTENT-LENGTH: 146
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
Content-Length: 146
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:05 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/tmp/captures/test.pcap"
}

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/525765d2-3b72-4b91-98b3-312bece7b8ff/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2cf9d165-40be-4651-bc86-e780f0ba6e93/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/525765d2-3b72-4b91-98b3-312bece7b8ff/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2cf9d165-40be-4651-bc86-e780f0ba6e93/adapters/0/ports/0/stop_capture HTTP/1.1
{}
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:05 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,31 +1,31 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "67b7e870-fe42-4301-9862-7cd32811b424", "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": "4eff93c6-3933-4bfc-9a84-7dd039341e9a", "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": "67b7e870-fe42-4301-9862-7cd32811b424",
"node_id": "4eff93c6-3933-4bfc-9a84-7dd039341e9a",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
HTTP/1.1 201
CONTENT-LENGTH: 713
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
Content-Length: 713
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:05 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes
{
"command_line": "",
"console": 5711,
"console": 5713,
"console_type": "telnet",
"ethernet_adapters": 2,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/67b7e870-fe42-4301-9862-7cd32811b424",
"node_id": "67b7e870-fe42-4301-9862-7cd32811b424",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/4eff93c6-3933-4bfc-9a84-7dd039341e9a",
"node_id": "4eff93c6-3933-4bfc-9a84-7dd039341e9a",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/222d17b2-661c-4fee-bb74-a224daa0eb21/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8124305e-fbbd-4e7f-88ca-c877a93dcad5/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/222d17b2-661c-4fee-bb74-a224daa0eb21/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8124305e-fbbd-4e7f-88ca-c877a93dcad5/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"
@ -8,11 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/222d17b
HTTP/1.1 201
CONTENT-LENGTH: 64
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 64
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"ethernet_device": "bridge0",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/764dd16d-0415-4fb8-a824-9c127a0d3555/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/7f566cd2-d08e-4f1c-aa87-675354f489ed/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/764dd16d-0415-4fb8-a824-9c127a0d3555/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7f566cd2-d08e-4f1c-aa87-675354f489ed/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/764dd16
HTTP/1.1 200
CONTENT-LENGTH: 146
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
Content-Length: 146
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/tmp/captures/test.pcap"
}

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4aa61165-026e-487c-a0ec-6aa054b656f3/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93ca09d8-2e45-4a85-a4e3-0665dec3f16d/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4aa61165-026e-487c-a0ec-6aa054b656f3/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93ca09d8-2e45-4a85-a4e3-0665dec3f16d/adapters/0/ports/0/stop_capture HTTP/1.1
{}
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4b3e858d-c676-45e3-b359-70910b9aa900/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/854400c8-8ab2-4968-9493-7457f062a0b9/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4b3e858d-c676-45e3-b359-70910b9aa900/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/854400c8-8ab2-4968-9493-7457f062a0b9/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/compute/projects/{project_id}/iou/nodes/{node_id}/reload
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload

View File

@ -1,28 +1,28 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f04a8f46-d27f-4a47-81f5-23d490e2f113/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/45022335-0848-4370-b0a0-8a8a6d801f4d/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f04a8f46-d27f-4a47-81f5-23d490e2f113/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/45022335-0848-4370-b0a0-8a8a6d801f4d/start HTTP/1.1
{
"iourc_content": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 697
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
Content-Length: 697
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
"command_line": "",
"console": 5711,
"console": 5713,
"console_type": "telnet",
"ethernet_adapters": 2,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/f04a8f46-d27f-4a47-81f5-23d490e2f113",
"node_id": "f04a8f46-d27f-4a47-81f5-23d490e2f113",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/45022335-0848-4370-b0a0-8a8a6d801f4d",
"node_id": "45022335-0848-4370-b0a0-8a8a6d801f4d",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c45c676f-28a2-472f-95f0-f9e48e24608c/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/840c81d5-88fd-4d59-ab89-cacb6d194ffb/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c45c676f-28a2-472f-95f0-f9e48e24608c/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/840c81d5-88fd-4d59-ab89-cacb6d194ffb/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/compute/projects/{project_id}/iou/nodes/{node_id}/stop
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop

View File

@ -7,21 +7,21 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.
HTTP/1.1 201
CONTENT-LENGTH: 337
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}/nat/nodes
Content-Length: 332
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "01896f4d-3570-4605-b689-b1a9cb3099f5",
"node_id": "3cdf49d9-e2a5-4359-aa72-b995b261ba97",
"ports_mapping": [
{
"interface": "virbr0",
"name": "virbr0",
"interface": "gns3nat4",
"name": "nat0",
"port_number": 0,
"type": "ethernet"
"type": "tap"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/64d8f00d-794a-4ceb-bcb7-473e95159332/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/nat/nodes/60c8420d-7c38-4628-859d-85e406dfb436/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/nat/nodes/64d8f00d-794a-4ceb-bcb7-473e95159332/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/60c8420d-7c38-4628-859d-85e406dfb436/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -10,11 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/64d8f00
HTTP/1.1 201
CONTENT-LENGTH: 89
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}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 89
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:07 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,

View File

@ -5,11 +5,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.
HTTP/1.1 201
CONTENT-LENGTH: 25
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}/ports/udp
Content-Length: 25
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/ports/udp
{
"udp_port": 10000

View File

@ -1,20 +1,20 @@
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/tmp1uokww80/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/tmpmccqyvwn/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/tmp1uokww80/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64",
"ram": 1024
}
HTTP/1.1 201
CONTENT-LENGTH: 1461
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
Content-Length: 1461
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:10 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{
"acpi_shutdown": false,
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5711,
"console": 5713,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:7b:ae:00",
"mac_address": "00:dd:80:09:c6:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d6932073-021c-4487-b7ae-598fdd5b7bae",
"node_id": "d6932073-021c-4487-b7ae-598fdd5b7bae",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bcf073b1-a5a1-4ce9-bc64-726267e509c6",
"node_id": "bcf073b1-a5a1-4ce9-bc64-726267e509c6",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1dd8bd1c-9b93-460e-b89f-3edf32d4cfed/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/20362237-021f-45d1-84de-a2bf4c20a9d7/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1dd8bd1c-9b93-460e-b89f-3edf32d4cfed/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/20362237-021f-45d1-84de-a2bf4c20a9d7/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"
@ -8,11 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1dd8bd
HTTP/1.1 409
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
Content-Length: 81
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:12 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_ethernet is not supported",

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4d02fea0-afec-4674-9036-0a5b201ea147/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4d02fea0-afec-4674-9036-0a5b201ea147/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/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/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e8db19b-a05b-40dc-9b0b-5856ef87476c/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8fa2adb1-1885-40c5-bed1-dcfccaab2520/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e8db19b-a05b-40dc-9b0b-5856ef87476c/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8fa2adb1-1885-40c5-bed1-dcfccaab2520/resume HTTP/1.1
{}
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume

View File

@ -1,15 +1,15 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f6708f3-7dfc-44cf-8fb9-60167d910d19/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/95f51a24-4db3-4fd4-89d0-25861018af48/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f6708f3-7dfc-44cf-8fb9-60167d910d19/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/95f51a24-4db3-4fd4-89d0-25861018af48/start HTTP/1.1
{}
HTTP/1.1 200
CONTENT-LENGTH: 1415
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}/start
Content-Length: 1415
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{
"acpi_shutdown": false,
@ -19,7 +19,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5711,
"console": 5713,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:0d:19:00",
"mac_address": "00:dd:80:af:48:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7f6708f3-7dfc-44cf-8fb9-60167d910d19",
"node_id": "7f6708f3-7dfc-44cf-8fb9-60167d910d19",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/95f51a24-4db3-4fd4-89d0-25861018af48",
"node_id": "95f51a24-4db3-4fd4-89d0-25861018af48",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a8aa8f-8a84-4dde-b8b8-d19cef00b6b6/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e454bb5-4b20-4ee6-8363-932c95ad1244/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a8aa8f-8a84-4dde-b8b8-d19cef00b6b6/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e454bb5-4b20-4ee6-8363-932c95ad1244/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/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2a5eca63-0705-4d1a-8d2e-f5479349e7c2/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b5a956a2-c5eb-47ca-8660-297f9db97eb9/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2a5eca63-0705-4d1a-8d2e-f5479349e7c2/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b5a956a2-c5eb-47ca-8660-297f9db97eb9/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/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend

View File

@ -9,23 +9,23 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
HTTP/1.1 201
CONTENT-LENGTH: 465
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}/virtualbox/nodes
Content-Length: 465
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5711,
"console": 5713,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "8dd097ca-91eb-4e28-9467-0ab62d2388aa",
"node_id": "139b95df-46bb-4ea8-90b0-93b7f72e7220",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3efce36b-25eb-40e4-8d55-f65220445f99/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/21e608e1-264b-42cc-919c-bee9d02f7d55/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/3efce36b-25eb-40e4-8d55-f65220445f99/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/21e608e1-264b-42cc-919c-bee9d02f7d55/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -10,11 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/
HTTP/1.1 201
CONTENT-LENGTH: 89
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}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 89
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:14 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f394bd7-f78d-4786-8ce2-cf09ce8aa0ad/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f394bd7-f78d-4786-8ce2-cf09ce8aa0ad/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/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/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b30bdd7d-d7ce-472c-a5be-959b44f279f7/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43cb3d3d-4c83-4315-983c-f4c481822476/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b30bdd7d-d7ce-472c-a5be-959b44f279f7/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43cb3d3d-4c83-4315-983c-f4c481822476/resume HTTP/1.1
{}
HTTP/1.1 204
CONTENT-LENGTH: 0
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcf6ad7a-0842-4ec0-b54b-37fe977896fd/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a7022726-0273-4f8b-8bb0-5c04fee78d3a/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcf6ad7a-0842-4ec0-b54b-37fe977896fd/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a7022726-0273-4f8b-8bb0-5c04fee78d3a/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/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a35f2693-692b-4aa4-bd1b-6e3a5e7844e4/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9675ed7-1f32-41a7-b231-bb923fbe4302/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a35f2693-692b-4aa4-bd1b-6e3a5e7844e4/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9675ed7-1f32-41a7-b231-bb923fbe4302/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/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/714c5575-f45b-4cd8-b7b6-940215e36973/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c39a0d07-64b2-44dd-9019-f5bf9eec7361/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/714c5575-f45b-4cd8-b7b6-940215e36973/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c39a0d07-64b2-44dd-9019-f5bf9eec7361/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/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend

View File

@ -7,19 +7,19 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
HTTP/1.1 201
CONTENT-LENGTH: 489
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}/vpcs/nodes
Content-Length: 489
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:14 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
{
"command_line": "",
"console": 5720,
"console": 5722,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/28993ca5-cc72-4766-911e-6f88f9cb0dd2",
"node_id": "28993ca5-cc72-4766-911e-6f88f9cb0dd2",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e38e7a07-93f4-48fd-96f6-05663168870d",
"node_id": "e38e7a07-93f4-48fd-96f6-05663168870d",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e6458fb-9415-4d48-a2a5-fd67a04db517/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/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/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/2e6458fb-9415-4d48-a2a5-fd67a04db517/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -10,11 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e6458
HTTP/1.1 201
CONTENT-LENGTH: 89
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}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
Content-Length: 89
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:14 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b8c8bedf-74e4-4dd5-8d43-d1d8bca1c0b9/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/726299c5-a366-4613-bdb6-c3b6ba9dc62f/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b8c8bedf-74e4-4dd5-8d43-d1d8bca1c0b9/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/726299c5-a366-4613-bdb6-c3b6ba9dc62f/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/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload

View File

@ -1,23 +1,23 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b32c3c1e-d6f2-4012-9430-6dc13c815f7a/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2b837084-9351-4f74-b5d7-6e00b81a75bd/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b32c3c1e-d6f2-4012-9430-6dc13c815f7a/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2b837084-9351-4f74-b5d7-6e00b81a75bd/start HTTP/1.1
{}
HTTP/1.1 200
CONTENT-LENGTH: 489
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}/vpcs/nodes/{node_id}/start
Content-Length: 489
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
"command_line": "",
"console": 5720,
"console": 5722,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/b32c3c1e-d6f2-4012-9430-6dc13c815f7a",
"node_id": "b32c3c1e-d6f2-4012-9430-6dc13c815f7a",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2b837084-9351-4f74-b5d7-6e00b81a75bd",
"node_id": "2b837084-9351-4f74-b5d7-6e00b81a75bd",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,12 +1,13 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7eff962-25e6-4f2d-a877-86c7fa144b1c/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7eff962-25e6-4f2d-a877-86c7fa144b1c/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/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/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop

View File

@ -14,8 +14,9 @@ POST /v2/compute/qemu/img 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/compute/qemu/img
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:13 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/qemu/img

View File

@ -1,92 +1,168 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/e7b150e3-b03a-4a17-a28f-90e7a84e89d3' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ad6018a3-6fe5-4e57-814b-09472ee68a82' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/e7b150e3-b03a-4a17-a28f-90e7a84e89d3 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ad6018a3-6fe5-4e57-814b-09472ee68a82 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 1590
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}/cloud/nodes/{node_id}
Content-Length: 3417
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:04 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
"interfaces": [
{
"name": "bridge0",
"special": true,
"type": "ethernet"
},
{
"name": "en0",
"special": false,
"type": "ethernet"
},
{
"name": "en1",
"special": false,
"type": "ethernet"
},
{
"name": "en2",
"special": false,
"type": "ethernet"
},
{
"name": "fw0",
"special": true,
"type": "ethernet"
},
{
"name": "lo0",
"special": true,
"type": "ethernet"
},
{
"name": "p2p0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "test",
"node_id": "e7b150e3-b03a-4a17-a28f-90e7a84e89d3",
"ports_mapping": [],
"node_id": "ad6018a3-6fe5-4e57-814b-09472ee68a82",
"ports_mapping": [
{
"interface": "en0",
"name": "en0",
"port_number": 0,
"type": "ethernet"
},
{
"interface": "en1",
"name": "en1",
"port_number": 1,
"type": "ethernet"
},
{
"interface": "en2",
"name": "en2",
"port_number": 2,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b11cabf9-ffa8-470d-bc83-e9f047ba09e9' -d '{"console": 5713, "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/57d77310-c390-42a9-abd5-5401f7f5a7d6' -d '{"console": 5715, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b11cabf9-ffa8-470d-bc83-e9f047ba09e9 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/57d77310-c390-42a9-abd5-5401f7f5a7d6 HTTP/1.1
{
"console": 5713,
"console": 5715,
"environment": "GNS3=1\nGNS4=0",
"name": "test",
"start_command": "yes"
@ -10,16 +10,16 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b11ca
HTTP/1.1 200
CONTENT-LENGTH: 654
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
Content-Length: 654
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:05 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
"adapters": 2,
"aux": 5712,
"console": 5713,
"aux": 5714,
"console": 5715,
"console_http_path": "/",
"console_http_port": 80,
"console_resolution": "1280x1024",
@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"environment": "GNS3=1\nGNS4=0",
"image": "nginx:latest",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/docker/b11cabf9-ffa8-470d-bc83-e9f047ba09e9",
"node_id": "b11cabf9-ffa8-470d-bc83-e9f047ba09e9",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/docker/57d77310-c390-42a9-abd5-5401f7f5a7d6",
"node_id": "57d77310-c390-42a9-abd5-5401f7f5a7d6",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/79e87d08-c942-472c-baac-dbb34526882e' -d '{"console": 5712, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f7738a-38aa-46c4-8a49-51a5a7aaabcc' -d '{"console": 5714, "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/79e87d08-c942-472c-baac-dbb34526882e HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f7738a-38aa-46c4-8a49-51a5a7aaabcc HTTP/1.1
{
"console": 5712,
"console": 5714,
"ethernet_adapters": 4,
"iourc_content": "test",
"l1_keepalives": true,
@ -16,22 +16,22 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/79e87d08
HTTP/1.1 200
CONTENT-LENGTH: 708
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
Content-Length: 708
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:06 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5712,
"console": 5714,
"console_type": "telnet",
"ethernet_adapters": 4,
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/79e87d08-c942-472c-baac-dbb34526882e",
"node_id": "79e87d08-c942-472c-baac-dbb34526882e",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_json5/project-files/iou/65f7738a-38aa-46c4-8a49-51a5a7aaabcc",
"node_id": "65f7738a-38aa-46c4-8a49-51a5a7aaabcc",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,

View File

@ -1,27 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b945c3a0-b7f5-4bf3-8173-85f032b61b53' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7402624f-431b-4d4e-935a-6deb548bd81b' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b945c3a0-b7f5-4bf3-8173-85f032b61b53 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7402624f-431b-4d4e-935a-6deb548bd81b HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 336
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}/nat/nodes/{node_id}
Content-Length: 331
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:08 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "b945c3a0-b7f5-4bf3-8173-85f032b61b53",
"node_id": "7402624f-431b-4d4e-935a-6deb548bd81b",
"ports_mapping": [
{
"interface": "virbr0",
"name": "virbr0",
"interface": "gns3nat9",
"name": "nat0",
"port_number": 0,
"type": "ethernet"
"type": "tap"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",

View File

@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/acb10e2a-f47c-4a95-8551-0e5f76fc206c' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18a04195-5602-47dd-9c1d-b6dee3b90e5e' -d '{"console": 5714, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/acb10e2a-f47c-4a95-8551-0e5f76fc206c HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18a04195-5602-47dd-9c1d-b6dee3b90e5e HTTP/1.1
{
"console": 5712,
"console": 5714,
"hdb_disk_image": "linux\u8f7d.img",
"name": "test",
"ram": 1024
@ -10,11 +10,11 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/acb10e2
HTTP/1.1 200
CONTENT-LENGTH: 1456
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}
Content-Length: 1456
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:11 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5712,
"console": 5714,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:20:6c:00",
"mac_address": "00:dd:80:0e:5e:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/acb10e2a-f47c-4a95-8551-0e5f76fc206c",
"node_id": "acb10e2a-f47c-4a95-8551-0e5f76fc206c",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/18a04195-5602-47dd-9c1d-b6dee3b90e5e",
"node_id": "18a04195-5602-47dd-9c1d-b6dee3b90e5e",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmccqyvwn/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,30 +1,30 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bb7fb45b-8c96-4fdd-99fc-e1a91779d19a' -d '{"console": 5721, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/35e77f7c-5e4c-4e39-a025-aee0a65bc77d' -d '{"console": 5723, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bb7fb45b-8c96-4fdd-99fc-e1a91779d19a HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/35e77f7c-5e4c-4e39-a025-aee0a65bc77d HTTP/1.1
{
"console": 5721,
"console": 5723,
"name": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 469
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}/virtualbox/nodes/{node_id}
Content-Length: 469
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:14 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5721,
"console": 5723,
"enable_remote_console": false,
"headless": false,
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "bb7fb45b-8c96-4fdd-99fc-e1a91779d19a",
"node_id": "35e77f7c-5e4c-4e39-a025-aee0a65bc77d",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,27 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/41035467-4785-45a3-997f-4125c0f0955c' -d '{"console": 5722, "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/89b33b7f-9d21-4dce-b584-5afed089910d' -d '{"console": 5724, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/41035467-4785-45a3-997f-4125c0f0955c HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/89b33b7f-9d21-4dce-b584-5afed089910d HTTP/1.1
{
"console": 5722,
"console": 5724,
"name": "test",
"startup_script": "ip 192.168.1.1"
}
HTTP/1.1 200
CONTENT-LENGTH: 505
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}/vpcs/nodes/{node_id}
Content-Length: 505
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5722,
"console": 5724,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/41035467-4785-45a3-997f-4125c0f0955c",
"node_id": "41035467-4785-45a3-997f-4125c0f0955c",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/89b33b7f-9d21-4dce-b584-5afed089910d",
"node_id": "89b33b7f-9d21-4dce-b584-5afed089910d",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": "ip 192.168.1.1",
"startup_script_path": "startup.vpc",

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/c8e7d20f-adab-47e4-be7f-6bd1b3028009'
curl -i -X DELETE 'http://localhost:3080/v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763'
DELETE /v2/projects/c8e7d20f-adab-47e4-be7f-6bd1b3028009 HTTP/1.1
DELETE /v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763 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}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:22 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/e4d9e39f-c6d7-4549-9a39-77b491a1d0c9/drawings/5e201fa7-093b-438a-813a-fb9c0ca7d1bc'
curl -i -X DELETE 'http://localhost:3080/v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd'
DELETE /v2/projects/e4d9e39f-c6d7-4549-9a39-77b491a1d0c9/drawings/5e201fa7-093b-438a-813a-fb9c0ca7d1bc HTTP/1.1
DELETE /v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd 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}/drawings/{drawing_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:17 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/237d87b6-9912-4aff-9210-b46706b18caf/links/c1f96066-ff56-4c79-9a82-df5c53edcfd9'
curl -i -X DELETE 'http://localhost:3080/v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a'
DELETE /v2/projects/237d87b6-9912-4aff-9210-b46706b18caf/links/c1f96066-ff56-4c79-9a82-df5c53edcfd9 HTTP/1.1
DELETE /v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a 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}/links/{link_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:19 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/links/{link_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/b33faa3d-e348-4de5-a266-30b3949d5872/nodes/cf34dae9-ff88-4ef4-a37f-e3954d07e351'
curl -i -X DELETE 'http://localhost:3080/v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062'
DELETE /v2/projects/b33faa3d-e348-4de5-a266-30b3949d5872/nodes/cf34dae9-ff88-4ef4-a37f-e3954d07e351 HTTP/1.1
DELETE /v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062 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/{node_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:21 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}

View File

@ -1,12 +1,13 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/444b02bb-7499-40a7-860c-531554e3e7ab/snapshots/e8b20eee-6a23-4dfc-8cae-1f3ec3e7b880'
curl -i -X DELETE 'http://localhost:3080/v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa'
DELETE /v2/projects/444b02bb-7499-40a7-860c-531554e3e7ab/snapshots/e8b20eee-6a23-4dfc-8cae-1f3ec3e7b880 HTTP/1.1
DELETE /v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa 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}/snapshots/{snapshot_id}
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 27 Sep 2016 10:01:24 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}

View File

@ -5,11 +5,11 @@ GET /v2/computes HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 387
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
Content-Length: 387
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:16 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/computes
[
{

View File

@ -5,11 +5,11 @@ GET /v2/computes/my_compute_id HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 334
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}
Content-Length: 334
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:16 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/computes/{compute_id}
{
"capabilities": {

View File

@ -5,11 +5,11 @@ GET /v2/computes/my_compute/qemu/images HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 95
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/computes/{compute_id}/{emulator}/images
Content-Length: 95
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:16 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/computes/{compute_id}/{emulator}/images
[
{

View File

@ -5,16 +5,18 @@ GET /v2/gns3vm HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 115
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/gns3vm
Content-Length: 148
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:17 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/gns3vm
{
"enable": false,
"engine": "vmware",
"headless": false,
"ram": 2048,
"vcpus": 1,
"vmname": null,
"when_exit": "stop"
}

View File

@ -5,11 +5,11 @@ GET /v2/gns3vm/engines HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 1018
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/gns3vm/engines
Content-Length: 1106
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:17 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/gns3vm/engines
[
{
@ -17,6 +17,7 @@ X-ROUTE: /v2/gns3vm/engines
"engine_id": "vmware",
"name": "VMware Fusion",
"support_headless": true,
"support_ram": true,
"support_when_exit": true
},
{
@ -24,6 +25,7 @@ X-ROUTE: /v2/gns3vm/engines
"engine_id": "virtualbox",
"name": "VirtualBox",
"support_headless": true,
"support_ram": true,
"support_when_exit": true
},
{
@ -31,6 +33,7 @@ X-ROUTE: /v2/gns3vm/engines
"engine_id": "remote",
"name": "Remote",
"support_headless": false,
"support_ram": false,
"support_when_exit": false
}
]

View File

@ -5,11 +5,11 @@ GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 40
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/gns3vm/engines/{engine}/vms
Content-Length: 40
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:17 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/gns3vm/engines/{engine}/vms
[
{

View File

@ -5,11 +5,11 @@ GET /v2/projects HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 370
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
Content-Length: 429
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:22 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects
[
{
@ -18,8 +18,10 @@ X-ROUTE: /v2/projects
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_list_projects1",
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}
]

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/ad599422-7555-46f0-82aa-bc5cc232a84c'
curl -i -X GET 'http://localhost:3080/v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c'
GET /v2/projects/ad599422-7555-46f0-82aa-bc5cc232a84c HTTP/1.1
GET /v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 328
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}
Content-Length: 379
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:22 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}
{
"auto_close": true,
@ -17,7 +17,9 @@ X-ROUTE: /v2/projects/{project_id}
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm0i67nfc/projects/ad599422-7555-46f0-82aa-bc5cc232a84c",
"project_id": "ad599422-7555-46f0-82aa-bc5cc232a84c",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpszefva4f/projects/b7f06506-7cdb-4fed-beca-f68e685c694c",
"project_id": "b7f06506-7cdb-4fed-beca-f68e685c694c",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}

View File

@ -1,20 +1,20 @@
curl -i -X GET 'http://localhost:3080/v2/projects/213aea2d-98f7-4d6b-a436-5f67458ad62d/drawings'
curl -i -X GET 'http://localhost:3080/v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings'
GET /v2/projects/213aea2d-98f7-4d6b-a436-5f67458ad62d/drawings HTTP/1.1
GET /v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 363
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}/drawings
Content-Length: 363
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:17 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "397ff7c4-157e-4513-bf16-5cf857fd2433",
"project_id": "213aea2d-98f7-4d6b-a436-5f67458ad62d",
"drawing_id": "b2654fa7-f511-4dcb-986e-491ec84b42d8",
"project_id": "93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,

View File

@ -1,22 +1,23 @@
curl -i -X GET 'http://localhost:3080/v2/projects/7577e59a-7758-4c5a-841f-be976afd8a57/links'
curl -i -X GET 'http://localhost:3080/v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links'
GET /v2/projects/7577e59a-7758-4c5a-841f-be976afd8a57/links HTTP/1.1
GET /v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 1078
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
Content-Length: 1111
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:18 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": "a5017183-450b-43ef-9f5b-7d9ef2f77670",
"link_id": "ca268d39-d533-4182-87da-16ef58fbf230",
"link_type": "ethernet",
"nodes": [
{
"adapter_number": 0,
@ -27,7 +28,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "7ec55228-4f17-47ec-9afa-041114f5a95e",
"node_id": "c824d9de-a001-47e4-bbce-9fee0533c10c",
"port_number": 3
},
{
@ -39,10 +40,10 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "ea49b826-f3ac-4683-898d-7c9384cd44f1",
"node_id": "1a1944d6-405f-44cc-9c97-40c753b213f2",
"port_number": 4
}
],
"project_id": "7577e59a-7758-4c5a-841f-be976afd8a57"
"project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8"
}
]

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/f7d44669-cb36-4ec0-bcee-57ef25dbb640/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes'
GET /v2/projects/f7d44669-cb36-4ec0-bcee-57ef25dbb640/nodes HTTP/1.1
GET /v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 1264
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
Content-Length: 1264
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:19 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/nodes
[
{
@ -29,7 +29,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "cb86c0c4-5892-4178-a0ff-fda36032d578",
"node_id": "c09fb918-12f6-4b7f-a821-12f893bd236a",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
@ -45,7 +45,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes
"short_name": "e0/0"
}
],
"project_id": "f7d44669-cb36-4ec0-bcee-57ef25dbb640",
"project_id": "c55181df-bfe9-4556-9f56-d07b471c7c29",
"properties": {
"startup_script": "echo test"
},

View File

@ -0,0 +1,57 @@
curl -i -X GET 'http://localhost:3080/v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739'
GET /v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739 HTTP/1.1
HTTP/1.1 200
Content-Length: 1084
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:20 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_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
"style": "font-size: 10;font-familly: Verdana",
"text": "test",
"x": null,
"y": -40
},
"name": "test",
"node_directory": null,
"node_id": "3b02a817-722a-4908-85c1-1f02eeb01739",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "a9ed36e5-580d-4a3e-8624-986dabbe4541",
"properties": {
"startup_script": "echo test"
},
"status": "stopped",
"symbol": ":/symbols/computer.svg",
"width": 65,
"x": 0,
"y": 0,
"z": 0
}

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/4dc27f12-ba3b-44a3-af9e-2965ac360d8b/nodes/8b807f66-d4b6-438a-987a-b7dd3c3eff7a/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/dynamips/auto_idlepc'
GET /v2/projects/4dc27f12-ba3b-44a3-af9e-2965ac360d8b/nodes/8b807f66-d4b6-438a-987a-b7dd3c3eff7a/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/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
Content-Length: 30
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:21 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
{
"idlepc": "0x60606f54"

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/67874f29-b0c6-43bd-b884-089848010c10/nodes/7933f17b-6a9e-47c4-97ac-4e952e658dfa/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/dynamips/idlepc_proposals'
GET /v2/projects/67874f29-b0c6-43bd-b884-089848010c10/nodes/7933f17b-6a9e-47c4-97ac-4e952e658dfa/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/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
Content-Length: 38
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:21 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
[
"0x60606f54",

View File

@ -1,21 +1,21 @@
curl -i -X GET 'http://localhost:3080/v2/projects/a73b08ff-47f8-4ce8-9eb2-f59d5def53d0/snapshots'
curl -i -X GET 'http://localhost:3080/v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots'
GET /v2/projects/a73b08ff-47f8-4ce8-9eb2-f59d5def53d0/snapshots HTTP/1.1
GET /v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 197
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}/snapshots
Content-Length: 197
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:24 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1473859409,
"created_at": 1474970484,
"name": "test",
"project_id": "a73b08ff-47f8-4ce8-9eb2-f59d5def53d0",
"snapshot_id": "5696b200-d0df-4c89-9813-ba76f58917ae"
"project_id": "e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41",
"snapshot_id": "472104bf-b65c-4d6d-b288-5bf3981826e5"
}
]

View File

@ -5,11 +5,11 @@ GET /v2/settings HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 20
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/settings
Content-Length: 20
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:24 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/settings
{
"test": true

View File

@ -5,11 +5,11 @@ GET /v2/symbols HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 5174
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/symbols
Content-Length: 5174
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:24 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/symbols
[
{

View File

@ -5,11 +5,11 @@ GET /v2/version HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 49
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/version
Content-Length: 49
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:25 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/version
{
"local": true,

View File

@ -12,11 +12,11 @@ POST /v2/computes HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 334
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
Content-Length: 334
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:15 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/computes
{
"capabilities": {

View File

@ -8,11 +8,11 @@ POST /v2/projects HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 328
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
Content-Length: 379
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:21 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects
{
"auto_close": true,
@ -20,7 +20,9 @@ X-ROUTE: /v2/projects
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpa6mgwv0u/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpihahq8x6/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}

View File

@ -7,11 +7,11 @@ POST /v2/projects/load HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 328
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/load
Content-Length: 379
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:23 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/load
{
"auto_close": true,
@ -19,7 +19,9 @@ X-ROUTE: /v2/projects/load
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9hlt1889/projects/6f7c9f59-9706-452a-9ca9-ab6833b8128d",
"project_id": "6f7c9f59-9706-452a-9ca9-ab6833b8128d",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfxgyjchh/projects/b0ac2ebd-60d7-4bf7-b624-01026c5f3a5b",
"project_id": "b0ac2ebd-60d7-4bf7-b624-01026c5f3a5b",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}

View File

@ -1,15 +1,15 @@
curl -i -X POST 'http://localhost:3080/v2/projects/37f11940-60d6-4a49-824b-0c8fd8444e74/close' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/c48b0488-3b89-4b97-abb1-1e55d6f4a130/close' -d '{}'
POST /v2/projects/37f11940-60d6-4a49-824b-0c8fd8444e74/close HTTP/1.1
POST /v2/projects/c48b0488-3b89-4b97-abb1-1e55d6f4a130/close HTTP/1.1
{}
HTTP/1.1 201
CONTENT-LENGTH: 328
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/close
Content-Length: 379
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:22 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/close
{
"auto_close": true,
@ -17,7 +17,9 @@ X-ROUTE: /v2/projects/{project_id}/close
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1d654z13/projects/37f11940-60d6-4a49-824b-0c8fd8444e74",
"project_id": "37f11940-60d6-4a49-824b-0c8fd8444e74",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpi2k_x5ev/projects/c48b0488-3b89-4b97-abb1-1e55d6f4a130",
"project_id": "c48b0488-3b89-4b97-abb1-1e55d6f4a130",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/4e21c010-3db6-4f22-bb37-81dce4e5d7fd/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
curl -i -X POST 'http://localhost:3080/v2/projects/f52f1e26-848d-4d38-aed9-d4d6fadd8409/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
POST /v2/projects/4e21c010-3db6-4f22-bb37-81dce4e5d7fd/drawings HTTP/1.1
POST /v2/projects/f52f1e26-848d-4d38-aed9-d4d6fadd8409/drawings HTTP/1.1
{
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,
@ -10,15 +10,15 @@ POST /v2/projects/4e21c010-3db6-4f22-bb37-81dce4e5d7fd/drawings HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 323
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}/drawings
Content-Length: 323
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:16 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/drawings
{
"drawing_id": "9c979443-867c-4169-98a2-50a55528d254",
"project_id": "4e21c010-3db6-4f22-bb37-81dce4e5d7fd",
"drawing_id": "97324da2-fa1d-4b03-89ed-96c300f70c02",
"project_id": "f52f1e26-848d-4d38-aed9-d4d6fadd8409",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,

View File

@ -1,17 +1,17 @@
curl -i -X POST 'http://localhost:3080/v2/projects/0f9ef2ca-ac08-475a-b41e-0e5fe21f75ea/duplicate' -d '{"name": "hello"}'
curl -i -X POST 'http://localhost:3080/v2/projects/39b19482-f3b7-4ac9-83a1-a754f553f505/duplicate' -d '{"name": "hello"}'
POST /v2/projects/0f9ef2ca-ac08-475a-b41e-0e5fe21f75ea/duplicate HTTP/1.1
POST /v2/projects/39b19482-f3b7-4ac9-83a1-a754f553f505/duplicate HTTP/1.1
{
"name": "hello"
}
HTTP/1.1 201
CONTENT-LENGTH: 299
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}/duplicate
Content-Length: 350
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:23 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/duplicate
{
"auto_close": true,
@ -19,7 +19,9 @@ X-ROUTE: /v2/projects/{project_id}/duplicate
"auto_start": false,
"filename": "hello.gns3",
"name": "hello",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy0j7sw_o/projects/hello",
"project_id": "e47d8cbb-496e-429c-b3c6-be70ded013f1",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp412nbayy/projects/hello",
"project_id": "42a58062-f997-4be3-bd4a-14731d215cf9",
"scene_height": 1000,
"scene_width": 2000,
"status": "closed"
}

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