Update API documentation. Fixes #1253.

This commit is contained in:
grossmj 2018-01-08 11:57:07 +07:00
parent e8353e68bb
commit ffe21f6b73
324 changed files with 1168 additions and 14199 deletions

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:23 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:00 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:05 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:10 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:13 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:17 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:16 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:29 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:32 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:41 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,33 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/capabilities'
GET /v2/compute/capabilities HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 347
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/capabilities
{
"node_types": [
"cloud",
"ethernet_hub",
"ethernet_switch",
"nat",
"vpcs",
"virtualbox",
"dynamips",
"frame_relay_switch",
"atm_switch",
"qemu",
"vmware",
"docker",
"iou"
],
"platform": "linuxdebian",
"version": "2.1.0dev1"
}

View File

@ -1,22 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/iou/images'
GET /v2/compute/iou/images HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 149
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:14 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/iou/images
[
{
"filename": "iou.bin",
"filesize": 7,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"path": "iou.bin"
}
]

View File

@ -1,178 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/network/interfaces'
GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 3969
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:19 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/network/interfaces
[
{
"id": "bridge0",
"ip_address": "",
"mac_address": "d2:00:1b:c0:17:80",
"name": "bridge0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "en0",
"ip_address": "",
"mac_address": "3c:07:54:78:07:cc",
"name": "en0",
"netmask": "",
"special": false,
"type": "ethernet"
},
{
"id": "en1",
"ip_address": "192.168.84.156",
"mac_address": "68:a8:6d:4a:c3:16",
"name": "en1",
"netmask": "255.255.255.0",
"special": false,
"type": "ethernet"
},
{
"id": "en2",
"ip_address": "",
"mac_address": "d2:00:1b:c0:17:80",
"name": "en2",
"netmask": "",
"special": false,
"type": "ethernet"
},
{
"id": "fw0",
"ip_address": "",
"mac_address": "3c:07:54:ff:fe:bc:01:78",
"name": "fw0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "lo0",
"ip_address": "127.0.0.1",
"mac_address": "",
"name": "lo0",
"netmask": "255.0.0.0",
"special": true,
"type": "ethernet"
},
{
"id": "p2p0",
"ip_address": "",
"mac_address": "0a:a8:6d:4a:c3:16",
"name": "p2p0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "utun0",
"ip_address": "",
"mac_address": "",
"name": "utun0",
"netmask": "",
"special": false,
"type": "ethernet"
},
{
"id": "vmnet1",
"ip_address": "172.16.16.1",
"mac_address": "00:50:56:c0:00:01",
"name": "vmnet1",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet10",
"ip_address": "172.16.7.1",
"mac_address": "00:50:56:c0:00:0a",
"name": "vmnet10",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet2",
"ip_address": "172.16.0.1",
"mac_address": "00:50:56:c0:00:02",
"name": "vmnet2",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet3",
"ip_address": "172.16.1.1",
"mac_address": "00:50:56:c0:00:03",
"name": "vmnet3",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet4",
"ip_address": "172.16.2.1",
"mac_address": "00:50:56:c0:00:04",
"name": "vmnet4",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet5",
"ip_address": "172.16.3.1",
"mac_address": "00:50:56:c0:00:05",
"name": "vmnet5",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet6",
"ip_address": "172.16.4.1",
"mac_address": "00:50:56:c0:00:06",
"name": "vmnet6",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet7",
"ip_address": "172.16.5.1",
"mac_address": "00:50:56:c0:00:07",
"name": "vmnet7",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet8",
"ip_address": "192.168.229.1",
"mac_address": "00:50:56:c0:00:08",
"name": "vmnet8",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet9",
"ip_address": "172.16.6.1",
"mac_address": "00:50:56:c0:00:09",
"name": "vmnet9",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
}
]

View File

@ -1,24 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects'
GET /v2/compute/projects HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 198
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:22 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects
[
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
},
{
"name": "test",
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
}
]

View File

@ -1,18 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02'
GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 80
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:21 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}
{
"name": "test",
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02"
}

View File

