mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Merge branch '2.1' into 2.2
# Conflicts: # gns3server/version.py # requirements.txt
This commit is contained in:
commit
28f8216590
57
CHANGELOG
57
CHANGELOG
@ -1,5 +1,62 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.1.3 19/01/2018
|
||||||
|
|
||||||
|
* Update appliance files.
|
||||||
|
* Suspend for Docker nodes.
|
||||||
|
* Unlock yarl version and multidict
|
||||||
|
* Fix same MAC address for duplicated Qemu nodes.
|
||||||
|
* Fix same base MAC for duplicated IOS routers. Fixes #1264.
|
||||||
|
* Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.
|
||||||
|
* Fix "Transport selection via DSN is deprecated" message. Sync is configured with HTTPTransport.
|
||||||
|
* Refresh CPU/RAM info every 1 second. Ref #2262.
|
||||||
|
* Rename ethernet switch arp command to mac
|
||||||
|
* Fix error while getting appliance list. Fixes #1258.
|
||||||
|
* Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256.
|
||||||
|
* Default symbol must be computer.svg
|
||||||
|
* Compatibility for old node templates (those with default_symbol and hover_symbol properties).
|
||||||
|
* Fix problem when searching for VBoxManage. Fixes #1261.
|
||||||
|
* Improve the search for VBoxManage.
|
||||||
|
* Fixing race condition when starting the GNS3 VM.
|
||||||
|
* Default VPCS name format is now PC-{0}.
|
||||||
|
|
||||||
|
## 2.1.2 08/01/2018
|
||||||
|
|
||||||
|
* Do not show log message if configuration file doesn't exist. Fixes #1206.
|
||||||
|
* Update API documentation
|
||||||
|
* Update API documentation. Fixes #1253.
|
||||||
|
* GNS3-API: implement GET for specific drawing and link Fixes #1249
|
||||||
|
|
||||||
|
## 2.1.1 22/12/2017
|
||||||
|
|
||||||
|
* Protect variable replacement for Qemu options. Escape double quotes.
|
||||||
|
* Add proper exception when cannot find tunnel on QEMU, Fixes: #1241
|
||||||
|
* Increase timeout for creation of image, Ref. #2239
|
||||||
|
* Protect variable replacement for Qemu options.
|
||||||
|
* Do not overwrites persistent Docker volumes. Fixes #2358.
|
||||||
|
* Allow users to see an error when the server cannot stream a PCAP file.
|
||||||
|
* Fix issue with Qemu + SPICE when IPv4 is not enabled.
|
||||||
|
* Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231.
|
||||||
|
* Add missing appliance files.
|
||||||
|
* Update appliance files.
|
||||||
|
* Fix auto idle-pc from preferences.
|
||||||
|
* Keep consistance of aiohttp.web.HTTPForbidden() execution
|
||||||
|
* Make sure connected links are removed when a node is deleted.
|
||||||
|
* Validate idle-pc values for auto idle-pc feature.
|
||||||
|
* Fix error when updating packet filter on stopped Docker link. Fixes #1229.
|
||||||
|
* Remotely close telnet console. Ref #2330
|
||||||
|
* EthernetSwitch closing connections, Ref: gui/#2330
|
||||||
|
* Export files from remote server, Fixes: gui/#2271
|
||||||
|
* New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
|
||||||
|
* Implement variable replacement for Qemu VM options.
|
||||||
|
* Avoid duplicate "-nographic" option.
|
||||||
|
* Show qemu-img stdout in case of an error.
|
||||||
|
* Use the correct NVRAM amount when pushing private config to IOU.
|
||||||
|
* Check and fix corrupt Qemu disk images. Fixes #2301.
|
||||||
|
* Update warning messages when connecting to non custom adapter for VMware VMs.
|
||||||
|
* Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335.
|
||||||
|
* Add low disk space warning when creating a new project.
|
||||||
|
|
||||||
## 2.1.0 09/11/2017
|
## 2.1.0 09/11/2017
|
||||||
|
|
||||||
* Fix typo in vcpus on VirtualBoxVM, fixes: #1213
|
* Fix typo in vcpus on VirtualBoxVM, fixes: #1213
|
||||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:23 GMT
|
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}
|
X-Route: /v2/compute/projects/{project_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:00 GMT
|
Date: Mon, 08 Jan 2018 08:15:44 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
Date: Mon, 08 Jan 2018 08:15:43 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
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 DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:05 GMT
|
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
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 DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5 HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:10 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:13 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
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 DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:17 GMT
|
Date: Mon, 08 Jan 2018 08:15:52 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:16 GMT
|
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:29 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:32 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 204
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 0
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:08 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:41 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 347
|
Content-Length: 347
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
Date: Mon, 08 Jan 2018 08:15:42 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/capabilities
|
X-Route: /v2/compute/capabilities
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -29,5 +29,5 @@ X-Route: /v2/compute/capabilities
|
|||||||
"iou"
|
"iou"
|
||||||
],
|
],
|
||||||
"platform": "linuxdebian",
|
"platform": "linuxdebian",
|
||||||
"version": "2.1.0dev1"
|
"version": "2.1.2dev1"
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 149
|
Content-Length: 149
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:14 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/iou/images
|
X-Route: /v2/compute/iou/images
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -6,17 +6,17 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
|||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 3969
|
Content-Length: 1461
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:19 GMT
|
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/network/interfaces
|
X-Route: /v2/compute/network/interfaces
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": "bridge0",
|
"id": "bridge0",
|
||||||
"ip_address": "",
|
"ip_address": "",
|
||||||
"mac_address": "d2:00:1b:c0:17:80",
|
"mac_address": "ca:2a:14:12:34:00",
|
||||||
"name": "bridge0",
|
"name": "bridge0",
|
||||||
"netmask": "",
|
"netmask": "",
|
||||||
"special": true,
|
"special": true,
|
||||||
@ -25,7 +25,7 @@ X-Route: /v2/compute/network/interfaces
|
|||||||
{
|
{
|
||||||
"id": "en0",
|
"id": "en0",
|
||||||
"ip_address": "",
|
"ip_address": "",
|
||||||
"mac_address": "3c:07:54:78:07:cc",
|
"mac_address": "c8:2a:14:21:cf:c8",
|
||||||
"name": "en0",
|
"name": "en0",
|
||||||
"netmask": "",
|
"netmask": "",
|
||||||
"special": false,
|
"special": false,
|
||||||
@ -33,8 +33,8 @@ X-Route: /v2/compute/network/interfaces
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "en1",
|
"id": "en1",
|
||||||
"ip_address": "192.168.84.156",
|
"ip_address": "192.168.1.10",
|
||||||
"mac_address": "68:a8:6d:4a:c3:16",
|
"mac_address": "10:9a:dd:a4:f1:6a",
|
||||||
"name": "en1",
|
"name": "en1",
|
||||||
"netmask": "255.255.255.0",
|
"netmask": "255.255.255.0",
|
||||||
"special": false,
|
"special": false,
|
||||||
@ -43,7 +43,7 @@ X-Route: /v2/compute/network/interfaces
|
|||||||
{
|
{
|
||||||
"id": "en2",
|
"id": "en2",
|
||||||
"ip_address": "",
|
"ip_address": "",
|
||||||
"mac_address": "d2:00:1b:c0:17:80",
|
"mac_address": "d2:00:18:cc:6a:60",
|
||||||
"name": "en2",
|
"name": "en2",
|
||||||
"netmask": "",
|
"netmask": "",
|
||||||
"special": false,
|
"special": false,
|
||||||
@ -52,7 +52,7 @@ X-Route: /v2/compute/network/interfaces
|
|||||||
{
|
{
|
||||||
"id": "fw0",
|
"id": "fw0",
|
||||||
"ip_address": "",
|
"ip_address": "",
|
||||||
"mac_address": "3c:07:54:ff:fe:bc:01:78",
|
"mac_address": "c8:2a:14:ff:fe:8c:c6:a6",
|
||||||
"name": "fw0",
|
"name": "fw0",
|
||||||
"netmask": "",
|
"netmask": "",
|
||||||
"special": true,
|
"special": true,
|
||||||
@ -70,109 +70,10 @@ X-Route: /v2/compute/network/interfaces
|
|||||||
{
|
{
|
||||||
"id": "p2p0",
|
"id": "p2p0",
|
||||||
"ip_address": "",
|
"ip_address": "",
|
||||||
"mac_address": "0a:a8:6d:4a:c3:16",
|
"mac_address": "02:9a:dd:a4:f1:6a",
|
||||||
"name": "p2p0",
|
"name": "p2p0",
|
||||||
"netmask": "",
|
"netmask": "",
|
||||||
"special": true,
|
"special": true,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "utun0",
|
|
||||||
"ip_address": "",
|
|
||||||
"mac_address": "",
|
|
||||||
"name": "utun0",
|
|
||||||
"netmask": "",
|
|
||||||
"special": false,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet1",
|
|
||||||
"ip_address": "172.16.16.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:01",
|
|
||||||
"name": "vmnet1",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet10",
|
|
||||||
"ip_address": "172.16.7.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:0a",
|
|
||||||
"name": "vmnet10",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet2",
|
|
||||||
"ip_address": "172.16.0.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:02",
|
|
||||||
"name": "vmnet2",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet3",
|
|
||||||
"ip_address": "172.16.1.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:03",
|
|
||||||
"name": "vmnet3",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet4",
|
|
||||||
"ip_address": "172.16.2.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:04",
|
|
||||||
"name": "vmnet4",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet5",
|
|
||||||
"ip_address": "172.16.3.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:05",
|
|
||||||
"name": "vmnet5",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet6",
|
|
||||||
"ip_address": "172.16.4.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:06",
|
|
||||||
"name": "vmnet6",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet7",
|
|
||||||
"ip_address": "172.16.5.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:07",
|
|
||||||
"name": "vmnet7",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet8",
|
|
||||||
"ip_address": "192.168.229.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:08",
|
|
||||||
"name": "vmnet8",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "vmnet9",
|
|
||||||
"ip_address": "172.16.6.1",
|
|
||||||
"mac_address": "00:50:56:c0:00:09",
|
|
||||||
"name": "vmnet9",
|
|
||||||
"netmask": "255.255.255.0",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 198
|
Content-Length: 198
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:22 GMT
|
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects
|
X-Route: /v2/compute/projects
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 80
|
Content-Length: 80
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:21 GMT
|
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}
|
X-Route: /v2/compute/projects/{project_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314'
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c'
|
||||||
|
|
||||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314 HTTP/1.1
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 2951
|
Content-Length: 1584
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
Date: Mon, 08 Jan 2018 08:15:42 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -48,66 +48,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
|||||||
"name": "p2p0",
|
"name": "p2p0",
|
||||||
"special": true,
|
"special": true,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "utun0",
|
|
||||||
"special": false,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet1",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet10",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet2",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet3",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet4",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet5",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet6",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet7",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet8",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet9",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "Cloud 1",
|
"name": "Cloud 1",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/6e8d100d-88bb-4f15-8750-d4fa9c614314",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/870c464a-d236-4a5e-8a1d-87893c493f4c",
|
||||||
"node_id": "6e8d100d-88bb-4f15-8750-d4fa9c614314",
|
"node_id": "870c464a-d236-4a5e-8a1d-87893c493f4c",
|
||||||
"ports_mapping": [
|
"ports_mapping": [
|
||||||
{
|
{
|
||||||
"interface": "en0",
|
"interface": "en0",
|
||||||
@ -126,12 +71,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
|||||||
"name": "en2",
|
"name": "en2",
|
||||||
"port_number": 2,
|
"port_number": 2,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"interface": "utun0",
|
|
||||||
"name": "utun0",
|
|
||||||
"port_number": 3,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2'
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1'
|
||||||
|
|
||||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2 HTTP/1.1
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 640
|
Content-Length: 665
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:08 GMT
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
"application_id": 1,
|
||||||
"command_line": "",
|
"command_line": "",
|
||||||
"console": 5004,
|
"console": 5004,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
@ -20,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
|||||||
"l1_keepalives": false,
|
"l1_keepalives": false,
|
||||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/f1e67396-246b-4edb-bfeb-cfd6bd028ae1",
|
||||||
"node_id": "3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
|
"node_id": "f1e67396-246b-4edb-bfeb-cfd6bd028ae1",
|
||||||
"nvram": 128,
|
"nvram": 128,
|
||||||
"path": "iou.bin",
|
"path": "iou.bin",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8'
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55'
|
||||||
|
|
||||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8 HTTP/1.1
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,13 +8,13 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 335
|
Content-Length: 335
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:15 GMT
|
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Nat 1",
|
"name": "Nat 1",
|
||||||
"node_id": "82feae22-4a86-4664-ac99-5b694c99bfd8",
|
"node_id": "2d520206-fba0-4b14-9fac-c065701eab55",
|
||||||
"ports_mapping": [
|
"ports_mapping": [
|
||||||
{
|
{
|
||||||
"interface": "virbr0",
|
"interface": "virbr0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa'
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519'
|
||||||
|
|
||||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa HTTP/1.1
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 1468
|
Content-Length: 1468
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:27 GMT
|
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
|||||||
"kernel_image": "",
|
"kernel_image": "",
|
||||||
"kernel_image_md5sum": null,
|
"kernel_image_md5sum": null,
|
||||||
"legacy_networking": false,
|
"legacy_networking": false,
|
||||||
"mac_address": "00:dd:80:5f:fa:00",
|
"mac_address": "00:dd:80:85:19:00",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/24403711-3db5-4cae-abae-956bfbf08519",
|
||||||
"node_id": "c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
|
"node_id": "24403711-3db5-4cae-abae-956bfbf08519",
|
||||||
"options": "",
|
"options": "",
|
||||||
"platform": "x86_64",
|
"platform": "x86_64",
|
||||||
"process_priority": "low",
|
"process_priority": "low",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||||
"ram": 256,
|
"ram": 256,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
"usage": ""
|
"usage": ""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5'
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0'
|
||||||
|
|
||||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5 HTTP/1.1
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 465
|
Content-Length: 465
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
|||||||
"linked_clone": false,
|
"linked_clone": false,
|
||||||
"name": "VMTEST",
|
"name": "VMTEST",
|
||||||
"node_directory": null,
|
"node_directory": null,
|
||||||
"node_id": "2901742a-3226-4ac7-96a1-85be8dd885d5",
|
"node_id": "0e9631fd-c8b4-4a21-bba1-2fe71d2387e0",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"ram": 0,
|
"ram": 0,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a'
|
||||||
|
|
||||||
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 200
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 688
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:59 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||||
|
|
||||||
|
{
|
||||||
|
"acpi_shutdown": false,
|
||||||
|
"adapter_type": "e1000",
|
||||||
|
"adapters": 0,
|
||||||
|
"console": 5004,
|
||||||
|
"console_type": "telnet",
|
||||||
|
"headless": false,
|
||||||
|
"linked_clone": false,
|
||||||
|
"name": "VMTEST",
|
||||||
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/1cb7bfee-78f2-442d-8c62-da5fba43c91a",
|
||||||
|
"node_id": "1cb7bfee-78f2-442d-8c62-da5fba43c91a",
|
||||||
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
"status": "stopped",
|
||||||
|
"use_any_adapter": false,
|
||||||
|
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_get0/test.vmx"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f'
|
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7'
|
||||||
|
|
||||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f HTTP/1.1
|
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 428
|
Content-Length: 428
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
|||||||
"console": 5004,
|
"console": 5004,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7",
|
||||||
"node_id": "ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
|
"node_id": "ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"status": "stopped"
|
"status": "stopped"
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 212
|
Content-Length: 212
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:32 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/qemu/binaries
|
X-Route: /v2/compute/qemu/binaries
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 39
|
Content-Length: 39
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:35 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/qemu/capabilities
|
X-Route: /v2/compute/qemu/capabilities
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -8,11 +8,11 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 49
|
Content-Length: 49
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:36 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/version
|
X-Route: /v2/compute/version
|
||||||
|
|
||||||
{
|
{
|
||||||
"local": true,
|
"local": true,
|
||||||
"version": "2.1.0dev1"
|
"version": "2.1.2dev1"
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 80
|
Content-Length: 80
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:20 GMT
|
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects
|
X-Route: /v2/compute/projects
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:24 GMT
|
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/close
|
X-Route: /v2/compute/projects/{project_id}/close
|
||||||
|
|
||||||
|
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
|||||||
|
|
||||||
HTTP/1.1 201
|
HTTP/1.1 201
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 2951
|
Content-Length: 1584
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
Date: Mon, 08 Jan 2018 08:15:42 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -50,66 +50,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
|||||||
"name": "p2p0",
|
"name": "p2p0",
|
||||||
"special": true,
|
"special": true,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "utun0",
|
|
||||||
"special": false,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet1",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet10",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet2",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet3",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet4",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet5",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet6",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet7",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet8",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet9",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "Cloud 1",
|
"name": "Cloud 1",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5c51574-0032-419f-af7e-87edd8cab649",
|
||||||
"node_id": "d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
|
"node_id": "f5c51574-0032-419f-af7e-87edd8cab649",
|
||||||
"ports_mapping": [
|
"ports_mapping": [
|
||||||
{
|
{
|
||||||
"interface": "en0",
|
"interface": "en0",
|
||||||
@ -128,12 +73,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
|||||||
"name": "en2",
|
"name": "en2",
|
||||||
"port_number": 2,
|
"port_number": 2,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"interface": "utun0",
|
|
||||||
"name": "utun0",
|
|
||||||
"port_number": 3,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/dbff6f53-7446-4c8f-bebb-38b568b1edc6/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/dbff6f53-7446-4c8f-bebb-38b568b1edc6/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 89
|
Content-Length: 89
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
Date: Mon, 08 Jan 2018 08:15:43 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
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/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/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/22a7d45d-7024-4303-bfd6-bedd6bab4037/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/adapters/0/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22a7d45d-7024-4303-bfd6-bedd6bab4037/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 89
|
Content-Length: 89
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:04 GMT
|
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
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/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/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/283cc38e-c13f-41e9-951e-42c9723fb3bc/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/adapters/0/ports/0/start_capture HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/283cc38e-c13f-41e9-951e-42c9723fb3bc/adapters/0/ports/0/start_capture HTTP/1.1
|
||||||
{
|
{
|
||||||
"capture_file_name": "test.pcap",
|
"capture_file_name": "test.pcap",
|
||||||
"data_link_type": "DLT_EN10MB"
|
"data_link_type": "DLT_EN10MB"
|
||||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 145
|
Content-Length: 145
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:06 GMT
|
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||||
|
|
||||||
{
|
{
|
||||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/tmp/captures/test.pcap"
|
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:06 GMT
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||||
|
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate' -d '{"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate HTTP/1.1
|
||||||
|
{
|
||||||
|
"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 4
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
|
||||||
|
|
||||||
|
true
|
@ -1,9 +1,9 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||||
{
|
{
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
|
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a",
|
||||||
"path": "iou.bin",
|
"path": "iou.bin",
|
||||||
"startup_config_content": "hostname test"
|
"startup_config_content": "hostname test"
|
||||||
}
|
}
|
||||||
@ -11,13 +11,14 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
|
|||||||
|
|
||||||
HTTP/1.1 201
|
HTTP/1.1 201
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 640
|
Content-Length: 665
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:08 GMT
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||||
|
|
||||||
{
|
{
|
||||||
|
"application_id": 1,
|
||||||
"command_line": "",
|
"command_line": "",
|
||||||
"console": 5004,
|
"console": 5004,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
@ -25,8 +26,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
|||||||
"l1_keepalives": false,
|
"l1_keepalives": false,
|
||||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/adb7de66-2415-44b5-8a84-2dc5fdee6979",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2a40df31-c258-409e-8aa3-466baab4bb1a",
|
||||||
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
|
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a",
|
||||||
"nvram": 128,
|
"nvram": 128,
|
||||||
"path": "iou.bin",
|
"path": "iou.bin",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"ethernet_device": "bridge0",
|
"ethernet_device": "bridge0",
|
||||||
"type": "nio_ethernet"
|
"type": "nio_ethernet"
|
||||||
@ -11,8 +11,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 64
|
Content-Length: 64
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:11 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
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/77839213-c55a-484c-98a3-2bf0d2893352/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/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77839213-c55a-484c-98a3-2bf0d2893352/adapters/0/ports/0/start_capture HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/adapters/0/ports/0/start_capture HTTP/1.1
|
||||||
{
|
{
|
||||||
"capture_file_name": "test.pcap",
|
"capture_file_name": "test.pcap",
|
||||||
"data_link_type": "DLT_EN10MB"
|
"data_link_type": "DLT_EN10MB"
|
||||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 145
|
Content-Length: 145
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:13 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||||
|
|
||||||
{
|
{
|
||||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/tmp/captures/test.pcap"
|
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:14 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||||
|
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate' -d '{"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate HTTP/1.1
|
||||||
|
{
|
||||||
|
"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 4
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
|
||||||
|
|
||||||
|
true
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:09 GMT
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start' -d '{"iourc_content": "test"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start' -d '{"iourc_content": "test"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start HTTP/1.1
|
||||||
{
|
{
|
||||||
"iourc_content": "test"
|
"iourc_content": "test"
|
||||||
}
|
}
|
||||||
@ -8,13 +8,14 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e
|
|||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 640
|
Content-Length: 665
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:09 GMT
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||||
|
|
||||||
{
|
{
|
||||||
|
"application_id": 1,
|
||||||
"command_line": "",
|
"command_line": "",
|
||||||
"console": 5004,
|
"console": 5004,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
@ -22,8 +23,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
|||||||
"l1_keepalives": false,
|
"l1_keepalives": false,
|
||||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/866ec4e8-835c-41bc-ae06-ef3aefc3133c",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/7aaf8730-a591-434b-832c-545c3fdace21",
|
||||||
"node_id": "866ec4e8-835c-41bc-ae06-ef3aefc3133c",
|
"node_id": "7aaf8730-a591-434b-832c-545c3fdace21",
|
||||||
"nvram": 128,
|
"nvram": 128,
|
||||||
"path": "iou.bin",
|
"path": "iou.bin",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:09 GMT
|
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 335
|
Content-Length: 335
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:15 GMT
|
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Nat 1",
|
"name": "Nat 1",
|
||||||
"node_id": "0bfda9f4-d320-437b-ad78-524022eb0ea7",
|
"node_id": "bb9f6090-ce62-461c-8457-babcbabe1417",
|
||||||
"ports_mapping": [
|
"ports_mapping": [
|
||||||
{
|
{
|
||||||
"interface": "virbr0",
|
"interface": "virbr0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 89
|
Content-Length: 89
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:16 GMT
|
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -8,8 +8,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 25
|
Content-Length: 25
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:18 GMT
|
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
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/tmp47ntn6ne/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/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "ram": 1024}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||||
{
|
{
|
||||||
"hda_disk_image": "linux\u8f7d.img",
|
"hda_disk_image": "linux\u8f7d.img",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||||
"ram": 1024
|
"ram": 1024
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 1514
|
Content-Length: 1514
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:26 GMT
|
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
|||||||
"kernel_image": "",
|
"kernel_image": "",
|
||||||
"kernel_image_md5sum": null,
|
"kernel_image_md5sum": null,
|
||||||
"legacy_networking": false,
|
"legacy_networking": false,
|
||||||
"mac_address": "00:dd:80:08:57:00",
|
"mac_address": "00:dd:80:61:ca:00",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8f66a9c3-60bd-4a10-8feb-73e3341f0857",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c5506ba4-66a1-4b97-b632-0b73291161ca",
|
||||||
"node_id": "8f66a9c3-60bd-4a10-8feb-73e3341f0857",
|
"node_id": "c5506ba4-66a1-4b97-b632-0b73291161ca",
|
||||||
"options": "",
|
"options": "",
|
||||||
"platform": "x86_64",
|
"platform": "x86_64",
|
||||||
"process_priority": "low",
|
"process_priority": "low",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||||
"ram": 1024,
|
"ram": 1024,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
"usage": ""
|
"usage": ""
|
||||||
|
@ -1,21 +1,25 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/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/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"ethernet_device": "eth0",
|
"lport": 4242,
|
||||||
"type": "nio_ethernet"
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HTTP/1.1 409
|
HTTP/1.1 201
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 81
|
Content-Length: 89
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:31 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
"message": "NIO of type nio_ethernet is not supported",
|
"lport": 4242,
|
||||||
"status": 409
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate' -d '{"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate HTTP/1.1
|
||||||
|
{
|
||||||
|
"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 4
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
|
||||||
|
|
||||||
|
true
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:28 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:29 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 1468
|
Content-Length: 1468
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:27 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
|||||||
"kernel_image": "",
|
"kernel_image": "",
|
||||||
"kernel_image_md5sum": null,
|
"kernel_image_md5sum": null,
|
||||||
"legacy_networking": false,
|
"legacy_networking": false,
|
||||||
"mac_address": "00:dd:80:fd:43:00",
|
"mac_address": "00:dd:80:db:d2:00",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/549b4a45-e05f-46f7-9162-9c8917cfdbd2",
|
||||||
"node_id": "ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
|
"node_id": "549b4a45-e05f-46f7-9162-9c8917cfdbd2",
|
||||||
"options": "",
|
"options": "",
|
||||||
"platform": "x86_64",
|
"platform": "x86_64",
|
||||||
"process_priority": "low",
|
"process_priority": "low",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||||
"ram": 256,
|
"ram": 256,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
"usage": ""
|
"usage": ""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:28 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:28 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 459
|
Content-Length: 459
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:36 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
|||||||
"linked_clone": false,
|
"linked_clone": false,
|
||||||
"name": "VM1",
|
"name": "VM1",
|
||||||
"node_directory": null,
|
"node_directory": null,
|
||||||
"node_id": "9e2ac63a-073c-4a24-aeac-f61357a5f90f",
|
"node_id": "dbbae445-fdee-4985-ab03-9fd20c4dd5c1",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"ram": 0,
|
"ram": 0,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/acf82559-f05c-4623-8607-f4725c99dd19/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/acf82559-f05c-4623-8607-f4725c99dd19/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 89
|
Content-Length: 89
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:38 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/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/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:38 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||||
|
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes' -d '{"linked_clone": false, "name": "VM1", "vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes HTTP/1.1
|
||||||
|
{
|
||||||
|
"linked_clone": false,
|
||||||
|
"name": "VM1",
|
||||||
|
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 688
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||||
|
|
||||||
|
{
|
||||||
|
"acpi_shutdown": false,
|
||||||
|
"adapter_type": "e1000",
|
||||||
|
"adapters": 0,
|
||||||
|
"console": 5004,
|
||||||
|
"console_type": "telnet",
|
||||||
|
"headless": false,
|
||||||
|
"linked_clone": false,
|
||||||
|
"name": "VM1",
|
||||||
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/363338c7-451e-4f3d-a74a-5d7400b2325b",
|
||||||
|
"node_id": "363338c7-451e-4f3d-a74a-5d7400b2325b",
|
||||||
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
"status": "stopped",
|
||||||
|
"use_any_adapter": false,
|
||||||
|
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/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/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 89
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:06 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload' -d '{}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload HTTP/1.1
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 204
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 0
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:05 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume' -d '{}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume HTTP/1.1
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 204
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 0
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:04 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start' -d '{}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start HTTP/1.1
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 204
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 0
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:00 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop' -d '{}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop HTTP/1.1
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 204
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 0
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:01 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend' -d '{}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend HTTP/1.1
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 204
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 0
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:02 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||||
|
|
@ -10,8 +10,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 428
|
Content-Length: 428
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
|||||||
"console": 5004,
|
"console": 5004,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/de5b89af-2907-411f-bc88-d7aacc015763",
|
||||||
"node_id": "688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
|
"node_id": "de5b89af-2907-411f-bc88-d7aacc015763",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"status": "stopped"
|
"status": "stopped"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eb360fb6-4941-4f14-9145-e7d64369bc3c/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eb360fb6-4941-4f14-9145-e7d64369bc3c/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 89
|
Content-Length: 89
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:40 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate' -d '{"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"}'
|
||||||
|
|
||||||
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate HTTP/1.1
|
||||||
|
{
|
||||||
|
"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 4
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
|
||||||
|
|
||||||
|
true
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 428
|
Content-Length: 428
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:42 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
|||||||
"console": 5004,
|
"console": 5004,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c8ead56f-2107-4183-837e-ee2be3d07942",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/9c0b927b-a48b-41c7-ad94-4006669f49f5",
|
||||||
"node_id": "c8ead56f-2107-4183-837e-ee2be3d07942",
|
"node_id": "9c0b927b-a48b-41c7-ad94-4006669f49f5",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"status": "stopped"
|
"status": "stopped"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop' -d '{}'
|
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop' -d '{}'
|
||||||
|
|
||||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop HTTP/1.1
|
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ HTTP/1.1 201
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:35 GMT
|
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/qemu/img
|
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/4631238a-cc6f-42f4-919e-564e00b9daf5' -d '{"name": "test"}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43' -d '{"name": "test"}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5 HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43 HTTP/1.1
|
||||||
{
|
{
|
||||||
"name": "test"
|
"name": "test"
|
||||||
}
|
}
|
||||||
@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/463123
|
|||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 2948
|
Content-Length: 1581
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:00 GMT
|
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -50,66 +50,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
|||||||
"name": "p2p0",
|
"name": "p2p0",
|
||||||
"special": true,
|
"special": true,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "utun0",
|
|
||||||
"special": false,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet1",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet10",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet2",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet3",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet4",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet5",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet6",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet7",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet8",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vmnet9",
|
|
||||||
"special": true,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/4631238a-cc6f-42f4-919e-564e00b9daf5",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5393b54-aad6-4233-acfa-ab20d9cb0e43",
|
||||||
"node_id": "4631238a-cc6f-42f4-919e-564e00b9daf5",
|
"node_id": "f5393b54-aad6-4233-acfa-ab20d9cb0e43",
|
||||||
"ports_mapping": [
|
"ports_mapping": [
|
||||||
{
|
{
|
||||||
"interface": "en0",
|
"interface": "en0",
|
||||||
@ -128,12 +73,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
|||||||
"name": "en2",
|
"name": "en2",
|
||||||
"port_number": 2,
|
"port_number": 2,
|
||||||
"type": "ethernet"
|
"type": "ethernet"
|
||||||
},
|
|
||||||
{
|
|
||||||
"interface": "utun0",
|
|
||||||
"name": "utun0",
|
|
||||||
"port_number": 3,
|
|
||||||
"type": "ethernet"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 108
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:43 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3 HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 5006,
|
"console": 5006,
|
||||||
"environment": "GNS3=1\nGNS4=0",
|
"environment": "GNS3=1\nGNS4=0",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 653
|
Content-Length: 653
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:05 GMT
|
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -29,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
|||||||
"environment": "GNS3=1\nGNS4=0",
|
"environment": "GNS3=1\nGNS4=0",
|
||||||
"image": "nginx:latest",
|
"image": "nginx:latest",
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/docker/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/22396e9c-c6a0-4d55-82f0-fff20006a4a3",
|
||||||
"node_id": "bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
|
"node_id": "22396e9c-c6a0-4d55-82f0-fff20006a4a3",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"start_command": "yes",
|
"start_command": "yes",
|
||||||
"status": "stopped"
|
"status": "stopped"
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 89
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6-735e-4523-bb83-5ea11ecc97f7' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6-735e-4523-bb83-5ea11ecc97f7 HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 5005,
|
"console": 5005,
|
||||||
"ethernet_adapters": 4,
|
"ethernet_adapters": 4,
|
||||||
@ -15,13 +15,14 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6
|
|||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 635
|
Content-Length: 660
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:10 GMT
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
"application_id": 1,
|
||||||
"command_line": "",
|
"command_line": "",
|
||||||
"console": 5005,
|
"console": 5005,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
@ -29,8 +30,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
|||||||
"l1_keepalives": true,
|
"l1_keepalives": true,
|
||||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/e01d02c6-735e-4523-bb83-5ea11ecc97f7",
|
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2e54bfd5-33e4-4958-9eb5-9344095bcf3c",
|
||||||
"node_id": "e01d02c6-735e-4523-bb83-5ea11ecc97f7",
|
"node_id": "2e54bfd5-33e4-4958-9eb5-9344095bcf3c",
|
||||||
"nvram": 2048,
|
"nvram": 2048,
|
||||||
"path": "iou.bin",
|
"path": "iou.bin",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 89
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/41808a1f-4259-44e1-904c-bc785c285677' -d '{"name": "test"}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187' -d '{"name": "test"}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/41808a1f-4259-44e1-904c-bc785c285677 HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187 HTTP/1.1
|
||||||
{
|
{
|
||||||
"name": "test"
|
"name": "test"
|
||||||
}
|
}
|
||||||
@ -10,13 +10,13 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 334
|
Content-Length: 334
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:18 GMT
|
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_id": "41808a1f-4259-44e1-904c-bc785c285677",
|
"node_id": "c567edc8-9230-41b5-a32c-cda1403eb187",
|
||||||
"ports_mapping": [
|
"ports_mapping": [
|
||||||
{
|
{
|
||||||
"interface": "virbr0",
|
"interface": "virbr0",
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 108
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4f507333-8f47-4e28-80c0-431412e17452' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4f507333-8f47-4e28-80c0-431412e17452 HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504 HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 5006,
|
"console": 5006,
|
||||||
"hdb_disk_image": "linux\u8f7d.img",
|
"hdb_disk_image": "linux\u8f7d.img",
|
||||||
@ -13,8 +13,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 1509
|
Content-Length: 1509
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:29 GMT
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
|||||||
"kernel_image": "",
|
"kernel_image": "",
|
||||||
"kernel_image_md5sum": null,
|
"kernel_image_md5sum": null,
|
||||||
"legacy_networking": false,
|
"legacy_networking": false,
|
||||||
"mac_address": "00:dd:80:74:52:00",
|
"mac_address": "00:dd:80:45:04:00",
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4f507333-8f47-4e28-80c0-431412e17452",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/2b036990-caf0-422c-b18b-5b218bbe4504",
|
||||||
"node_id": "4f507333-8f47-4e28-80c0-431412e17452",
|
"node_id": "2b036990-caf0-422c-b18b-5b218bbe4504",
|
||||||
"options": "",
|
"options": "",
|
||||||
"platform": "x86_64",
|
"platform": "x86_64",
|
||||||
"process_priority": "low",
|
"process_priority": "low",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||||
"ram": 1024,
|
"ram": 1024,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
"usage": ""
|
"usage": ""
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 108
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39302861-c326-48fe-a44d-d3c9582d5354' -d '{"console": 5005, "name": "test"}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d' -d '{"console": 5005, "name": "test"}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39302861-c326-48fe-a44d-d3c9582d5354 HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 5005,
|
"console": 5005,
|
||||||
"name": "test"
|
"name": "test"
|
||||||
@ -11,8 +11,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 463
|
Content-Length: 463
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -25,7 +25,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
|||||||
"linked_clone": false,
|
"linked_clone": false,
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_directory": null,
|
"node_directory": null,
|
||||||
"node_id": "39302861-c326-48fe-a44d-d3c9582d5354",
|
"node_id": "07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"ram": 0,
|
"ram": 0,
|
||||||
"status": "stopped",
|
"status": "stopped",
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 108
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0984c2d0-0a0c-4b46-ba69-16bd5c0464fe' -d '{"console": 5005, "name": "test"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0984c2d0-0a0c-4b46-ba69-16bd5c0464fe HTTP/1.1
|
||||||
|
{
|
||||||
|
"console": 5005,
|
||||||
|
"name": "test"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 200
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 689
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:10 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||||
|
|
||||||
|
{
|
||||||
|
"acpi_shutdown": false,
|
||||||
|
"adapter_type": "e1000",
|
||||||
|
"adapters": 0,
|
||||||
|
"console": 5005,
|
||||||
|
"console_type": "telnet",
|
||||||
|
"headless": false,
|
||||||
|
"linked_clone": false,
|
||||||
|
"name": "test",
|
||||||
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/0984c2d0-0a0c-4b46-ba69-16bd5c0464fe",
|
||||||
|
"node_id": "0984c2d0-0a0c-4b46-ba69-16bd5c0464fe",
|
||||||
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
|
"status": "stopped",
|
||||||
|
"use_any_adapter": false,
|
||||||
|
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_update0/test.vmx"
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7334e124-eace-47e6-982b-ef6ce9382a7b/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7334e124-eace-47e6-982b-ef6ce9382a7b/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 108
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:07 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387' -d '{"console": 5006, "name": "test"}'
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/892a8c7f-fd53-4721-a1f8-5fde82beb037' -d '{"console": 5006, "name": "test"}'
|
||||||
|
|
||||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387 HTTP/1.1
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/892a8c7f-fd53-4721-a1f8-5fde82beb037 HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 5006,
|
"console": 5006,
|
||||||
"name": "test"
|
"name": "test"
|
||||||
@ -11,8 +11,8 @@ HTTP/1.1 200
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 423
|
Content-Length: 423
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -20,8 +20,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
|||||||
"console": 5006,
|
"console": 5006,
|
||||||
"console_type": "telnet",
|
"console_type": "telnet",
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387",
|
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/892a8c7f-fd53-4721-a1f8-5fde82beb037",
|
||||||
"node_id": "8a66c0b3-f8d7-44e8-aa03-12d5e14c7387",
|
"node_id": "892a8c7f-fd53-4721-a1f8-5fde82beb037",
|
||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"status": "stopped"
|
"status": "stopped"
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fa95d435-5dc4-4e82-b8a5-7977de2daae6/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
|
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fa95d435-5dc4-4e82-b8a5-7977de2daae6/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 201
|
||||||
|
Connection: close
|
||||||
|
Content-Length: 108
|
||||||
|
Content-Type: application/json
|
||||||
|
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||||
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
|
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"lport": 4242,
|
||||||
|
"rhost": "127.0.0.1",
|
||||||
|
"rport": 4343,
|
||||||
|
"type": "nio_udp"
|
||||||
|
}
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:46 GMT
|
Date: Mon, 08 Jan 2018 08:16:24 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/computes/{compute_id}
|
X-Route: /v2/computes/{compute_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/e30c8eb4-c08f-4a5e-836e-c885a0a816ad'
|
curl -i -X DELETE 'http://localhost:3080/v2/projects/5b7149f0-17dd-48f0-a908-99dd4b4de0d4'
|
||||||
|
|
||||||
DELETE /v2/projects/e30c8eb4-c08f-4a5e-836e-c885a0a816ad HTTP/1.1
|
DELETE /v2/projects/5b7149f0-17dd-48f0-a908-99dd4b4de0d4 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:08:03 GMT
|
Date: Mon, 08 Jan 2018 08:16:38 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/projects/{project_id}
|
X-Route: /v2/projects/{project_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9/drawings/f5852a28-616a-4e2c-a288-2184daecd0dc'
|
curl -i -X DELETE 'http://localhost:3080/v2/projects/3cf20b3c-0602-49a6-b593-d49b6a1a5238/drawings/df4f6a0a-429a-40c9-ae38-dbb4733d0750'
|
||||||
|
|
||||||
DELETE /v2/projects/9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9/drawings/f5852a28-616a-4e2c-a288-2184daecd0dc HTTP/1.1
|
DELETE /v2/projects/3cf20b3c-0602-49a6-b593-d49b6a1a5238/drawings/df4f6a0a-429a-40c9-ae38-dbb4733d0750 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:49 GMT
|
Date: Mon, 08 Jan 2018 08:16:35 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}
|
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/0e7e02c1-1864-46e3-a0ec-de2d3860ed66/links/998e514e-d9a3-4de5-a940-13845f96fe55'
|
curl -i -X DELETE 'http://localhost:3080/v2/projects/2883d355-8b23-4ddd-a21b-ff213e485c29/links/3b6257c1-ce3b-44c8-8c6c-a0457d6e9e04'
|
||||||
|
|
||||||
DELETE /v2/projects/0e7e02c1-1864-46e3-a0ec-de2d3860ed66/links/998e514e-d9a3-4de5-a940-13845f96fe55 HTTP/1.1
|
DELETE /v2/projects/2883d355-8b23-4ddd-a21b-ff213e485c29/links/3b6257c1-ce3b-44c8-8c6c-a0457d6e9e04 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:54 GMT
|
Date: Mon, 08 Jan 2018 08:16:36 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/projects/{project_id}/links/{link_id}
|
X-Route: /v2/projects/{project_id}/links/{link_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/f4a68c15-6212-45a0-9760-14d0f8aa30a3/nodes/d52ba5ac-1806-4264-a77d-dac53c5bcd3a'
|
curl -i -X DELETE 'http://localhost:3080/v2/projects/86bbdba1-356e-4abf-94af-42c002782a60/nodes/f22f2164-5f3f-4dd8-b88b-cca9e32f4f5c'
|
||||||
|
|
||||||
DELETE /v2/projects/f4a68c15-6212-45a0-9760-14d0f8aa30a3/nodes/d52ba5ac-1806-4264-a77d-dac53c5bcd3a HTTP/1.1
|
DELETE /v2/projects/86bbdba1-356e-4abf-94af-42c002782a60/nodes/f22f2164-5f3f-4dd8-b88b-cca9e32f4f5c HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:07:59 GMT
|
Date: Mon, 08 Jan 2018 08:16:38 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/6f8d001b-2e78-4ce2-be41-2c09dc2c6d76/snapshots/ec35ee09-2bc2-4254-94a5-32d6ec6b16b9'
|
curl -i -X DELETE 'http://localhost:3080/v2/projects/0b8da5eb-a8e3-47a7-b74a-b8440087ad20/snapshots/47c9b602-6e34-4190-94f9-6e7bd7d18c2d'
|
||||||
|
|
||||||
DELETE /v2/projects/6f8d001b-2e78-4ce2-be41-2c09dc2c6d76/snapshots/ec35ee09-2bc2-4254-94a5-32d6ec6b16b9 HTTP/1.1
|
DELETE /v2/projects/0b8da5eb-a8e3-47a7-b74a-b8440087ad20/snapshots/47c9b602-6e34-4190-94f9-6e7bd7d18c2d HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
|||||||
Connection: close
|
Connection: close
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
Date: Thu, 29 Jun 2017 15:08:09 GMT
|
Date: Mon, 08 Jan 2018 08:16:40 GMT
|
||||||
Server: Python/3.6 GNS3/2.1.0dev1
|
Server: Python/3.6 GNS3/2.1.2dev1
|
||||||
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}
|
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user