mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Update documentations
This commit is contained in:
parent
4e15f89604
commit
6f43f988c3
@ -7,7 +7,7 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:39 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d5b66871-97f4-4350-955e-5526458090b5'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d5b66871-97f4-4350-955e-5526458090b5 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:34 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f4bfc62e-9cb5-464a-9888-25d140508d43/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f4bfc62e-9cb5-464a-9888-25d140508d43/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:33 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9c5dcc8e-2639-4827-88d9-1e2692a05807/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9c5dcc8e-2639-4827-88d9-1e2692a05807/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:35 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4127e5f-c028-47ab-b170-c387b1a7c6b6'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4127e5f-c028-47ab-b170-c387b1a7c6b6 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:36 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8fd79361-ff29-467f-99be-0f9a1bde208c/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8fd79361-ff29-467f-99be-0f9a1bde208c/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:37 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/70d2a639-76ae-46c4-b2d8-2eb13b99271a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/70d2a639-76ae-46c4-b2d8-2eb13b99271a HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/33ca3258-b392-4aa1-bde0-58c3a990844f/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/33ca3258-b392-4aa1-bde0-58c3a990844f/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8eb35200-b6ce-40d4-aaa1-b13ca51fb336'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8eb35200-b6ce-40d4-aaa1-b13ca51fb336 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0acbf2e9-24ac-4cd2-b700-e095dfd58f61/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0acbf2e9-24ac-4cd2-b700-e095dfd58f61/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f7cb2147-a825-4bc9-8676-f3d60a07956d/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f7cb2147-a825-4bc9-8676-f3d60a07956d/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/965aaa20-43aa-4f42-9bf8-85115d67fc44'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/965aaa20-43aa-4f42-9bf8-85115d67fc44 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb9f93f8-df63-44dd-acd6-0770ea2902f7/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb9f93f8-df63-44dd-acd6-0770ea2902f7/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -7,8 +7,8 @@ GET /v2/compute/capabilities HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 347
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:33 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -28,5 +28,5 @@ X-Route: /v2/compute/capabilities
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.0.0dev2"
|
||||
"version": "2.0.0dev4"
|
||||
}
|
||||
|
@ -5,15 +5,17 @@ GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 72
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
{
|
||||
"filename": "iou.bin",
|
||||
"filesize": 7,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"path": "iou.bin"
|
||||
}
|
||||
]
|
||||
|
@ -7,8 +7,8 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5489
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:39 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
|
@ -7,17 +7,17 @@ GET /v2/compute/projects HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 198
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:39 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
}
|
||||
]
|
||||
|
@ -7,8 +7,8 @@ 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, 20 Oct 2016 08:52:39 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/63688721-cb81-429f-b938-e327f9b3c4f7'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/63688721-cb81-429f-b938-e327f9b3c4f7 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3420
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:33 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -140,7 +140,7 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "63688721-cb81-429f-b938-e327f9b3c4f7",
|
||||
"node_id": "27e91192-5c83-4c98-af0f-b25b156c22b0",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
|
@ -1,26 +1,26 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/602ee631-d63a-4a23-bde6-e185c8586a41'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/602ee631-d63a-4a23-bde6-e185c8586a41 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 696
|
||||
Content-Length: 697
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:36 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"console": 5000,
|
||||
"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-53/test_json5/project-files/iou/602ee631-d63a-4a23-bde6-e185c8586a41",
|
||||
"node_id": "602ee631-d63a-4a23-bde6-e185c8586a41",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
|
||||
"node_id": "85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,19 +1,19 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8f971e45-202f-4c5b-ae77-d917972e49f9'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8f971e45-202f-4c5b-ae77-d917972e49f9 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 332
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "8f971e45-202f-4c5b-ae77-d917972e49f9",
|
||||
"node_id": "351021bf-5bbf-4bd4-beff-19b62b447f05",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat5",
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8446fc34-650d-4cb8-bdcc-b36880870aff'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8446fc34-650d-4cb8-bdcc-b36880870aff HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:40 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -19,7 +19,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"console": 5000,
|
||||
"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:0a:ff:00",
|
||||
"mac_address": "00:dd:80:39:dd:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8446fc34-650d-4cb8-bdcc-b36880870aff",
|
||||
"node_id": "8446fc34-650d-4cb8-bdcc-b36880870aff",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
|
||||
"node_id": "4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,27 +1,26 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aeeb5518-78b3-4d77-9073-235596129473'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aeeb5518-78b3-4d77-9073-235596129473 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 471
|
||||
Content-Length: 435
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
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": 5715,
|
||||
"enable_remote_console": false,
|
||||
"console": 5000,
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "aeeb5518-78b3-4d77-9073-235596129473",
|
||||
"node_id": "afdfa713-f35c-4749-b165-77e9afd1a853",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,23 +1,23 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1b881400-9368-4716-90cc-63903a486f6b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1b881400-9368-4716-90cc-63903a486f6b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5723,
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/1b881400-9368-4716-90cc-63903a486f6b",
|
||||
"node_id": "1b881400-9368-4716-90cc-63903a486f6b",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ea81751a-8e28-4226-942d-b56e3f3e5709",
|
||||
"node_id": "ea81751a-8e28-4226-942d-b56e3f3e5709",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -11,8 +11,8 @@ GET /v2/compute/qemu/binaries HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:42 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
@ -7,8 +7,8 @@ GET /v2/compute/qemu/capabilities HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
|
@ -7,11 +7,11 @@ GET /v2/compute/version HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.0.0dev2"
|
||||
"version": "2.0.0dev4"
|
||||
}
|
||||
|
@ -10,8 +10,8 @@ POST /v2/compute/projects HTTP/1.1
|
||||
HTTP/1.1 201
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:39 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
|
@ -7,7 +7,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:40 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -9,8 +9,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
||||
HTTP/1.1 201
|
||||
Content-Length: 3420
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:33 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
@ -142,7 +142,7 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "a2f2601d-a4e5-44bc-b02c-c4a1d0d44dda",
|
||||
"node_id": "c02a0a78-b84e-44b9-b151-0a650ecd7bb8",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fbcf95f9-daed-40b3-98a4-958527b4a9ab/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/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/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/fbcf95f9-daed-40b3-98a4-958527b4a9ab/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fbcf9
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:33 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/35c828e2-816d-42c2-9fa5-7ef738331d18/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/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/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/35c828e2-816d-42c2-9fa5-7ef738331d18/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/35c8
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:35 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ca9729cd-fcca-4e9c-9ede-3922f14412e1/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/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/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/ca9729cd-fcca-4e9c-9ede-3922f14412e1/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/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/ca97
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 145
|
||||
Content-Length: 146
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:35 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
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-53/test_json5/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/296d78b4-a923-407f-b398-cbab2b0214fd/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/296d78b4-a923-407f-b398-cbab2b0214fd/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:35 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -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": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff", "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": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", "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": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff",
|
||||
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 712
|
||||
Content-Length: 713
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:36 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"console": 5000,
|
||||
"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-53/test_json5/project-files/iou/7ea587ce-aa0a-428c-9db9-7be8af8a50ff",
|
||||
"node_id": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3eb-9743-4ae9-a174-1c1a79845fd0/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/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3eb-9743-4ae9-a174-1c1a79845fd0/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
@ -10,8 +10,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3e
|
||||
HTTP/1.1 201
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:37 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a4f82184-82ee-42c2-ac87-3efeeadf9aa2/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/68117b25-55ae-4066-b1b0-80551439d8e3/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/a4f82184-82ee-42c2-ac87-3efeeadf9aa2/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b25-55ae-4066-b1b0-80551439d8e3/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/a4f8218
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 145
|
||||
Content-Length: 146
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:37 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
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-53/test_json5/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f88a75fe-1aae-42da-8708-ac90c5e62974/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f88a75fe-1aae-42da-8708-ac90c5e62974/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:37 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5a97d051-cd83-45aa-a3bd-c0cddcb271e0/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5a97d051-cd83-45aa-a3bd-c0cddcb271e0/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:36 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70cfd09a-8f73-4e98-b3ca-7b5be4503536/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70cfd09a-8f73-4e98-b3ca-7b5be4503536/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 696
|
||||
Content-Length: 697
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:36 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"console": 5000,
|
||||
"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-53/test_json5/project-files/iou/70cfd09a-8f73-4e98-b3ca-7b5be4503536",
|
||||
"node_id": "70cfd09a-8f73-4e98-b3ca-7b5be4503536",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/9b1a4092-9c1e-4714-97eb-2c9099a36f74",
|
||||
"node_id": "9b1a4092-9c1e-4714-97eb-2c9099a36f74",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/43ab05b1-df65-4a72-b4a6-8b89c62d3994/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/43ab05b1-df65-4a72-b4a6-8b89c62d3994/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:36 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
||||
|
@ -9,13 +9,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.
|
||||
HTTP/1.1 201
|
||||
Content-Length: 332
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "f00cbccf-3f8e-4f4d-b6df-6ebcc2fa11e6",
|
||||
"node_id": "f8572394-f4a6-41c2-8990-76191f85976c",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat4",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/052cd13e-9491-4eff-8ee2-a6e73da57cfe/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/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/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/052cd13e-9491-4eff-8ee2-a6e73da57cfe/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/052cd13
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -7,8 +7,8 @@ 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, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
@ -1,10 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/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/tmp4__9bvkj/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/tmpf14u_0k4/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1
|
||||
HTTP/1.1 201
|
||||
Content-Length: 1461
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:40 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
@ -24,7 +24,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"console": 5000,
|
||||
"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:41:b1:00",
|
||||
"mac_address": "00:dd:80:04:23:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ed9f00e9-7d76-46e9-8fb9-43d804f441b1",
|
||||
"node_id": "ed9f00e9-7d76-46e9-8fb9-43d804f441b1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26ee1a57-b93e-49e3-bcab-f495734c0423",
|
||||
"node_id": "26ee1a57-b93e-49e3-bcab-f495734c0423",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f678-f17d-4537-869b-574d38b06d59/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/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f678-f17d-4537-869b-574d38b06d59/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
@ -10,8 +10,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f6
|
||||
HTTP/1.1 409
|
||||
Content-Length: 81
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f86f3d6d-3b6c-41b7-8af1-1c5168181a80/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f86f3d6d-3b6c-41b7-8af1-1c5168181a80/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/387986c1-4eb8-451f-8832-5e7b1e37704c/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/387986c1-4eb8-451f-8832-5e7b1e37704c/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700bd996-0978-47af-95dd-eae42b760ad4/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700bd996-0978-47af-95dd-eae42b760ad4/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:40 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -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": 5714,
|
||||
"console": 5000,
|
||||
"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:0a:d4:00",
|
||||
"mac_address": "00:dd:80:32:90:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/700bd996-0978-47af-95dd-eae42b760ad4",
|
||||
"node_id": "700bd996-0978-47af-95dd-eae42b760ad4",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/12876bc4-6262-41d0-87bf-2a0762d63290",
|
||||
"node_id": "12876bc4-6262-41d0-87bf-2a0762d63290",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da4818a2-35c5-4aba-ac2d-10b6b28a4cd5/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da4818a2-35c5-4aba-ac2d-10b6b28a4cd5/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a10bee-8fdc-4c40-a067-1352724da173/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a10bee-8fdc-4c40-a067-1352724da173/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -9,23 +9,22 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 465
|
||||
Content-Length: 429
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5714,
|
||||
"enable_remote_console": false,
|
||||
"console": 5000,
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "9780978f-b7ab-4243-8e27-b2a48ef72f83",
|
||||
"node_id": "91fe27cf-47af-40a9-85a1-d4e3c80dc826",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/77a28b03-3158-4eb2-af77-d88f8a1b2200/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/a6a1fde9-419d-481d-ad56-154da1d8fdcb/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/77a28b03-3158-4eb2-af77-d88f8a1b2200/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b0e2a8ad-934c-4806-9154-24538b073a79/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b0e2a8ad-934c-4806-9154-24538b073a79/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8ac97f5b-697b-4d0c-b41e-d7d914bcc7e2/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8ac97f5b-697b-4d0c-b41e-d7d914bcc7e2/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3b339db-0e1c-4d4c-8465-408429c7fa63/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3b339db-0e1c-4d4c-8465-408429c7fa63/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e3748d02-e322-40cf-8b94-d5af6ee5e9cc/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e3748d02-e322-40cf-8b94-d5af6ee5e9cc/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0e9b164-6a0f-497d-aac2-c765b929dfba/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0e9b164-6a0f-497d-aac2-c765b929dfba/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -9,17 +9,17 @@ 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, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5723,
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7646366b-a2c7-414d-a4b5-7d3f3ea961d0",
|
||||
"node_id": "7646366b-a2c7-414d-a4b5-7d3f3ea961d0",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/97bd62ea-c059-43f0-a5a1-016d7eb0d921",
|
||||
"node_id": "97bd62ea-c059-43f0-a5a1-016d7eb0d921",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/32835241-8384-44c3-a668-8e753e51b43c/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/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/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/32835241-8384-44c3-a668-8e753e51b43c/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -12,8 +12,8 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/328352
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4a397db4-613d-4e89-b721-311c5d8f94cd/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4a397db4-613d-4e89-b721-311c5d8f94cd/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,23 +1,23 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/72889faf-c7b2-4414-8fce-040eed462026/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/72889faf-c7b2-4414-8fce-040eed462026/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5723,
|
||||
"console": 5000,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/72889faf-c7b2-4414-8fce-040eed462026",
|
||||
"node_id": "72889faf-c7b2-4414-8fce-040eed462026",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
|
||||
"node_id": "cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4e9a0a90-0bf3-4f7d-9ca2-be1d5c4af7c7/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4e9a0a90-0bf3-4f7d-9ca2-be1d5c4af7c7/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
||||
|
@ -16,7 +16,7 @@ POST /v2/compute/qemu/img HTTP/1.1
|
||||
HTTP/1.1 201
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:43 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a74b-48da-44d7-95b9-af5e85b8290d' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a74b-48da-44d7-95b9-af5e85b8290d HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
@ -9,8 +9,8 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a7
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3417
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:34 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -142,7 +142,7 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_id": "6268a74b-48da-44d7-95b9-af5e85b8290d",
|
||||
"node_id": "1609e4ce-3925-4dfa-beb9-a37bb6e4eba8",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20c27db4-d76a-4f03-a00f-1bebdcce38e1' -d '{"console": 5716, "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/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8' -d '{"console": 5003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20c27db4-d76a-4f03-a00f-1bebdcce38e1 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8 HTTP/1.1
|
||||
{
|
||||
"console": 5716,
|
||||
"console": 5003,
|
||||
"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/20c27
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 653
|
||||
Content-Length: 654
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:35 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
|
||||
{
|
||||
"adapters": 2,
|
||||
"aux": 5715,
|
||||
"console": 5716,
|
||||
"aux": 5002,
|
||||
"console": 5003,
|
||||
"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-53/test_json5/project-files/docker/20c27db4-d76a-4f03-a00f-1bebdcce38e1",
|
||||
"node_id": "20c27db4-d76a-4f03-a00f-1bebdcce38e1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/docker/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
|
||||
"node_id": "5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5-cb73-4d90-969f-8a82cc655f2c' -d '{"console": 5715, "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/2aec8581-8312-4c46-9c64-8801854aea79' -d '{"console": 5002, "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/9e0aebf5-cb73-4d90-969f-8a82cc655f2c HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79 HTTP/1.1
|
||||
{
|
||||
"console": 5715,
|
||||
"console": 5002,
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_content": "test",
|
||||
"l1_keepalives": true,
|
||||
@ -16,22 +16,22 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 707
|
||||
Content-Length: 708
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:37 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5715,
|
||||
"console": 5002,
|
||||
"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-53/test_json5/project-files/iou/9e0aebf5-cb73-4d90-969f-8a82cc655f2c",
|
||||
"node_id": "9e0aebf5-cb73-4d90-969f-8a82cc655f2c",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/2aec8581-8312-4c46-9c64-8801854aea79",
|
||||
"node_id": "2aec8581-8312-4c46-9c64-8801854aea79",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65-c8e8-4e85-aa6b-052c261530cc' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65-c8e8-4e85-aa6b-052c261530cc HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
@ -9,13 +9,13 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65
|
||||
HTTP/1.1 200
|
||||
Content-Length: 331
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:38 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"node_id": "ad3edf65-c8e8-4e85-aa6b-052c261530cc",
|
||||
"node_id": "7061bfeb-39f5-4b27-9557-2420b81fac6c",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat9",
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba51-9d31-4b7b-a745-a517947787ee' -d '{"console": 5715, "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/b99813b1-5ff4-485e-9f83-8e3cb55649fb' -d '{"console": 5002, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba51-9d31-4b7b-a745-a517947787ee HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb HTTP/1.1
|
||||
{
|
||||
"console": 5715,
|
||||
"console": 5002,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"name": "test",
|
||||
"ram": 1024
|
||||
@ -12,8 +12,8 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba5
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1456
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:41 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -24,7 +24,7 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5715,
|
||||
"console": 5002,
|
||||
"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:87:ee:00",
|
||||
"mac_address": "00:dd:80:49:fb:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/63c3ba51-9d31-4b7b-a745-a517947787ee",
|
||||
"node_id": "63c3ba51-9d31-4b7b-a745-a517947787ee",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/b99813b1-5ff4-485e-9f83-8e3cb55649fb",
|
||||
"node_id": "b99813b1-5ff4-485e-9f83-8e3cb55649fb",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,30 +1,29 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62db6581-fbbf-402a-80f4-6c3d03255316' -d '{"console": 5724, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19' -d '{"console": 5002, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62db6581-fbbf-402a-80f4-6c3d03255316 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19 HTTP/1.1
|
||||
{
|
||||
"console": 5724,
|
||||
"console": 5002,
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 469
|
||||
Content-Length: 433
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:44 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
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": 5724,
|
||||
"enable_remote_console": false,
|
||||
"console": 5002,
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "62db6581-fbbf-402a-80f4-6c3d03255316",
|
||||
"node_id": "99b36e74-6202-4c94-a64a-4e90a177fb19",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c72-dfab-4965-b824-0e441c88509f' -d '{"console": 5725, "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/1fb10f34-00dc-48d8-8a07-ee9337e03c06' -d '{"console": 5002, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c72-dfab-4965-b824-0e441c88509f HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1fb10f34-00dc-48d8-8a07-ee9337e03c06 HTTP/1.1
|
||||
{
|
||||
"console": 5725,
|
||||
"console": 5002,
|
||||
"name": "test",
|
||||
"startup_script": "ip 192.168.1.1"
|
||||
}
|
||||
@ -11,17 +11,17 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c7
|
||||
HTTP/1.1 200
|
||||
Content-Length: 505
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:45 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5725,
|
||||
"console": 5002,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6bde4c72-dfab-4965-b824-0e441c88509f",
|
||||
"node_id": "6bde4c72-dfab-4965-b824-0e441c88509f",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/1fb10f34-00dc-48d8-8a07-ee9337e03c06",
|
||||
"node_id": "1fb10f34-00dc-48d8-8a07-ee9337e03c06",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
|
@ -7,7 +7,7 @@ DELETE /v2/computes/my_compute_id HTTP/1.1
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/b0455c4a-bfc5-4a51-8af7-78e1e0ea633a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/5a0dc853-249e-4f7b-ac4e-00bdef741285'
|
||||
|
||||
DELETE /v2/projects/b0455c4a-bfc5-4a51-8af7-78e1e0ea633a HTTP/1.1
|
||||
DELETE /v2/projects/5a0dc853-249e-4f7b-ac4e-00bdef741285 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/5506c6ec-6ad5-48d1-9f8a-64ffd935124c/drawings/a1b54140-aef4-48e4-9170-b746df992632'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/dae36643-b4b9-489d-b4c1-0d6bf8c6a079/drawings/59f70a89-21a8-4e7f-a3d4-a9c559c73f58'
|
||||
|
||||
DELETE /v2/projects/5506c6ec-6ad5-48d1-9f8a-64ffd935124c/drawings/a1b54140-aef4-48e4-9170-b746df992632 HTTP/1.1
|
||||
DELETE /v2/projects/dae36643-b4b9-489d-b4c1-0d6bf8c6a079/drawings/59f70a89-21a8-4e7f-a3d4-a9c559c73f58 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:47 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/9e65c1ba-14af-48e3-874e-763be80af860/links/e89eed96-a7f7-494c-b96c-21dc769ecc16'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/90d544c0-ecc1-43c4-9daf-f349a7fbc647/links/8975791d-acea-404c-9c4f-afc9cb74f08c'
|
||||
|
||||
DELETE /v2/projects/9e65c1ba-14af-48e3-874e-763be80af860/links/e89eed96-a7f7-494c-b96c-21dc769ecc16 HTTP/1.1
|
||||
DELETE /v2/projects/90d544c0-ecc1-43c4-9daf-f349a7fbc647/links/8975791d-acea-404c-9c4f-afc9cb74f08c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:49 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/links/{link_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/784f3991-a161-4251-a6fd-c48f98535ef5/nodes/ec5a58db-4d16-404d-8187-6fd42837b1ed'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/a345928e-d655-457d-bd8e-5ece2233b547/nodes/a155fe6a-c8bc-4cd3-8200-76e43e17b26c'
|
||||
|
||||
DELETE /v2/projects/784f3991-a161-4251-a6fd-c48f98535ef5/nodes/ec5a58db-4d16-404d-8187-6fd42837b1ed HTTP/1.1
|
||||
DELETE /v2/projects/a345928e-d655-457d-bd8e-5ece2233b547/nodes/a155fe6a-c8bc-4cd3-8200-76e43e17b26c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/43208878-9c36-42e4-ae28-f57ece320261/snapshots/8e80f61f-b53a-4021-bee5-cb5421713f2a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/dd06697e-76d3-46a9-951e-c3e360c17759/snapshots/76eb2f34-7854-4fd6-9354-4227f401bd07'
|
||||
|
||||
DELETE /v2/projects/43208878-9c36-42e4-ae28-f57ece320261/snapshots/8e80f61f-b53a-4021-bee5-cb5421713f2a HTTP/1.1
|
||||
DELETE /v2/projects/dd06697e-76d3-46a9-951e-c3e360c17759/snapshots/76eb2f34-7854-4fd6-9354-4227f401bd07 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 20 Oct 2016 08:52:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}
|
||||
|
||||
|
@ -7,8 +7,8 @@ GET /v2/computes HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 387
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes
|
||||
|
||||
[
|
||||
|
@ -7,8 +7,8 @@ GET /v2/computes/my_compute_id HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
||||
{
|
||||
|
@ -7,8 +7,8 @@ GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 2
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
|
||||
|
||||
[]
|
||||
|
@ -7,8 +7,8 @@ GET /v2/computes/my_compute/qemu/images HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 95
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes/{compute_id}/{emulator}/images
|
||||
|
||||
[
|
||||
|
@ -7,8 +7,8 @@ GET /v2/gns3vm HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 148
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:47 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/gns3vm
|
||||
|
||||
{
|
||||
|
@ -7,13 +7,13 @@ GET /v2/gns3vm/engines HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1106
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:47 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
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.0.0dev2/GNS3.VM.VMware.Workstation.2.0.0dev2.zip\">downloaded here</a>.",
|
||||
"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.0.0dev4/GNS3.VM.VMware.Workstation.2.0.0dev4.zip\">downloaded here</a>.",
|
||||
"engine_id": "vmware",
|
||||
"name": "VMware Fusion",
|
||||
"support_headless": true,
|
||||
@ -21,7 +21,7 @@ X-Route: /v2/gns3vm/engines
|
||||
"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.0.0dev2/GNS3.VM.VirtualBox.2.0.0dev2.zip\">downloaded here</a>",
|
||||
"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.0.0dev4/GNS3.VM.VirtualBox.2.0.0dev4.zip\">downloaded here</a>",
|
||||
"engine_id": "virtualbox",
|
||||
"name": "VirtualBox",
|
||||
"support_headless": true,
|
||||
|
@ -7,8 +7,8 @@ GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 40
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:47 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/gns3vm/engines/{engine}/vms
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,10 @@ GET /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 428
|
||||
Content-Length: 429
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects
|
||||
|
||||
[
|
||||
@ -18,7 +18,7 @@ X-Route: /v2/projects
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0714c0ef-654f-402d-9b5f-9a42431478c9'
|
||||
|
||||
GET /v2/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff HTTP/1.1
|
||||
GET /v2/projects/0714c0ef-654f-402d-9b5f-9a42431478c9 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 379
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
@ -17,8 +17,8 @@ X-Route: /v2/projects/{project_id}
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9a94t05k/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff",
|
||||
"project_id": "1072b2a5-82cc-45f9-bd3d-ff2387e2bfff",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpibw102pd/projects/0714c0ef-654f-402d-9b5f-9a42431478c9",
|
||||
"project_id": "0714c0ef-654f-402d-9b5f-9a42431478c9",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "opened"
|
||||
|
@ -1,20 +1,20 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/14d34aa3-2c4d-4737-b9b1-b9976a1c70f1/drawings'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b46d5053-9683-4b4b-ae08-d67fdd8016a3/drawings'
|
||||
|
||||
GET /v2/projects/14d34aa3-2c4d-4737-b9b1-b9976a1c70f1/drawings HTTP/1.1
|
||||
GET /v2/projects/b46d5053-9683-4b4b-ae08-d67fdd8016a3/drawings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 363
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:47 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/drawings
|
||||
|
||||
[
|
||||
{
|
||||
"drawing_id": "2f566962-18b6-420d-82c6-d68613957183",
|
||||
"project_id": "14d34aa3-2c4d-4737-b9b1-b9976a1c70f1",
|
||||
"drawing_id": "f0d4d443-3a0e-4319-897b-b58d87668092",
|
||||
"project_id": "b46d5053-9683-4b4b-ae08-d67fdd8016a3",
|
||||
"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,
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/69ab73a7-a498-49b2-968b-bc406897a545/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/ca14de30-087a-4994-bb54-b2b00e18d1ef/links'
|
||||
|
||||
GET /v2/projects/69ab73a7-a498-49b2-968b-bc406897a545/links HTTP/1.1
|
||||
GET /v2/projects/ca14de30-087a-4994-bb54-b2b00e18d1ef/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1111
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:48 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/links
|
||||
|
||||
[
|
||||
@ -16,7 +16,7 @@ X-Route: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "d9db6a61-ae1a-4f7d-991a-73c46f62dfab",
|
||||
"link_id": "398c9cb0-724e-4d56-a9b5-2b33831c8c39",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [
|
||||
{
|
||||
@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "fc041a38-4796-420d-bbe1-60c675aff332",
|
||||
"node_id": "f931da2a-abe7-4e8b-8b40-385fa091cb4d",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -40,10 +40,10 @@ X-Route: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "cbeaeb2c-4bbf-42e5-a86f-e358040d7a5e",
|
||||
"node_id": "3fcc232f-a6df-422c-800a-39ca356661d5",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "69ab73a7-a498-49b2-968b-bc406897a545"
|
||||
"project_id": "ca14de30-087a-4994-bb54-b2b00e18d1ef"
|
||||
}
|
||||
]
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes'
|
||||
|
||||
GET /v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes HTTP/1.1
|
||||
GET /v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1264
|
||||
Content-Length: 1305
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:49 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/nodes
|
||||
|
||||
[
|
||||
@ -16,7 +16,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4552667992'>",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "25b75f46-61a5-4931-9d6e-18b32f0e7533",
|
||||
"node_id": "efe73b73-94c6-40d8-bdaf-df0e2948940c",
|
||||
"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": "9376e8ee-f9ee-4a3d-943c-a6b54c2ae475",
|
||||
"project_id": "a75e8c91-cb8a-4d9f-8d66-8180793b3c1c",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,21 +1,21 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b8e96d16-406c-47ad-aa38-af76c9ba22ef/nodes/1ebfcf89-b54b-4a72-bd86-c09bd2917796'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e1b0cf1f-9284-4cd8-af88-047c18def631/nodes/160fed8d-9518-448a-8adf-6678f40cdfbe'
|
||||
|
||||
GET /v2/projects/b8e96d16-406c-47ad-aa38-af76c9ba22ef/nodes/1ebfcf89-b54b-4a72-bd86-c09bd2917796 HTTP/1.1
|
||||
GET /v2/projects/e1b0cf1f-9284-4cd8-af88-047c18def631/nodes/160fed8d-9518-448a-8adf-6678f40cdfbe HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1084
|
||||
Content-Length: 1125
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:50 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4556132928'>",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
@ -28,7 +28,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "1ebfcf89-b54b-4a72-bd86-c09bd2917796",
|
||||
"node_id": "160fed8d-9518-448a-8adf-6678f40cdfbe",
|
||||
"node_type": "vpcs",
|
||||
"port_name_format": "Ethernet{0}",
|
||||
"port_segment_size": 0,
|
||||
@ -44,7 +44,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
"short_name": "e0/0"
|
||||
}
|
||||
],
|
||||
"project_id": "b8e96d16-406c-47ad-aa38-af76c9ba22ef",
|
||||
"project_id": "e1b0cf1f-9284-4cd8-af88-047c18def631",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a66001f2-2f0c-4ec2-8b76-0fb9e90db9d4/nodes/51dc598c-3eb9-4215-bba8-fc9bba496202/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/db5ec58a-09ff-497e-9631-1472bf262a3d/nodes/563ae8d3-cab5-4c53-b0db-b2d0d0eee741/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/a66001f2-2f0c-4ec2-8b76-0fb9e90db9d4/nodes/51dc598c-3eb9-4215-bba8-fc9bba496202/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/db5ec58a-09ff-497e-9631-1472bf262a3d/nodes/563ae8d3-cab5-4c53-b0db-b2d0d0eee741/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 30
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
|
||||
|
||||
{
|
||||
|
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/1bbfd840-733c-4511-bc41-062351c3592c/nodes/08a38782-ba77-4890-941c-5c322218ffc1/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/74e08b86-700e-4d38-a32c-f898421a8bef/nodes/fcdc2c76-cb28-4380-9c1c-f1e56f1f2017/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/1bbfd840-733c-4511-bc41-062351c3592c/nodes/08a38782-ba77-4890-941c-5c322218ffc1/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/74e08b86-700e-4d38-a32c-f898421a8bef/nodes/fcdc2c76-cb28-4380-9c1c-f1e56f1f2017/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 38
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
|
||||
|
||||
[
|
||||
|
@ -1,21 +1,21 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e833be41-24ed-45e3-86da-6aa77bf06f9c/snapshots'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/6bb95778-66d6-499a-b872-722ab5f1bbb4/snapshots'
|
||||
|
||||
GET /v2/projects/e833be41-24ed-45e3-86da-6aa77bf06f9c/snapshots HTTP/1.1
|
||||
GET /v2/projects/6bb95778-66d6-499a-b872-722ab5f1bbb4/snapshots HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 197
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/snapshots
|
||||
|
||||
[
|
||||
{
|
||||
"created_at": 1476953577,
|
||||
"created_at": 1478193604,
|
||||
"name": "test",
|
||||
"project_id": "e833be41-24ed-45e3-86da-6aa77bf06f9c",
|
||||
"snapshot_id": "25faccd8-e064-4c4f-81ac-45c16ea6350c"
|
||||
"project_id": "6bb95778-66d6-499a-b872-722ab5f1bbb4",
|
||||
"snapshot_id": "3fd6e6b5-084e-4eb7-b599-f7636c0bd117"
|
||||
}
|
||||
]
|
||||
|
@ -7,8 +7,8 @@ GET /v2/settings HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 20
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/settings
|
||||
|
||||
{
|
||||
|
@ -7,8 +7,8 @@ GET /v2/symbols HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5174
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/symbols
|
||||
|
||||
[
|
||||
|
@ -7,11 +7,11 @@ GET /v2/version HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.0.0dev2"
|
||||
"version": "2.0.0dev4"
|
||||
}
|
||||
|
@ -14,8 +14,8 @@ POST /v2/computes HTTP/1.1
|
||||
HTTP/1.1 201
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes
|
||||
|
||||
{
|
||||
|
@ -9,8 +9,8 @@ POST /v2/computes/my_compute/qemu/img HTTP/1.1
|
||||
HTTP/1.1 200
|
||||
Content-Length: 2
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:46 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
|
||||
|
||||
[]
|
||||
|
@ -10,8 +10,8 @@ POST /v2/projects HTTP/1.1
|
||||
HTTP/1.1 201
|
||||
Content-Length: 379
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects
|
||||
|
||||
{
|
||||
@ -20,7 +20,7 @@ X-Route: /v2/projects
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdk0ep3f4/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpr3nqew3l/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
|
@ -9,8 +9,8 @@ POST /v2/projects/load HTTP/1.1
|
||||
HTTP/1.1 201
|
||||
Content-Length: 379
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/load
|
||||
|
||||
{
|
||||
@ -19,8 +19,8 @@ X-Route: /v2/projects/load
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpewz3qniq/projects/37c7b425-8595-4ca5-8c57-0baff45ccf97",
|
||||
"project_id": "37c7b425-8595-4ca5-8c57-0baff45ccf97",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpeix5a_qk/projects/63b6688e-fada-44ad-a1e2-ff7cc76a1cec",
|
||||
"project_id": "63b6688e-fada-44ad-a1e2-ff7cc76a1cec",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "opened"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user