@ -1,139 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 2951
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.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": "utun0",
"special": false,
"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_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/6e8d100d-88bb-4f15-8750-d4fa9c614314",
"node_id": "6e8d100d-88bb-4f15-8750-d4fa9c614314",
"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"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,32 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 640
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:08 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"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-63/test_json4/project-files/iou/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
"node_id": "3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
"nvram": 128,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,28 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:15 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "82feae22-4a86-4664-ac99-5b694c99bfd8",
"ports_mapping": [
{
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,59 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:27 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5004,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
"hda_disk_image": "",
"hda_disk_image_md5sum": null,
"hda_disk_interface": "ide",
"hdb_disk_image": "",
"hdb_disk_image_md5sum": null,
"hdb_disk_interface": "ide",
"hdc_disk_image": "",
"hdc_disk_image_md5sum": null,
"hdc_disk_interface": "ide",
"hdd_disk_image": "",
"hdd_disk_image_md5sum": null,
"hdd_disk_interface": "ide",
"initrd": "",
"initrd_md5sum": null,
"kernel_command_line": "",
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:5f:fa:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
"node_id": "c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
}

View File

@ -1,31 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 465
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.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": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "2901742a-3226-4ac7-96a1-85be8dd885d5",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
"use_any_adapter": false,
"vmname": "VMTEST"
}

View File

@ -1,24 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
"node_id": "ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,32 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/qemu/binaries' -d '{"archs": ["i386"]}'
GET /v2/compute/qemu/binaries HTTP/1.1
{
"archs": [
"i386"
]
}
HTTP/1.1 200
Connection: close
Content-Length: 212
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:32 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/qemu/binaries
[
{
"path": "/tmp/x86_64",
"version": "2.2.0"
},
{
"path": "/tmp/alpha",
"version": "2.1.0"
},
{
"path": "/tmp/i386",
"version": "2.1.0"
}
]

View File

@ -1,19 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/qemu/capabilities'
GET /v2/compute/qemu/capabilities HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 39
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:35 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/qemu/capabilities
{
"kvm": [
"x86_64"
]
}

View File

@ -1,18 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/compute/version'
GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 49
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:36 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/version
{
"local": true,
"version": "2.1.0dev1"
}

View File

@ -1,21 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects' -d '{"name": "test", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"}'
POST /v2/compute/projects HTTP/1.1
{
"name": "test",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
}
HTTP/1.1 201
Connection: close
Content-Length: 80
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:20 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects
{
"name": "test",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:24 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/close

View File

@ -1,141 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes' -d '{"name": "Cloud 1"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/1.1
{
"name": "Cloud 1"
}
HTTP/1.1 201
Connection: close
Content-Length: 2951
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.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": "utun0",
"special": false,
"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_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
"node_id": "d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
"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"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,25 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/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/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -1,25 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/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/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:04 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -1,20 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/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/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
}
HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:06 GMT
Server: Python/3.6 GNS3/2.1.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-63/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:06 GMT
Server: Python/3.6 GNS3/2.1.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,37 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979", "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": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
HTTP/1.1 201
Connection: close
Content-Length: 640
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:08 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes
{
"command_line": "",
"console": 5004,
"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-63/test_json4/project-files/iou/adb7de66-2415-44b5-8a84-2dc5fdee6979",
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
"nvram": 128,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,21 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"
}
HTTP/1.1 201
Connection: close
Content-Length: 64
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:11 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"
}

View File

@ -1,20 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77839213-c55a-484c-98a3-2bf0d2893352/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/77839213-c55a-484c-98a3-2bf0d2893352/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
}
HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:13 GMT
Server: Python/3.6 GNS3/2.1.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-63/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:14 GMT
Server: Python/3.6 GNS3/2.1.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,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload

View File

@ -1,34 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start HTTP/1.1
{
"iourc_content": "test"
}
HTTP/1.1 200
Connection: close
Content-Length: 640
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
"command_line": "",
"console": 5004,
"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-63/test_json4/project-files/iou/866ec4e8-835c-41bc-ae06-ef3aefc3133c",
"node_id": "866ec4e8-835c-41bc-ae06-ef3aefc3133c",
"nvram": 128,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop

View File

