mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-30 18:50:58 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7e8b0a48ab
28
CHANGELOG
28
CHANGELOG
@ -1,5 +1,33 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 1.3.1rc3 07/04/2015
|
||||||
|
|
||||||
|
* Fix missing IOU documentation
|
||||||
|
* Add missing project name in curl documentation
|
||||||
|
* Look in old IOU images location in order to smooth transition
|
||||||
|
|
||||||
|
## 1.3.1rc2 06/04/2015
|
||||||
|
|
||||||
|
* Do not overwrite initial-config IOU if client send an empty
|
||||||
|
* Fix documentation about /ports/udp
|
||||||
|
|
||||||
|
## 1.3.1rc1 05/04/2015
|
||||||
|
|
||||||
|
* Fix issues with macos X dynamips not freeing UDP port
|
||||||
|
* Fix encoding error when saving dynamips configuration
|
||||||
|
* The upload web page return a 200 in case of error (IE compatibility)
|
||||||
|
* Do not crash if dynamips config contain non ascii chars
|
||||||
|
* Test path with chinese charcaters in Qemu
|
||||||
|
* Do not crash if no console port is available for VBox
|
||||||
|
* Raise a DynamipsError if we can't access to VM status
|
||||||
|
* Check name of the VBoxManage executable
|
||||||
|
* Exclude docs and tests package from distribution
|
||||||
|
* Catch error when qemu additional options are invalid
|
||||||
|
* Fix ClientDisconnectedError
|
||||||
|
* Fix crash when NIO doesn't exist
|
||||||
|
* Turn off crash report if raven not available
|
||||||
|
* Fix crash when IOU script file is incorrect
|
||||||
|
|
||||||
## 1.3.0 30/03/2015
|
## 1.3.0 30/03/2015
|
||||||
|
|
||||||
* Fix issue when asyncio read is cancelled and data is still sent by Dynamips hypervisor.
|
* Fix issue when asyncio read is cancelled and data is still sent by Dynamips hypervisor.
|
||||||
|
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}
|
X-ROUTE: /v1/projects/{project_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ce8ff042-5408-4601-a0fe-4854afee7080'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/becc8bf8-1936-4076-b7dd-ee83ba078907'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ce8ff042-5408-4601-a0fe-4854afee7080 HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/becc8bf8-1936-4076-b7dd-ee83ba078907 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/fb4353bb-ead4-42f0-8f51-d79c43deb019/adapters/1/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/779f3f81-60ab-4d26-860c-75f915b1d70b/adapters/1/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/fb4353bb-ead4-42f0-8f51-d79c43deb019/adapters/1/ports/0/nio HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/779f3f81-60ab-4d26-860c-75f915b1d70b/adapters/1/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/fa2a7032-3c3a-4017-9ddd-ee2065f48b12'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/6537c17b-2e47-46f9-b96b-6fc66382709f'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/fa2a7032-3c3a-4017-9ddd-ee2065f48b12 HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/6537c17b-2e47-46f9-b96b-6fc66382709f HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/3c00f532-1239-4706-86cf-ea143c06e8e8/adapters/1/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b54e4616-058f-413d-a589-0b7c5da20aa3/adapters/1/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/3c00f532-1239-4706-86cf-ea143c06e8e8/adapters/1/ports/0/nio HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b54e4616-058f-413d-a589-0b7c5da20aa3/adapters/1/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/8d1eec7a-d44b-4c3f-8cc8-f48d41cb1c18/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/387fb016-f1fc-4844-a25e-97c08ef77274/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/8d1eec7a-d44b-4c3f-8cc8-f48d41cb1c18/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/387fb016-f1fc-4844-a25e-97c08ef77274/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b5582f24-886f-47f4-8037-68fab299f55e'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/6bc73868-fea6-449b-af5c-e7b746e4129d'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b5582f24-886f-47f4-8037-68fab299f55e HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/6bc73868-fea6-449b-af5c-e7b746e4129d HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/03960920-2b9f-4b04-82b0-6f751630e10d/adapters/0/ports/0/nio'
|
curl -i -X DELETE 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/f7d1d6ad-422b-486a-8d23-1ff46cd8bc4b/adapters/0/ports/0/nio'
|
||||||
|
|
||||||
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/03960920-2b9f-4b04-82b0-6f751630e10d/adapters/0/ports/0/nio HTTP/1.1
|
DELETE /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/f7d1d6ad-422b-486a-8d23-1ff46cd8bc4b/adapters/0/ports/0/nio HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 718
|
CONTENT-LENGTH: 718
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/interfaces
|
X-ROUTE: /v1/interfaces
|
||||||
|
|
||||||
[
|
[
|
||||||
@ -33,6 +33,10 @@ X-ROUTE: /v1/interfaces
|
|||||||
"id": "en1",
|
"id": "en1",
|
||||||
"name": "en1"
|
"name": "en1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "fw0",
|
||||||
|
"name": "fw0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "en2",
|
"id": "en2",
|
||||||
"name": "en2"
|
"name": "en2"
|
||||||
@ -41,10 +45,6 @@ X-ROUTE: /v1/interfaces
|
|||||||
"id": "p2p0",
|
"id": "p2p0",
|
||||||
"name": "p2p0"
|
"name": "p2p0"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "fw0",
|
|
||||||
"name": "fw0"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "bridge0",
|
"id": "bridge0",
|
||||||
"name": "bridge0"
|
"name": "bridge0"
|
||||||
|
@ -9,13 +9,13 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 297
|
CONTENT-LENGTH: 297
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}
|
X-ROUTE: /v1/projects/{project_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0mlxzdj2",
|
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphbzo0jp9",
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0mlxzdj2/00010203-0405-0607-0809-0a0b0c0d0e02",
|
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphbzo0jp9/00010203-0405-0607-0809-0a0b0c0d0e02",
|
||||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e02",
|
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e02",
|
||||||
"temporary": false
|
"temporary": false
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/c73476fe-e744-4aeb-8f55-add8e51d2917'
|
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ede1bba5-0723-4fd8-9e89-bdfffe5f5c8f'
|
||||||
|
|
||||||
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/c73476fe-e744-4aeb-8f55-add8e51d2917 HTTP/1.1
|
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ede1bba5-0723-4fd8-9e89-bdfffe5f5c8f HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 386
|
CONTENT-LENGTH: 386
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -25,5 +25,5 @@ X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
|||||||
"ram": 256,
|
"ram": 256,
|
||||||
"serial_adapters": 2,
|
"serial_adapters": 2,
|
||||||
"use_default_iou_values": true,
|
"use_default_iou_values": true,
|
||||||
"vm_id": "c73476fe-e744-4aeb-8f55-add8e51d2917"
|
"vm_id": "ede1bba5-0723-4fd8-9e89-bdfffe5f5c8f"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4deb685c-afd4-4dc6-93bf-1770846950a9/initial_config'
|
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/821b0dc3-4cc0-4899-8184-75bfc22db584/initial_config'
|
||||||
|
|
||||||
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4deb685c-afd4-4dc6-93bf-1770846950a9/initial_config HTTP/1.1
|
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/821b0dc3-4cc0-4899-8184-75bfc22db584/initial_config HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 25
|
CONTENT-LENGTH: 25
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/initial_config
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/initial_config
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/aff4ab99-85c1-4892-8759-c7ed34aafd36'
|
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e3935d2d-2bf9-4cde-8c7e-0bd1d74c3dad'
|
||||||
|
|
||||||
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/aff4ab99-85c1-4892-8759-c7ed34aafd36 HTTP/1.1
|
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e3935d2d-2bf9-4cde-8c7e-0bd1d74c3dad HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 597
|
CONTENT-LENGTH: 597
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
|||||||
"options": "",
|
"options": "",
|
||||||
"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/tmpyllkr06h/qemu_x42",
|
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyasp9636/qemu_x42",
|
||||||
"ram": 256,
|
"ram": 256,
|
||||||
"vm_id": "aff4ab99-85c1-4892-8759-c7ed34aafd36"
|
"vm_id": "e3935d2d-2bf9-4cde-8c7e-0bd1d74c3dad"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/5f2e526e-1641-46ef-8963-785c4035f695'
|
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f49ff215-0872-4bf7-90c8-3d9ecc2b2f2b'
|
||||||
|
|
||||||
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/5f2e526e-1641-46ef-8963-785c4035f695 HTTP/1.1
|
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f49ff215-0872-4bf7-90c8-3d9ecc2b2f2b HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 361
|
CONTENT-LENGTH: 361
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -22,6 +22,6 @@ X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}
|
|||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"ram": 0,
|
"ram": 0,
|
||||||
"use_any_adapter": false,
|
"use_any_adapter": false,
|
||||||
"vm_id": "5f2e526e-1641-46ef-8963-785c4035f695",
|
"vm_id": "f49ff215-0872-4bf7-90c8-3d9ecc2b2f2b",
|
||||||
"vmname": "VMTEST"
|
"vmname": "VMTEST"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b0fb2fe2-577c-4c2c-a675-88159935d854'
|
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/3ff6ff9e-93de-45ae-a7ec-e296d406ffe1'
|
||||||
|
|
||||||
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b0fb2fe2-577c-4c2c-a675-88159935d854 HTTP/1.1
|
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/3ff6ff9e-93de-45ae-a7ec-e296d406ffe1 HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 220
|
CONTENT-LENGTH: 220
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -18,5 +18,5 @@ X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
|||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"startup_script": null,
|
"startup_script": null,
|
||||||
"startup_script_path": null,
|
"startup_script_path": null,
|
||||||
"vm_id": "b0fb2fe2-577c-4c2c-a675-88159935d854"
|
"vm_id": "3ff6ff9e-93de-45ae-a7ec-e296d406ffe1"
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 134
|
CONTENT-LENGTH: 134
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/qemu/binaries
|
X-ROUTE: /v1/qemu/binaries
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -6,13 +6,13 @@ GET /v1/version HTTP/1.1
|
|||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 50
|
CONTENT-LENGTH: 49
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/version
|
X-ROUTE: /v1/version
|
||||||
|
|
||||||
{
|
{
|
||||||
"local": true,
|
"local": true,
|
||||||
"version": "1.3.0.dev3"
|
"version": "1.3.1.rc2"
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@ HTTP/1.1 201
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/config/reload
|
X-ROUTE: /v1/config/reload
|
||||||
|
|
||||||
|
@ -11,13 +11,13 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 297
|
CONTENT-LENGTH: 297
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects
|
X-ROUTE: /v1/projects
|
||||||
|
|
||||||
{
|
{
|
||||||
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2mcnd0d3",
|
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_6lclsv7",
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2mcnd0d3/e61f239c-1cfd-45ac-88da-51ae6a1e92aa",
|
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_6lclsv7/187543e2-5d46-4108-a623-cfdd31fa300e",
|
||||||
"project_id": "e61f239c-1cfd-45ac-88da-51ae6a1e92aa",
|
"project_id": "187543e2-5d46-4108-a623-cfdd31fa300e",
|
||||||
"temporary": false
|
"temporary": false
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/close
|
X-ROUTE: /v1/projects/{project_id}/close
|
||||||
|
|
||||||
|
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/commit
|
X-ROUTE: /v1/projects/{project_id}/commit
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms' -d '{"ethernet_adapters": 0, "initial_config_content": "hostname test", "iourc_content": "test", "l1_keepalives": true, "name": "PC TEST 1", "nvram": 512, "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4332/test_iou_create_with_params0/iou.bin", "ram": 1024, "serial_adapters": 4, "use_default_iou_values": true}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms' -d '{"ethernet_adapters": 0, "initial_config_content": "hostname test", "iourc_content": "test", "l1_keepalives": true, "name": "PC TEST 1", "nvram": 512, "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4450/test_iou_create_with_params0/iou.bin", "ram": 1024, "serial_adapters": 4, "use_default_iou_values": true}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms HTTP/1.1
|
||||||
{
|
{
|
||||||
@ -8,7 +8,7 @@ POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms HTTP/1.1
|
|||||||
"l1_keepalives": true,
|
"l1_keepalives": true,
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"nvram": 512,
|
"nvram": 512,
|
||||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4332/test_iou_create_with_params0/iou.bin",
|
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4450/test_iou_create_with_params0/iou.bin",
|
||||||
"ram": 1024,
|
"ram": 1024,
|
||||||
"serial_adapters": 4,
|
"serial_adapters": 4,
|
||||||
"use_default_iou_values": true
|
"use_default_iou_values": true
|
||||||
@ -20,14 +20,14 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 466
|
CONTENT-LENGTH: 466
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms
|
X-ROUTE: /v1/projects/{project_id}/iou/vms
|
||||||
|
|
||||||
{
|
{
|
||||||
"console": 2000,
|
"console": 2000,
|
||||||
"ethernet_adapters": 0,
|
"ethernet_adapters": 0,
|
||||||
"initial_config": "initial-config.cfg",
|
"initial_config": "initial-config.cfg",
|
||||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmnf8_vaz/iourc",
|
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps796q8lx/iourc",
|
||||||
"l1_keepalives": true,
|
"l1_keepalives": true,
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"nvram": 512,
|
"nvram": 512,
|
||||||
@ -36,5 +36,5 @@ X-ROUTE: /v1/projects/{project_id}/iou/vms
|
|||||||
"ram": 1024,
|
"ram": 1024,
|
||||||
"serial_adapters": 4,
|
"serial_adapters": 4,
|
||||||
"use_default_iou_values": true,
|
"use_default_iou_values": true,
|
||||||
"vm_id": "ffb44d02-75a0-4cd3-b24a-bdb7b71efbd8"
|
"vm_id": "69f5842a-d4e5-45fe-a500-1010c72f1748"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e453158e-719d-404a-ba1e-616ba91ddad3/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/04648c72-4339-471e-aa12-57b42d7ea18b/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e453158e-719d-404a-ba1e-616ba91ddad3/adapters/1/ports/0/nio HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/04648c72-4339-471e-aa12-57b42d7ea18b/adapters/1/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"ethernet_device": "eth0",
|
"ethernet_device": "eth0",
|
||||||
"type": "nio_generic_ethernet"
|
"type": "nio_generic_ethernet"
|
||||||
@ -12,7 +12,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 69
|
CONTENT-LENGTH: 69
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/a34cc9f3-e526-43c9-88ba-7379348d4a8d/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6056b617-d0c4-4683-bc9e-d0130beec951/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/a34cc9f3-e526-43c9-88ba-7379348d4a8d/adapters/0/ports/0/start_capture HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6056b617-d0c4-4683-bc9e-d0130beec951/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"
|
||||||
@ -12,9 +12,9 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 158
|
CONTENT-LENGTH: 158
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||||
|
|
||||||
{
|
{
|
||||||
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp5qjzassw/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp367810hd/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/b097b2f1-8a72-4225-8a91-f5e9fe083de2/adapters/0/ports/0/stop_capture' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/0fb3c393-7cda-4abc-ad76-a9e7af04abea/adapters/0/ports/0/stop_capture' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/b097b2f1-8a72-4225-8a91-f5e9fe083de2/adapters/0/ports/0/stop_capture HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/0fb3c393-7cda-4abc-ad76-a9e7af04abea/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/35de3d95-3f1b-4d99-94e4-f8262bbd9621/reload' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/b32c38db-3692-4719-b94f-2b3f664cd06f/reload' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/35de3d95-3f1b-4d99-94e4-f8262bbd9621/reload HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/b32c38db-3692-4719-b94f-2b3f664cd06f/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/reload
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4f5e6326-7688-46c2-9dda-045a54a27a77/start' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/55209a6f-8fe0-49d1-a884-b7cd09547b5c/start' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4f5e6326-7688-46c2-9dda-045a54a27a77/start HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/55209a6f-8fe0-49d1-a884-b7cd09547b5c/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/start
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/start
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6705e6b5-527d-41c9-b3ba-6d4711d820d1/stop' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d893bd2c-d84e-4f89-ad84-f3bdfaf460b6/stop' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6705e6b5-527d-41c9-b3ba-6d4711d820d1/stop HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d893bd2c-d84e-4f89-ad84-f3bdfaf460b6/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/stop
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}/stop
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 25
|
CONTENT-LENGTH: 25
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/ports/udp
|
X-ROUTE: /v1/projects/{project_id}/ports/udp
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms' -d '{"hda_disk_image": "/tmp/hda", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyllkr06h/qemu_x42", "ram": 1024}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms' -d '{"hda_disk_image": "/tmp/hda", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyasp9636/qemu_x42", "ram": 1024}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms HTTP/1.1
|
||||||
{
|
{
|
||||||
"hda_disk_image": "/tmp/hda",
|
"hda_disk_image": "/tmp/hda",
|
||||||
"name": "PC TEST 1",
|
"name": "PC TEST 1",
|
||||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyllkr06h/qemu_x42",
|
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyasp9636/qemu_x42",
|
||||||
"ram": 1024
|
"ram": 1024
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 606
|
CONTENT-LENGTH: 606
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -34,7 +34,7 @@ X-ROUTE: /v1/projects/{project_id}/qemu/vms
|
|||||||
"options": "",
|
"options": "",
|
||||||
"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/tmpyllkr06h/qemu_x42",
|
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyasp9636/qemu_x42",
|
||||||
"ram": 1024,
|
"ram": 1024,
|
||||||
"vm_id": "3cf1c602-0b39-409c-8a96-b1f199d73c5f"
|
"vm_id": "8c325041-39a8-4c31-b921-b66dadadc353"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/73ee0a6c-5c3d-435f-bf24-7a27b9c1f63c/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e791569e-7f95-4a1d-9f8d-b48611afeef3/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/73ee0a6c-5c3d-435f-bf24-7a27b9c1f63c/adapters/1/ports/0/nio HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e791569e-7f95-4a1d-9f8d-b48611afeef3/adapters/1/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"ethernet_device": "eth0",
|
"ethernet_device": "eth0",
|
||||||
"type": "nio_generic_ethernet"
|
"type": "nio_generic_ethernet"
|
||||||
@ -12,7 +12,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 69
|
CONTENT-LENGTH: 69
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/5d37a3e2-c9e8-4bf5-a4f7-5019b9d4720d/reload' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e6de45b1-048b-498b-9875-de76762532e9/reload' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/5d37a3e2-c9e8-4bf5-a4f7-5019b9d4720d/reload HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e6de45b1-048b-498b-9875-de76762532e9/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/reload
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/804293f2-b3e8-4038-b38f-17292c09460e/resume' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/d7152d7c-7f23-4d92-9ee1-fae132a50b3b/resume' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/804293f2-b3e8-4038-b38f-17292c09460e/resume HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/d7152d7c-7f23-4d92-9ee1-fae132a50b3b/resume HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/resume
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/resume
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/65e1959a-2eec-4fb6-b664-36e408dd30be/start' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/031c1e57-577c-4ff4-91d1-da6fe0816fdd/start' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/65e1959a-2eec-4fb6-b664-36e408dd30be/start HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/031c1e57-577c-4ff4-91d1-da6fe0816fdd/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/start
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/start
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/54ac6a17-9f77-4c8a-b67a-a7bb33df6d79/stop' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/79ca17e8-0194-4682-bb2a-0bdd9f7d1e1a/stop' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/54ac6a17-9f77-4c8a-b67a-a7bb33df6d79/stop HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/79ca17e8-0194-4682-bb2a-0bdd9f7d1e1a/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/stop
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/stop
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7d099201-de88-4a5c-bcb5-e16819ae4064/suspend' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7e24f49b-51ea-410f-bc94-16fc58071493/suspend' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7d099201-de88-4a5c-bcb5-e16819ae4064/suspend HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7e24f49b-51ea-410f-bc94-16fc58071493/suspend HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/suspend
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}/suspend
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 355
|
CONTENT-LENGTH: 355
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -26,6 +26,6 @@ X-ROUTE: /v1/projects/{project_id}/virtualbox/vms
|
|||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"ram": 0,
|
"ram": 0,
|
||||||
"use_any_adapter": false,
|
"use_any_adapter": false,
|
||||||
"vm_id": "a829a5d1-6f0b-4240-a88c-35333dcbfd23",
|
"vm_id": "fd208626-81e5-449e-b145-fd6993f5097c",
|
||||||
"vmname": "VM1"
|
"vmname": "VM1"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/6d747813-e7f8-410a-840e-1a58af07222b/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/5463a797-0eb0-41d2-8b32-1efbd7a353cc/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/6d747813-e7f8-410a-840e-1a58af07222b/adapters/0/ports/0/nio HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/5463a797-0eb0-41d2-8b32-1efbd7a353cc/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -14,7 +14,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 89
|
CONTENT-LENGTH: 89
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/583d3d88-3e3b-4f14-a727-2350e7265fd2/reload' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f24209c8-671e-428a-9561-db4775f6b8a7/reload' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/583d3d88-3e3b-4f14-a727-2350e7265fd2/reload HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f24209c8-671e-428a-9561-db4775f6b8a7/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/reload
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/97ca91ab-3a0c-4026-bea9-8b48d0698b30/resume' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/70df82f6-e868-4ab3-9be9-d456871f41dc/resume' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/97ca91ab-3a0c-4026-bea9-8b48d0698b30/resume HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/70df82f6-e868-4ab3-9be9-d456871f41dc/resume HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/resume
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/resume
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/5bb4c622-9978-4b7d-992a-f622fa8bef15/start' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/354d48fe-cab6-41d8-8cc1-64716e02c3a8/start' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/5bb4c622-9978-4b7d-992a-f622fa8bef15/start HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/354d48fe-cab6-41d8-8cc1-64716e02c3a8/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/start
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/start
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/53efdb7e-d611-4455-9a24-b280ede45d45/stop' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/90733316-a02a-490b-b8c4-e6ea4a32296a/stop' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/53efdb7e-d611-4455-9a24-b280ede45d45/stop HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/90733316-a02a-490b-b8c4-e6ea4a32296a/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/stop
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/stop
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ddb57c04-bce0-4989-ae42-5bc74340fc3e/suspend' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/0f257aa5-d61d-4ee9-872a-898462f7ecdf/suspend' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ddb57c04-bce0-4989-ae42-5bc74340fc3e/suspend HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/0f257aa5-d61d-4ee9-872a-898462f7ecdf/suspend HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/suspend
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}/suspend
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 220
|
CONTENT-LENGTH: 220
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -20,5 +20,5 @@ X-ROUTE: /v1/projects/{project_id}/vpcs/vms
|
|||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"startup_script": null,
|
"startup_script": null,
|
||||||
"startup_script_path": null,
|
"startup_script_path": null,
|
||||||
"vm_id": "112a5edd-c104-41e2-aa6d-2bf980f835eb"
|
"vm_id": "68c6af80-0a82-406e-b051-24c95bd728f4"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/c7155122-4e74-470b-835f-6be5834472b3/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/4125e37f-2bf1-435c-a86c-ae1fce4c916a/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/c7155122-4e74-470b-835f-6be5834472b3/adapters/0/ports/0/nio HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/4125e37f-2bf1-435c-a86c-ae1fce4c916a/adapters/0/ports/0/nio HTTP/1.1
|
||||||
{
|
{
|
||||||
"lport": 4242,
|
"lport": 4242,
|
||||||
"rhost": "127.0.0.1",
|
"rhost": "127.0.0.1",
|
||||||
@ -14,7 +14,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 89
|
CONTENT-LENGTH: 89
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/3408802b-3656-4a18-8679-cbdc503efcf9/reload' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/4c5c5174-07bf-4f2a-93ab-cec244e24852/reload' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/3408802b-3656-4a18-8679-cbdc503efcf9/reload HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/4c5c5174-07bf-4f2a-93ab-cec244e24852/reload HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/reload
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/reload
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/cdf8626c-3455-49e5-a13a-5949acff1db8/start' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/43ac3ea8-78a7-405e-ad5e-653293c48e66/start' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/cdf8626c-3455-49e5-a13a-5949acff1db8/start HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/43ac3ea8-78a7-405e-ad5e-653293c48e66/start HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/start
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/start
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/3cb294d9-b144-4b4d-a3be-fc27358551e7/stop' -d '{}'
|
curl -i -X POST 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/59df4b41-6a23-4c99-9370-600b3a2cff23/stop' -d '{}'
|
||||||
|
|
||||||
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/3cb294d9-b144-4b4d-a3be-fc27358551e7/stop HTTP/1.1
|
POST /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/59df4b41-6a23-4c99-9370-600b3a2cff23/stop HTTP/1.1
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -8,6 +8,6 @@ HTTP/1.1 204
|
|||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 0
|
CONTENT-LENGTH: 0
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/stop
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}/stop
|
||||||
|
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
curl -i -X POST 'http://localhost:8000/v1/version' -d '{"version": "1.3.0.dev3"}'
|
curl -i -X POST 'http://localhost:8000/v1/version' -d '{"version": "1.3.1.rc2"}'
|
||||||
|
|
||||||
POST /v1/version HTTP/1.1
|
POST /v1/version HTTP/1.1
|
||||||
{
|
{
|
||||||
"version": "1.3.0.dev3"
|
"version": "1.3.1.rc2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HTTP/1.1 200
|
HTTP/1.1 200
|
||||||
CONNECTION: keep-alive
|
CONNECTION: keep-alive
|
||||||
CONTENT-LENGTH: 31
|
CONTENT-LENGTH: 30
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/version
|
X-ROUTE: /v1/version
|
||||||
|
|
||||||
{
|
{
|
||||||
"version": "1.3.0.dev3"
|
"version": "1.3.1.rc2"
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
curl -i -X PUT 'http://localhost:8000/v1/projects/73d9e519-309f-4208-b885-07806199bf5f' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4332/test_update_path_project_non_l0"}'
|
curl -i -X PUT 'http://localhost:8000/v1/projects/b32aab45-411c-4171-9f20-357eaa00d54c' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4450/test_update_path_project_non_l0"}'
|
||||||
|
|
||||||
PUT /v1/projects/73d9e519-309f-4208-b885-07806199bf5f HTTP/1.1
|
PUT /v1/projects/b32aab45-411c-4171-9f20-357eaa00d54c HTTP/1.1
|
||||||
{
|
{
|
||||||
"name": "second_name",
|
"name": "second_name",
|
||||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4332/test_update_path_project_non_l0"
|
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-4450/test_update_path_project_non_l0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 100
|
CONTENT-LENGTH: 100
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}
|
X-ROUTE: /v1/projects/{project_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4b9d6f16-84d4-43ff-8632-a11f5f3e208b' -d '{"console": 2001, "ethernet_adapters": 4, "initial_config_content": "hostname test", "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
|
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/3812eced-e777-4f35-8c7e-e6736e34fcfd' -d '{"console": 2001, "ethernet_adapters": 4, "initial_config_content": "hostname test", "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
|
||||||
|
|
||||||
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4b9d6f16-84d4-43ff-8632-a11f5f3e208b HTTP/1.1
|
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/3812eced-e777-4f35-8c7e-e6736e34fcfd HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 2001,
|
"console": 2001,
|
||||||
"ethernet_adapters": 4,
|
"ethernet_adapters": 4,
|
||||||
@ -20,14 +20,14 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 461
|
CONTENT-LENGTH: 461
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
"console": 2001,
|
"console": 2001,
|
||||||
"ethernet_adapters": 4,
|
"ethernet_adapters": 4,
|
||||||
"initial_config": "initial-config.cfg",
|
"initial_config": "initial-config.cfg",
|
||||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfj6kglsa/iourc",
|
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpws7fdl5e/iourc",
|
||||||
"l1_keepalives": true,
|
"l1_keepalives": true,
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"nvram": 2048,
|
"nvram": 2048,
|
||||||
@ -36,5 +36,5 @@ X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
|
|||||||
"ram": 512,
|
"ram": 512,
|
||||||
"serial_adapters": 0,
|
"serial_adapters": 0,
|
||||||
"use_default_iou_values": true,
|
"use_default_iou_values": true,
|
||||||
"vm_id": "4b9d6f16-84d4-43ff-8632-a11f5f3e208b"
|
"vm_id": "3812eced-e777-4f35-8c7e-e6736e34fcfd"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/824ca299-8319-47d8-a8f5-22d400dbe41a' -d '{"console": 2001, "hdb_disk_image": "/tmp/hdb", "name": "test", "ram": 1024}'
|
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e5b90e65-6f6a-4d44-b2d8-3a5c3a4a626b' -d '{"console": 2001, "hdb_disk_image": "/tmp/hdb", "name": "test", "ram": 1024}'
|
||||||
|
|
||||||
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/824ca299-8319-47d8-a8f5-22d400dbe41a HTTP/1.1
|
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/e5b90e65-6f6a-4d44-b2d8-3a5c3a4a626b HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 2001,
|
"console": 2001,
|
||||||
"hdb_disk_image": "/tmp/hdb",
|
"hdb_disk_image": "/tmp/hdb",
|
||||||
@ -14,7 +14,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 601
|
CONTENT-LENGTH: 601
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -34,7 +34,7 @@ X-ROUTE: /v1/projects/{project_id}/qemu/vms/{vm_id}
|
|||||||
"options": "",
|
"options": "",
|
||||||
"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/tmpyllkr06h/qemu_x42",
|
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyasp9636/qemu_x42",
|
||||||
"ram": 1024,
|
"ram": 1024,
|
||||||
"vm_id": "824ca299-8319-47d8-a8f5-22d400dbe41a"
|
"vm_id": "e5b90e65-6f6a-4d44-b2d8-3a5c3a4a626b"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e562f4e9-9951-446d-8f86-7fc2772cea87' -d '{"console": 2010, "name": "test"}'
|
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/514963f5-93f8-4d18-bcd6-7d50ef7164a6' -d '{"console": 2010, "name": "test"}'
|
||||||
|
|
||||||
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e562f4e9-9951-446d-8f86-7fc2772cea87 HTTP/1.1
|
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/514963f5-93f8-4d18-bcd6-7d50ef7164a6 HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 2010,
|
"console": 2010,
|
||||||
"name": "test"
|
"name": "test"
|
||||||
@ -12,7 +12,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 359
|
CONTENT-LENGTH: 359
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -25,6 +25,6 @@ X-ROUTE: /v1/projects/{project_id}/virtualbox/vms/{vm_id}
|
|||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"ram": 0,
|
"ram": 0,
|
||||||
"use_any_adapter": false,
|
"use_any_adapter": false,
|
||||||
"vm_id": "e562f4e9-9951-446d-8f86-7fc2772cea87",
|
"vm_id": "514963f5-93f8-4d18-bcd6-7d50ef7164a6",
|
||||||
"vmname": "VMTEST"
|
"vmname": "VMTEST"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/043ec361-ba80-48a5-b332-ee76050a25b6' -d '{"console": 2011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
curl -i -X PUT 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/4905e649-6e81-446d-a60b-fd8b058a85e8' -d '{"console": 2011, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||||
|
|
||||||
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/043ec361-ba80-48a5-b332-ee76050a25b6 HTTP/1.1
|
PUT /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/4905e649-6e81-446d-a60b-fd8b058a85e8 HTTP/1.1
|
||||||
{
|
{
|
||||||
"console": 2011,
|
"console": 2011,
|
||||||
"name": "test",
|
"name": "test",
|
||||||
@ -13,7 +13,7 @@ CONNECTION: keep-alive
|
|||||||
CONTENT-LENGTH: 236
|
CONTENT-LENGTH: 236
|
||||||
CONTENT-TYPE: application/json
|
CONTENT-TYPE: application/json
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
SERVER: Python/3.4 GNS3/1.3.0.dev3
|
SERVER: Python/3.4 GNS3/1.3.1.rc2
|
||||||
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -22,5 +22,5 @@ X-ROUTE: /v1/projects/{project_id}/vpcs/vms/{vm_id}
|
|||||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||||
"startup_script": "ip 192.168.1.1",
|
"startup_script": "ip 192.168.1.1",
|
||||||
"startup_script_path": "startup.vpc",
|
"startup_script_path": "startup.vpc",
|
||||||
"vm_id": "043ec361-ba80-48a5-b332-ee76050a25b6"
|
"vm_id": "4905e649-6e81-446d-a60b-fd8b058a85e8"
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@ Get a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **device_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **device_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -38,8 +38,8 @@ Update a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **device_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **device_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -95,8 +95,8 @@ Delete a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **device_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **device_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,9 +9,9 @@ Add a NIO to a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **port_number**: Port on the device
|
- **port_number**: Port on the device
|
||||||
- **device_id**: UUID for the instance
|
- **device_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -128,9 +128,9 @@ Remove a NIO from a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **port_number**: Port on the device
|
- **port_number**: Port on the device
|
||||||
- **device_id**: UUID for the instance
|
- **device_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,9 +9,9 @@ Start a packet capture on a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **port_number**: Port on the device
|
- **port_number**: Port on the device
|
||||||
- **device_id**: UUID for the instance
|
- **device_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,9 +9,9 @@ Stop a packet capture on a Dynamips device instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **port_number**: Port on the device
|
- **port_number**: Port on the device
|
||||||
- **device_id**: UUID for the instance
|
- **device_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Get a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -74,8 +74,8 @@ Update a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -188,8 +188,8 @@ Delete a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Add a NIO to a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter where the nio should be added
|
- **adapter_number**: Adapter where the nio should be added
|
||||||
- **port_number**: Port on the adapter
|
- **port_number**: Port on the adapter
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -27,10 +27,10 @@ Remove a NIO from a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter from where the nio should be removed
|
- **adapter_number**: Adapter from where the nio should be removed
|
||||||
- **port_number**: Port on the adapter
|
- **port_number**: Port on the adapter
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Start a packet capture on a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter to start a packet capture
|
- **adapter_number**: Adapter to start a packet capture
|
||||||
- **port_number**: Port on the adapter
|
- **port_number**: Port on the adapter
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter to stop a packet capture
|
- **adapter_number**: Adapter to stop a packet capture
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Reload a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Resume a suspended Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Start a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Stop a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Suspend a Dynamips VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
8
docs/api/v1/iou.rst
Normal file
8
docs/api/v1/iou.rst
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Iou
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:glob:
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
iou/*
|
66
docs/api/v1/iou/projectsprojectidiouvms.rst
Normal file
66
docs/api/v1/iou/projectsprojectidiouvms.rst
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Create a new IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **201**: Instance created
|
||||||
|
- **409**: Conflict
|
||||||
|
|
||||||
|
Input
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>console</td> <td> </td> <td>['integer', 'null']</td> <td>console TCP port</td> </tr>
|
||||||
|
<tr><td>ethernet_adapters</td> <td> </td> <td>integer</td> <td>How many ethernet adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>initial_config_content</td> <td> </td> <td>['string', 'null']</td> <td>Initial configuration of the IOU</td> </tr>
|
||||||
|
<tr><td>iourc_content</td> <td> </td> <td>['string', 'null']</td> <td>Content of the iourc file, if a file exist on servers this variable is ignored. It's mostly for compatibility with < 1.3 releases</td> </tr>
|
||||||
|
<tr><td>l1_keepalives</td> <td> </td> <td>['boolean', 'null']</td> <td>Always up ethernet interface</td> </tr>
|
||||||
|
<tr><td>name</td> <td>✔</td> <td>string</td> <td>IOU VM name</td> </tr>
|
||||||
|
<tr><td>nvram</td> <td> </td> <td>['integer', 'null']</td> <td>Allocated NVRAM KB</td> </tr>
|
||||||
|
<tr><td>path</td> <td>✔</td> <td>string</td> <td>Path of iou binary</td> </tr>
|
||||||
|
<tr><td>ram</td> <td> </td> <td>['integer', 'null']</td> <td>Allocated RAM MB</td> </tr>
|
||||||
|
<tr><td>serial_adapters</td> <td> </td> <td>integer</td> <td>How many serial adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>use_default_iou_values</td> <td> </td> <td>['boolean', 'null']</td> <td>Use default IOU values</td> </tr>
|
||||||
|
<tr><td>vm_id</td> <td> </td> <td></td> <td>IOU VM identifier</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Output
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>console</td> <td>✔</td> <td>integer</td> <td>console TCP port</td> </tr>
|
||||||
|
<tr><td>ethernet_adapters</td> <td>✔</td> <td>integer</td> <td>How many ethernet adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>initial_config</td> <td>✔</td> <td>['string', 'null']</td> <td>Path of the initial config content relative to project directory</td> </tr>
|
||||||
|
<tr><td>iourc_path</td> <td> </td> <td>['string', 'null']</td> <td>Path of the iourc file used by remote servers</td> </tr>
|
||||||
|
<tr><td>l1_keepalives</td> <td>✔</td> <td>boolean</td> <td>Always up ethernet interface</td> </tr>
|
||||||
|
<tr><td>name</td> <td>✔</td> <td>string</td> <td>IOU VM name</td> </tr>
|
||||||
|
<tr><td>nvram</td> <td>✔</td> <td>integer</td> <td>Allocated NVRAM KB</td> </tr>
|
||||||
|
<tr><td>path</td> <td>✔</td> <td>string</td> <td>Path of iou binary</td> </tr>
|
||||||
|
<tr><td>project_id</td> <td>✔</td> <td>string</td> <td>Project UUID</td> </tr>
|
||||||
|
<tr><td>ram</td> <td>✔</td> <td>integer</td> <td>Allocated RAM MB</td> </tr>
|
||||||
|
<tr><td>serial_adapters</td> <td>✔</td> <td>integer</td> <td>How many serial adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>use_default_iou_values</td> <td>✔</td> <td>['boolean', 'null']</td> <td>Use default IOU values</td> </tr>
|
||||||
|
<tr><td>vm_id</td> <td>✔</td> <td>string</td> <td>IOU VM UUID</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvms.txt
|
||||||
|
|
132
docs/api/v1/iou/projectsprojectidiouvmsvmid.rst
Normal file
132
docs/api/v1/iou/projectsprojectidiouvmsvmid.rst
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
GET /v1/projects/**{project_id}**/iou/vms/**{vm_id}**
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Get a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: Success
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
|
||||||
|
Output
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>console</td> <td>✔</td> <td>integer</td> <td>console TCP port</td> </tr>
|
||||||
|
<tr><td>ethernet_adapters</td> <td>✔</td> <td>integer</td> <td>How many ethernet adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>initial_config</td> <td>✔</td> <td>['string', 'null']</td> <td>Path of the initial config content relative to project directory</td> </tr>
|
||||||
|
<tr><td>iourc_path</td> <td> </td> <td>['string', 'null']</td> <td>Path of the iourc file used by remote servers</td> </tr>
|
||||||
|
<tr><td>l1_keepalives</td> <td>✔</td> <td>boolean</td> <td>Always up ethernet interface</td> </tr>
|
||||||
|
<tr><td>name</td> <td>✔</td> <td>string</td> <td>IOU VM name</td> </tr>
|
||||||
|
<tr><td>nvram</td> <td>✔</td> <td>integer</td> <td>Allocated NVRAM KB</td> </tr>
|
||||||
|
<tr><td>path</td> <td>✔</td> <td>string</td> <td>Path of iou binary</td> </tr>
|
||||||
|
<tr><td>project_id</td> <td>✔</td> <td>string</td> <td>Project UUID</td> </tr>
|
||||||
|
<tr><td>ram</td> <td>✔</td> <td>integer</td> <td>Allocated RAM MB</td> </tr>
|
||||||
|
<tr><td>serial_adapters</td> <td>✔</td> <td>integer</td> <td>How many serial adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>use_default_iou_values</td> <td>✔</td> <td>['boolean', 'null']</td> <td>Use default IOU values</td> </tr>
|
||||||
|
<tr><td>vm_id</td> <td>✔</td> <td>string</td> <td>IOU VM UUID</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/get_projectsprojectidiouvmsvmid.txt
|
||||||
|
|
||||||
|
|
||||||
|
PUT /v1/projects/**{project_id}**/iou/vms/**{vm_id}**
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Update a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: Instance updated
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **409**: Conflict
|
||||||
|
|
||||||
|
Input
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>console</td> <td> </td> <td>['integer', 'null']</td> <td>console TCP port</td> </tr>
|
||||||
|
<tr><td>ethernet_adapters</td> <td> </td> <td>['integer', 'null']</td> <td>How many ethernet adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>initial_config_content</td> <td> </td> <td>['string', 'null']</td> <td>Initial configuration of the IOU</td> </tr>
|
||||||
|
<tr><td>iourc_content</td> <td> </td> <td>['string', 'null']</td> <td>Content of the iourc file, if a file exist on servers this variable is ignored. It's mostly for compatibility with < 1.3 releases</td> </tr>
|
||||||
|
<tr><td>l1_keepalives</td> <td> </td> <td>['boolean', 'null']</td> <td>Always up ethernet interface</td> </tr>
|
||||||
|
<tr><td>name</td> <td> </td> <td>['string', 'null']</td> <td>IOU VM name</td> </tr>
|
||||||
|
<tr><td>nvram</td> <td> </td> <td>['integer', 'null']</td> <td>Allocated NVRAM KB</td> </tr>
|
||||||
|
<tr><td>path</td> <td> </td> <td>['string', 'null']</td> <td>Path of iou binary</td> </tr>
|
||||||
|
<tr><td>ram</td> <td> </td> <td>['integer', 'null']</td> <td>Allocated RAM MB</td> </tr>
|
||||||
|
<tr><td>serial_adapters</td> <td> </td> <td>['integer', 'null']</td> <td>How many serial adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>use_default_iou_values</td> <td> </td> <td>['boolean', 'null']</td> <td>Use default IOU values</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Output
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>console</td> <td>✔</td> <td>integer</td> <td>console TCP port</td> </tr>
|
||||||
|
<tr><td>ethernet_adapters</td> <td>✔</td> <td>integer</td> <td>How many ethernet adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>initial_config</td> <td>✔</td> <td>['string', 'null']</td> <td>Path of the initial config content relative to project directory</td> </tr>
|
||||||
|
<tr><td>iourc_path</td> <td> </td> <td>['string', 'null']</td> <td>Path of the iourc file used by remote servers</td> </tr>
|
||||||
|
<tr><td>l1_keepalives</td> <td>✔</td> <td>boolean</td> <td>Always up ethernet interface</td> </tr>
|
||||||
|
<tr><td>name</td> <td>✔</td> <td>string</td> <td>IOU VM name</td> </tr>
|
||||||
|
<tr><td>nvram</td> <td>✔</td> <td>integer</td> <td>Allocated NVRAM KB</td> </tr>
|
||||||
|
<tr><td>path</td> <td>✔</td> <td>string</td> <td>Path of iou binary</td> </tr>
|
||||||
|
<tr><td>project_id</td> <td>✔</td> <td>string</td> <td>Project UUID</td> </tr>
|
||||||
|
<tr><td>ram</td> <td>✔</td> <td>integer</td> <td>Allocated RAM MB</td> </tr>
|
||||||
|
<tr><td>serial_adapters</td> <td>✔</td> <td>integer</td> <td>How many serial adapters are connected to the IOU</td> </tr>
|
||||||
|
<tr><td>use_default_iou_values</td> <td>✔</td> <td>['boolean', 'null']</td> <td>Use default IOU values</td> </tr>
|
||||||
|
<tr><td>vm_id</td> <td>✔</td> <td>string</td> <td>IOU VM UUID</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/put_projectsprojectidiouvmsvmid.txt
|
||||||
|
|
||||||
|
|
||||||
|
DELETE /v1/projects/**{project_id}**/iou/vms/**{vm_id}**
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Delete a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **204**: Instance deleted
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/delete_projectsprojectidiouvmsvmid.txt
|
||||||
|
|
@ -0,0 +1,52 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Add a NIO to a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **adapter_number**: Network adapter where the nio is located
|
||||||
|
- **port_number**: Port where the nio should be added
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **201**: NIO created
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt
|
||||||
|
|
||||||
|
|
||||||
|
DELETE /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/nio
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Remove a NIO from a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **adapter_number**: Network adapter where the nio is located
|
||||||
|
- **port_number**: Port from where the nio should be removed
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **204**: NIO deleted
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/delete_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdnio.txt
|
||||||
|
|
@ -0,0 +1,39 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/start_capture
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Start a packet capture on a IOU VM instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **adapter_number**: Adapter to start a packet capture
|
||||||
|
- **port_number**: Port on the adapter
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: Capture started
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **409**: VM not started
|
||||||
|
|
||||||
|
Input
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>capture_file_name</td> <td>✔</td> <td>string</td> <td>Capture file name</td> </tr>
|
||||||
|
<tr><td>data_link_type</td> <td>✔</td> <td>string</td> <td>PCAP data link type</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstartcapture.txt
|
||||||
|
|
@ -0,0 +1,29 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/stop_capture
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Stop a packet capture on a IOU VM instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **adapter_number**: Adapter to stop a packet capture
|
||||||
|
- **port_number**: Port on the adapter (always 0)
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **204**: Capture stopped
|
||||||
|
- **409**: VM not started
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvmsvmidadaptersadapternumberdportsportnumberdstopcapture.txt
|
||||||
|
|
30
docs/api/v1/iou/projectsprojectidiouvmsvmidinitialconfig.rst
Normal file
30
docs/api/v1/iou/projectsprojectidiouvmsvmidinitialconfig.rst
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/initial_config
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
GET /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/initial_config
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Retrieve the initial config content
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: Initial config retrieved
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
|
||||||
|
Output
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>content</td> <td>✔</td> <td>['string', 'null']</td> <td>Content of the initial configuration file</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/get_projectsprojectidiouvmsvmidinitialconfig.txt
|
||||||
|
|
26
docs/api/v1/iou/projectsprojectidiouvmsvmidreload.rst
Normal file
26
docs/api/v1/iou/projectsprojectidiouvmsvmidreload.rst
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/reload
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/reload
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Reload a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **204**: Instance reloaded
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvmsvmidreload.txt
|
||||||
|
|
26
docs/api/v1/iou/projectsprojectidiouvmsvmidstart.rst
Normal file
26
docs/api/v1/iou/projectsprojectidiouvmsvmidstart.rst
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/start
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/start
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Start a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **204**: Instance started
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvmsvmidstart.txt
|
||||||
|
|
26
docs/api/v1/iou/projectsprojectidiouvmsvmidstop.rst
Normal file
26
docs/api/v1/iou/projectsprojectidiouvmsvmidstop.rst
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/v1/projects/{project_id}/iou/vms/{vm_id}/stop
|
||||||
|
----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/stop
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Stop a IOU instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
- **204**: Instance stopped
|
||||||
|
|
||||||
|
Sample session
|
||||||
|
***************
|
||||||
|
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/post_projectsprojectidiouvmsvmidstop.txt
|
||||||
|
|
@ -9,8 +9,8 @@ Get a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -58,8 +58,8 @@ Update a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -133,8 +133,8 @@ Delete a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Add a NIO to a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Network adapter where the nio is located
|
- **adapter_number**: Network adapter where the nio is located
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -33,10 +33,10 @@ Remove a NIO from a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Network adapter where the nio is located
|
- **adapter_number**: Network adapter where the nio is located
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Reload a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Resume a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Start a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Stop a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Suspend a Qemu.instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Get a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -50,8 +50,8 @@ Update a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -109,8 +109,8 @@ Delete a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Add a NIO to a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter where the nio should be added
|
- **adapter_number**: Adapter where the nio should be added
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -33,10 +33,10 @@ Remove a NIO from a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter from where the nio should be removed
|
- **adapter_number**: Adapter from where the nio should be removed
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Start a packet capture on a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter to start a packet capture
|
- **adapter_number**: Adapter to start a packet capture
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Stop a packet capture on a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Adapter to stop a packet capture
|
- **adapter_number**: Adapter to stop a packet capture
|
||||||
- **port_number**: Port on the adapter (always 0)
|
- **port_number**: Port on the adapter (always 0)
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Reload a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Resume a suspended VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Start a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Stop a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Suspend a VirtualBox VM instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Get a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -45,8 +45,8 @@ Update a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -93,8 +93,8 @@ Delete a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,10 +9,10 @@ Add a NIO to a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Network adapter where the nio is located
|
- **adapter_number**: Network adapter where the nio is located
|
||||||
- **port_number**: Port where the nio should be added
|
- **port_number**: Port where the nio should be added
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
@ -33,10 +33,10 @@ Remove a NIO from a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
- **project_id**: UUID for the project
|
||||||
- **adapter_number**: Network adapter where the nio is located
|
- **adapter_number**: Network adapter where the nio is located
|
||||||
- **port_number**: Port from where the nio should be removed
|
- **port_number**: Port from where the nio should be removed
|
||||||
- **vm_id**: UUID for the instance
|
- **vm_id**: UUID for the instance
|
||||||
- **project_id**: UUID for the project
|
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Reload a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Start a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -9,8 +9,8 @@ Stop a VPCS instance
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
- **vm_id**: UUID for the instance
|
|
||||||
- **project_id**: UUID for the project
|
- **project_id**: UUID for the project
|
||||||
|
- **vm_id**: UUID for the instance
|
||||||
|
|
||||||
Response status codes
|
Response status codes
|
||||||
**********************
|
**********************
|
||||||
|
@ -42,7 +42,8 @@ The next step is to create a project.
|
|||||||
# curl -X POST "http://localhost:8000/v1/projects" -d "{}"
|
# curl -X POST "http://localhost:8000/v1/projects" -d "{}"
|
||||||
{
|
{
|
||||||
"project_id": "42f9feee-3217-4104-981e-85d5f0a806ec",
|
"project_id": "42f9feee-3217-4104-981e-85d5f0a806ec",
|
||||||
"temporary": false
|
"temporary": false,
|
||||||
|
"name": "Test"
|
||||||
}
|
}
|
||||||
|
|
||||||
With this project id we can now create two VPCS VM.
|
With this project id we can now create two VPCS VM.
|
||||||
@ -69,12 +70,12 @@ two UDP ports.
|
|||||||
|
|
||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# curl -X POST "http://localhost:8000/v1/ports/udp" -d '{}'
|
# curl -X POST "http://localhost:8000/v1/projects/42f9feee-3217-4104-981e-85d5f0a806ec/ports/udp" -d '{}'
|
||||||
{
|
{
|
||||||
"udp_port": 10000
|
"udp_port": 10000
|
||||||
}
|
}
|
||||||
|
|
||||||
# curl -X POST "http://localhost:8000/v1/ports/udp" -d '{}'
|
# curl -X POST "http://localhost:8000/v1/projects/42f9feee-3217-4104-981e-85d5f0a806ec/ports/udp" -d '{}'
|
||||||
{
|
{
|
||||||
"udp_port": 10001
|
"udp_port": 10001
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user