@ -1,30 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes' -d '{"name": "Nat 1"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.1
{
"name": "Nat 1"
}
HTTP/1.1 201
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:15 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "0bfda9f4-d320-437b-ad78-524022eb0ea7",
"ports_mapping": [
{
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,25 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/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/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:16 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -1,17 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.1
{}
HTTP/1.1 201
Connection: close
Content-Length: 25
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:18 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/ports/udp
{
"udp_port": 10000
}

View File

@ -1,64 +0,0 @@
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/tmp47ntn6ne/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/tmp47ntn6ne/qemu-system-x86_64",
"ram": 1024
}
HTTP/1.1 201
Connection: close
Content-Length: 1514
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:26 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5004,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
"hda_disk_image": "linux\u8f7d.img",
"hda_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
"hda_disk_interface": "ide",
"hdb_disk_image": "",
"hdb_disk_image_md5sum": null,
"hdb_disk_interface": "ide",
"hdc_disk_image": "",
"hdc_disk_image_md5sum": null,
"hdc_disk_interface": "ide",
"hdd_disk_image": "",
"hdd_disk_image_md5sum": null,
"hdd_disk_interface": "ide",
"initrd": "",
"initrd_md5sum": null,
"kernel_command_line": "",
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:08:57:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8f66a9c3-60bd-4a10-8feb-73e3341f0857",
"node_id": "8f66a9c3-60bd-4a10-8feb-73e3341f0857",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
}

View File

@ -1,21 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"
}
HTTP/1.1 409
Connection: close
Content-Length: 81
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:31 GMT
Server: Python/3.6 GNS3/2.1.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",
"status": 409
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:28 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:29 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume

View File

@ -1,59 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start HTTP/1.1
{}
HTTP/1.1 200
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:27 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5004,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
"hda_disk_image": "",
"hda_disk_image_md5sum": null,
"hda_disk_interface": "ide",
"hdb_disk_image": "",
"hdb_disk_image_md5sum": null,
"hdb_disk_interface": "ide",
"hdc_disk_image": "",
"hdc_disk_image_md5sum": null,
"hdc_disk_interface": "ide",
"hdd_disk_image": "",
"hdd_disk_image_md5sum": null,
"hdd_disk_interface": "ide",
"initrd": "",
"initrd_md5sum": null,
"kernel_command_line": "",
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:fd:43:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
"node_id": "ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:28 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:28 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend

View File

@ -1,35 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes' -d '{"linked_clone": false, "name": "VM1", "vmname": "VM1"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes HTTP/1.1
{
"linked_clone": false,
"name": "VM1",
"vmname": "VM1"
}
HTTP/1.1 201
Connection: close
Content-Length: 459
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:36 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "9e2ac63a-073c-4a24-aeac-f61357a5f90f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
"use_any_adapter": false,
"vmname": "VM1"
}

View File

@ -1,25 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/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/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:38 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:38 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend

View File

@ -1,26 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes' -d '{"name": "PC TEST 1"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1.1
{
"name": "PC TEST 1"
}
HTTP/1.1 201
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
{
"command_line": "",
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
"node_id": "688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,25 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/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/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:40 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload

View File

@ -1,24 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start HTTP/1.1
{}
HTTP/1.1 200
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:42 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
"command_line": "",
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c8ead56f-2107-4183-837e-ee2be3d07942",
"node_id": "c8ead56f-2107-4183-837e-ee2be3d07942",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,14 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop

View File

@ -1,23 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/compute/qemu/img' -d '{"cluster_size": 64, "format": "qcow2", "lazy_refcounts": "off", "path": "/tmp/hda.qcow2", "preallocation": "metadata", "qemu_img": "/tmp/qemu-img", "refcount_bits": 12, "size": 100}'
POST /v2/compute/qemu/img HTTP/1.1
{
"cluster_size": 64,
"format": "qcow2",
"lazy_refcounts": "off",
"path": "/tmp/hda.qcow2",
"preallocation": "metadata",
"qemu_img": "/tmp/qemu-img",
"refcount_bits": 12,
"size": 100
}
HTTP/1.1 201
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:35 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/qemu/img

View File

@ -1,141 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
Connection: close
Content-Length: 2948
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:00 GMT
Server: Python/3.6 GNS3/2.1.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": "utun0",
"special": false,
"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_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/4631238a-cc6f-42f4-919e-564e00b9daf5",
"node_id": "4631238a-cc6f-42f4-919e-564e00b9daf5",
"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"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,37 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c HTTP/1.1
{
"console": 5006,
"environment": "GNS3=1\nGNS4=0",
"name": "test",
"start_command": "yes"
}
HTTP/1.1 200
Connection: close
Content-Length: 653
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:05 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
"adapters": 2,
"aux": 5005,
"console": 5006,
"console_http_path": "/",
"console_http_port": 80,
"console_resolution": "1280x1024",
"console_type": "telnet",
"container_id": "8bd8153ea8f5",
"environment": "GNS3=1\nGNS4=0",
"image": "nginx:latest",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/docker/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
"node_id": "bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"
}

View File

@ -1,41 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6-735e-4523-bb83-5ea11ecc97f7' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6-735e-4523-bb83-5ea11ecc97f7 HTTP/1.1
{
"console": 5005,
"ethernet_adapters": 4,
"l1_keepalives": true,
"name": "test",
"nvram": 2048,
"ram": 512,
"serial_adapters": 0,
"use_default_iou_values": true
}
HTTP/1.1 200
Connection: close
Content-Length: 635
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:10 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5005,
"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-63/test_json4/project-files/iou/e01d02c6-735e-4523-bb83-5ea11ecc97f7",
"node_id": "e01d02c6-735e-4523-bb83-5ea11ecc97f7",
"nvram": 2048,
"path": "iou.bin",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 512,
"serial_adapters": 0,
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,30 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/41808a1f-4259-44e1-904c-bc785c285677' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/41808a1f-4259-44e1-904c-bc785c285677 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:18 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "41808a1f-4259-44e1-904c-bc785c285677",
"ports_mapping": [
{
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,64 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4f507333-8f47-4e28-80c0-431412e17452' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4f507333-8f47-4e28-80c0-431412e17452 HTTP/1.1
{
"console": 5006,
"hdb_disk_image": "linux\u8f7d.img",
"name": "test",
"ram": 1024
}
HTTP/1.1 200
Connection: close
Content-Length: 1509
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:29 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5006,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
"hda_disk_image": "",
"hda_disk_image_md5sum": null,
"hda_disk_interface": "ide",
"hdb_disk_image": "linux\u8f7d.img",
"hdb_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
"hdb_disk_interface": "ide",
"hdc_disk_image": "",
"hdc_disk_image_md5sum": null,
"hdc_disk_interface": "ide",
"hdd_disk_image": "",
"hdd_disk_image_md5sum": null,
"hdd_disk_interface": "ide",
"initrd": "",
"initrd_md5sum": null,
"kernel_command_line": "",
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:74:52:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4f507333-8f47-4e28-80c0-431412e17452",
"node_id": "4f507333-8f47-4e28-80c0-431412e17452",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
}

View File

@ -1,34 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39302861-c326-48fe-a44d-d3c9582d5354' -d '{"console": 5005, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39302861-c326-48fe-a44d-d3c9582d5354 HTTP/1.1
{
"console": 5005,
"name": "test"
}
HTTP/1.1 200
Connection: close
Content-Length: 463
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.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": 5005,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "39302861-c326-48fe-a44d-d3c9582d5354",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
"use_any_adapter": false,
"vmname": "VMTEST"
}

View File

@ -1,27 +0,0 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387' -d '{"console": 5006, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387 HTTP/1.1
{
"console": 5006,
"name": "test"
}
HTTP/1.1 200
Connection: close
Content-Length: 423
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5006,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387",
"node_id": "8a66c0b3-f8d7-44e8-aa03-12d5e14c7387",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/computes/my_compute_id'
DELETE /v2/computes/my_compute_id HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:46 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/e30c8eb4-c08f-4a5e-836e-c885a0a816ad'
DELETE /v2/projects/e30c8eb4-c08f-4a5e-836e-c885a0a816ad HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:08:03 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9/drawings/f5852a28-616a-4e2c-a288-2184daecd0dc'
DELETE /v2/projects/9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9/drawings/f5852a28-616a-4e2c-a288-2184daecd0dc HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:49 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/0e7e02c1-1864-46e3-a0ec-de2d3860ed66/links/998e514e-d9a3-4de5-a940-13845f96fe55'
DELETE /v2/projects/0e7e02c1-1864-46e3-a0ec-de2d3860ed66/links/998e514e-d9a3-4de5-a940-13845f96fe55 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:54 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/links/{link_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/f4a68c15-6212-45a0-9760-14d0f8aa30a3/nodes/d52ba5ac-1806-4264-a77d-dac53c5bcd3a'
DELETE /v2/projects/f4a68c15-6212-45a0-9760-14d0f8aa30a3/nodes/d52ba5ac-1806-4264-a77d-dac53c5bcd3a HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:07:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}

View File

@ -1,14 +0,0 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/6f8d001b-2e78-4ce2-be41-2c09dc2c6d76/snapshots/ec35ee09-2bc2-4254-94a5-32d6ec6b16b9'
DELETE /v2/projects/6f8d001b-2e78-4ce2-be41-2c09dc2c6d76/snapshots/ec35ee09-2bc2-4254-94a5-32d6ec6b16b9 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 29 Jun 2017 15:08:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}

View File

@ -1,96 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/appliances'
GET /v2/appliances HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 2486
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/appliances
[
{
"appliance_id": "39e257dc-8412-3174-b6b3-0ee3ed6a43e9",
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Cloud",
"node_type": "cloud",
"symbol": ":/symbols/cloud.svg"
},
{
"appliance_id": "df8f4ea9-33b7-3e96-86a2-c39bc9bb649c",
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "NAT",
"node_type": "nat",
"symbol": ":/symbols/cloud.svg"
},
{
"appliance_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "VPCS",
"node_type": "vpcs",
"symbol": ":/symbols/vpcs_guest.svg"
},
{
"appliance_id": "1966b864-93e7-32d5-965f-001384eec461",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Ethernet switch",
"node_type": "ethernet_switch",
"symbol": ":/symbols/ethernet_switch.svg"
},
{
"appliance_id": "b4503ea9-d6b6-3695-9fe4-1db3b39290b0",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Ethernet hub",
"node_type": "ethernet_hub",
"symbol": ":/symbols/hub.svg"
},
{
"appliance_id": "dd0f6f3a-ba58-3249-81cb-a1dd88407a47",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Frame Relay switch",
"node_type": "frame_relay_switch",
"symbol": ":/symbols/frame_relay_switch.svg"
},
{
"appliance_id": "aaa764e2-b383-300f-8a0e-3493bbfdb7d2",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "ATM switch",
"node_type": "atm_switch",
"symbol": ":/symbols/atm_switch.svg"
},
{
"appliance_id": "ae14fd22-8a2a-4bd0-a88d-86bd35744533",
"builtin": false,
"category": "router",
"compute_id": "local",
"default_name_format": "{name}-{0}",
"name": "test",
"node_type": "qemu",
"symbol": "guest.svg"
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,31 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/computes'
GET /v2/computes HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 387
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:45 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes
[
{
"capabilities": {
"node_types": [],
"version": null
},
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "My super server",
"port": 84,
"protocol": "http",
"user": "julien"
}
]

View File

@ -1,29 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute_id'
GET /v2/computes/my_compute_id HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:45 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}
{
"capabilities": {
"node_types": [],
"version": null
},
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "http",
"user": "julien"
}

View File

@ -1,15 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/virtualbox/vms'
GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 2
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:47 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
[]

View File

@ -1,22 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/qemu/images'
GET /v2/computes/my_compute/qemu/images HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 95
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:47 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}/{emulator}/images
[
{
"filename": "linux.qcow2"
},
{
"filename": "asav.qcow2"
}
]

View File

@ -1,23 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/gns3vm'
GET /v2/gns3vm HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 148
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:50 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/gns3vm
{
"enable": false,
"engine": "vmware",
"headless": false,
"ram": 2048,
"vcpus": 1,
"vmname": null,
"when_exit": "stop"
}

View File

@ -1,40 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines'
GET /v2/gns3vm/engines HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1106
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:50 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/gns3vm/engines
[
{
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.1.0dev1/GNS3.VM.VMware.Workstation.2.1.0dev1.zip\">downloaded here</a>.",
"engine_id": "vmware",
"name": "VMware Fusion",
"support_headless": true,
"support_ram": true,
"support_when_exit": true
},
{
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.1.0dev1/GNS3.VM.VirtualBox.2.1.0dev1.zip\">downloaded here</a>",
"engine_id": "virtualbox",
"name": "VirtualBox",
"support_headless": true,
"support_ram": true,
"support_when_exit": true
},
{
"description": "Use a remote GNS3 server as the GNS3 VM.",
"engine_id": "remote",
"name": "Remote",
"support_headless": false,
"support_ram": false,
"support_when_exit": false
}
]

View File

@ -1,19 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines/vmware/vms'
GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 40
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:49 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/gns3vm/engines/{engine}/vms
[
{
"vmname": "test"
}
]

View File

@ -1,28 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects'
GET /v2/projects HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:03 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects
[
{
"auto_close": true,
"auto_open": false,
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_list_projects1",
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}
]

View File

@ -1,26 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/02002a90-7b38-4e25-939f-5718e6ff2f4b'
GET /v2/projects/02002a90-7b38-4e25-939f-5718e6ff2f4b HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 379
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:03 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}
{
"auto_close": true,
"auto_open": false,
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_f3j_m7j/projects/02002a90-7b38-4e25-939f-5718e6ff2f4b",
"project_id": "02002a90-7b38-4e25-939f-5718e6ff2f4b",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}

View File

@ -1,25 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/b23bbc6f-56fa-4954-8adc-45a074875bb8/drawings'
GET /v2/projects/b23bbc6f-56fa-4954-8adc-45a074875bb8/drawings HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 363
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:49 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "1804b301-3f1d-47d6-b8cf-201c29ffcdc5",
"project_id": "b23bbc6f-56fa-4954-8adc-45a074875bb8",
"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,
"y": 20,
"z": 0
}
]

View File

@ -1,50 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/a683bc42-6b18-4c1e-9497-23f11f5e60bc/links'
GET /v2/projects/a683bc42-6b18-4c1e-9497-23f11f5e60bc/links HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1111
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:52 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/links
[
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "a810aca4-4e76-47a2-9a33-78dd3c5d0f21",
"link_type": "ethernet",
"nodes": [
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-size: 10; font-style: Verdana",
"text": "0/3",
"x": -10,
"y": -10
},
"node_id": "13eee57f-4240-43eb-89f0-3cbe635f98d7",
"port_number": 3
},
{
"adapter_number": 2,
"label": {
"rotation": 0,
"style": "font-size: 10; font-style: Verdana",
"text": "2/4",
"x": -10,
"y": -10
},
"node_id": "a2102f85-9ca9-451e-aa67-f4c0f3dfc0a6",
"port_number": 4
}
],
"project_id": "a683bc42-6b18-4c1e-9497-23f11f5e60bc"
}
]

View File

@ -1,60 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/d6778aaa-bd4f-45c3-b2bb-8bfdd6bbe392/nodes'
GET /v2/projects/d6778aaa-bd4f-45c3-b2bb-8bfdd6bbe392/nodes HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1303
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:55 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes
[
{
"command_line": null,
"compute_id": "example.com",
"console": 2048,
"console_host": "<MagicMock name='mock.console_host' id='4713035200'>",
"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": "71a2b586-7c71-4dd5-8708-87e8fddca30d",
"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"
}
],
"project_id": "d6778aaa-bd4f-45c3-b2bb-8bfdd6bbe392",
"properties": {
"startup_script": "echo test"
},
"status": "stopped",
"symbol": ":/symbols/computer.svg",
"width": 65,
"x": 0,
"y": 0,
"z": 0
}
]

View File

@ -1,58 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/789d3ca1-0777-42e5-93df-31996fbef81a/nodes/11d97cb8-36af-41d4-8aff-37b14232bf63'
GET /v2/projects/789d3ca1-0777-42e5-93df-31996fbef81a/nodes/11d97cb8-36af-41d4-8aff-37b14232bf63 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1123
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:55 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}
{
"command_line": null,
"compute_id": "example.com",
"console": 2048,
"console_host": "<MagicMock name='mock.console_host' id='4724401712'>",
"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": "11d97cb8-36af-41d4-8aff-37b14232bf63",
"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"
}
],
"project_id": "789d3ca1-0777-42e5-93df-31996fbef81a",
"properties": {
"startup_script": "echo test"
},
"status": "stopped",
"symbol": ":/symbols/computer.svg",
"width": 65,
"x": 0,
"y": 0,
"z": 0
}

View File

@ -1,17 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/437ff2b0-b30e-461c-adba-0866bbb1cedc/nodes/a79dd9d4-9593-4f15-8d1e-7e3e16a298b3/dynamips/auto_idlepc'
GET /v2/projects/437ff2b0-b30e-461c-adba-0866bbb1cedc/nodes/a79dd9d4-9593-4f15-8d1e-7e3e16a298b3/dynamips/auto_idlepc HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 30
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:01 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
{
"idlepc": "0x60606f54"
}

View File

@ -1,18 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/5026c709-50ac-408d-a0c4-12d1b8aa4601/nodes/3498bda0-7a97-4423-b31d-32a2e50ac0ac/dynamips/idlepc_proposals'
GET /v2/projects/5026c709-50ac-408d-a0c4-12d1b8aa4601/nodes/3498bda0-7a97-4423-b31d-32a2e50ac0ac/dynamips/idlepc_proposals HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 38
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:01 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
[
"0x60606f54",
"0x33805a22"
]

View File

@ -1,22 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/projects/62b2833a-6632-4387-8f20-ccb4096ed52d/snapshots'
GET /v2/projects/62b2833a-6632-4387-8f20-ccb4096ed52d/snapshots HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 197
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:08 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1498748888,
"name": "test",
"project_id": "62b2833a-6632-4387-8f20-ccb4096ed52d",
"snapshot_id": "6b0d6759-5a9f-4499-be1a-6167db42afce"
}
]

View File

@ -1,18 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/settings'
GET /v2/settings HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 85
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:08 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/settings
{
"modification_uuid": "8c59037b-2cc6-4d4d-be9b-e072fb0eee2a",
"test": true
}

View File

@ -1,221 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/symbols'
GET /v2/symbols HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 5174
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:10 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/symbols
[
{
"builtin": true,
"filename": "PBX.svg",
"symbol_id": ":/symbols/PBX.svg"
},
{
"builtin": true,
"filename": "PIX_firewall.svg",
"symbol_id": ":/symbols/PIX_firewall.svg"
},
{
"builtin": true,
"filename": "access_point.svg",
"symbol_id": ":/symbols/access_point.svg"
},
{
"builtin": true,
"filename": "access_server.svg",
"symbol_id": ":/symbols/access_server.svg"
},
{
"builtin": true,
"filename": "asa.svg",
"symbol_id": ":/symbols/asa.svg"
},
{
"builtin": true,
"filename": "atm_bridge.svg",
"symbol_id": ":/symbols/atm_bridge.svg"
},
{
"builtin": true,
"filename": "atm_switch.svg",
"symbol_id": ":/symbols/atm_switch.svg"
},
{
"builtin": true,
"filename": "call_manager.svg",
"symbol_id": ":/symbols/call_manager.svg"
},
{
"builtin": true,
"filename": "cloud.svg",
"symbol_id": ":/symbols/cloud.svg"
},
{
"builtin": true,
"filename": "computer.svg",
"symbol_id": ":/symbols/computer.svg"
},
{
"builtin": true,
"filename": "docker_guest.svg",
"symbol_id": ":/symbols/docker_guest.svg"
},
{
"builtin": true,
"filename": "dslam.svg",
"symbol_id": ":/symbols/dslam.svg"
},
{
"builtin": true,
"filename": "edge_label_switch_router.svg",
"symbol_id": ":/symbols/edge_label_switch_router.svg"
},
{
"builtin": true,
"filename": "ethernet_switch.svg",
"symbol_id": ":/symbols/ethernet_switch.svg"
},
{
"builtin": true,
"filename": "firewall.svg",
"symbol_id": ":/symbols/firewall.svg"
},
{
"builtin": true,
"filename": "frame_relay_switch.svg",
"symbol_id": ":/symbols/frame_relay_switch.svg"
},
{
"builtin": true,
"filename": "gateway.svg",
"symbol_id": ":/symbols/gateway.svg"
},
{
"builtin": true,
"filename": "hub.svg",
"symbol_id": ":/symbols/hub.svg"
},
{
"builtin": true,
"filename": "ids.svg",
"symbol_id": ":/symbols/ids.svg"
},
{
"builtin": true,
"filename": "iosv_l2_virl.svg",
"symbol_id": ":/symbols/iosv_l2_virl.svg"
},
{
"builtin": true,
"filename": "iosv_virl.svg",
"symbol_id": ":/symbols/iosv_virl.svg"
},
{
"builtin": true,
"filename": "ip_phone.svg",
"symbol_id": ":/symbols/ip_phone.svg"
},
{
"builtin": true,
"filename": "label_switch_router.svg",
"symbol_id": ":/symbols/label_switch_router.svg"
},
{
"builtin": true,
"filename": "lightweight_ap.svg",
"symbol_id": ":/symbols/lightweight_ap.svg"
},
{
"builtin": true,
"filename": "multilayer_switch.svg",
"symbol_id": ":/symbols/multilayer_switch.svg"
},
{
"builtin": true,
"filename": "optical_router.svg",
"symbol_id": ":/symbols/optical_router.svg"
},
{
"builtin": true,
"filename": "printer.svg",
"symbol_id": ":/symbols/printer.svg"
},
{
"builtin": true,
"filename": "qemu_guest.svg",
"symbol_id": ":/symbols/qemu_guest.svg"
},
{
"builtin": true,
"filename": "route_switch_processor.svg",
"symbol_id": ":/symbols/route_switch_processor.svg"
},
{
"builtin": true,
"filename": "router.awp.svg",
"symbol_id": ":/symbols/router.awp.svg"
},
{
"builtin": true,
"filename": "router.svg",
"symbol_id": ":/symbols/router.svg"
},
{
"builtin": true,
"filename": "router_firewall.svg",
"symbol_id": ":/symbols/router_firewall.svg"
},
{
"builtin": true,
"filename": "router_netflow.svg",
"symbol_id": ":/symbols/router_netflow.svg"
},
{
"builtin": true,
"filename": "server.svg",
"symbol_id": ":/symbols/server.svg"
},
{
"builtin": true,
"filename": "sip_server.svg",
"symbol_id": ":/symbols/sip_server.svg"
},
{
"builtin": true,
"filename": "vbox_guest.svg",
"symbol_id": ":/symbols/vbox_guest.svg"
},
{
"builtin": true,
"filename": "vmware_guest.svg",
"symbol_id": ":/symbols/vmware_guest.svg"
},
{
"builtin": true,
"filename": "voice_access_server.svg",
"symbol_id": ":/symbols/voice_access_server.svg"
},
{
"builtin": true,
"filename": "voice_router.svg",
"symbol_id": ":/symbols/voice_router.svg"
},
{
"builtin": true,
"filename": "vpcs_guest.svg",
"symbol_id": ":/symbols/vpcs_guest.svg"
},
{
"builtin": true,
"filename": "wlan_controller.svg",
"symbol_id": ":/symbols/wlan_controller.svg"
}
]

View File

@ -1,18 +0,0 @@
curl -i -X GET 'http://localhost:3080/v2/version'
GET /v2/version HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 49
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:08:10 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/version
{
"local": true,
"version": "2.1.0dev1"
}

View File

@ -1,36 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/computes' -d '{"compute_id": "my_compute_id", "host": "localhost", "password": "secure", "port": 84, "protocol": "http", "user": "julien"}'
POST /v2/computes HTTP/1.1
{
"compute_id": "my_compute_id",
"host": "localhost",
"password": "secure",
"port": 84,
"protocol": "http",
"user": "julien"
}
HTTP/1.1 201
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:45 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes
{
"capabilities": {
"node_types": [],
"version": null
},
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "http",
"user": "julien"
}

View File

@ -1,17 +0,0 @@
curl -i -X POST 'http://localhost:3080/v2/computes/my_compute/qemu/img' -d '{"path": "/test"}'
POST /v2/computes/my_compute/qemu/img HTTP/1.1
{
"path": "/test"
}
HTTP/1.1 200
Connection: close
Content-Length: 2
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:47 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
[]

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